diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html index 21266c555..2ae04f5cc 100644 --- a/404.html +++ b/404.html @@ -2,12 +2,12 @@ - -Page Not Found | @modern-kit - - + +Page Not Found | @modern-kit + + -
Skip to main content

Page Not Found

We could not find what you were looking for.

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

+
Skip to main content

Page Not Found

We could not find what you were looking for.

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

\ No newline at end of file diff --git a/assets/css/styles.38ce7258.css b/assets/css/styles.c423527e.css similarity index 75% rename from assets/css/styles.38ce7258.css rename to assets/css/styles.c423527e.css index 6a734d4f3..783980fde 100644 --- a/assets/css/styles.38ce7258.css +++ b/assets/css/styles.c423527e.css @@ -1 +1 @@ -.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_OyO7,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_Twdj,.details_PrKF>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_exdC,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:transparent;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_etWt .wordWrapButtonIcon_D6L7{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_CBB1,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_CMt8:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_ZJxz article>:first-child,.docItemContainer_ZJxz header+*,.footer__item{margin-top:0}.admonitionContent_Gj5W>:last-child,.collapsibleContent_o49n p:last-child,.details_PrKF>summary>p:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_xCr3,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_PrKF[data-collapsed=false].isBrowser_UK4B>summary:before,.details_PrKF[open]:not(.isBrowser_UK4B)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_4KW8,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_Twdj>li)>.containsTaskList_Twdj{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3)}.navbar__brand{font-size:23px;font-weight:700}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.navbarSearchContainer_bEtv:not(:has(>*)),.themedComponent_JZov,[data-theme=dark] .lightToggleIcon_UzMI,[data-theme=light] .darkToggleIcon_V1Oa,html[data-announcement-bar-initially-dismissed=true] .announcementBar_f1NP{display:none}.skipToContent_al5k{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_al5k:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_OjVU{line-height:0;padding:0}.content_EiDp{font-size:85%;padding:5px 0;text-align:center}.content_EiDp a{color:inherit;text-decoration:underline}.announcementBar_f1NP{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_oIJQ{flex:0 0 10px}.announcementBarClose_I2la{align-self:stretch;flex:0 0 30px}.toggle_PJvE{height:2rem;width:2rem}.toggleButton_OyO7{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_OyO7:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_SiBW{cursor:not-allowed}.darkNavbarColorModeToggle_rOBh:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_HJAQ,[data-theme=light] .themedComponent--light_CIJg,html:not([data-theme]) .themedComponent--light_CIJg{display:initial}.iconExternalLink_tcjt{margin-left:.3rem}.iconLanguage_ptZi{margin-right:5px;vertical-align:text-bottom}.navbarHideable_aDCK{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_kAkf{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_rOgF{color:red;white-space:pre-wrap}.errorBoundaryFallback_Iw5X{color:red;padding:.55rem}.footerLogoLink_qeqT{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_qeqT:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_PKLA{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_nBF9{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_VX8u{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.iconEdit_RG8k{margin-right:.3em;vertical-align:sub}.tag_gMuA{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_gMuA:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_w1Fc{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_DpC7{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_DpC7:after,.tagWithCount_DpC7:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_DpC7:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_DpC7:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_DpC7 span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_SNqj{display:inline}.tag_gyd5{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_wL_R{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_z6iq{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_z6iq:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_zyNh:after,.tocCollapsibleExpanded_zMVq{transform:none}.tocCollapsible_g8Hf{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.buttonGroup_XNaI button,.codeBlockContainer_O4pk{background:var(--prism-background-color);color:var(--prism-color)}.tocCollapsibleContent_qPB0>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_qPB0 ul li{margin:.4rem .8rem}.tocCollapsibleContent_qPB0 a{display:block}.tableOfContents_Kcgb{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.codeBlockContainer_O4pk{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_iAjG{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_LEd8{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_Ou2N{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_LEd8+.codeBlockContent_iAjG .codeBlock_Ou2N{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_XW2f{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_QGAY{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_XNaI{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_XNaI button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_XNaI button:focus-visible,.buttonGroup_XNaI button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_XNaI 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_EFk5{counter-increment:a;display:table-row}.codeLineNumber_CMt8{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_CMt8:before{content:counter(a);opacity:.4}.codeLineContent_Jmpz{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_OgpD{opacity:1!important}.copyButtonIcons_N_tX{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_EL_3,.copyButtonSuccessIcon_ACM0{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_ACM0{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_OgpD .copyButtonIcon_EL_3{opacity:0;transform:scale(.33)}.copyButtonCopied_OgpD .copyButtonSuccessIcon_ACM0{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_D6L7{height:1.2rem;width:1.2rem}.details_PrKF{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_PrKF>summary{cursor:pointer;padding-left:1rem;position:relative}.details_PrKF>summary::-webkit-details-marker{display:none}.details_PrKF>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_o49n{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_NGsD{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_YHV8{height:auto}.admonition_04Bq{margin-bottom:1em}.admonitionHeading_CBB1{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_CBB1:not(:last-child){margin-bottom:.3rem}.admonitionHeading_CBB1 code{text-transform:none}.admonitionIcon_qEYz{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_qEYz svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon__Szg{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_zmEe{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.banner_d9gt{border-bottom:1px solid #ededed;overflow:hidden;padding:5rem 0;position:relative;text-align:center}.bannerContainer_m_gH{flex-direction:column;width:100%}.bannerContainer_m_gH,.buttons_AeoN{align-items:center;display:flex;justify-content:center}.buttons_AeoN{padding:0 20px}.buttons_AeoN a+a{margin-left:10px}main{align-items:center;display:flex;justify-content:center;width:100%}.mainContentWrapper_BZQx{margin-top:30px;padding:40px 20px;width:1000px}.mainContentHead_ActD{align-items:center;display:flex;margin-bottom:10px}.mainContentHead_ActD>a{margin-left:6px;width:-moz-fit-content;width:fit-content}.mainContentParagraph_cI3D{margin-bottom:30px;margin-left:20px}.mainContentTitle_gFQ_{color:#888;font-size:21px;margin-bottom:40px;margin-left:0;max-width:600px;padding:0 20px}.contributors__k0X{align-items:center;background-color:#fbfbfb;border-top:1px solid #ededed;display:flex;flex-direction:column;justify-content:center;padding:6rem 20px;width:100%}.contributors__k0X h2{font-size:2.4rem;text-align:center}.contributors__k0X div{align-items:center;display:flex;justify-content:center;max-width:800px}.contributors__k0X a{margin-top:10px;text-align:center}.contributors__k0X p{color:#888;font-size:18px;max-width:600px;padding:0 20px;text-align:center}.backToTopButton_Rlhp{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_Rlhp: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_aTAr{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_m0jk{display:none;margin:0}.docSidebarContainer_xEx4,.sidebarLogo_SinT{display:none}.docMainContainer_UXq6,.docRoot_noKF{display:flex;width:100%}.docsWrapper_pTvi{display:flex;flex:1 0 auto}@media (min-width:997px){.collapseSidebarButton_m0jk,.expandButton_wUhn{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_I2la,.announcementBarPlaceholder_oIJQ{flex-basis:50px}.navbarSearchContainer_bEtv{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_wL_R{text-align:right}.tocMobile_dSKl{display:none}.docItemCol_ZXpF{max-width:75%!important}.collapseSidebarButton_m0jk{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_R6G4{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_JDR9,[dir=rtl] .collapseSidebarButtonIcon_R6G4{transform:rotate(0)}.collapseSidebarButton_m0jk:focus,.collapseSidebarButton_m0jk:hover,.expandButton_wUhn:focus,.expandButton_wUhn:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_KRdm{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__k6S{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu__k6S{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_XqdJ{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_q99a{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_typZ{padding-top:0}.sidebarHidden_Jj7f{opacity:0;visibility:hidden}.sidebarLogo_SinT{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_SinT img{height:2rem;margin-right:.5rem}.expandButton_wUhn{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_JDR9{transform:rotate(180deg)}.docSidebarContainer_xEx4{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_r4ww{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_pIE7{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_UXq6{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_MVkk{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_GtWP{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_LgG9,.footer__link-separator,.navbar__item,.tableOfContents_Kcgb{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}.navbarSearchContainer_bEtv{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_vCLV{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_Rlhp:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_f1NP,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_dSKl{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_XW2f{white-space:pre-wrap}} \ No newline at end of file +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_HgLb,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_Z_Kk,.details_q9H4>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_Rqiv,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid rgba(0,0,0,.1);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:transparent;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_bAqi .wordWrapButtonIcon_bcT8{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_p2gG,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_R_98:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Q1lr article>:first-child,.docItemContainer_Q1lr header+*,.footer__item{margin-top:0}.admonitionContent_ukBW>:last-child,.collapsibleContent_vj_8 p:last-child,.details_q9H4>summary>p:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_bsKm,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_q9H4[data-collapsed=false].isBrowser_jtuO>summary:before,.details_q9H4[open]:not(.isBrowser_jtuO)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_u0N6,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6);right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_Z_Kk>li)>.containsTaskList_Z_Kk{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:hsla(0,0%,100%,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3)}.navbar__brand{font-size:23px;font-weight:700}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.themedComponent__aAy,[data-theme=dark] .lightToggleIcon_GUf5,[data-theme=light] .darkToggleIcon_t8VM,html[data-announcement-bar-initially-dismissed=true] .announcementBar_G6_o{display:none}.skipToContent_NeAS{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_NeAS:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_q_Pt{line-height:0;padding:0}.content_bfW5{font-size:85%;padding:5px 0;text-align:center}.content_bfW5 a{color:inherit;text-decoration:underline}.announcementBar_G6_o{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_TcsH{flex:0 0 10px}.announcementBarClose_aSKT{align-self:stretch;flex:0 0 30px}.toggle_IyHc{height:2rem;width:2rem}.toggleButton_HgLb{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_HgLb:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_MXdp{cursor:not-allowed}.darkNavbarColorModeToggle_kZvc:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_SlaT,[data-theme=light] .themedComponent--light_RYr8,html:not([data-theme]) .themedComponent--light_RYr8{display:initial}.iconExternalLink_z2ez{margin-left:.3rem}.dropdownNavbarItemMobile_ueh8{cursor:pointer}.iconLanguage_YNE4{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_aE3I:not(:has(>*)){display:none}}.navbarHideable_Cjnr{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_Iq9w{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_TGhe{color:red;white-space:pre-wrap}.errorBoundaryFallback_tL4V{color:red;padding:.55rem}.footerLogoLink_R2nM{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_R2nM:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_bBUo{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_sx3F{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_PUlq{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.tag__DM_{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag__DM_:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_FfC3{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_mI8o{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_mI8o:after,.tagWithCount_mI8o:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_mI8o:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_mI8o:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_mI8o span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_fgUn{display:inline}.tag_DXPE{display:inline-block;margin:0 .4rem .5rem 0}.iconEdit_LGCK{margin-right:.3em;vertical-align:sub}.lastUpdated_xPEB{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_QBEM{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_QBEM:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_ucbi:after,.tocCollapsibleExpanded_Di8g{transform:none}.tocCollapsible_eA3j{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.buttonGroup_n_O3 button,.codeBlockContainer_MXaV{background:var(--prism-background-color);color:var(--prism-color)}.tocCollapsibleContent_Nltv>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_Nltv ul li{margin:.4rem .8rem}.tocCollapsibleContent_Nltv a{display:block}.tableOfContents_ju50{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.codeBlockContainer_MXaV{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_JQoS{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_MFyW{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_Zd27{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_MFyW+.codeBlockContent_JQoS .codeBlock_Zd27{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_uWfT{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_x3fY{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_n_O3{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_n_O3 button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_n_O3 button:focus-visible,.buttonGroup_n_O3 button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_n_O3 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_jdp1{counter-increment:a;display:table-row}.codeLineNumber_R_98{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_R_98:before{content:counter(a);opacity:.4}.codeLineContent_yMSg{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_gkYy{opacity:1!important}.copyButtonIcons_eTNg{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_np4i,.copyButtonSuccessIcon_Sc4_{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_Sc4_{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_gkYy .copyButtonIcon_np4i{opacity:0;transform:scale(.33)}.copyButtonCopied_gkYy .copyButtonSuccessIcon_Sc4_{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_bcT8{height:1.2rem;width:1.2rem}.details_q9H4{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_q9H4>summary{cursor:pointer;padding-left:1rem;position:relative}.details_q9H4>summary::-webkit-details-marker{display:none}.details_q9H4>summary:before{border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_vj_8{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_m1IK{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_dBzI{height:auto}.admonition_PP2Y{margin-bottom:1em}.admonitionHeading_p2gG{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_p2gG:not(:last-child){margin-bottom:.3rem}.admonitionHeading_p2gG code{text-transform:none}.admonitionIcon_vU0q{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_vU0q svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_vytQ{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Asfe{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.banner_d9gt{border-bottom:1px solid #ededed;overflow:hidden;padding:5rem 0;position:relative;text-align:center}.bannerContainer_m_gH{flex-direction:column;width:100%}.bannerContainer_m_gH,.buttons_AeoN{align-items:center;display:flex;justify-content:center}.buttons_AeoN{padding:0 20px}.buttons_AeoN a+a{margin-left:10px}main{align-items:center;display:flex;justify-content:center;width:100%}.mainContentWrapper_BZQx{margin-top:30px;padding:40px 20px;width:1000px}.mainContentHead_ActD{align-items:center;display:flex;margin-bottom:10px}.mainContentHead_ActD>a{margin-left:6px;width:-moz-fit-content;width:fit-content}.mainContentParagraph_cI3D{margin-bottom:30px;margin-left:20px}.mainContentTitle_gFQ_{color:#888;font-size:21px;margin-bottom:40px;margin-left:0;max-width:600px;padding:0 20px}.contributors__k0X{align-items:center;background-color:#fbfbfb;border-top:1px solid #ededed;display:flex;flex-direction:column;justify-content:center;padding:6rem 20px;width:100%}.contributors__k0X h2{font-size:2.4rem;text-align:center}.contributors__k0X div{align-items:center;display:flex;justify-content:center;max-width:800px}.contributors__k0X a{margin-top:10px;text-align:center}.contributors__k0X p{color:#888;font-size:18px;max-width:600px;padding:0 20px;text-align:center}.backToTopButton_b_x_{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_b_x_: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_vlYG{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_WVpo{display:none;margin:0}.docSidebarContainer_iuFB,.sidebarLogo_kQ8M{display:none}.docMainContainer_Z4BZ,.docRoot_f4mf{display:flex;width:100%}.docsWrapper_q2p5{display:flex;flex:1 0 auto}@media (min-width:997px){.collapseSidebarButton_WVpo,.expandButton__lvM{background-color:var(--docusaurus-collapse-button-bg)}.collapseSidebarButton_WVpo:focus,.collapseSidebarButton_WVpo:hover,.expandButton__lvM:focus,.expandButton__lvM:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_aSKT,.announcementBarPlaceholder_TcsH{flex-basis:50px}.navbarSearchContainer_aE3I{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_xPEB{text-align:right}.tocMobile_bDfb{display:none}.docItemCol_gnFM{max-width:75%!important}.collapseSidebarButton_WVpo{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_FWai{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_eZyW,[dir=rtl] .collapseSidebarButtonIcon_FWai{transform:rotate(0)}.menuHtmlItem_tRnk{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_dQRd{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_dQRd{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_L_NT{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_RtCh{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_ZDLN{padding-top:0}.sidebarHidden_QS0J{opacity:0;visibility:hidden}.sidebarLogo_kQ8M{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_kQ8M img{height:2rem;margin-right:.5rem}.expandButton__lvM{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_eZyW{transform:rotate(180deg)}.docSidebarContainer_iuFB{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_P1vC{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_GfZz{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_Z4BZ{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_aprl{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_oubY{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_a1Yr,.footer__link-separator,.navbar__item,.tableOfContents_ju50{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}.navbarSearchContainer_aE3I{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_teTv{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_b_x_:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_G6_o,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_bDfb{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_uWfT{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/0145a656.60bf7430.js b/assets/js/0145a656.f40d1c04.js similarity index 98% rename from assets/js/0145a656.60bf7430.js rename to assets/js/0145a656.f40d1c04.js index ff2f4196d..a3e2a4854 100644 --- a/assets/js/0145a656.60bf7430.js +++ b/assets/js/0145a656.f40d1c04.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3881],{7265:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var s=n(5735),r=n(7355);const a={},o="useImageStatus",c={id:"react/hooks/useImageStatus",title:"useImageStatus",description:"\ubc18\ud658\ub41c ref\ub97c ` \ud0dc\uadf8\uc5d0 \ud560\ub2f9\ud558\uba74 \uc774\ubbf8\uc9c0 \ub85c\ub4dc\ud558\ub294 \uacfc\uc815\uc5d0\uc11c pending, loading, complete, error` \uc0c1\ud0dc\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useImageStatus.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate"},next:{title:"useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"useimagestatus",children:"useImageStatus"}),"\n",(0,s.jsxs)(t.p,{children:["\ubc18\ud658\ub41c ",(0,s.jsx)(t.code,{children:"ref"}),"\ub97c ",(0,s.jsx)(t.code,{children:""})," \ud0dc\uadf8\uc5d0 \ud560\ub2f9\ud558\uba74 \uc774\ubbf8\uc9c0 \ub85c\ub4dc\ud558\ub294 \uacfc\uc815\uc5d0\uc11c ",(0,s.jsx)(t.code,{children:"pending"}),", ",(0,s.jsx)(t.code,{children:"loading"}),", ",(0,s.jsx)(t.code,{children:"complete"}),", ",(0,s.jsx)(t.code,{children:"error"})," \uc0c1\ud0dc\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ImageStatus = 'pending' | 'loading' | 'complete' | 'error';\n\nconst useImageStatus: () => {\n ref: (imgElement: HTMLImageElement) => void;\n imageStatus: ImageStatus;\n}\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useImageStatus } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\n\nconst Example = () => {\n const { ref, imageStatus } = useImageStatus();\n\n return (\n
\n img1\n

{imageStatus}

\n
\n );\n};\n"})})]})}function m(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>o});var s=n(4614);const r={},a=s.createContext(r);function o(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3881],{2684:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var s=n(5735),r=n(7355);const a={},o="useImageStatus",c={id:"react/hooks/useImageStatus",title:"useImageStatus",description:"\ubc18\ud658\ub41c ref\ub97c ` \ud0dc\uadf8\uc5d0 \ud560\ub2f9\ud558\uba74 \uc774\ubbf8\uc9c0 \ub85c\ub4dc\ud558\ub294 \uacfc\uc815\uc5d0\uc11c pending, loading, complete, error` \uc0c1\ud0dc\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useImageStatus.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate"},next:{title:"useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"useimagestatus",children:"useImageStatus"}),"\n",(0,s.jsxs)(t.p,{children:["\ubc18\ud658\ub41c ",(0,s.jsx)(t.code,{children:"ref"}),"\ub97c ",(0,s.jsx)(t.code,{children:""})," \ud0dc\uadf8\uc5d0 \ud560\ub2f9\ud558\uba74 \uc774\ubbf8\uc9c0 \ub85c\ub4dc\ud558\ub294 \uacfc\uc815\uc5d0\uc11c ",(0,s.jsx)(t.code,{children:"pending"}),", ",(0,s.jsx)(t.code,{children:"loading"}),", ",(0,s.jsx)(t.code,{children:"complete"}),", ",(0,s.jsx)(t.code,{children:"error"})," \uc0c1\ud0dc\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ImageStatus = 'pending' | 'loading' | 'complete' | 'error';\n\nconst useImageStatus: () => {\n ref: (imgElement: HTMLImageElement) => void;\n imageStatus: ImageStatus;\n}\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useImageStatus } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\n\nconst Example = () => {\n const { ref, imageStatus } = useImageStatus();\n\n return (\n
\n img1\n

{imageStatus}

\n
\n );\n};\n"})})]})}function m(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>o});var s=n(4614);const r={},a=s.createContext(r);function o(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0ac9f023.9680e2c6.js b/assets/js/0ac9f023.9680e2c6.js new file mode 100644 index 000000000..01813829f --- /dev/null +++ b/assets/js/0ac9f023.9680e2c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7672],{193:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var t=s(5735),r=s(7355);const i={},a="isNumber",l={id:"utils/validator/isNumber",title:"isNumber",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 \uc22b\uc790\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 number\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNumber.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish"},next:{title:"isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail"}},o={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function c(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"isnumber",children:"isNumber"}),"\n",(0,t.jsxs)(n.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,t.jsx)(n.code,{children:"\uc22b\uc790"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 ",(0,t.jsx)(n.code,{children:"number"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNumber: (arg: unknown) => arg is number\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { isNumber } from '@modern-kit/utils';\n\n\nisNumber(123); // true\n\nisNumber(() => {}); // false\nisNumber('123'); // false\nisNumber(true); // false\nisNumber({}); // false\nisNumber([]); // false\n"})})]})}function d(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},7355:(e,n,s)=>{s.d(n,{Z:()=>l,a:()=>a});var t=s(4614);const r={},i=t.createContext(r);function a(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0ac9f023.9868f152.js b/assets/js/0ac9f023.9868f152.js deleted file mode 100644 index b0a4a5ee0..000000000 --- a/assets/js/0ac9f023.9868f152.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7672],{4567:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var t=s(5735),r=s(7355);const i={},a="isNumber",l={id:"utils/validator/isNumber",title:"isNumber",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 \uc22b\uc790\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 number\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNumber.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish"},next:{title:"isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail"}},o={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function c(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"isnumber",children:"isNumber"}),"\n",(0,t.jsxs)(n.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,t.jsx)(n.code,{children:"\uc22b\uc790"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 ",(0,t.jsx)(n.code,{children:"number"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNumber: (arg: unknown) => arg is number\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { isNumber } from '@modern-kit/utils';\n\n\nisNumber(123); // true\n\nisNumber(() => {}); // false\nisNumber('123'); // false\nisNumber(true); // false\nisNumber({}); // false\nisNumber([]); // false\n"})})]})}function d(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},7355:(e,n,s)=>{s.d(n,{Z:()=>l,a:()=>a});var t=s(4614);const r={},i=t.createContext(r);function a(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/114d5267.88288484.js b/assets/js/114d5267.f0b1ce29.js similarity index 97% rename from assets/js/114d5267.88288484.js rename to assets/js/114d5267.f0b1ce29.js index 2d9522b20..9cc439d4e 100644 --- a/assets/js/114d5267.88288484.js +++ b/assets/js/114d5267.f0b1ce29.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8828],{4513:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var o=n(5735),s=n(7355);const c={},i="omit",r={id:"utils/object/omit",title:"omit",description:"\uc778\uc790\ub85c \ub123\uc740 keys\ub97c \uc0dd\ub7b5\ud55c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 \uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/omit.md",sourceDirName:"utils/object",slug:"/utils/object/omit",permalink:"/modern-kit/docs/utils/object/omit",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectValues",permalink:"/modern-kit/docs/utils/object/objectValues"},next:{title:"pick",permalink:"/modern-kit/docs/utils/object/pick"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"omit",children:"omit"}),"\n",(0,o.jsxs)(t.p,{children:["\uc778\uc790\ub85c \ub123\uc740 ",(0,o.jsx)(t.code,{children:"keys"}),"\ub97c \uc0dd\ub7b5\ud55c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 ",(0,o.jsx)(t.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"symbol"}),"\uc740 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys> = Exclude<\n keyof T,\n symbol\n>;\n\nconst omit: <\n T extends Record,\n K extends ObjectKeys\n>(\n obj: T,\n keys: K | K[]\n) => Omit, T[ObjectKeys]>, K>;\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-ts",children:"import { omit } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst omittedObj1 = omit({ a: 1, b: 2, c: 3, [symbol]: 4 }, 'b'); // { a: 1, c: 3 }\nconst omittedObj1 = omit({ a: 1, b: 2, c: 3, d: 4, [symbol]: 4 }, ['a', 'd']); // { b: 2, c: 3 }\n"})})]})}function m(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>r,a:()=>i});var o=n(4614);const s={},c=o.createContext(s);function i(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8828],{7217:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var o=n(5735),s=n(7355);const c={},i="omit",r={id:"utils/object/omit",title:"omit",description:"\uc778\uc790\ub85c \ub123\uc740 keys\ub97c \uc0dd\ub7b5\ud55c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 \uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/omit.md",sourceDirName:"utils/object",slug:"/utils/object/omit",permalink:"/modern-kit/docs/utils/object/omit",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectValues",permalink:"/modern-kit/docs/utils/object/objectValues"},next:{title:"pick",permalink:"/modern-kit/docs/utils/object/pick"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"omit",children:"omit"}),"\n",(0,o.jsxs)(t.p,{children:["\uc778\uc790\ub85c \ub123\uc740 ",(0,o.jsx)(t.code,{children:"keys"}),"\ub97c \uc0dd\ub7b5\ud55c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 ",(0,o.jsx)(t.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"symbol"}),"\uc740 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys> = Exclude<\n keyof T,\n symbol\n>;\n\nconst omit: <\n T extends Record,\n K extends ObjectKeys\n>(\n obj: T,\n keys: K | K[]\n) => Omit, T[ObjectKeys]>, K>;\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-ts",children:"import { omit } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst omittedObj1 = omit({ a: 1, b: 2, c: 3, [symbol]: 4 }, 'b'); // { a: 1, c: 3 }\nconst omittedObj1 = omit({ a: 1, b: 2, c: 3, d: 4, [symbol]: 4 }, ['a', 'd']); // { b: 2, c: 3 }\n"})})]})}function m(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>r,a:()=>i});var o=n(4614);const s={},c=o.createContext(s);function i(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/11738f66.918e5740.js b/assets/js/11738f66.7d9db171.js similarity index 99% rename from assets/js/11738f66.918e5740.js rename to assets/js/11738f66.7d9db171.js index 1781efcb7..fb5fa8d27 100644 --- a/assets/js/11738f66.918e5740.js +++ b/assets/js/11738f66.7d9db171.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4949],{7496:(t,n,r)=>{r.r(n),r.d(n,{ResizeObserver:()=>l,assets:()=>f,contentTitle:()=>a,default:()=>v,frontMatter:()=>u,metadata:()=>c,toc:()=>s});var e=r(5735),o=r(7355),i=r(5474);const u={},a="useResizeObserver",c={id:"react/hooks/useResizeObserver",title:"useResizeObserver",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uc758 DOM \ud06c\uae30 \ubcc0\ud654\ub97c \uac10\uc9c0\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useResizeObserver.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious"},next:{title:"useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout"}},f={},s=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}],l=()=>{const t={br:"br",div:"div",...(0,o.a)()},{ref:n,contentRect:r}=(0,i.yU)((t=>{console.log("resize",t)}));return(0,e.jsxs)(t.div,{ref:n,style:{width:"100%",height:"400px",background:"#439966",fontSize:"2rem",color:"#fff"},children:["\ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),`width: ${r.width}, height: ${r.height}`]})};function p(t){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"useresizeobserver",children:"useResizeObserver"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uc758 DOM \ud06c\uae30 \ubcc0\ud654\ub97c \uac10\uc9c0\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"/**\n * type ContentRect = {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n }\n */\ntype ContentRect = Omit;\n\nconst useResizeObserver: (\n action: (entry: ResizeObserverEntry) => void\n) => {\n ref: React.RefObject;\n contentRect: ContentRect;\n};\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import React, { forwardRef, useRef } from 'react';\nimport { useResizeObserver } from '@modern-kit/react';\n\nconst Example = () => {\n const { ref, contentRect } = useResizeObserver((entry) => {\n console.log('resize', entry);\n });\n\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n height: '400px', \n background: '#439966', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n \n \ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc904\uc5ec\ubcf4\uc138\uc694.
\n {`width: ${contentRect.width}, height: ${contentRect.height}`}\n \n );\n};\n"})}),"\n","\n",(0,e.jsx)(l,{}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,e.jsx)(n.p,{children:(0,e.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver",children:"ResizeObserver API"})})]})}function v(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(p,{...t})}):p(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Sp,ac:()=>Mp,df:()=>xp,iP:()=>Wp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>zp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=s.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=l.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var s=n&en;n|=s?on:un,(n&=~(s?un:on))&rn||(n&=~(tn|nn));var l=[t,n,o,s?i:void 0,s?u:void 0,s?void 0:i,s?void 0:u,a,c,f],p=r.apply(void 0,l);return Pt(t)&&Dt(p,l),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,sn=/^(?:0|[1-9]\d*)$/;function ln(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&sn.test(t))&&t>-1&&t%1==0&&t1&&b.reverse(),l&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,Rn=8,kn=128,In=256,Mn=Math.min,Sn="Expected a function",zn=1,Wn=2,Bn=8,Ln=16,Pn=32,Cn=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Wn;if(!f&&"function"!=typeof t)throw new TypeError(Sn);var s=e?e.length:0;if(s||(n&=~(Pn|Cn),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),s-=o?o.length:0,n&Cn){var l=e,p=o;e=o=void 0}var v=f?void 0:Rt(t),h=[t,n,r,e,o,l,p,i,u,c];if(v&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|kn),u=e==kn&&r==Rn||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==Rn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],o=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Tn(h[9]-s,0))&&n&(Bn|Ln)&&(n&=~(Bn|Ln)),n&&n!=zn)d=n==Bn||n==Ln?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var s=i<3&&u[0]!==f&&u[i-1]!==f?[]:hn(u,f);return(i-=s.length)-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!L(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&ln(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Qn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=st(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function se(t){return Vt(Zn(t,void 0,fe),t+"")}var le=se(oe),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=hn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=se((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=hn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Me="\\ud800-\\udfff",Se="["+Me+"]",ze="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",We="\\ud83c[\\udffb-\\udfff]",Be="[^"+Me+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+ze+"|"+We+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Ce+"(?:\\u200d(?:"+[Be,Le,Pe].join("|")+")"+Te+Ce+")*",Ue="(?:"+[Be+ze+"?",ze,Le,Pe,Se].join("|")+")",Ne=RegExp(We+"(?="+We+")|"+Ue+De,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?Re(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o=n?t:n)),t}function Lo(t){var n=this.__data__=new $r(t);this.size=n.size}function Po(t,n){return t&&Kn(n,Rr(n),t)}Lo.prototype.clear=function(){this.__data__=new $r,this.size=0},Lo.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Lo.prototype.get=function(t){return this.__data__.get(t)},Lo.prototype.has=function(t){return this.__data__.has(t)},Lo.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Co="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Co&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Co?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++ra))return!1;var f=i.get(t),s=i.get(n);if(f&&s)return f==n&&s==t;var l=-1,p=!0,v=r&Qi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++l=n||r<0||l&&t-f>=i}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return l?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=o=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),s?v(t):u}(c);if(l)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,L(r)&&(s=!!r.leading,i=(l="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Qn(n[0],n[1],o)&&(e=1);++r=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Qr(t))&&Da.test(t)?t.replace(Ta,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Qa(e+o,0):Xa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=Io("floor");function uc(t){return se((function(n){var r=n.length,e=r,o=St.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new St([],!0)}for(e=u?e:r;++en}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Rr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Rc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var s=t[u];u&&n&&(s=x(s,hr(n))),c=Ec(s.length,c),a[u]=!r&&(n||o>=120&&s.length>=120)?new Gi(u&&s):void 0}s=t[0];var l=-1,p=a[0];t:for(;++l1),n})),Kn(t,Jo(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!L(t))return t;for(var o=-1,i=(n=Xr(n,t)).length,u=i-1,a=t;null!=a&&++on||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Sf(t){return se((function(n){return n=x(n,hr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var zf=Sf(x),Wf=Gn,Bf=Math.min,Lf=Wf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Gn((function(e){for(var o=-1,i=Bf(e.length,r);++oTf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function ts(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var ns=Math.ceil;function rs(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,ns(t/ts(n)));return Ie(n)?Re(Fe(e),0,t).join(""):e.slice(0,t)}var es=Math.ceil,os=Math.floor,is=/^\s+/,us=a.parseInt,as=Gn((function(t,n){return Dn(t,32,void 0,n,hn(n,cn(as)))}));as.placeholder={};var cs=Gn((function(t,n){return Dn(t,64,void 0,n,hn(n,cn(cs)))}));cs.placeholder={};var fs=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ss=se((function(t,n){return null==t?{}:function(t,n){return Rf(t,n,(function(n,r){return Bu(t,r)}))}(t,n)}));function ls(t,n,r,e){for(var o=r-1,i=t.length;++o-1;)a!==t&&ps.call(a,c,1),ps.call(t,c,1);return t}function hs(t,n){return t&&t.length&&n&&n.length?vs(t,n):t}var ds=Gn(hs),ys=Array.prototype.splice;function gs(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;ln(o)?ys.call(t,o,1):xf(t,o)}}return t}var _s=se((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gs(t,x(n,(function(t){return ln(t,r)?+t:t})).sort(If)),e})),bs=Math.floor,ms=Math.random;function js(t,n){return t+bs(ms()*(n-t+1))}var ws=parseFloat,xs=Math.min,Os=Math.random,As=Math.ceil,Es=Math.max;function Rs(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=Es(As((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vs=4294967294,Zs=Math.floor,Gs=Math.min;function Hs(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u/g,al={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ul,variable:"",imports:{_:{escape:Ua}}},cl=/\b__p \+= '';/g,fl=/\b(__p \+=) '' \+/g,sl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ll=/[()=,{}\[\]\/\s]/,pl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vl=/($^)/,hl=/['\n\r\u2028\u2029\\]/g,dl=Object.prototype.hasOwnProperty;function yl(t,n){return n(t)}var gl=4294967295,_l=Math.min;function bl(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ml(){return bl(this.__wrapped__,this.__actions__)}function jl(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function wl(t,n){for(var r=-1,e=t.length;++r-1;);return r}var xl=/^\s+/,Ol=/\w*$/,Al=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),El=/&(?:amp|lt|gt|quot|#39);/g,Rl=RegExp(El.source),kl=Xo&&1/nu(new Xo([,-0]))[1]==1/0?function(t){return new Xo(t)}:Et,Il=200;function Ml(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Il){var f=n?null:kl(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++e1||this.__actions__.length)&&e instanceof At&&ln(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:yl,args:[o],thisArg:void 0}),new St(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fl(t,n,r){var e=t.length;if(e<2)return e?Ml(t[0]):[];for(var o=-1,i=Array(e);++o1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cl(t,r)})),Yl={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(zo(e/n));oo?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r-1:!!o&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fs,reduce:function(t,n,r){var e=O(t)?Ve:Ss,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?zs:Ss,o=arguments.length<3;return e(t,Uu(n),r,o,za)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ps:Cs)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Ds:Us)(t,n)},shuffle:function(t){return(O(t)?Ns:Fs)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?ts(t):t.length;var n=li(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Hi:$s;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Ks},Xl=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Lf,partial:as,partialRight:cs,rearg:Ms,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Qs(K(n),0),Gn((function(r){var e=r[n],o=Re(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return L(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return as(Ra(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Rr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=li(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||Ru(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Ru(t,n,Iu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:L,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==li(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:sf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:sa,toSafeInteger:function(t){return t?Bo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?lf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?lf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?lf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?lf(t,Uu(n),cf):void 0},multiply:_f,round:Ls,subtract:tl,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:zr,assignInWith:Wr,assignWith:Br,at:le,create:function(t,n){var r=dt(t);return null==n?r:Po(r,n)},defaults:ua,defaultsDeep:ha,entries:La,entriesIn:Pa,extend:zr,extendWith:Wr,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Sa)},forIn:function(t,n){return null==t?t:$u(t,Ra(n),Sr)},forInRight:function(t,n){return null==t?t:Ma(t,Ra(n),Sr)},forOwn:function(t,n){return t&&Ku(t,Ra(n))},forOwnRight:function(t,n){return t&&Sa(t,Ra(n))},functions:function(t){return null==t?[]:fc(t,Rr(t))},functionsIn:function(t){return null==t?[]:fc(t,Sr(t))},get:ee,has:function(t,n){return null!=t&&Wu(t,n,gc)},hasIn:Bu,invert:Bc,invertBy:Tc,invoke:Nc,keys:Rr,keysIn:Sr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ss,pickBy:kf,result:function(t,n,r){var e=-1,o=(n=Xr(n,t)).length;for(o||(o=1,t=void 0);++e=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Wt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:yl,args:[Bs],thisArg:void 0}),new St(n,this.__chain__)}return this.thru(Bs)},tap:function(t,n){return n(t),t},thru:yl,toIterator:function(){return this},toJSON:ml,value:ml,valueOf:ml,wrapperChain:function(){return So(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,o=r=void 0===r?e:Bo(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rs(os(o),r)+t+rs(es(o),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Re(Fe(t),0,r):t.split(n,r):[]},startCase:Xs,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Bo(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=al.imports._.templateSettings||al;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Wr({},n,e,el);var o,i,u=Wr({},n.imports,e.imports,el),a=Rr(u),c=wc(u,a),f=0,s=n.interpolate||vl,l="__p += '",p=RegExp((n.escape||vl).source+"|"+s.source+"|"+(s===ul?pl:vl).source+"|"+(n.evaluate||vl).source+"|$","g"),v=dl.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),l+=t.slice(f,c).replace(hl,il),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(i=!0,l+="';\n"+a+";\n__p += '"),e&&(l+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),l+="';\n";var h=dl.call(n,"variable")&&n.variable;if(h){if(ll.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";l=(i?l.replace(cl,""):l).replace(fl,"$1").replace(sl,"$1;"),l="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var d=je((function(){return Function(a,v+"return "+l).apply(void 0,c)}));if(d.source=l,me(d))throw d;return d},templateSettings:al,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return B(t);if(!t||!(n=k(n)))return t;var e=Fe(t),o=Fe(n);return Re(e,wl(e,o),jl(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,z(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Re(e,0,jl(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xl,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Re(e,wl(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(L(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var i=(t=Qr(t)).length;if(Ie(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-ts(e);if(a<1)return e;var c=u?Re(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Xc(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=RegExp(o.source,Qr(Ol.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,void 0===l?a:l)}}else if(t.indexOf(k(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Rl.test(t)?t.replace(El,Al):t},upperCase:Dl,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e9007199254740991)return[];var r=gl,e=_l(t,gl);n=Ra(n),t-=gl;for(var o=rr(e,n);++r=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Lt.invoke=ep.invoke,Lt.isArguments=np.isArguments,Lt.isArray=O,Lt.isArrayBuffer=np.isArrayBuffer,Lt.isArrayLike=np.isArrayLike,Lt.isArrayLikeObject=np.isArrayLikeObject,Lt.isBoolean=np.isBoolean,Lt.isBuffer=np.isBuffer,Lt.isDate=np.isDate,Lt.isElement=np.isElement,Lt.isEmpty=np.isEmpty,Lt.isEqual=np.isEqual,Lt.isEqualWith=np.isEqualWith,Lt.isError=np.isError,Lt.isFinite=np.isFinite,Lt.isFunction=np.isFunction,Lt.isInteger=np.isInteger,Lt.isLength=np.isLength,Lt.isMap=np.isMap,Lt.isMatch=np.isMatch,Lt.isMatchWith=np.isMatchWith,Lt.isNaN=np.isNaN,Lt.isNative=np.isNative,Lt.isNil=np.isNil,Lt.isNull=np.isNull,Lt.isNumber=np.isNumber,Lt.isObject=L,Lt.isObjectLike=np.isObjectLike,Lt.isPlainObject=np.isPlainObject,Lt.isRegExp=np.isRegExp,Lt.isSafeInteger=np.isSafeInteger,Lt.isSet=np.isSet,Lt.isString=np.isString,Lt.isSymbol=np.isSymbol,Lt.isTypedArray=np.isTypedArray,Lt.isUndefined=np.isUndefined,Lt.isWeakMap=np.isWeakMap,Lt.isWeakSet=np.isWeakSet,Lt.join=Yl.join,Lt.kebabCase=ip.kebabCase,Lt.last=wa,Lt.lastIndexOf=Yl.lastIndexOf,Lt.lowerCase=ip.lowerCase,Lt.lowerFirst=ip.lowerFirst,Lt.lt=np.lt,Lt.lte=np.lte,Lt.max=rp.max,Lt.maxBy=rp.maxBy,Lt.mean=rp.mean,Lt.meanBy=rp.meanBy,Lt.min=rp.min,Lt.minBy=rp.minBy,Lt.stubArray=up.stubArray,Lt.stubFalse=up.stubFalse,Lt.stubObject=up.stubObject,Lt.stubString=up.stubString,Lt.stubTrue=up.stubTrue,Lt.multiply=rp.multiply,Lt.nth=Yl.nth,Lt.noop=up.noop,Lt.now=Xl,Lt.pad=ip.pad,Lt.padEnd=ip.padEnd,Lt.padStart=ip.padStart,Lt.parseInt=ip.parseInt,Lt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Os();return xs(t+o*(n-t+ws("1e-"+((o+"").length-1))),n)}return js(t,n)},Lt.reduce=Ql.reduce,Lt.reduceRight=Ql.reduceRight,Lt.repeat=ip.repeat,Lt.replace=ip.replace,Lt.result=ep.result,Lt.round=rp.round,Lt.sample=Ql.sample,Lt.size=Ql.size,Lt.snakeCase=ip.snakeCase,Lt.some=Ql.some,Lt.sortedIndex=Yl.sortedIndex,Lt.sortedIndexBy=Yl.sortedIndexBy,Lt.sortedIndexOf=Yl.sortedIndexOf,Lt.sortedLastIndex=Yl.sortedLastIndex,Lt.sortedLastIndexBy=Yl.sortedLastIndexBy,Lt.sortedLastIndexOf=Yl.sortedLastIndexOf,Lt.startCase=ip.startCase,Lt.startsWith=ip.startsWith,Lt.subtract=rp.subtract,Lt.sum=rp.sum,Lt.sumBy=rp.sumBy,Lt.template=ip.template,Lt.times=up.times,Lt.toFinite=np.toFinite,Lt.toInteger=K,Lt.toLength=np.toLength,Lt.toLower=ip.toLower,Lt.toNumber=np.toNumber,Lt.toSafeInteger=np.toSafeInteger,Lt.toString=np.toString,Lt.toUpper=ip.toUpper,Lt.trim=ip.trim,Lt.trimEnd=ip.trimEnd,Lt.trimStart=ip.trimStart,Lt.truncate=ip.truncate,Lt.unescape=ip.unescape,Lt.uniqueId=up.uniqueId,Lt.upperCase=ip.upperCase,Lt.upperFirst=ip.upperFirst,Lt.each=Ql.forEach,Lt.eachRight=Ql.forEachRight,Lt.first=Yl.head,yp(Lt,(Gl={},Ku(Lt,(function(t,n){pp.call(Lt.prototype,n)||(Gl[n]=t)})),Gl),{chain:!1}),Lt.VERSION="4.17.21",(Lt.templateSettings=ip.templateSettings).imports._=Lt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Lt[t].placeholder=Lt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,sp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(sp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=Lt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(Lt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),s=function(t){var n=o.apply(Lt,ie([t],u));return e&&l?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var l=this.__chain__,p=!!this.__actions__.length,v=i&&!l,h=a&&!p;if(!i&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:yl,args:[s],thisArg:void 0}),new St(d,l)}return v&&h?t.apply(this,u):(d=this.thru(s),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=lp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Lt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Lt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=zt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=zt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=zt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const s=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),l=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,s),style:l}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Rp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Ip(t)),o=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Sp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},zp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Wp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Rp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4949],{7857:(t,n,r)=>{r.r(n),r.d(n,{ResizeObserver:()=>s,assets:()=>f,contentTitle:()=>a,default:()=>v,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),o=r(7355),i=r(5474);const u={},a="useResizeObserver",c={id:"react/hooks/useResizeObserver",title:"useResizeObserver",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uc758 DOM \ud06c\uae30 \ubcc0\ud654\ub97c \uac10\uc9c0\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useResizeObserver.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious"},next:{title:"useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout"}},f={},s=()=>{const t={br:"br",div:"div",...(0,o.a)()},{ref:n,contentRect:r}=(0,i.yU)((t=>{console.log("resize",t)}));return(0,e.jsxs)(t.div,{ref:n,style:{width:"100%",height:"400px",background:"#439966",fontSize:"2rem",color:"#fff"},children:["\ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),`width: ${r.width}, height: ${r.height}`]})},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function p(t){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"useresizeobserver",children:"useResizeObserver"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uc758 DOM \ud06c\uae30 \ubcc0\ud654\ub97c \uac10\uc9c0\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"/**\n * type ContentRect = {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n }\n */\ntype ContentRect = Omit;\n\nconst useResizeObserver: (\n action: (entry: ResizeObserverEntry) => void\n) => {\n ref: React.RefObject;\n contentRect: ContentRect;\n};\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import React, { forwardRef, useRef } from 'react';\nimport { useResizeObserver } from '@modern-kit/react';\n\nconst Example = () => {\n const { ref, contentRect } = useResizeObserver((entry) => {\n console.log('resize', entry);\n });\n\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n height: '400px', \n background: '#439966', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n \n \ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc904\uc5ec\ubcf4\uc138\uc694.
\n {`width: ${contentRect.width}, height: ${contentRect.height}`}\n \n );\n};\n"})}),"\n","\n",(0,e.jsx)(s,{}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,e.jsx)(n.p,{children:(0,e.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver",children:"ResizeObserver API"})})]})}function v(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(p,{...t})}):p(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Sp,ac:()=>Mp,df:()=>xp,iP:()=>Wp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>zp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=s.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=l.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var s=n&en;n|=s?on:un,(n&=~(s?un:on))&rn||(n&=~(tn|nn));var l=[t,n,o,s?i:void 0,s?u:void 0,s?void 0:i,s?void 0:u,a,c,f],p=r.apply(void 0,l);return Pt(t)&&Dt(p,l),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,sn=/^(?:0|[1-9]\d*)$/;function ln(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&sn.test(t))&&t>-1&&t%1==0&&t1&&b.reverse(),l&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,Rn=8,kn=128,In=256,Mn=Math.min,Sn="Expected a function",zn=1,Wn=2,Bn=8,Ln=16,Pn=32,Cn=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Wn;if(!f&&"function"!=typeof t)throw new TypeError(Sn);var s=e?e.length:0;if(s||(n&=~(Pn|Cn),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),s-=o?o.length:0,n&Cn){var l=e,p=o;e=o=void 0}var v=f?void 0:Rt(t),h=[t,n,r,e,o,l,p,i,u,c];if(v&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|kn),u=e==kn&&r==Rn||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==Rn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],o=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Tn(h[9]-s,0))&&n&(Bn|Ln)&&(n&=~(Bn|Ln)),n&&n!=zn)d=n==Bn||n==Ln?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var s=i<3&&u[0]!==f&&u[i-1]!==f?[]:hn(u,f);return(i-=s.length)-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!L(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&ln(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Qn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=st(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function se(t){return Vt(Zn(t,void 0,fe),t+"")}var le=se(oe),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=hn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=se((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=hn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Me="\\ud800-\\udfff",Se="["+Me+"]",ze="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",We="\\ud83c[\\udffb-\\udfff]",Be="[^"+Me+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+ze+"|"+We+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Ce+"(?:\\u200d(?:"+[Be,Le,Pe].join("|")+")"+Te+Ce+")*",Ue="(?:"+[Be+ze+"?",ze,Le,Pe,Se].join("|")+")",Ne=RegExp(We+"(?="+We+")|"+Ue+De,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?Re(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o=n?t:n)),t}function Lo(t){var n=this.__data__=new $r(t);this.size=n.size}function Po(t,n){return t&&Kn(n,Rr(n),t)}Lo.prototype.clear=function(){this.__data__=new $r,this.size=0},Lo.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Lo.prototype.get=function(t){return this.__data__.get(t)},Lo.prototype.has=function(t){return this.__data__.has(t)},Lo.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Co="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Co&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Co?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++ra))return!1;var f=i.get(t),s=i.get(n);if(f&&s)return f==n&&s==t;var l=-1,p=!0,v=r&Qi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++l=n||r<0||l&&t-f>=i}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return l?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=o=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),s?v(t):u}(c);if(l)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,L(r)&&(s=!!r.leading,i=(l="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Qn(n[0],n[1],o)&&(e=1);++r=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Qr(t))&&Da.test(t)?t.replace(Ta,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Qa(e+o,0):Xa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=Io("floor");function uc(t){return se((function(n){var r=n.length,e=r,o=St.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new St([],!0)}for(e=u?e:r;++en}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Rr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Rc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var s=t[u];u&&n&&(s=x(s,hr(n))),c=Ec(s.length,c),a[u]=!r&&(n||o>=120&&s.length>=120)?new Gi(u&&s):void 0}s=t[0];var l=-1,p=a[0];t:for(;++l1),n})),Kn(t,Jo(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!L(t))return t;for(var o=-1,i=(n=Xr(n,t)).length,u=i-1,a=t;null!=a&&++on||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Sf(t){return se((function(n){return n=x(n,hr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var zf=Sf(x),Wf=Gn,Bf=Math.min,Lf=Wf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Gn((function(e){for(var o=-1,i=Bf(e.length,r);++oTf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function ts(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var ns=Math.ceil;function rs(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,ns(t/ts(n)));return Ie(n)?Re(Fe(e),0,t).join(""):e.slice(0,t)}var es=Math.ceil,os=Math.floor,is=/^\s+/,us=a.parseInt,as=Gn((function(t,n){return Dn(t,32,void 0,n,hn(n,cn(as)))}));as.placeholder={};var cs=Gn((function(t,n){return Dn(t,64,void 0,n,hn(n,cn(cs)))}));cs.placeholder={};var fs=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ss=se((function(t,n){return null==t?{}:function(t,n){return Rf(t,n,(function(n,r){return Bu(t,r)}))}(t,n)}));function ls(t,n,r,e){for(var o=r-1,i=t.length;++o-1;)a!==t&&ps.call(a,c,1),ps.call(t,c,1);return t}function hs(t,n){return t&&t.length&&n&&n.length?vs(t,n):t}var ds=Gn(hs),ys=Array.prototype.splice;function gs(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;ln(o)?ys.call(t,o,1):xf(t,o)}}return t}var _s=se((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gs(t,x(n,(function(t){return ln(t,r)?+t:t})).sort(If)),e})),bs=Math.floor,ms=Math.random;function js(t,n){return t+bs(ms()*(n-t+1))}var ws=parseFloat,xs=Math.min,Os=Math.random,As=Math.ceil,Es=Math.max;function Rs(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=Es(As((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vs=4294967294,Zs=Math.floor,Gs=Math.min;function Hs(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u/g,al={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ul,variable:"",imports:{_:{escape:Ua}}},cl=/\b__p \+= '';/g,fl=/\b(__p \+=) '' \+/g,sl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ll=/[()=,{}\[\]\/\s]/,pl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vl=/($^)/,hl=/['\n\r\u2028\u2029\\]/g,dl=Object.prototype.hasOwnProperty;function yl(t,n){return n(t)}var gl=4294967295,_l=Math.min;function bl(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ml(){return bl(this.__wrapped__,this.__actions__)}function jl(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function wl(t,n){for(var r=-1,e=t.length;++r-1;);return r}var xl=/^\s+/,Ol=/\w*$/,Al=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),El=/&(?:amp|lt|gt|quot|#39);/g,Rl=RegExp(El.source),kl=Xo&&1/nu(new Xo([,-0]))[1]==1/0?function(t){return new Xo(t)}:Et,Il=200;function Ml(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Il){var f=n?null:kl(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++e1||this.__actions__.length)&&e instanceof At&&ln(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:yl,args:[o],thisArg:void 0}),new St(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fl(t,n,r){var e=t.length;if(e<2)return e?Ml(t[0]):[];for(var o=-1,i=Array(e);++o1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cl(t,r)})),Yl={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(zo(e/n));oo?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r-1:!!o&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fs,reduce:function(t,n,r){var e=O(t)?Ve:Ss,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?zs:Ss,o=arguments.length<3;return e(t,Uu(n),r,o,za)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ps:Cs)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Ds:Us)(t,n)},shuffle:function(t){return(O(t)?Ns:Fs)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?ts(t):t.length;var n=li(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Hi:$s;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Ks},Xl=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Lf,partial:as,partialRight:cs,rearg:Ms,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Qs(K(n),0),Gn((function(r){var e=r[n],o=Re(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return L(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return as(Ra(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Rr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=li(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||Ru(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Ru(t,n,Iu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:L,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==li(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:sf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:sa,toSafeInteger:function(t){return t?Bo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?lf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?lf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?lf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?lf(t,Uu(n),cf):void 0},multiply:_f,round:Ls,subtract:tl,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:zr,assignInWith:Wr,assignWith:Br,at:le,create:function(t,n){var r=dt(t);return null==n?r:Po(r,n)},defaults:ua,defaultsDeep:ha,entries:La,entriesIn:Pa,extend:zr,extendWith:Wr,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Sa)},forIn:function(t,n){return null==t?t:$u(t,Ra(n),Sr)},forInRight:function(t,n){return null==t?t:Ma(t,Ra(n),Sr)},forOwn:function(t,n){return t&&Ku(t,Ra(n))},forOwnRight:function(t,n){return t&&Sa(t,Ra(n))},functions:function(t){return null==t?[]:fc(t,Rr(t))},functionsIn:function(t){return null==t?[]:fc(t,Sr(t))},get:ee,has:function(t,n){return null!=t&&Wu(t,n,gc)},hasIn:Bu,invert:Bc,invertBy:Tc,invoke:Nc,keys:Rr,keysIn:Sr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ss,pickBy:kf,result:function(t,n,r){var e=-1,o=(n=Xr(n,t)).length;for(o||(o=1,t=void 0);++e=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Wt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:yl,args:[Bs],thisArg:void 0}),new St(n,this.__chain__)}return this.thru(Bs)},tap:function(t,n){return n(t),t},thru:yl,toIterator:function(){return this},toJSON:ml,value:ml,valueOf:ml,wrapperChain:function(){return So(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,o=r=void 0===r?e:Bo(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rs(os(o),r)+t+rs(es(o),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Re(Fe(t),0,r):t.split(n,r):[]},startCase:Xs,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Bo(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=al.imports._.templateSettings||al;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Wr({},n,e,el);var o,i,u=Wr({},n.imports,e.imports,el),a=Rr(u),c=wc(u,a),f=0,s=n.interpolate||vl,l="__p += '",p=RegExp((n.escape||vl).source+"|"+s.source+"|"+(s===ul?pl:vl).source+"|"+(n.evaluate||vl).source+"|$","g"),v=dl.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),l+=t.slice(f,c).replace(hl,il),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(i=!0,l+="';\n"+a+";\n__p += '"),e&&(l+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),l+="';\n";var h=dl.call(n,"variable")&&n.variable;if(h){if(ll.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";l=(i?l.replace(cl,""):l).replace(fl,"$1").replace(sl,"$1;"),l="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var d=je((function(){return Function(a,v+"return "+l).apply(void 0,c)}));if(d.source=l,me(d))throw d;return d},templateSettings:al,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return B(t);if(!t||!(n=k(n)))return t;var e=Fe(t),o=Fe(n);return Re(e,wl(e,o),jl(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,z(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Re(e,0,jl(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xl,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Re(e,wl(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(L(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var i=(t=Qr(t)).length;if(Ie(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-ts(e);if(a<1)return e;var c=u?Re(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Xc(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=RegExp(o.source,Qr(Ol.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,void 0===l?a:l)}}else if(t.indexOf(k(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Rl.test(t)?t.replace(El,Al):t},upperCase:Dl,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e9007199254740991)return[];var r=gl,e=_l(t,gl);n=Ra(n),t-=gl;for(var o=rr(e,n);++r=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Lt.invoke=ep.invoke,Lt.isArguments=np.isArguments,Lt.isArray=O,Lt.isArrayBuffer=np.isArrayBuffer,Lt.isArrayLike=np.isArrayLike,Lt.isArrayLikeObject=np.isArrayLikeObject,Lt.isBoolean=np.isBoolean,Lt.isBuffer=np.isBuffer,Lt.isDate=np.isDate,Lt.isElement=np.isElement,Lt.isEmpty=np.isEmpty,Lt.isEqual=np.isEqual,Lt.isEqualWith=np.isEqualWith,Lt.isError=np.isError,Lt.isFinite=np.isFinite,Lt.isFunction=np.isFunction,Lt.isInteger=np.isInteger,Lt.isLength=np.isLength,Lt.isMap=np.isMap,Lt.isMatch=np.isMatch,Lt.isMatchWith=np.isMatchWith,Lt.isNaN=np.isNaN,Lt.isNative=np.isNative,Lt.isNil=np.isNil,Lt.isNull=np.isNull,Lt.isNumber=np.isNumber,Lt.isObject=L,Lt.isObjectLike=np.isObjectLike,Lt.isPlainObject=np.isPlainObject,Lt.isRegExp=np.isRegExp,Lt.isSafeInteger=np.isSafeInteger,Lt.isSet=np.isSet,Lt.isString=np.isString,Lt.isSymbol=np.isSymbol,Lt.isTypedArray=np.isTypedArray,Lt.isUndefined=np.isUndefined,Lt.isWeakMap=np.isWeakMap,Lt.isWeakSet=np.isWeakSet,Lt.join=Yl.join,Lt.kebabCase=ip.kebabCase,Lt.last=wa,Lt.lastIndexOf=Yl.lastIndexOf,Lt.lowerCase=ip.lowerCase,Lt.lowerFirst=ip.lowerFirst,Lt.lt=np.lt,Lt.lte=np.lte,Lt.max=rp.max,Lt.maxBy=rp.maxBy,Lt.mean=rp.mean,Lt.meanBy=rp.meanBy,Lt.min=rp.min,Lt.minBy=rp.minBy,Lt.stubArray=up.stubArray,Lt.stubFalse=up.stubFalse,Lt.stubObject=up.stubObject,Lt.stubString=up.stubString,Lt.stubTrue=up.stubTrue,Lt.multiply=rp.multiply,Lt.nth=Yl.nth,Lt.noop=up.noop,Lt.now=Xl,Lt.pad=ip.pad,Lt.padEnd=ip.padEnd,Lt.padStart=ip.padStart,Lt.parseInt=ip.parseInt,Lt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Os();return xs(t+o*(n-t+ws("1e-"+((o+"").length-1))),n)}return js(t,n)},Lt.reduce=Ql.reduce,Lt.reduceRight=Ql.reduceRight,Lt.repeat=ip.repeat,Lt.replace=ip.replace,Lt.result=ep.result,Lt.round=rp.round,Lt.sample=Ql.sample,Lt.size=Ql.size,Lt.snakeCase=ip.snakeCase,Lt.some=Ql.some,Lt.sortedIndex=Yl.sortedIndex,Lt.sortedIndexBy=Yl.sortedIndexBy,Lt.sortedIndexOf=Yl.sortedIndexOf,Lt.sortedLastIndex=Yl.sortedLastIndex,Lt.sortedLastIndexBy=Yl.sortedLastIndexBy,Lt.sortedLastIndexOf=Yl.sortedLastIndexOf,Lt.startCase=ip.startCase,Lt.startsWith=ip.startsWith,Lt.subtract=rp.subtract,Lt.sum=rp.sum,Lt.sumBy=rp.sumBy,Lt.template=ip.template,Lt.times=up.times,Lt.toFinite=np.toFinite,Lt.toInteger=K,Lt.toLength=np.toLength,Lt.toLower=ip.toLower,Lt.toNumber=np.toNumber,Lt.toSafeInteger=np.toSafeInteger,Lt.toString=np.toString,Lt.toUpper=ip.toUpper,Lt.trim=ip.trim,Lt.trimEnd=ip.trimEnd,Lt.trimStart=ip.trimStart,Lt.truncate=ip.truncate,Lt.unescape=ip.unescape,Lt.uniqueId=up.uniqueId,Lt.upperCase=ip.upperCase,Lt.upperFirst=ip.upperFirst,Lt.each=Ql.forEach,Lt.eachRight=Ql.forEachRight,Lt.first=Yl.head,yp(Lt,(Gl={},Ku(Lt,(function(t,n){pp.call(Lt.prototype,n)||(Gl[n]=t)})),Gl),{chain:!1}),Lt.VERSION="4.17.21",(Lt.templateSettings=ip.templateSettings).imports._=Lt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Lt[t].placeholder=Lt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,sp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(sp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=Lt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(Lt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),s=function(t){var n=o.apply(Lt,ie([t],u));return e&&l?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var l=this.__chain__,p=!!this.__actions__.length,v=i&&!l,h=a&&!p;if(!i&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:yl,args:[s],thisArg:void 0}),new St(d,l)}return v&&h?t.apply(this,u):(d=this.thru(s),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=lp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Lt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Lt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=zt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=zt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=zt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const s=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),l=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,s),style:l}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Rp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Ip(t)),o=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Sp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},zp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Wp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Rp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file diff --git a/assets/js/13eb7aa0.f94fdde3.js b/assets/js/13eb7aa0.626b045e.js similarity index 98% rename from assets/js/13eb7aa0.f94fdde3.js rename to assets/js/13eb7aa0.626b045e.js index ce5eed527..5b2a44b50 100644 --- a/assets/js/13eb7aa0.f94fdde3.js +++ b/assets/js/13eb7aa0.626b045e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8913],{5983:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var n=t(5735),s=t(7355);const a={},l="isValidEmail",r={id:"utils/validator/isValidEmail",title:"isValidEmail",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 \uc774\uba54\uc77c \ud615\uc2dd\uc744 \uc900\uc218\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isValidEmail.md",sourceDirName:"utils/validator",slug:"/utils/validator/isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber"},next:{title:"isValidPhoneNumberFormat",permalink:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat"}},o={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function c(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"isvalidemail",children:"isValidEmail"}),"\n",(0,n.jsxs)(i.p,{children:["\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 ",(0,n.jsx)(i.code,{children:"\uc774\uba54\uc77c \ud615\uc2dd"}),"\uc744 \uc900\uc218\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"https://www.ietf.org/rfc/rfc5322.txt",children:"RFC 5322"})," \uae30\uc900\uc758 \uc815\uaddc\ud45c\ud604\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc600\uc73c\uba70, \ud574\ub2f9 \ud568\uc218\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uc815\uaddc\uc2dd\uc740 \uc774\uba54\uc77c \ud615\ud0dc\uc758 ",(0,n.jsx)(i.code,{children:"99.99%"}),"\ub97c \uac80\uc0ac\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(i.p,{children:["\ucc38\uace0\ub85c, \uc644\ubcbd\ud55c \uc774\uba54\uc77c \uc815\uaddc\uc2dd\uc740 \uc874\uc7ac\ud558\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 ",(0,n.jsx)(i.code,{children:"99.99%"})," \uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-tsx",children:"const isValidEmail: (email: string) => boolean\n"})}),"\n",(0,n.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-ts",children:"import { isValidEmail } from '@modern-kit/utils';\n\nconst isEmail1 = isValidEmail('example@email.com'); // true\nconst isEmail2 = isValidEmail('invalid-email'); // false\n"})}),"\n",(0,n.jsx)(i.h2,{id:"note",children:"Note"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://www.ietf.org/rfc/rfc5322.txt",children:"RFC 5322"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://emailregex.com/",children:"emailregex"})})]})}function m(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},7355:(e,i,t)=>{t.d(i,{Z:()=>r,a:()=>l});var n=t(4614);const s={},a=n.createContext(s);function l(e){const i=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(a.Provider,{value:i},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8913],{3940:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var n=t(5735),s=t(7355);const a={},l="isValidEmail",r={id:"utils/validator/isValidEmail",title:"isValidEmail",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 \uc774\uba54\uc77c \ud615\uc2dd\uc744 \uc900\uc218\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isValidEmail.md",sourceDirName:"utils/validator",slug:"/utils/validator/isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber"},next:{title:"isValidPhoneNumberFormat",permalink:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat"}},o={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function c(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"isvalidemail",children:"isValidEmail"}),"\n",(0,n.jsxs)(i.p,{children:["\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 ",(0,n.jsx)(i.code,{children:"\uc774\uba54\uc77c \ud615\uc2dd"}),"\uc744 \uc900\uc218\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"https://www.ietf.org/rfc/rfc5322.txt",children:"RFC 5322"})," \uae30\uc900\uc758 \uc815\uaddc\ud45c\ud604\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc600\uc73c\uba70, \ud574\ub2f9 \ud568\uc218\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uc815\uaddc\uc2dd\uc740 \uc774\uba54\uc77c \ud615\ud0dc\uc758 ",(0,n.jsx)(i.code,{children:"99.99%"}),"\ub97c \uac80\uc0ac\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(i.p,{children:["\ucc38\uace0\ub85c, \uc644\ubcbd\ud55c \uc774\uba54\uc77c \uc815\uaddc\uc2dd\uc740 \uc874\uc7ac\ud558\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 ",(0,n.jsx)(i.code,{children:"99.99%"})," \uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-tsx",children:"const isValidEmail: (email: string) => boolean\n"})}),"\n",(0,n.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-ts",children:"import { isValidEmail } from '@modern-kit/utils';\n\nconst isEmail1 = isValidEmail('example@email.com'); // true\nconst isEmail2 = isValidEmail('invalid-email'); // false\n"})}),"\n",(0,n.jsx)(i.h2,{id:"note",children:"Note"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://www.ietf.org/rfc/rfc5322.txt",children:"RFC 5322"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://emailregex.com/",children:"emailregex"})})]})}function m(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},7355:(e,i,t)=>{t.d(i,{Z:()=>r,a:()=>l});var n=t(4614);const s={},a=n.createContext(s);function l(e){const i=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(a.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.962e591c.js b/assets/js/17896441.962e591c.js new file mode 100644 index 000000000..451976ead --- /dev/null +++ b/assets/js/17896441.962e591c.js @@ -0,0 +1 @@ +(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7918],{9453:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>qt});var s=n(4614),a=n(9603),o=n(183),i=n(5735);const l=s.createContext(null);function c(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,i.jsx)(l.Provider,{value:a,children:t})}function r(){const e=(0,s.useContext)(l);if(null===e)throw new o.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=r();return(0,i.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(605),m=n(3181),h=n(3583),p=n(3497);function f(e){const{permalink:t,title:n,subLabel:s,isNext:a}=e;return(0,i.jsxs)(p.Z,{className:(0,u.Z)("pagination-nav__link",a?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,i.jsx)("div",{className:"pagination-nav__label",children:n})]})}function x(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(f,{...t,subLabel:(0,i.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(f,{...n,subLabel:(0,i.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function b(){const{metadata:e}=r();return(0,i.jsx)(x,{previous:e.previous,next:e.next})}var g=n(3020),j=n(4153),v=n(1329),N=n(4755),C=n(4631);const k={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,i.jsx)(h.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:(0,i.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,i.jsx)(h.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:(0,i.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function y(e){const t=k[e.versionMetadata.banner];return(0,i.jsx)(t,{...e})}function L(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,i.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,i.jsx)("b",{children:(0,i.jsx)(p.Z,{to:n,onClick:s,children:(0,i.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function _(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,g.Z)(),{pluginId:a}=(0,j.gA)({failfast:!0}),{savePreferredVersionName:o}=(0,N.J)(a),{latestDocSuggestion:l,latestVersionSuggestion:c}=(0,j.Jo)(a),r=l??(d=c).docs.find((e=>e.id===d.mainDocId));var d;return(0,i.jsxs)("div",{className:(0,u.Z)(t,v.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,i.jsx)("div",{children:(0,i.jsx)(y,{siteTitle:s,versionMetadata:n})}),(0,i.jsx)("div",{className:"margin-top--md",children:(0,i.jsx)(L,{versionLabel:c.label,to:r.path,onClick:()=>o(c.name)})})]})}function B(e){let{className:t}=e;const n=(0,C.E)();return n.banner?(0,i.jsx)(_,{className:t,versionMetadata:n}):null}function w(e){let{className:t}=e;const n=(0,C.E)();return n.badge?(0,i.jsx)("span",{className:(0,u.Z)(t,v.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,i.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}const Z={tag:"tag__DM_",tagRegular:"tagRegular_FfC3",tagWithCount:"tagWithCount_mI8o"};function T(e){let{permalink:t,label:n,count:s}=e;return(0,i.jsxs)(p.Z,{href:t,className:(0,u.Z)(Z.tag,s?Z.tagWithCount:Z.tagRegular),children:[n,s&&(0,i.jsx)("span",{children:s})]})}const E={tags:"tags_fgUn",tag:"tag_DXPE"};function H(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(h.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,u.Z)(E.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:E.tag,children:(0,i.jsx)(T,{label:t,permalink:n})},n)}))})]})}const M={iconEdit:"iconEdit_LGCK"};function I(e){let{className:t,...n}=e;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.Z)(M.iconEdit,t),"aria-hidden":"true",...n,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function A(e){let{editUrl:t}=e;return(0,i.jsxs)(p.Z,{to:t,className:v.k.common.editThisPage,children:[(0,i.jsx)(I,{}),(0,i.jsx)(h.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}function S(e){void 0===e&&(e={});const{i18n:{currentLocale:t}}=(0,g.Z)(),n=function(){const{i18n:{currentLocale:e,localeConfigs:t}}=(0,g.Z)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:n,...e})}function U(e){let{lastUpdatedAt:t}=e;const n=new Date(t),s=S({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,i.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:s})})},children:" on {date}"})}function z(e){let{lastUpdatedBy:t}=e;return(0,i.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:t})},children:" by {user}"})}function R(e){let{lastUpdatedAt:t,lastUpdatedBy:n}=e;return(0,i.jsxs)("span",{className:v.k.common.lastUpdated,children:[(0,i.jsx)(h.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t?(0,i.jsx)(U,{lastUpdatedAt:t}):"",byUser:n?(0,i.jsx)(z,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const V={lastUpdated:"lastUpdated_xPEB"};function O(e){let{className:t,editUrl:n,lastUpdatedAt:s,lastUpdatedBy:a}=e;return(0,i.jsxs)("div",{className:(0,u.Z)("row",t),children:[(0,i.jsx)("div",{className:"col",children:n&&(0,i.jsx)(A,{editUrl:n})}),(0,i.jsx)("div",{className:(0,u.Z)("col",V.lastUpdated),children:(s||a)&&(0,i.jsx)(R,{lastUpdatedAt:s,lastUpdatedBy:a})})]})}function P(){const{metadata:e}=r(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,tags:a}=e,o=a.length>0,l=!!(t||n||s);return o||l?(0,i.jsxs)("footer",{className:(0,u.Z)(v.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,i.jsx)("div",{className:(0,u.Z)("row margin-top--sm",v.k.docs.docFooterTagsRow),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(H,{tags:a})})}),l&&(0,i.jsx)(O,{className:(0,u.Z)("margin-top--sm",v.k.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s})]}):null}var D=n(8134),W=n(8057);function $(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function F(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=F({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function q(e){const t=e.getBoundingClientRect();return t.top===t.bottom?q(e.parentNode):t}function G(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>q(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function K(e){const t=(0,s.useRef)(void 0),n=Q();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:i}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),l=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:o,maxHeadingLevel:i}),c=G(l,{anchorTopOffset:n.current}),r=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===r)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,n])}function Y(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,i.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(p.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(Y,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const J=s.memo(Y);function X(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:l,maxHeadingLevel:c,...r}=e;const d=(0,W.L)(),u=l??d.tableOfContents.minHeadingLevel,m=c??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>F({toc:$(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return K((0,s.useMemo)((()=>{if(a&&o)return{linkClassName:a,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:m}}),[a,o,u,m])),(0,i.jsx)(J,{toc:h,className:n,linkClassName:a,...r})}const ee={tocCollapsibleButton:"tocCollapsibleButton_QBEM",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_ucbi"};function te(e){let{collapsed:t,...n}=e;return(0,i.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",ee.tocCollapsibleButton,!t&&ee.tocCollapsibleButtonExpanded,n.className),children:(0,i.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const ne={tocCollapsible:"tocCollapsible_eA3j",tocCollapsibleContent:"tocCollapsibleContent_Nltv",tocCollapsibleExpanded:"tocCollapsibleExpanded_Di8g"};function se(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:o,toggleCollapsed:l}=(0,D.u)({initialState:!0});return(0,i.jsxs)("div",{className:(0,u.Z)(ne.tocCollapsible,!o&&ne.tocCollapsibleExpanded,n),children:[(0,i.jsx)(te,{collapsed:o,onClick:l}),(0,i.jsx)(D.z,{lazy:!0,className:ne.tocCollapsibleContent,collapsed:o,children:(0,i.jsx)(X,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const ae={tocMobile:"tocMobile_bDfb"};function oe(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(se,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(v.k.docs.docTocMobile,ae.tocMobile)})}const ie={tableOfContents:"tableOfContents_ju50",docItemContainer:"docItemContainer_teTv"},le="table-of-contents__link toc-highlight",ce="table-of-contents__link--active";function re(e){let{className:t,...n}=e;return(0,i.jsx)("div",{className:(0,u.Z)(ie.tableOfContents,"thin-scrollbar",t),children:(0,i.jsx)(X,{...n,linkClassName:le,linkActiveClassName:ce})})}function de(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(re,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:v.k.docs.docTocDesktop})}var ue=n(9290),me=n(7355),he=n(7036),pe=n(7638),fe=n(859);function xe(){const{prism:e}=(0,W.L)(),{colorMode:t}=(0,fe.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var be=n(6241),ge=n.n(be);const je=/title=(?["'])(?.*?)\1/,ve=/\{(?<range>[\d,-]+)\}/,Ne={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},Ce={...Ne,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},ke=Object.keys(Ne);function ye(e,t){const n=e.map((e=>{const{start:n,end:s}=Ce[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function Le(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:a,metastring:o}=t;if(o&&ve.test(o)){const e=o.match(ve).groups.range;if(0===a.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=a[0].className,s=ge()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const i=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return ye(["js","jsBlock"],t);case"jsx":case"tsx":return ye(["js","jsBlock","jsx"],t);case"html":return ye(["js","jsBlock","html"],t);case"python":case"py":case"bash":return ye(["bash"],t);case"markdown":case"md":return ye(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return ye(["tex"],t);case"lua":case"haskell":case"sql":return ye(["lua"],t);case"wasm":return ye(["wasm"],t);case"vb":case"vba":case"visual-basic":return ye(["vb","rem"],t);case"vbnet":return ye(["vbnet","rem"],t);case"batch":return ye(["rem"],t);case"basic":return ye(["rem","f90"],t);case"fsharp":return ye(["js","ml"],t);case"ocaml":case"sml":return ye(["ml"],t);case"fortran":return ye(["f90"],t);case"cobol":return ye(["cobol"],t);default:return ye(ke,t)}}(s,a),l=n.split("\n"),c=Object.fromEntries(a.map((e=>[e.className,{start:0,range:""}]))),r=Object.fromEntries(a.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<l.length;){const e=l[h].match(i);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));r[t]?c[r[t]].range+=`${h},`:d[t]?c[d[t]].start=h:u[t]&&(c[u[t]].range+=`${c[u[t]].start}-${h-1},`),l.splice(h,1)}n=l.join("\n");const m={};return Object.entries(c).forEach((e=>{let[t,{range:n}]=e;ge()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const _e={codeBlockContainer:"codeBlockContainer_MXaV"};function Be(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,a]=e;const o=t[s];o&&"string"==typeof a&&(n[o]=a)})),n}(xe());return(0,i.jsx)(t,{...n,style:s,className:(0,u.Z)(n.className,_e.codeBlockContainer,v.k.common.codeBlock)})}const we={codeBlockContent:"codeBlockContent_JQoS",codeBlockTitle:"codeBlockTitle_MFyW",codeBlock:"codeBlock_Zd27",codeBlockStandalone:"codeBlockStandalone_bsKm",codeBlockLines:"codeBlockLines_uWfT",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_x3fY",buttonGroup:"buttonGroup_n_O3"};function Ze(e){let{children:t,className:n}=e;return(0,i.jsx)(Be,{as:"pre",tabIndex:0,className:(0,u.Z)(we.codeBlockStandalone,"thin-scrollbar",n),children:(0,i.jsx)("code",{className:we.codeBlockLines,children:t})})}const Te={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ee(e,t){const[n,a]=(0,s.useState)(),i=(0,s.useCallback)((()=>{a(e.current?.closest("[role=tabpanel][hidden]"))}),[e,a]);(0,s.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=Te);const a=(0,o.zX)(t),i=(0,o.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(a);return e&&t.observe(e,i),()=>t.disconnect()}),[e,a,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var He=n(851);const Me={codeLine:"codeLine_jdp1",codeLineNumber:"codeLineNumber_R_98",codeLineContent:"codeLineContent_yMSg"};function Ie(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:a,getTokenProps:o}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const l=a({line:t,className:(0,u.Z)(n,s&&Me.codeLine)}),c=t.map(((e,t)=>(0,i.jsx)("span",{...o({token:e,key:t})},t)));return(0,i.jsxs)("span",{...l,children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:Me.codeLineNumber}),(0,i.jsx)("span",{className:Me.codeLineContent,children:c})]}):c,(0,i.jsx)("br",{})]})}function Ae(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function Se(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const Ue={copyButtonCopied:"copyButtonCopied_gkYy",copyButtonIcons:"copyButtonIcons_eTNg",copyButtonIcon:"copyButtonIcon_np4i",copyButtonSuccessIcon:"copyButtonSuccessIcon_Sc4_"};function ze(e){let{code:t,className:n}=e;const[a,o]=(0,s.useState)(!1),l=(0,s.useRef)(void 0),c=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),a=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const o=document.getSelection(),i=o.rangeCount>0&&o.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}s.remove(),i&&(o.removeAllRanges(),o.addRange(i)),a&&a.focus()}(t),o(!0),l.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),(0,i.jsx)("button",{type:"button","aria-label":a?(0,h.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,h.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,h.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.Z)("clean-btn",n,Ue.copyButton,a&&Ue.copyButtonCopied),onClick:c,children:(0,i.jsxs)("span",{className:Ue.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(Ae,{className:Ue.copyButtonIcon}),(0,i.jsx)(Se,{className:Ue.copyButtonSuccessIcon})]})})}function Re(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const Ve={wordWrapButtonIcon:"wordWrapButtonIcon_bcT8",wordWrapButtonEnabled:"wordWrapButtonEnabled_bAqi"};function Oe(e){let{className:t,onClick:n,isEnabled:s}=e;const a=(0,h.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)("button",{type:"button",onClick:n,className:(0,u.Z)("clean-btn",t,s&&Ve.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(Re,{className:Ve.wordWrapButtonIcon,"aria-hidden":"true"})})}function Pe(e){let{children:t,className:n="",metastring:a,title:o,showLineNumbers:l,language:c}=e;const{prism:{defaultLanguage:r,magicComments:d}}=(0,W.L)(),m=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??r),h=xe(),p=function(){const[e,t]=(0,s.useState)(!1),[n,a]=(0,s.useState)(!1),o=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const n=o.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[o,e]),l=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");a(n)}),[o]);return Ee(o,l),(0,s.useEffect)((()=>{l()}),[e,l]),(0,s.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:i}}(),f=function(e){return e?.match(je)?.groups.title??""}(a)||o,{lineClassNames:x,code:b}=Le(t,{metastring:a,language:m,magicComments:d}),g=l??function(e){return Boolean(e?.includes("showLineNumbers"))}(a);return(0,i.jsxs)(Be,{as:"div",className:(0,u.Z)(n,m&&!n.includes(`language-${m}`)&&`language-${m}`),children:[f&&(0,i.jsx)("div",{className:we.codeBlockTitle,children:f}),(0,i.jsxs)("div",{className:we.codeBlockContent,children:[(0,i.jsx)(He.y$,{theme:h,code:b,language:m??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:a,getTokenProps:o}=e;return(0,i.jsx)("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,u.Z)(t,we.codeBlock,"thin-scrollbar"),style:n,children:(0,i.jsx)("code",{className:(0,u.Z)(we.codeBlockLines,g&&we.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,i.jsx)(Ie,{line:e,getLineProps:a,getTokenProps:o,classNames:x[t],showLineNumbers:g},t)))})})}}),(0,i.jsxs)("div",{className:we.buttonGroup,children:[(p.isEnabled||p.isCodeScrollable)&&(0,i.jsx)(Oe,{className:we.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),(0,i.jsx)(ze,{className:we.codeButton,code:b})]})]})]})}function De(e){let{children:t,...n}=e;const a=(0,pe.Z)(),o=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),l="string"==typeof o?Pe:Ze;return(0,i.jsx)(l,{...n,children:o},String(a))}function We(e){return(0,i.jsx)("code",{...e})}var $e=n(7026);const Fe={details:"details_q9H4",isBrowser:"isBrowser_jtuO",collapsibleContent:"collapsibleContent_vj_8"};function qe(e){return!!e&&("SUMMARY"===e.tagName||qe(e.parentElement))}function Ge(e,t){return!!e&&(e===t||Ge(e.parentElement,t))}function Qe(e){let{summary:t,children:n,...a}=e;(0,$e.Z)().collectAnchor(a.id);const o=(0,pe.Z)(),l=(0,s.useRef)(null),{collapsed:c,setCollapsed:r}=(0,D.u)({initialState:!a.open}),[d,m]=(0,s.useState)(a.open),h=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...a,ref:l,open:d,"data-collapsed":c,className:(0,u.Z)(Fe.details,o&&Fe.isBrowser,a.className),onMouseDown:e=>{qe(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;qe(t)&&Ge(t,l.current)&&(e.preventDefault(),c?(r(!1),m(!0)):r(!0))},children:[h,(0,i.jsx)(D.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{r(e),m(!e)},children:(0,i.jsx)("div",{className:Fe.collapsibleContent,children:n})})]})}const Ke={details:"details_m1IK"},Ye="alert alert--info";function Je(e){let{...t}=e;return(0,i.jsx)(Qe,{...t,className:(0,u.Z)(Ye,Ke.details,t.className)})}function Xe(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),a=(0,i.jsx)(i.Fragment,{children:t.filter((e=>e!==n))});return(0,i.jsx)(Je,{...e,summary:n,children:a})}function et(e){return(0,i.jsx)(ue.Z,{...e})}const tt={containsTaskList:"containsTaskList_Z_Kk"};function nt(e){if(void 0!==e)return(0,u.Z)(e,e?.includes("contains-task-list")&&tt.containsTaskList)}const st={img:"img_dBzI"};function at(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}const ot={admonition:"admonition_PP2Y",admonitionHeading:"admonitionHeading_p2gG",admonitionIcon:"admonitionIcon_vU0q",admonitionContent:"admonitionContent_ukBW"};function it(e){let{type:t,className:n,children:s}=e;return(0,i.jsx)("div",{className:(0,u.Z)(v.k.common.admonition,v.k.common.admonitionType(t),ot.admonition,n),children:s})}function lt(e){let{icon:t,title:n}=e;return(0,i.jsxs)("div",{className:ot.admonitionHeading,children:[(0,i.jsx)("span",{className:ot.admonitionIcon,children:t}),n]})}function ct(e){let{children:t}=e;return t?(0,i.jsx)("div",{className:ot.admonitionContent,children:t}):null}function rt(e){const{type:t,icon:n,title:s,children:a,className:o}=e;return(0,i.jsxs)(it,{type:t,className:o,children:[(0,i.jsx)(lt,{title:s,icon:n}),(0,i.jsx)(ct,{children:a})]})}function dt(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const ut={icon:(0,i.jsx)(dt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function mt(e){return(0,i.jsx)(rt,{...ut,...e,className:(0,u.Z)("alert alert--secondary",e.className),children:e.children})}function ht(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const pt={icon:(0,i.jsx)(ht,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function ft(e){return(0,i.jsx)(rt,{...pt,...e,className:(0,u.Z)("alert alert--success",e.className),children:e.children})}function xt(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const bt={icon:(0,i.jsx)(xt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function gt(e){return(0,i.jsx)(rt,{...bt,...e,className:(0,u.Z)("alert alert--info",e.className),children:e.children})}function jt(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const vt={icon:(0,i.jsx)(jt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function Nt(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const Ct={icon:(0,i.jsx)(Nt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const kt={icon:(0,i.jsx)(jt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const yt={...{note:mt,tip:ft,info:gt,warning:function(e){return(0,i.jsx)(rt,{...vt,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(rt,{...Ct,...e,className:(0,u.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,i.jsx)(mt,{title:"secondary",...e}),important:e=>(0,i.jsx)(gt,{title:"important",...e}),success:e=>(0,i.jsx)(ft,{title:"success",...e}),caution:function(e){return(0,i.jsx)(rt,{...kt,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})}}};function Lt(e){const t=at(e),n=(s=t.type,yt[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),yt.info));var s;return(0,i.jsx)(n,{...t})}var _t=n(5242);const Bt={Head:he.Z,details:Xe,Details:Xe,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,i.jsx)(We,{...e}):(0,i.jsx)(De,{...e})},a:function(e){return(0,i.jsx)(p.Z,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:nt(e.className)})},li:function(e){return(0,$e.Z)().collectAnchor(e.id),(0,i.jsx)("li",{...e})},img:function(e){return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,u.Z)(t,st.img))});var t},h1:e=>(0,i.jsx)(et,{as:"h1",...e}),h2:e=>(0,i.jsx)(et,{as:"h2",...e}),h3:e=>(0,i.jsx)(et,{as:"h3",...e}),h4:e=>(0,i.jsx)(et,{as:"h4",...e}),h5:e=>(0,i.jsx)(et,{as:"h5",...e}),h6:e=>(0,i.jsx)(et,{as:"h6",...e}),admonition:Lt,mermaid:_t.Z};function wt(e){let{children:t}=e;return(0,i.jsx)(me.Z,{components:Bt,children:t})}function Zt(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=r();return t.hide_title||void 0!==n?null:e.title}();return(0,i.jsxs)("div",{className:(0,u.Z)(v.k.docs.docMarkdown,"markdown"),children:[n&&(0,i.jsx)("header",{children:(0,i.jsx)(ue.Z,{as:"h1",children:n})}),(0,i.jsx)(wt,{children:t})]})}var Tt=n(7746),Et=n(6239),Ht=n(8509);function Mt(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const It={breadcrumbHomeIcon:"breadcrumbHomeIcon_vytQ"};function At(){const e=(0,Ht.Z)("/");return(0,i.jsx)("li",{className:"breadcrumbs__item",children:(0,i.jsx)(p.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,i.jsx)(Mt,{className:It.breadcrumbHomeIcon})})})}const St={breadcrumbsContainer:"breadcrumbsContainer_Asfe"};function Ut(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,i.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,i.jsx)(p.Z,{className:a,href:n,itemProp:"item",children:(0,i.jsx)("span",{itemProp:"name",children:t})}):(0,i.jsx)("span",{className:a,children:t})}function zt(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,i.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,i.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function Rt(){const e=(0,Tt.s1)(),t=(0,Et.Ns)();return e?(0,i.jsx)("nav",{className:(0,u.Z)(v.k.docs.docBreadcrumbs,St.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,i.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,i.jsx)(At,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,i.jsx)(zt,{active:s,index:n,addMicrodata:!!a,children:(0,i.jsx)(Ut,{href:a,isLast:s,children:t.label})},n)}))]})}):null}function Vt(){return(0,i.jsx)(h.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function Ot(){return(0,i.jsx)(h.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function Pt(){return(0,i.jsx)(he.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function Dt(e){let{className:t}=e;return(0,i.jsx)(Lt,{type:"caution",title:(0,i.jsx)(Vt,{}),className:(0,u.Z)(t,v.k.common.unlistedBanner),children:(0,i.jsx)(Ot,{})})}function Wt(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Pt,{}),(0,i.jsx)(Dt,{...e})]})}const $t={docItemContainer:"docItemContainer_Q1lr",docItemCol:"docItemCol_gnFM"};function Ft(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=r(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,i.jsx)(oe,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,i.jsx)(de,{})}}(),{metadata:{unlisted:s}}=r();return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&$t.docItemCol),children:[s&&(0,i.jsx)(Wt,{}),(0,i.jsx)(B,{}),(0,i.jsxs)("div",{className:$t.docItemContainer,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(Rt,{}),(0,i.jsx)(w,{}),n.mobile,(0,i.jsx)(Zt,{children:t}),(0,i.jsx)(P,{})]}),(0,i.jsx)(b,{})]})]}),n.desktop&&(0,i.jsx)("div",{className:"col col--3",children:n.desktop})]})}function qt(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,i.jsx)(c,{content:e.content,children:(0,i.jsxs)(a.FG,{className:t,children:[(0,i.jsx)(d,{}),(0,i.jsx)(Ft,{children:(0,i.jsx)(n,{})})]})})}},6241:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,a,o]=t;if(s&&o){s=parseInt(s),o=parseInt(o);const e=s<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=s;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},7355:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,a:()=>i});var s=n(4614);const a={},o=s.createContext(a);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.d76fb94c.js b/assets/js/17896441.d76fb94c.js deleted file mode 100644 index 45f4c93c6..000000000 --- a/assets/js/17896441.d76fb94c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7918],{8374:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Pt});var s=n(4614),a=n(5839),o=n(7487),i=n(5735);const l=s.createContext(null);function c(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,i.jsx)(l.Provider,{value:a,children:t})}function r(){const e=(0,s.useContext)(l);if(null===e)throw new o.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=r();return(0,i.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(7475),m=n(8514),h=n(5958),p=n(9990);function f(e){const{permalink:t,title:n,subLabel:s,isNext:a}=e;return(0,i.jsxs)(p.Z,{className:(0,u.Z)("pagination-nav__link",a?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,i.jsx)("div",{className:"pagination-nav__label",children:n})]})}function x(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(f,{...t,subLabel:(0,i.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(f,{...n,subLabel:(0,i.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function g(){const{metadata:e}=r();return(0,i.jsx)(x,{previous:e.previous,next:e.next})}var b=n(8314),j=n(3532),v=n(8349),N=n(4528),C=n(9947);const k={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,i.jsx)(h.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:(0,i.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,i.jsx)(h.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:(0,i.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function L(e){const t=k[e.versionMetadata.banner];return(0,i.jsx)(t,{...e})}function y(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,i.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,i.jsx)("b",{children:(0,i.jsx)(p.Z,{to:n,onClick:s,children:(0,i.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function B(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,b.Z)(),{pluginId:a}=(0,j.gA)({failfast:!0}),{savePreferredVersionName:o}=(0,N.J)(a),{latestDocSuggestion:l,latestVersionSuggestion:c}=(0,j.Jo)(a),r=l??(d=c).docs.find((e=>e.id===d.mainDocId));var d;return(0,i.jsxs)("div",{className:(0,u.Z)(t,v.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,i.jsx)("div",{children:(0,i.jsx)(L,{siteTitle:s,versionMetadata:n})}),(0,i.jsx)("div",{className:"margin-top--md",children:(0,i.jsx)(y,{versionLabel:c.label,to:r.path,onClick:()=>o(c.name)})})]})}function _(e){let{className:t}=e;const n=(0,C.E)();return n.banner?(0,i.jsx)(B,{className:t,versionMetadata:n}):null}function w(e){let{className:t}=e;const n=(0,C.E)();return n.badge?(0,i.jsx)("span",{className:(0,u.Z)(t,v.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,i.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}function Z(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,i.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function T(e){let{lastUpdatedBy:t}=e;return(0,i.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:t})},children:" by {user}"})}function E(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,i.jsxs)("span",{className:v.k.common.lastUpdated,children:[(0,i.jsx)(h.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?(0,i.jsx)(Z,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,i.jsx)(T,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const H={iconEdit:"iconEdit_RG8k"};function A(e){let{className:t,...n}=e;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.Z)(H.iconEdit,t),"aria-hidden":"true",...n,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function I(e){let{editUrl:t}=e;return(0,i.jsxs)(p.Z,{to:t,className:v.k.common.editThisPage,children:[(0,i.jsx)(A,{}),(0,i.jsx)(h.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}const M={tag:"tag_gMuA",tagRegular:"tagRegular_w1Fc",tagWithCount:"tagWithCount_DpC7"};function U(e){let{permalink:t,label:n,count:s}=e;return(0,i.jsxs)(p.Z,{href:t,className:(0,u.Z)(M.tag,s?M.tagWithCount:M.tagRegular),children:[n,s&&(0,i.jsx)("span",{children:s})]})}const S={tags:"tags_SNqj",tag:"tag_gyd5"};function z(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(h.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,u.Z)(S.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:S.tag,children:(0,i.jsx)(U,{label:t,permalink:n})},n)}))})]})}const R={lastUpdated:"lastUpdated_wL_R"};function V(e){return(0,i.jsx)("div",{className:(0,u.Z)(v.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(z,{...e})})})}function O(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,i.jsxs)("div",{className:(0,u.Z)(v.k.docs.docFooterEditMetaRow,"row"),children:[(0,i.jsx)("div",{className:"col",children:t&&(0,i.jsx)(I,{editUrl:t})}),(0,i.jsx)("div",{className:(0,u.Z)("col",R.lastUpdated),children:(n||s)&&(0,i.jsx)(E,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function D(){const{metadata:e}=r(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:o}=e,l=o.length>0,c=!!(t||n||a);return l||c?(0,i.jsxs)("footer",{className:(0,u.Z)(v.k.docs.docFooter,"docusaurus-mt-lg"),children:[l&&(0,i.jsx)(V,{tags:o}),c&&(0,i.jsx)(O,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var P=n(5179),W=n(4859);function $(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function F(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=F({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function q(e){const t=e.getBoundingClientRect();return t.top===t.bottom?q(e.parentNode):t}function G(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>q(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(q(s))?s:e[e.indexOf(s)-1]??null}return e[e.length-1]??null}function X(){const e=(0,s.useRef)(0),{navbar:{hideOnScroll:t}}=(0,W.L)();return(0,s.useEffect)((()=>{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function J(e){const t=(0,s.useRef)(void 0),n=X();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:i}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),l=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:o,maxHeadingLevel:i}),c=G(l,{anchorTopOffset:n.current}),r=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===r)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,n])}function K(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,i.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(p.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(K,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const Y=s.memo(K);function Q(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:l,maxHeadingLevel:c,...r}=e;const d=(0,W.L)(),u=l??d.tableOfContents.minHeadingLevel,m=c??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>F({toc:$(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return J((0,s.useMemo)((()=>{if(a&&o)return{linkClassName:a,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:m}}),[a,o,u,m])),(0,i.jsx)(Y,{toc:h,className:n,linkClassName:a,...r})}const ee={tocCollapsibleButton:"tocCollapsibleButton_z6iq",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_zyNh"};function te(e){let{collapsed:t,...n}=e;return(0,i.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",ee.tocCollapsibleButton,!t&&ee.tocCollapsibleButtonExpanded,n.className),children:(0,i.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const ne={tocCollapsible:"tocCollapsible_g8Hf",tocCollapsibleContent:"tocCollapsibleContent_qPB0",tocCollapsibleExpanded:"tocCollapsibleExpanded_zMVq"};function se(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:o,toggleCollapsed:l}=(0,P.u)({initialState:!0});return(0,i.jsxs)("div",{className:(0,u.Z)(ne.tocCollapsible,!o&&ne.tocCollapsibleExpanded,n),children:[(0,i.jsx)(te,{collapsed:o,onClick:l}),(0,i.jsx)(P.z,{lazy:!0,className:ne.tocCollapsibleContent,collapsed:o,children:(0,i.jsx)(Q,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const ae={tocMobile:"tocMobile_dSKl"};function oe(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(se,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(v.k.docs.docTocMobile,ae.tocMobile)})}const ie={tableOfContents:"tableOfContents_Kcgb",docItemContainer:"docItemContainer_vCLV"},le="table-of-contents__link toc-highlight",ce="table-of-contents__link--active";function re(e){let{className:t,...n}=e;return(0,i.jsx)("div",{className:(0,u.Z)(ie.tableOfContents,"thin-scrollbar",t),children:(0,i.jsx)(Q,{...n,linkClassName:le,linkActiveClassName:ce})})}function de(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(re,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:v.k.docs.docTocDesktop})}var ue=n(1616),me=n(7355),he=n(10),pe=n(7992),fe=n(9303);function xe(){const{prism:e}=(0,W.L)(),{colorMode:t}=(0,fe.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var ge=n(6241),be=n.n(ge);const je=/title=(?<quote>["'])(?<title>.*?)\1/,ve=/\{(?<range>[\d,-]+)\}/,Ne={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function Ce(e,t){const n=e.map((e=>{const{start:n,end:s}=Ne[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function ke(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:a,metastring:o}=t;if(o&&ve.test(o)){const e=o.match(ve).groups.range;if(0===a.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=a[0].className,s=be()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const i=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return Ce(["js","jsBlock"],t);case"jsx":case"tsx":return Ce(["js","jsBlock","jsx"],t);case"html":return Ce(["js","jsBlock","html"],t);case"python":case"py":case"bash":return Ce(["bash"],t);case"markdown":case"md":return Ce(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return Ce(["tex"],t);case"lua":case"haskell":case"sql":return Ce(["lua"],t);case"wasm":return Ce(["wasm"],t);default:return Ce(Object.keys(Ne).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),t)}}(s,a),l=n.split("\n"),c=Object.fromEntries(a.map((e=>[e.className,{start:0,range:""}]))),r=Object.fromEntries(a.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<l.length;){const e=l[h].match(i);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));r[t]?c[r[t]].range+=`${h},`:d[t]?c[d[t]].start=h:u[t]&&(c[u[t]].range+=`${c[u[t]].start}-${h-1},`),l.splice(h,1)}n=l.join("\n");const m={};return Object.entries(c).forEach((e=>{let[t,{range:n}]=e;be()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const Le={codeBlockContainer:"codeBlockContainer_O4pk"};function ye(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,a]=e;const o=t[s];o&&"string"==typeof a&&(n[o]=a)})),n}(xe());return(0,i.jsx)(t,{...n,style:s,className:(0,u.Z)(n.className,Le.codeBlockContainer,v.k.common.codeBlock)})}const Be={codeBlockContent:"codeBlockContent_iAjG",codeBlockTitle:"codeBlockTitle_LEd8",codeBlock:"codeBlock_Ou2N",codeBlockStandalone:"codeBlockStandalone_xCr3",codeBlockLines:"codeBlockLines_XW2f",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_QGAY",buttonGroup:"buttonGroup_XNaI"};function _e(e){let{children:t,className:n}=e;return(0,i.jsx)(ye,{as:"pre",tabIndex:0,className:(0,u.Z)(Be.codeBlockStandalone,"thin-scrollbar",n),children:(0,i.jsx)("code",{className:Be.codeBlockLines,children:t})})}const we={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ze(e,t){const[n,a]=(0,s.useState)(),i=(0,s.useCallback)((()=>{a(e.current?.closest("[role=tabpanel][hidden]"))}),[e,a]);(0,s.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=we);const a=(0,o.zX)(t),i=(0,o.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(a);return e&&t.observe(e,i),()=>t.disconnect()}),[e,a,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Te=n(5124);const Ee={codeLine:"codeLine_EFk5",codeLineNumber:"codeLineNumber_CMt8",codeLineContent:"codeLineContent_Jmpz"};function He(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:a,getTokenProps:o}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const l=a({line:t,className:(0,u.Z)(n,s&&Ee.codeLine)}),c=t.map(((e,t)=>(0,i.jsx)("span",{...o({token:e,key:t})},t)));return(0,i.jsxs)("span",{...l,children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:Ee.codeLineNumber}),(0,i.jsx)("span",{className:Ee.codeLineContent,children:c})]}):c,(0,i.jsx)("br",{})]})}function Ae(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function Ie(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const Me={copyButtonCopied:"copyButtonCopied_OgpD",copyButtonIcons:"copyButtonIcons_N_tX",copyButtonIcon:"copyButtonIcon_EL_3",copyButtonSuccessIcon:"copyButtonSuccessIcon_ACM0"};function Ue(e){let{code:t,className:n}=e;const[a,o]=(0,s.useState)(!1),l=(0,s.useRef)(void 0),c=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),a=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const o=document.getSelection(),i=o.rangeCount>0&&o.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}s.remove(),i&&(o.removeAllRanges(),o.addRange(i)),a&&a.focus()}(t),o(!0),l.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),(0,i.jsx)("button",{type:"button","aria-label":a?(0,h.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,h.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,h.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.Z)("clean-btn",n,Me.copyButton,a&&Me.copyButtonCopied),onClick:c,children:(0,i.jsxs)("span",{className:Me.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(Ae,{className:Me.copyButtonIcon}),(0,i.jsx)(Ie,{className:Me.copyButtonSuccessIcon})]})})}function Se(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const ze={wordWrapButtonIcon:"wordWrapButtonIcon_D6L7",wordWrapButtonEnabled:"wordWrapButtonEnabled_etWt"};function Re(e){let{className:t,onClick:n,isEnabled:s}=e;const a=(0,h.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)("button",{type:"button",onClick:n,className:(0,u.Z)("clean-btn",t,s&&ze.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(Se,{className:ze.wordWrapButtonIcon,"aria-hidden":"true"})})}function Ve(e){let{children:t,className:n="",metastring:a,title:o,showLineNumbers:l,language:c}=e;const{prism:{defaultLanguage:r,magicComments:d}}=(0,W.L)(),m=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??r),h=xe(),p=function(){const[e,t]=(0,s.useState)(!1),[n,a]=(0,s.useState)(!1),o=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const n=o.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[o,e]),l=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");a(n)}),[o]);return Ze(o,l),(0,s.useEffect)((()=>{l()}),[e,l]),(0,s.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:i}}(),f=function(e){return e?.match(je)?.groups.title??""}(a)||o,{lineClassNames:x,code:g}=ke(t,{metastring:a,language:m,magicComments:d}),b=l??function(e){return Boolean(e?.includes("showLineNumbers"))}(a);return(0,i.jsxs)(ye,{as:"div",className:(0,u.Z)(n,m&&!n.includes(`language-${m}`)&&`language-${m}`),children:[f&&(0,i.jsx)("div",{className:Be.codeBlockTitle,children:f}),(0,i.jsxs)("div",{className:Be.codeBlockContent,children:[(0,i.jsx)(Te.y$,{theme:h,code:g,language:m??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:a,getTokenProps:o}=e;return(0,i.jsx)("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,u.Z)(t,Be.codeBlock,"thin-scrollbar"),style:n,children:(0,i.jsx)("code",{className:(0,u.Z)(Be.codeBlockLines,b&&Be.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,i.jsx)(He,{line:e,getLineProps:a,getTokenProps:o,classNames:x[t],showLineNumbers:b},t)))})})}}),(0,i.jsxs)("div",{className:Be.buttonGroup,children:[(p.isEnabled||p.isCodeScrollable)&&(0,i.jsx)(Re,{className:Be.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),(0,i.jsx)(Ue,{className:Be.codeButton,code:g})]})]})]})}function Oe(e){let{children:t,...n}=e;const a=(0,pe.Z)(),o=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),l="string"==typeof o?Ve:_e;return(0,i.jsx)(l,{...n,children:o},String(a))}const De={details:"details_PrKF",isBrowser:"isBrowser_UK4B",collapsibleContent:"collapsibleContent_o49n"};function Pe(e){return!!e&&("SUMMARY"===e.tagName||Pe(e.parentElement))}function We(e,t){return!!e&&(e===t||We(e.parentElement,t))}function $e(e){let{summary:t,children:n,...a}=e;const o=(0,pe.Z)(),l=(0,s.useRef)(null),{collapsed:c,setCollapsed:r}=(0,P.u)({initialState:!a.open}),[d,m]=(0,s.useState)(a.open),h=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...a,ref:l,open:d,"data-collapsed":c,className:(0,u.Z)(De.details,o&&De.isBrowser,a.className),onMouseDown:e=>{Pe(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;Pe(t)&&We(t,l.current)&&(e.preventDefault(),c?(r(!1),m(!0)):r(!0))},children:[h,(0,i.jsx)(P.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{r(e),m(!e)},children:(0,i.jsx)("div",{className:De.collapsibleContent,children:n})})]})}const Fe={details:"details_NGsD"},qe="alert alert--info";function Ge(e){let{...t}=e;return(0,i.jsx)($e,{...t,className:(0,u.Z)(qe,Fe.details,t.className)})}function Xe(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),a=(0,i.jsx)(i.Fragment,{children:t.filter((e=>e!==n))});return(0,i.jsx)(Ge,{...e,summary:n,children:a})}function Je(e){return(0,i.jsx)(ue.Z,{...e})}const Ke={containsTaskList:"containsTaskList_Twdj"};function Ye(e){if(void 0!==e)return(0,u.Z)(e,e?.includes("contains-task-list")&&Ke.containsTaskList)}const Qe={img:"img_YHV8"};function et(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}const tt={admonition:"admonition_04Bq",admonitionHeading:"admonitionHeading_CBB1",admonitionIcon:"admonitionIcon_qEYz",admonitionContent:"admonitionContent_Gj5W"};function nt(e){let{type:t,className:n,children:s}=e;return(0,i.jsx)("div",{className:(0,u.Z)(v.k.common.admonition,v.k.common.admonitionType(t),tt.admonition,n),children:s})}function st(e){let{icon:t,title:n}=e;return(0,i.jsxs)("div",{className:tt.admonitionHeading,children:[(0,i.jsx)("span",{className:tt.admonitionIcon,children:t}),n]})}function at(e){let{children:t}=e;return t?(0,i.jsx)("div",{className:tt.admonitionContent,children:t}):null}function ot(e){const{type:t,icon:n,title:s,children:a,className:o}=e;return(0,i.jsxs)(nt,{type:t,className:o,children:[(0,i.jsx)(st,{title:s,icon:n}),(0,i.jsx)(at,{children:a})]})}function it(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const lt={icon:(0,i.jsx)(it,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function ct(e){return(0,i.jsx)(ot,{...lt,...e,className:(0,u.Z)("alert alert--secondary",e.className),children:e.children})}function rt(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const dt={icon:(0,i.jsx)(rt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function ut(e){return(0,i.jsx)(ot,{...dt,...e,className:(0,u.Z)("alert alert--success",e.className),children:e.children})}function mt(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const ht={icon:(0,i.jsx)(mt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function pt(e){return(0,i.jsx)(ot,{...ht,...e,className:(0,u.Z)("alert alert--info",e.className),children:e.children})}function ft(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const xt={icon:(0,i.jsx)(ft,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function gt(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const bt={icon:(0,i.jsx)(gt,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const jt={icon:(0,i.jsx)(ft,{}),title:(0,i.jsx)(h.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const vt={...{note:ct,tip:ut,info:pt,warning:function(e){return(0,i.jsx)(ot,{...xt,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(ot,{...bt,...e,className:(0,u.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,i.jsx)(ct,{title:"secondary",...e}),important:e=>(0,i.jsx)(pt,{title:"important",...e}),success:e=>(0,i.jsx)(ut,{title:"success",...e}),caution:function(e){return(0,i.jsx)(ot,{...jt,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})}}};function Nt(e){const t=et(e),n=(s=t.type,vt[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),vt.info));var s;return(0,i.jsx)(n,{...t})}var Ct=n(9315);const kt={Head:he.Z,details:Xe,Details:Xe,code:function(e){return s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))?(0,i.jsx)("code",{...e}):(0,i.jsx)(Oe,{...e})},a:function(e){return(0,i.jsx)(p.Z,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:Ye(e.className)})},img:function(e){return(0,i.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,u.Z)(t,Qe.img))});var t},h1:e=>(0,i.jsx)(Je,{as:"h1",...e}),h2:e=>(0,i.jsx)(Je,{as:"h2",...e}),h3:e=>(0,i.jsx)(Je,{as:"h3",...e}),h4:e=>(0,i.jsx)(Je,{as:"h4",...e}),h5:e=>(0,i.jsx)(Je,{as:"h5",...e}),h6:e=>(0,i.jsx)(Je,{as:"h6",...e}),admonition:Nt,mermaid:Ct.Z};function Lt(e){let{children:t}=e;return(0,i.jsx)(me.Z,{components:kt,children:t})}function yt(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=r();return t.hide_title||void 0!==n?null:e.title}();return(0,i.jsxs)("div",{className:(0,u.Z)(v.k.docs.docMarkdown,"markdown"),children:[n&&(0,i.jsx)("header",{children:(0,i.jsx)(ue.Z,{as:"h1",children:n})}),(0,i.jsx)(Lt,{children:t})]})}var Bt=n(2039),_t=n(2213),wt=n(5827);function Zt(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const Tt={breadcrumbHomeIcon:"breadcrumbHomeIcon__Szg"};function Et(){const e=(0,wt.Z)("/");return(0,i.jsx)("li",{className:"breadcrumbs__item",children:(0,i.jsx)(p.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,i.jsx)(Zt,{className:Tt.breadcrumbHomeIcon})})})}const Ht={breadcrumbsContainer:"breadcrumbsContainer_zmEe"};function At(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,i.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,i.jsx)(p.Z,{className:a,href:n,itemProp:"item",children:(0,i.jsx)("span",{itemProp:"name",children:t})}):(0,i.jsx)("span",{className:a,children:t})}function It(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,i.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,i.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function Mt(){const e=(0,Bt.s1)(),t=(0,_t.Ns)();return e?(0,i.jsx)("nav",{className:(0,u.Z)(v.k.docs.docBreadcrumbs,Ht.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,i.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,i.jsx)(Et,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,i.jsx)(It,{active:s,index:n,addMicrodata:!!a,children:(0,i.jsx)(At,{href:a,isLast:s,children:t.label})},n)}))]})}):null}function Ut(){return(0,i.jsx)(h.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function St(){return(0,i.jsx)(h.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function zt(){return(0,i.jsx)(he.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function Rt(e){let{className:t}=e;return(0,i.jsx)(Nt,{type:"caution",title:(0,i.jsx)(Ut,{}),className:(0,u.Z)(t,v.k.common.unlistedBanner),children:(0,i.jsx)(St,{})})}function Vt(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(zt,{}),(0,i.jsx)(Rt,{...e})]})}const Ot={docItemContainer:"docItemContainer_ZJxz",docItemCol:"docItemCol_ZXpF"};function Dt(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=r(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,i.jsx)(oe,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,i.jsx)(de,{})}}(),{metadata:{unlisted:s}}=r();return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&Ot.docItemCol),children:[s&&(0,i.jsx)(Vt,{}),(0,i.jsx)(_,{}),(0,i.jsxs)("div",{className:Ot.docItemContainer,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(Mt,{}),(0,i.jsx)(w,{}),n.mobile,(0,i.jsx)(yt,{children:t}),(0,i.jsx)(D,{})]}),(0,i.jsx)(g,{})]})]}),n.desktop&&(0,i.jsx)("div",{className:"col col--3",children:n.desktop})]})}function Pt(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,i.jsx)(c,{content:e.content,children:(0,i.jsxs)(a.FG,{className:t,children:[(0,i.jsx)(d,{}),(0,i.jsx)(Dt,{children:(0,i.jsx)(n,{})})]})})}},6241:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,a,o]=t;if(s&&o){s=parseInt(s),o=parseInt(o);const e=s<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=s;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},7355:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,a:()=>i});var s=n(4614);const a={},o=s.createContext(a);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1c24dc38.2c92f1ef.js b/assets/js/1c24dc38.2c92f1ef.js new file mode 100644 index 000000000..17e627db8 --- /dev/null +++ b/assets/js/1c24dc38.2c92f1ef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3899],{2210:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>c,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var o=r(5735),t=r(7355);const i={},s="isValidPhoneNumberFormat",a={id:"utils/validator/isValidPhoneNumberFormat",title:"isValidPhoneNumberFormat",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 -(hyphen)\uc744 \ud3ec\ud568\ud55c \uc804\ud654\ubc88\ud638 \ud615\uc2dd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isValidPhoneNumberFormat.md",sourceDirName:"utils/validator",slug:"/utils/validator/isValidPhoneNumberFormat",permalink:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function m(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"isvalidphonenumberformat",children:"isValidPhoneNumberFormat"}),"\n",(0,o.jsxs)(n.p,{children:["\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 ",(0,o.jsx)(n.code,{children:"-(hyphen)"}),"\uc744 \ud3ec\ud568\ud55c \uc804\ud654\ubc88\ud638 \ud615\uc2dd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXX-YYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXX-YYYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XX-YYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XX-YYYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXXX-YYYY"})}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"\uc2e4\uc81c \uc804\ud654\ubc88\ud638 \uccb4\uacc4\uc5d0 \ub9de\ub294\uc9c0 \uc5c4\uaca9\ud558\uac8c \ud655\uc778\ud558\uc9c0\ub294 \uc54a\uc2b5\ub2c8\ub2e4."}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"const isValidPhoneNumberFormat: (value: string) => boolean\n"})}),"\n",(0,o.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"import { isValidPhoneNumberFormat, formatPhoneNumber } from '@modern-kit/utils';\n\nconst isPhoneNumberFormat1 = isValidPhoneNumberFormat('010-1234-1234'); // true\nconst isPhoneNumberFormat2 = isValidPhoneNumberFormat('031-123-1234'); // true\nconst isPhoneNumberFormat3 = isValidPhoneNumberFormat('02-123-1234'); // true\nconst isPhoneNumberFormat4 = isValidPhoneNumberFormat('02-1234-1234'); // true\n\nconst isPhoneNumberFormat5 = isValidPhoneNumberFormat('0-1234-1234'); // false\nconst isPhoneNumberFormat6 = isValidPhoneNumberFormat('010-12455-1234'); // false\n\nconst isPhoneNumberFormat7 = isValidPhoneNumberFormat(formatPhoneNumber('01012341234')); // true\nconst isPhoneNumberFormat8 = isValidPhoneNumberFormat(formatPhoneNumber('021231234')); // true\nconst isPhoneNumberFormat9 = isValidPhoneNumberFormat(formatPhoneNumber('010-1234-1234')); // true\n"})})]})}function c(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>s});var o=r(4614);const t={},i=o.createContext(t);function s(e){const n=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),o.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1c24dc38.ebe27d8f.js b/assets/js/1c24dc38.ebe27d8f.js deleted file mode 100644 index 4c80f97b4..000000000 --- a/assets/js/1c24dc38.ebe27d8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3899],{662:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>c,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var o=r(5735),t=r(7355);const i={},s="isValidPhoneNumberFormat",a={id:"utils/validator/isValidPhoneNumberFormat",title:"isValidPhoneNumberFormat",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 -(hyphen)\uc744 \ud3ec\ud568\ud55c \uc804\ud654\ubc88\ud638 \ud615\uc2dd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isValidPhoneNumberFormat.md",sourceDirName:"utils/validator",slug:"/utils/validator/isValidPhoneNumberFormat",permalink:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isValidEmail",permalink:"/modern-kit/docs/utils/validator/isValidEmail"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function m(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"isvalidphonenumberformat",children:"isValidPhoneNumberFormat"}),"\n",(0,o.jsxs)(n.p,{children:["\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc774 ",(0,o.jsx)(n.code,{children:"-(hyphen)"}),"\uc744 \ud3ec\ud568\ud55c \uc804\ud654\ubc88\ud638 \ud615\uc2dd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXX-YYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXX-YYYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XX-YYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XX-YYYY-ZZZZ"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.code,{children:"XXXX-YYYY"})}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"\uc2e4\uc81c \uc804\ud654\ubc88\ud638 \uccb4\uacc4\uc5d0 \ub9de\ub294\uc9c0 \uc5c4\uaca9\ud558\uac8c \ud655\uc778\ud558\uc9c0\ub294 \uc54a\uc2b5\ub2c8\ub2e4."}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"const isValidPhoneNumberFormat: (value: string) => boolean\n"})}),"\n",(0,o.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"import { isValidPhoneNumberFormat, formatPhoneNumber } from '@modern-kit/utils';\n\nconst isPhoneNumberFormat1 = isValidPhoneNumberFormat('010-1234-1234'); // true\nconst isPhoneNumberFormat2 = isValidPhoneNumberFormat('031-123-1234'); // true\nconst isPhoneNumberFormat3 = isValidPhoneNumberFormat('02-123-1234'); // true\nconst isPhoneNumberFormat4 = isValidPhoneNumberFormat('02-1234-1234'); // true\n\nconst isPhoneNumberFormat5 = isValidPhoneNumberFormat('0-1234-1234'); // false\nconst isPhoneNumberFormat6 = isValidPhoneNumberFormat('010-12455-1234'); // false\n\nconst isPhoneNumberFormat7 = isValidPhoneNumberFormat(formatPhoneNumber('01012341234')); // true\nconst isPhoneNumberFormat8 = isValidPhoneNumberFormat(formatPhoneNumber('021231234')); // true\nconst isPhoneNumberFormat9 = isValidPhoneNumberFormat(formatPhoneNumber('010-1234-1234')); // true\n"})})]})}function c(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>s});var o=r(4614);const t={},i=o.createContext(t);function s(e){const n=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),o.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.94ee7782.js b/assets/js/1df93b7f.94ee7782.js new file mode 100644 index 000000000..62426c26f --- /dev/null +++ b/assets/js/1df93b7f.94ee7782.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3237],{1418:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});n(4614);var s=n(3497),i=n(3020),a=n(1054),r=n(7036);const o={banner:"banner_d9gt",bannerContainer:"bannerContainer_m_gH",heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN",mainContentWrapper:"mainContentWrapper_BZQx",mainContentHead:"mainContentHead_ActD",mainContentParagraph:"mainContentParagraph_cI3D",mainContentTitle:"mainContentTitle_gFQ_",contributors:"contributors__k0X"};var c=n(5735);function m(){const{siteConfig:t}=(0,i.Z)();return(0,c.jsx)("header",{className:o.banner,children:(0,c.jsxs)("div",{className:o.bannerContainer,children:[(0,c.jsx)("h1",{className:"hero__title",style:{fontSize:"3.5rem",color:"#2e8555"},children:t.title}),(0,c.jsx)("p",{className:o.mainContentTitle,children:"@modern-kit\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uc5d0 \uc720\uc6a9\ud55c \ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5 \ubc0f \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."}),(0,c.jsxs)("div",{className:o.buttons,children:[(0,c.jsx)(s.Z,{className:"button button--primary button--lg",to:"/docs/introduce",children:"Getting Started"}),(0,c.jsx)("a",{className:"button button--secondary button--lg",href:"https://github.com/modern-agile-team/modern-kit",target:"_blank",children:"Github"})]})]})})}function l(){const{siteConfig:t}=(0,i.Z)();return(0,c.jsxs)(a.Z,{title:`${t.title}`,description:"Provides React UI Components, React Custom Hooks, and Utility functions.",children:[(0,c.jsx)(m,{}),(0,c.jsxs)(r.Z,{children:[(0,c.jsx)("meta",{property:"og:title",content:"@modern-kit"}),(0,c.jsx)("meta",{property:"og:description",content:"@modern-kit is an open source library that provides useful React UI Components, React Custom Hooks, and various Utility Functions"}),(0,c.jsx)("meta",{property:"og:url",content:"https://modern-agile-team.github.io/modern-kit"}),(0,c.jsx)("meta",{property:"og:image",content:"https://github.com/modern-agile-team/modern-kit/assets/64779472/70cbcee5-8a1b-407b-8917-00d259d225ee"})]}),(0,c.jsx)("main",{children:(0,c.jsxs)("div",{className:o.mainContentWrapper,children:[(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/react",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/react",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/react.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/react",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/react/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"React\uc640 \uad00\ub828\ub41c \uc720\uc6a9\ud55c \ucef4\ud3ec\ub10c\ud2b8\uc640 \ucee4\uc2a4\ud140 \ud6c5\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."}),(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/utils",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/utils",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/utils.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/utils",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/utils/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"\ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uacfc \uad00\ub828\ub41c \uc720\uc6a9\ud55c \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."}),(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/types",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/types",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/types.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/types",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/types/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"\uc720\uc6a9\ud55c \uc720\ud2f8 \ud0c0\uc785\ub4e4\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."})]})}),(0,c.jsxs)("div",{className:o.contributors,children:[(0,c.jsx)("h2",{children:"Thank you to all contributors! \ud83d\udc97"}),(0,c.jsx)("p",{children:"@modern-kit\ub294 \uc9c0\uc18d\uc801\uc73c\ub85c \uc720\uc9c0 \uad00\ub9ac\ub418\uba70, \uc5ec\ub7ec\ubd84\ub4e4\uc758 \ubaa8\ub4e0 \uae30\uc5ec\ub97c \ud658\uc601\ud569\ub2c8\ub2e4."}),(0,c.jsx)("div",{children:(0,c.jsx)("img",{src:"https://contrib.rocks/image?repo=Modern-Agile-Team/modern-kit"})})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.af27e030.js b/assets/js/1df93b7f.af27e030.js deleted file mode 100644 index 75941a6b7..000000000 --- a/assets/js/1df93b7f.af27e030.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3237],{9976:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});n(4614);var s=n(9990),i=n(8314),a=n(5754),r=n(10);const o={banner:"banner_d9gt",bannerContainer:"bannerContainer_m_gH",heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN",mainContentWrapper:"mainContentWrapper_BZQx",mainContentHead:"mainContentHead_ActD",mainContentParagraph:"mainContentParagraph_cI3D",mainContentTitle:"mainContentTitle_gFQ_",contributors:"contributors__k0X"};var c=n(5735);function m(){const{siteConfig:t}=(0,i.Z)();return(0,c.jsx)("header",{className:o.banner,children:(0,c.jsxs)("div",{className:o.bannerContainer,children:[(0,c.jsx)("h1",{className:"hero__title",style:{fontSize:"3.5rem",color:"#2e8555"},children:t.title}),(0,c.jsx)("p",{className:o.mainContentTitle,children:"@modern-kit\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uc5d0 \uc720\uc6a9\ud55c \ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5 \ubc0f \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."}),(0,c.jsxs)("div",{className:o.buttons,children:[(0,c.jsx)(s.Z,{className:"button button--primary button--lg",to:"/docs/introduce",children:"Getting Started"}),(0,c.jsx)("a",{className:"button button--secondary button--lg",href:"https://github.com/modern-agile-team/modern-kit",target:"_blank",children:"Github"})]})]})})}function l(){const{siteConfig:t}=(0,i.Z)();return(0,c.jsxs)(a.Z,{title:`${t.title}`,description:"Provides React UI Components, React Custom Hooks, and Utility functions.",children:[(0,c.jsx)(m,{}),(0,c.jsxs)(r.Z,{children:[(0,c.jsx)("meta",{property:"og:title",content:"@modern-kit"}),(0,c.jsx)("meta",{property:"og:description",content:"@modern-kit is an open source library that provides useful React UI Components, React Custom Hooks, and various Utility Functions"}),(0,c.jsx)("meta",{property:"og:url",content:"https://modern-agile-team.github.io/modern-kit"}),(0,c.jsx)("meta",{property:"og:image",content:"https://github.com/modern-agile-team/modern-kit/assets/64779472/70cbcee5-8a1b-407b-8917-00d259d225ee"})]}),(0,c.jsx)("main",{children:(0,c.jsxs)("div",{className:o.mainContentWrapper,children:[(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/react",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/react",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/react.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/react",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/react/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"React\uc640 \uad00\ub828\ub41c \uc720\uc6a9\ud55c \ucef4\ud3ec\ub10c\ud2b8\uc640 \ucee4\uc2a4\ud140 \ud6c5\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."}),(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/utils",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/utils",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/utils.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/utils",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/utils/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"\ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uacfc \uad00\ub828\ub41c \uc720\uc6a9\ud55c \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."}),(0,c.jsxs)("h2",{className:o.mainContentHead,children:["@modern-kit/types",(0,c.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/types",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/npm/v/@modern-kit/types.svg"})}),(0,c.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/types",target:"_blank",children:(0,c.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/types/latest"})})]}),(0,c.jsx)("p",{className:o.mainContentParagraph,children:"\uc720\uc6a9\ud55c \uc720\ud2f8 \ud0c0\uc785\ub4e4\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."})]})}),(0,c.jsxs)("div",{className:o.contributors,children:[(0,c.jsx)("h2",{children:"Thank you to all contributors! \ud83d\udc97"}),(0,c.jsx)("p",{children:"@modern-kit\ub294 \uc9c0\uc18d\uc801\uc73c\ub85c \uc720\uc9c0 \uad00\ub9ac\ub418\uba70, \uc5ec\ub7ec\ubd84\ub4e4\uc758 \ubaa8\ub4e0 \uae30\uc5ec\ub97c \ud658\uc601\ud569\ub2c8\ub2e4."}),(0,c.jsx)("div",{children:(0,c.jsx)("img",{src:"https://contrib.rocks/image?repo=Modern-Agile-Team/modern-kit"})})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/219c5550.981b09e8.js b/assets/js/219c5550.ec637614.js similarity index 97% rename from assets/js/219c5550.981b09e8.js rename to assets/js/219c5550.ec637614.js index 5fb50a5a1..0f3d83b83 100644 --- a/assets/js/219c5550.981b09e8.js +++ b/assets/js/219c5550.ec637614.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4291],{7108:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>i});var o=n(5735),s=n(7355);const c={},r="objectValues",l={id:"utils/object/objectValues",title:"objectValues",description:"Object.values()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectValues.md",sourceDirName:"utils/object",slug:"/utils/object/objectValues",permalink:"/modern-kit/docs/utils/object/objectValues",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys"},next:{title:"omit",permalink:"/modern-kit/docs/utils/object/omit"}},a={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"objectvalues",children:"objectValues"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"Object.values()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectValues: <T extends Record<PropertyKey, T[keyof T]>>(\n obj: T\n) => T[ObjectKeys<T>][];\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-ts",children:"import { objectValues } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: (1 | 2 | 3)[]\n * value: [1, 2, 3]\n */\nconst values = objectValues(obj);\n"})}),"\n",(0,o.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/values",children:"Object.values()"})})]})}function d(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>r});var o=n(4614);const s={},c=o.createContext(s);function r(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4291],{2462:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>i});var o=n(5735),s=n(7355);const c={},r="objectValues",l={id:"utils/object/objectValues",title:"objectValues",description:"Object.values()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectValues.md",sourceDirName:"utils/object",slug:"/utils/object/objectValues",permalink:"/modern-kit/docs/utils/object/objectValues",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys"},next:{title:"omit",permalink:"/modern-kit/docs/utils/object/omit"}},a={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"objectvalues",children:"objectValues"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"Object.values()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectValues: <T extends Record<PropertyKey, T[keyof T]>>(\n obj: T\n) => T[ObjectKeys<T>][];\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-ts",children:"import { objectValues } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: (1 | 2 | 3)[]\n * value: [1, 2, 3]\n */\nconst values = objectValues(obj);\n"})}),"\n",(0,o.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/values",children:"Object.values()"})})]})}function d(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>r});var o=n(4614);const s={},c=o.createContext(s);function r(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/218.e79b9422.js b/assets/js/2220.4b6309d9.js similarity index 65% rename from assets/js/218.e79b9422.js rename to assets/js/2220.4b6309d9.js index ba3904b46..478ea00d2 100644 --- a/assets/js/218.e79b9422.js +++ b/assets/js/2220.4b6309d9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[218],{5112:(e,t,n)=>{n.d(t,{Z:()=>a});n(4614);var i=n(7475),o=n(5958),s=n(1616),r=n(5735);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},218:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});n(4614);var i=n(5958),o=n(5839),s=n(5754),r=n(5112),a=n(5735);function d(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2220],{2593:(e,t,n)=>{n.d(t,{Z:()=>a});n(4614);var i=n(605),o=n(3583),s=n(9290),r=n(5735);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},2220:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});n(4614);var i=n(3583),o=n(9603),s=n(1054),r=n(2593),a=n(5735);function d(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/2eff3e5b.b0d67535.js b/assets/js/2eff3e5b.447524a8.js similarity index 97% rename from assets/js/2eff3e5b.b0d67535.js rename to assets/js/2eff3e5b.447524a8.js index b45588ccf..0834b4a7c 100644 --- a/assets/js/2eff3e5b.b0d67535.js +++ b/assets/js/2eff3e5b.447524a8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4753],{1850:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=o(5735),s=o(7355);const r={},c="useToggle",a={id:"react/hooks/useToggle",title:"useToggle",description:"boolean \ud0c0\uc785\uc758 state\ub97c Toggle\ub85c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useToggle.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout"},next:{title:"useUnMount",permalink:"/modern-kit/docs/react/hooks/useUnmount"}},l={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"usetoggle",children:"useToggle"}),"\n",(0,t.jsx)(n.p,{children:"boolean \ud0c0\uc785\uc758 state\ub97c Toggle\ub85c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const useToggle: (defaultValue?: boolean) => readonly [boolean, () => void]\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"import { useToggle } from '@modern-kit/react';\n\nconst Example = () => {\n const [bool, toggle] = useToggle(false);\n\n return (\n <div>\n {bool && <p>render</p>}\n <button onClick={toggle}>Toggle Button</button>\n </div>\n );\n}\n"})})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>c});var t=o(4614);const s={},r=t.createContext(s);function c(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4753],{1078:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var t=o(5735),s=o(7355);const r={},c="useToggle",a={id:"react/hooks/useToggle",title:"useToggle",description:"boolean \ud0c0\uc785\uc758 state\ub97c Toggle\ub85c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useToggle.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout"},next:{title:"useUnMount",permalink:"/modern-kit/docs/react/hooks/useUnmount"}},l={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"usetoggle",children:"useToggle"}),"\n",(0,t.jsx)(n.p,{children:"boolean \ud0c0\uc785\uc758 state\ub97c Toggle\ub85c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const useToggle: (defaultValue?: boolean) => readonly [boolean, () => void]\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"import { useToggle } from '@modern-kit/react';\n\nconst Example = () => {\n const [bool, toggle] = useToggle(false);\n\n return (\n <div>\n {bool && <p>render</p>}\n <button onClick={toggle}>Toggle Button</button>\n </div>\n );\n}\n"})})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>c});var t=o(4614);const s={},r=t.createContext(s);function c(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/30200773.5f344b57.js b/assets/js/30200773.7f5db494.js similarity index 97% rename from assets/js/30200773.5f344b57.js rename to assets/js/30200773.7f5db494.js index 56f8e9dc4..2480c0d90 100644 --- a/assets/js/30200773.5f344b57.js +++ b/assets/js/30200773.7f5db494.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6863],{5462:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>r,default:()=>c,frontMatter:()=>t,metadata:()=>u,toc:()=>d});var i=n(5735),l=n(7355);const t={},r="isNullish",u={id:"utils/validator/isNullish",title:"isNullish",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 null \ub610\ub294 undefined\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790 \ud0c0\uc785\uc774 undefined | null\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNullish.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish"},next:{title:"isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function o(e){const s={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"isnullish",children:"isNullish"}),"\n",(0,i.jsxs)(s.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(s.code,{children:"null"})," \ub610\ub294 ",(0,i.jsx)(s.code,{children:"undefined"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790 \ud0c0\uc785\uc774 ",(0,i.jsx)(s.code,{children:"undefined | null"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNullish: <T>(val: T | null | undefined) => val is null | undefined\n"})}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-ts",children:"import { isNullish } from '@modern-kit/utils';\n\nisNullish(undefined); // true\nisNullish(null); // true\n\nisNullish(1); // false\nisNullish(false); // false\nisNullish(\"str\"); // false\nisNullish({}); // false\n"})})]})}function c(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>u,a:()=>r});var i=n(4614);const l={},t=i.createContext(l);function r(e){const s=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function u(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:r(e.components),i.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6863],{5641:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>r,default:()=>c,frontMatter:()=>t,metadata:()=>u,toc:()=>d});var i=n(5735),l=n(7355);const t={},r="isNullish",u={id:"utils/validator/isNullish",title:"isNullish",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 null \ub610\ub294 undefined\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790 \ud0c0\uc785\uc774 undefined | null\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNullish.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish"},next:{title:"isNumber",permalink:"/modern-kit/docs/utils/validator/isNumber"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function o(e){const s={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"isnullish",children:"isNullish"}),"\n",(0,i.jsxs)(s.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(s.code,{children:"null"})," \ub610\ub294 ",(0,i.jsx)(s.code,{children:"undefined"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790 \ud0c0\uc785\uc774 ",(0,i.jsx)(s.code,{children:"undefined | null"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNullish: <T>(val: T | null | undefined) => val is null | undefined\n"})}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-ts",children:"import { isNullish } from '@modern-kit/utils';\n\nisNullish(undefined); // true\nisNullish(null); // true\n\nisNullish(1); // false\nisNullish(false); // false\nisNullish(\"str\"); // false\nisNullish({}); // false\n"})})]})}function c(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>u,a:()=>r});var i=n(4614);const l={},t=i.createContext(l);function r(e){const s=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function u(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:r(e.components),i.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/308b5f81.cbf90c8c.js b/assets/js/308b5f81.ae23e2df.js similarity index 98% rename from assets/js/308b5f81.cbf90c8c.js rename to assets/js/308b5f81.ae23e2df.js index 3b91b0fae..b592443c7 100644 --- a/assets/js/308b5f81.cbf90c8c.js +++ b/assets/js/308b5f81.ae23e2df.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4580],{5900:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var r=t(5735),s=t(7355);const o={},c="useIntersectionObserver",i={id:"react/hooks/useIntersectionObserver",title:"useIntersectionObserver",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uac00 Viewport\uc5d0 \ub178\ucd9c\ub418\ub294 \uc2dc\uc810\uc5d0 action \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIntersectionObserver.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus"},next:{title:"useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"useintersectionobserver",children:"useIntersectionObserver"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uac00 ",(0,r.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub418\ub294 \uc2dc\uc810\uc5d0 ",(0,r.jsx)(n.code,{children:"action"})," \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Intersection Observer Option\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.(\ud558\ub2e8 ",(0,r.jsx)(n.code,{children:"Note"})," \ucc38\uace0)"]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"interface UseIntersectionObserverProps {\n action: (entry: IntersectionObserverEntry) => void;\n calledOnce?: boolean;\n threshold?: number | number[];\n root?: Document | Element | null;\n rootMargin?: string;\n}\n\nconst useIntersectionObserver: <T extends HTMLElement>({ \n action, \n calledOnce, \n root, \n threshold, \n rootMargin\n}: UseIntersectionObserverProps) => React.RefObject<T>\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:'import { useIntersectionObserver } from \'@modern-kit/react\';\n\nconst Example = () => {\n const divRef = useIntersectionObserver<HTMLDivElement>({\n action: () => { /* action */},\n });\n const imgRef = useIntersectionObserver<HTMLImageElement>({\n action: (entry) => { /* \ud544\uc694\ud558\ub2e4\uba74 IntersectionObserverEntry \ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. */},\n });\n\n return (\n <div>\n {/* ... */}\n <div ref={divRef}>Box</div>\n <img ref={imgRef} src="url" alt="img" />\n </div>\n );\n};\n'})}),"\n",(0,r.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/ko/docs/Web/API/IntersectionObserver",children:"Intersection Observer API"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var r=t(4614);const s={},o=r.createContext(s);function c(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4580],{8777:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var r=t(5735),s=t(7355);const o={},c="useIntersectionObserver",i={id:"react/hooks/useIntersectionObserver",title:"useIntersectionObserver",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uac00 Viewport\uc5d0 \ub178\ucd9c\ub418\ub294 \uc2dc\uc810\uc5d0 action \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIntersectionObserver.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus"},next:{title:"useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"useintersectionobserver",children:"useIntersectionObserver"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8\uac00 ",(0,r.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub418\ub294 \uc2dc\uc810\uc5d0 ",(0,r.jsx)(n.code,{children:"action"})," \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Intersection Observer Option\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.(\ud558\ub2e8 ",(0,r.jsx)(n.code,{children:"Note"})," \ucc38\uace0)"]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"interface UseIntersectionObserverProps {\n action: (entry: IntersectionObserverEntry) => void;\n calledOnce?: boolean;\n threshold?: number | number[];\n root?: Document | Element | null;\n rootMargin?: string;\n}\n\nconst useIntersectionObserver: <T extends HTMLElement>({ \n action, \n calledOnce, \n root, \n threshold, \n rootMargin\n}: UseIntersectionObserverProps) => React.RefObject<T>\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:'import { useIntersectionObserver } from \'@modern-kit/react\';\n\nconst Example = () => {\n const divRef = useIntersectionObserver<HTMLDivElement>({\n action: () => { /* action */},\n });\n const imgRef = useIntersectionObserver<HTMLImageElement>({\n action: (entry) => { /* \ud544\uc694\ud558\ub2e4\uba74 IntersectionObserverEntry \ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. */},\n });\n\n return (\n <div>\n {/* ... */}\n <div ref={divRef}>Box</div>\n <img ref={imgRef} src="url" alt="img" />\n </div>\n );\n};\n'})}),"\n",(0,r.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/ko/docs/Web/API/IntersectionObserver",children:"Intersection Observer API"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var r=t(4614);const s={},o=r.createContext(s);function c(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3209f55a.c4db8f05.js b/assets/js/3209f55a.f263a1aa.js similarity index 97% rename from assets/js/3209f55a.c4db8f05.js rename to assets/js/3209f55a.f263a1aa.js index e0a49ad57..1b15c031c 100644 --- a/assets/js/3209f55a.c4db8f05.js +++ b/assets/js/3209f55a.f263a1aa.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4870],{8331:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});var r=n(5735),t=n(7355);const c={},a="useAsyncPreservedCallback",o={id:"react/hooks/useAsyncPreservedCallback",title:"useAsyncPreservedCallback",description:"usePreservedCallback \uacfc \uc720\uc0ac\ud558\ub098 Promise\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useAsyncPreservedCallback.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"When",permalink:"/modern-kit/docs/react/components/When"},next:{title:"useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce"}},l={},d=[{value:"Interface",id:"interface",level:2}];function i(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"useasyncpreservedcallback",children:"useAsyncPreservedCallback"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"https://modern-agile-team.github.io/modern-kit/docs/react/hooks/usePreservedCallback",children:"usePreservedCallback"})," \uacfc \uc720\uc0ac\ud558\ub098 Promise\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-tsx",children:"const useAsyncPreservedCallback: <T extends (...args: any[]) => Promise<any>>(\n callback: T\n) => (...args: any[]) => Promise<any>;\n"})})]})}function u(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>o,a:()=>a});var r=n(4614);const t={},c=r.createContext(t);function a(e){const s=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4870],{2717:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});var r=n(5735),t=n(7355);const c={},a="useAsyncPreservedCallback",o={id:"react/hooks/useAsyncPreservedCallback",title:"useAsyncPreservedCallback",description:"usePreservedCallback \uacfc \uc720\uc0ac\ud558\ub098 Promise\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useAsyncPreservedCallback.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"When",permalink:"/modern-kit/docs/react/components/When"},next:{title:"useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce"}},l={},d=[{value:"Interface",id:"interface",level:2}];function i(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"useasyncpreservedcallback",children:"useAsyncPreservedCallback"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"https://modern-agile-team.github.io/modern-kit/docs/react/hooks/usePreservedCallback",children:"usePreservedCallback"})," \uacfc \uc720\uc0ac\ud558\ub098 Promise\ub97c \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-tsx",children:"const useAsyncPreservedCallback: <T extends (...args: any[]) => Promise<any>>(\n callback: T\n) => (...args: any[]) => Promise<any>;\n"})})]})}function u(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>o,a:()=>a});var r=n(4614);const t={},c=r.createContext(t);function a(e){const s=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3842c52b.cd51f642.js b/assets/js/3842c52b.4383edd1.js similarity index 98% rename from assets/js/3842c52b.cd51f642.js rename to assets/js/3842c52b.4383edd1.js index e7a3c0be1..5177dcb81 100644 --- a/assets/js/3842c52b.cd51f642.js +++ b/assets/js/3842c52b.4383edd1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8852],{6287:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>l,toc:()=>d});var t=n(5735),a=n(7355);const r={},c="usePreservedCallback",l={id:"react/hooks/usePreservedCallback",title:"usePreservedCallback",description:"\uc8fc\uc5b4\uc9c4 \ucf5c\ubc31 \ud568\uc218\ub97c \ubcf4\uc874\ud558\uace0 \ucef4\ud3ec\ub10c\ud2b8 \ub80c\ub354\ub9c1 \uc0ac\uc774\uc5d0 \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePreservedCallback.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside"},next:{title:"usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState"}},o={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"as-is",id:"as-is",level:3},{value:"to-be (usePreservedCallback)",id:"to-be-usepreservedcallback",level:3}];function i(e){const s={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h1,{id:"usepreservedcallback",children:"usePreservedCallback"}),"\n",(0,t.jsx)(s.p,{children:"\uc8fc\uc5b4\uc9c4 \ucf5c\ubc31 \ud568\uc218\ub97c \ubcf4\uc874\ud558\uace0 \ucef4\ud3ec\ub10c\ud2b8 \ub80c\ub354\ub9c1 \uc0ac\uc774\uc5d0 \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,t.jsx)(s.p,{children:"\uc774 \ud6c5\uc740 \ud2b9\ud788 \ucf5c\ubc31 \ud568\uc218\uac00 \ub80c\ub354\ub9c1 \uc911\uc5d0 \ubcc0\uacbd\ub420 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4. \ubd88\ud544\uc694\ud55c \ud568\uc218 \uc0dd\uc131\uc744 \ubc29\uc9c0\ud558\uace0 \ucd5c\uc801\ud654\ud558\uba70, \ucd5c\uc2e0 \ubc84\uc804\uc758 \ucf5c\ubc31 \ud568\uc218\ub97c \uc0ac\uc6a9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:"const usePreservedCallback: <T extends (...args: any[]) => any>(\n callback: T\n) => (...args: any[]) => any;\n"})}),"\n",(0,t.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(s.h3,{id:"as-is",children:"as-is"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:'import React, { useEffect, useState } from "react";\n\nconst Example = () => {\n const [state, setState] = useState(0);\n\n const callback = () => {\n setState(state + 1);\n };\n\n useEffect(() => {\n callback(); // \ubb34\ud55c \ud638\ucd9c\n }, [callback]);\n\n return (\n <>{/* ... */}</>\n );\n}\n'})}),"\n",(0,t.jsx)(s.h3,{id:"to-be-usepreservedcallback",children:"to-be (usePreservedCallback)"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:"import React, { useEffect, useState } from \"react\";\nimport { usePreservedCallback } from '@modern-kit/react';\n\nconst Example = () => {\n const [state, setState] = useState(0);\n\n const callback = usePreservedCallback(() => {\n setState(state + 1);\n });\n\n useEffect(() => {\n callback(); // 1\ud68c\ub9cc \ud638\ucd9c\n }, [callback]);\n\n return (\n <>{/* ... */}</>\n );\n}\n"})})]})}function u(e={}){const{wrapper:s}={...(0,a.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>l,a:()=>c});var t=n(4614);const a={},r=t.createContext(a);function c(e){const s=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:c(e.components),t.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8852],{9071:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>l,toc:()=>d});var t=n(5735),a=n(7355);const r={},c="usePreservedCallback",l={id:"react/hooks/usePreservedCallback",title:"usePreservedCallback",description:"\uc8fc\uc5b4\uc9c4 \ucf5c\ubc31 \ud568\uc218\ub97c \ubcf4\uc874\ud558\uace0 \ucef4\ud3ec\ub10c\ud2b8 \ub80c\ub354\ub9c1 \uc0ac\uc774\uc5d0 \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePreservedCallback.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside"},next:{title:"usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState"}},o={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"as-is",id:"as-is",level:3},{value:"to-be (usePreservedCallback)",id:"to-be-usepreservedcallback",level:3}];function i(e){const s={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h1,{id:"usepreservedcallback",children:"usePreservedCallback"}),"\n",(0,t.jsx)(s.p,{children:"\uc8fc\uc5b4\uc9c4 \ucf5c\ubc31 \ud568\uc218\ub97c \ubcf4\uc874\ud558\uace0 \ucef4\ud3ec\ub10c\ud2b8 \ub80c\ub354\ub9c1 \uc0ac\uc774\uc5d0 \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,t.jsx)(s.p,{children:"\uc774 \ud6c5\uc740 \ud2b9\ud788 \ucf5c\ubc31 \ud568\uc218\uac00 \ub80c\ub354\ub9c1 \uc911\uc5d0 \ubcc0\uacbd\ub420 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4. \ubd88\ud544\uc694\ud55c \ud568\uc218 \uc0dd\uc131\uc744 \ubc29\uc9c0\ud558\uace0 \ucd5c\uc801\ud654\ud558\uba70, \ucd5c\uc2e0 \ubc84\uc804\uc758 \ucf5c\ubc31 \ud568\uc218\ub97c \uc0ac\uc6a9 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(s.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:"const usePreservedCallback: <T extends (...args: any[]) => any>(\n callback: T\n) => (...args: any[]) => any;\n"})}),"\n",(0,t.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(s.h3,{id:"as-is",children:"as-is"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:'import React, { useEffect, useState } from "react";\n\nconst Example = () => {\n const [state, setState] = useState(0);\n\n const callback = () => {\n setState(state + 1);\n };\n\n useEffect(() => {\n callback(); // \ubb34\ud55c \ud638\ucd9c\n }, [callback]);\n\n return (\n <>{/* ... */}</>\n );\n}\n'})}),"\n",(0,t.jsx)(s.h3,{id:"to-be-usepreservedcallback",children:"to-be (usePreservedCallback)"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-tsx",children:"import React, { useEffect, useState } from \"react\";\nimport { usePreservedCallback } from '@modern-kit/react';\n\nconst Example = () => {\n const [state, setState] = useState(0);\n\n const callback = usePreservedCallback(() => {\n setState(state + 1);\n });\n\n useEffect(() => {\n callback(); // 1\ud68c\ub9cc \ud638\ucd9c\n }, [callback]);\n\n return (\n <>{/* ... */}</>\n );\n}\n"})})]})}function u(e={}){const{wrapper:s}={...(0,a.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,s,n)=>{n.d(s,{Z:()=>l,a:()=>c});var t=n(4614);const a={},r=t.createContext(a);function c(e){const s=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:c(e.components),t.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3c17568f.73c52060.js b/assets/js/3c17568f.243d66f2.js similarity index 97% rename from assets/js/3c17568f.73c52060.js rename to assets/js/3c17568f.243d66f2.js index 186cc6ecd..172d53b5d 100644 --- a/assets/js/3c17568f.73c52060.js +++ b/assets/js/3c17568f.243d66f2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8911],{5545:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>l,frontMatter:()=>r,metadata:()=>u,toc:()=>a});var s=t(5735),o=t(7355);const r={},c="useIsMounted",u={id:"react/hooks/useIsMounted",title:"useIsMounted",description:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub294\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIsMounted.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval"},next:{title:"useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect"}},d={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"useismounted",children:"useIsMounted"}),"\n",(0,s.jsx)(n.p,{children:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub294\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"SSR"})," \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub2e4\ub294 \uac83\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. ",(0,s.jsx)(n.code,{children:"(Feat. Hydration Error)"})]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useIsMounted: () => boolean\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import { useIsMounted } from '@modern-kit/react';\n\nconst Example = () => {\n const isMounted = useIsMounted();\n\n return <div>{isMounted ? 'done' : 'in progress'}</div>;\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(i,{...e})}):i(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>u,a:()=>c});var s=t(4614);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8911],{3781:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>l,frontMatter:()=>r,metadata:()=>u,toc:()=>a});var s=t(5735),o=t(7355);const r={},c="useIsMounted",u={id:"react/hooks/useIsMounted",title:"useIsMounted",description:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub294\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIsMounted.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval"},next:{title:"useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect"}},d={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"useismounted",children:"useIsMounted"}),"\n",(0,s.jsx)(n.p,{children:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub294\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"SSR"})," \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0 mount \ub418\uc5c8\ub2e4\ub294 \uac83\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. ",(0,s.jsx)(n.code,{children:"(Feat. Hydration Error)"})]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useIsMounted: () => boolean\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import { useIsMounted } from '@modern-kit/react';\n\nconst Example = () => {\n const isMounted = useIsMounted();\n\n return <div>{isMounted ? 'done' : 'in progress'}</div>;\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(i,{...e})}):i(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>u,a:()=>c});var s=t(4614);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3ffd14c6.4abdfdba.js b/assets/js/3ffd14c6.c9f3bfa0.js similarity index 97% rename from assets/js/3ffd14c6.4abdfdba.js rename to assets/js/3ffd14c6.c9f3bfa0.js index 934e4e8ab..70ac5256c 100644 --- a/assets/js/3ffd14c6.4abdfdba.js +++ b/assets/js/3ffd14c6.c9f3bfa0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2014],{9612:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var s=t(5735),r=t(7355);const o={},c="useOnClickOutside",i={id:"react/hooks/useOnClickOutside",title:"useOnClickOutside",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8 \uc678\ubd80 \uc694\uc18c\ub97c \ud074\ub9ad \ud560 \uacbd\uc6b0 \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useOnClickOutside.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs"},next:{title:"usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"useonclickoutside",children:"useOnClickOutside"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8 \uc678\ubd80 \uc694\uc18c\ub97c \ud074\ub9ad \ud560 \uacbd\uc6b0 \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useOnClickOutside: <T extends HTMLElement>(\n action: (targetElement: T) => void\n) => {\n ref: React.RefObject<T>;\n};\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import { useMemo } from 'react';\nimport { useOnClickOutside } from '@modern-kit/react';\n\nconst Example = () => {\n const { ref } = useOnClickOutside<HTMLDivElement>(() => {\n window.alert('outside click')\n });\n \n const boxStyle = useMemo(() => {\n return {\n width: '400px',\n height: '400px',\n background: '#439966',\n fontSize: '1.5rem',\n color: '#fff',\n };\n }, []);\n\n return (\n <div ref={ref} style={boxStyle}>\n Target Box\n </div>\n );\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var s=t(4614);const r={},o=s.createContext(r);function c(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2014],{9005:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var s=t(5735),r=t(7355);const o={},c="useOnClickOutside",i={id:"react/hooks/useOnClickOutside",title:"useOnClickOutside",description:"ref\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8 \uc678\ubd80 \uc694\uc18c\ub97c \ud074\ub9ad \ud560 \uacbd\uc6b0 \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useOnClickOutside.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs"},next:{title:"usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"useonclickoutside",children:"useOnClickOutside"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"ref"}),"\ub97c \ud560\ub2f9\ud55c \ud0c0\uac9f \uc5d8\ub9ac\uba3c\ud2b8 \uc678\ubd80 \uc694\uc18c\ub97c \ud074\ub9ad \ud560 \uacbd\uc6b0 \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useOnClickOutside: <T extends HTMLElement>(\n action: (targetElement: T) => void\n) => {\n ref: React.RefObject<T>;\n};\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import { useMemo } from 'react';\nimport { useOnClickOutside } from '@modern-kit/react';\n\nconst Example = () => {\n const { ref } = useOnClickOutside<HTMLDivElement>(() => {\n window.alert('outside click')\n });\n \n const boxStyle = useMemo(() => {\n return {\n width: '400px',\n height: '400px',\n background: '#439966',\n fontSize: '1.5rem',\n color: '#fff',\n };\n }, []);\n\n return (\n <div ref={ref} style={boxStyle}>\n Target Box\n </div>\n );\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var s=t(4614);const r={},o=s.createContext(r);function c(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/47707012.d99619b7.js b/assets/js/47707012.d99619b7.js new file mode 100644 index 000000000..a047191e8 --- /dev/null +++ b/assets/js/47707012.d99619b7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5917],{525:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>j,frontMatter:()=>c,metadata:()=>i,toc:()=>a});var s=n(5735),o=n(7355);const c={},r="objectEntries",i={id:"utils/object/objectEntries",title:"objectEntries",description:"Object.entries()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc key\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectEntries.md",sourceDirName:"utils/object",slug:"/utils/object/objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties"},next:{title:"objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys"}},l={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"objectentries",children:"objectEntries"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"Object.entries()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc ",(0,s.jsx)(t.code,{children:"key"}),"\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectEntries: <T extends Record<PropertyKey, T[keyof T]>>(\n obj: T\n) => [ObjectKeys<T>, T[ObjectKeys<T>]][];\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:"import { objectEntries } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: [\"a\" | \"b\" | \"c\", 1 | 2 | 3][]\n * value: \n [\n ['a', 1],\n ['b', 2],\n ['c', 3],\n ]\n */\nconst entries = objectEntries(obj);\n"})}),"\n",(0,s.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/entries",children:"Object.entries()"})})]})}function j(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>r});var s=n(4614);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/47707012.feaf56ad.js b/assets/js/47707012.feaf56ad.js deleted file mode 100644 index f9201510c..000000000 --- a/assets/js/47707012.feaf56ad.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5917],{1527:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>j,frontMatter:()=>c,metadata:()=>i,toc:()=>a});var s=n(5735),o=n(7355);const c={},r="objectEntries",i={id:"utils/object/objectEntries",title:"objectEntries",description:"Object.entries()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc key\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectEntries.md",sourceDirName:"utils/object",slug:"/utils/object/objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties"},next:{title:"objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys"}},l={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"objectentries",children:"objectEntries"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"Object.entries()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc ",(0,s.jsx)(t.code,{children:"key"}),"\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectEntries: <T extends Record<PropertyKey, T[keyof T]>>(\n obj: T\n) => [ObjectKeys<T>, T[ObjectKeys<T>]][];\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:"import { objectEntries } from '@modern-kit/utils';\n\nconst symbol = Symbol('d');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: [\"a\" | \"b\" | \"c\", 1 | 2 | 3][]\n * value: \n [\n ['a', 1],\n ['b', 2],\n ['c', 3],\n ]\n */\nconst entries = objectEntries(obj);\n"})}),"\n",(0,s.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/entries",children:"Object.entries()"})})]})}function j(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>r});var s=n(4614);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/47a95eb2.d71e73ae.js b/assets/js/47a95eb2.693418e2.js similarity index 98% rename from assets/js/47a95eb2.d71e73ae.js rename to assets/js/47a95eb2.693418e2.js index a61ab5c9c..26a187099 100644 --- a/assets/js/47a95eb2.d71e73ae.js +++ b/assets/js/47a95eb2.693418e2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[410],{8989:(t,n,e)=>{e.r(n),e.d(n,{Input:()=>p,InputExample:()=>h,assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>f,toc:()=>s});var r=e(5735),o=e(7355),i=e(4614),u=e(5474);const a={},c="DebounceWrapper",f={id:"react/components/DebounceWrapper",title:"DebounceWrapper",description:"\uc790\uc2dd \uc694\uc18c\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc774\ubca4\ud2b8(ex: Click Event)\ub97c debounce\ud574\uc8fc\ub294 \uc720\ud2f8 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/DebounceWrapper.mdx",sourceDirName:"react/components",slug:"/react/components/DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\uc18c\uac1c",permalink:"/modern-kit/docs/introduce/"},next:{title:"InView",permalink:"/modern-kit/docs/react/components/InView"}},l={},s=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Button Click Case",id:"button-click-case",level:3},{value:"Input Change Case",id:"input-change-case",level:3},{value:"Example",id:"example",level:2},{value:"Button Click Case",id:"button-click-case-1",level:3},{value:"Input Change Case",id:"input-change-case-1",level:3}],p=({onChange:t})=>{const n={input:"input",...(0,o.a)()},[e,u]=(0,i.useState)("");return(0,r.jsx)(n.input,{type:"text",onChange:n=>{u(n.target.value),t(n.target.value)},value:e})},h=()=>{const t={p:"p",...(0,o.a)()},[n,e]=(0,i.useState)("");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.uM,{capture:"onChange",wait:500,children:(0,r.jsx)(p,{onChange:t=>{e(t)}})}),(0,r.jsxs)(t.p,{children:["Text: ",n]})]})};function v(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"debouncewrapper",children:"DebounceWrapper"}),"\n",(0,r.jsxs)(n.p,{children:["\uc790\uc2dd \uc694\uc18c\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc774\ubca4\ud2b8",(0,r.jsx)(n.code,{children:"(ex: Click Event)"}),"\ub97c debounce\ud574\uc8fc\ub294 \uc720\ud2f8 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"type DebounceParameters = Parameters<typeof debounce>;\n\ninterface DebounceWrapperProps {\n children: JSX.Element; // \ud558\ub098\uc758 \uc694\uc18c\ub9cc children prop\uc73c\ub85c \ub118\uaca8\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n capture: string;\n wait: DebounceParameters[1]; // number\n options?: DebounceParameters[2]; // DebounceSettings\n}\n\nconst DebounceWrapper: ({\n children,\n capture,\n wait,\n options,\n}: DebounceWrapperProps) => React.FunctionComponentElement<any>;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"button-click-case",children:"Button Click Case"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { DebounceWrapper } from '@modern-kit/react'\n\nconst Example = () => {\n const onClick = () => {\n console.log('debounce');\n };\n \n return (\n <DebounceWrapper capture=\"onClick\" wait={500}>\n <button onClick={nClick}>Button</button>\n </DebounceWrapper>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"input-change-case",children:"Input Change Case"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const Input = ({ onChange }: { onChange: (value: string) => void }) => {\n const [value, setValue] = useState('');\n\n const handleChange = (e: ChangeEvent<HTMLInputElement>) => {\n setValue(e.target.value);\n onChange(e.target.value);\n };\n\n return <input type=\"text\" onChange={handleChange} value={value} />;\n};\n\nconst Example = () => {\n const [text, setText] = useState('');\n\n const onChange = (value: string) => {\n setText(value);\n };\n\n return (\n <>\n <DebounceWrapper capture={'onChange'} wait={500}>\n <Input onChange={onChange} />\n </DebounceWrapper>\n <p>{text}</p>\n </>\n );\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,r.jsx)(n.h3,{id:"button-click-case-1",children:"Button Click Case"}),"\n",(0,r.jsx)("p",{style:{marginBottom:"4px"},children:"\ube0c\ub77c\uc6b0\uc800\uc758 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc5d0\uc11c \ub3d9\uc791\uc744 \ud655\uc778\ud558\uc138\uc694."}),"\n",(0,r.jsx)(u.uM,{capture:"onClick",wait:500,children:(0,r.jsx)("button",{onClick:()=>{console.log("debounce")},children:"Button"})}),"\n",(0,r.jsx)("br",{}),"\n","\n","\n",(0,r.jsx)(n.h3,{id:"input-change-case-1",children:"Input Change Case"}),"\n",(0,r.jsx)(h,{})]})}function d(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,r.jsx)(n,{...t,children:(0,r.jsx)(v,{...t})}):v(t)}},7355:(t,n,e)=>{e.d(n,{Z:()=>a,a:()=>u});var r=e(4614);const o={},i=r.createContext(o);function u(t){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),r.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,e)=>{e.d(n,{D9:()=>Wp,ac:()=>Mp,df:()=>xp,iP:()=>Rp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Cp});var r=e(4614),o=e(5735),i=(e(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",g=c?c.toStringTag:void 0;function y(t){return null==t?void 0===t?d:v:g&&g in Object(t)?function(t){var n=l.call(t,p),e=t[p];try{t[p]=void 0;var r=!0}catch(t){}var o=s.call(t);return r&&(n?t[p]=e:delete t[p]),o}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&y(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(e,r){var o;if(void 0===e&&void 0===r)return n;if(void 0!==e&&(o=e),void 0!==r){if(void 0===o)return r;"string"==typeof e||"string"==typeof r?(e=I(e),r=I(r)):(e=w(e),r=w(r)),o=t(e,r)}return o}}var M=S((function(t,n){return t+n}),0),W=/\s/;function C(t){for(var n=t.length;n--&&W.test(t.charAt(n)););return n}var R=/^\s+/;function B(t){return t?t.slice(0,C(t)+1).replace(R,""):t}function z(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var D=NaN,P=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return D;if(z(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=z(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=B(t);var e=L.test(t);return e||T.test(t)?U(t.slice(2),e?2:8):P.test(t)?D:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),e=n%1;return n==n?e?n-e:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!z(t))return!1;var n=y(t);return n==G||n==H||n==Z||n==J}var X,Q=a["__core-js_shared__"],tt=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",nt=Function.prototype.toString;function et(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var rt=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!z(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:rt).test(et(t))}function lt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(e)?e:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!z(n))return{};if(vt)return vt(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();function gt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=dt(t.prototype),r=t.apply(e,n);return z(r)?r:e}}var yt=1;function _t(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}var bt=Math.max;function mt(t,n,e,r){for(var o=-1,i=t.length,u=e.length,a=-1,c=n.length,f=bt(i-u,0),l=Array(c+f),s=!r;++a<c;)l[a]=n[a];for(;++o<u;)(s||o<i)&&(l[e[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}var jt=Math.max;function wt(t,n,e,r){for(var o=-1,i=t.length,u=-1,a=e.length,c=-1,f=n.length,l=jt(i-a,0),s=Array(l+f),p=!r;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||o<i)&&(s[h+e[u]]=t[o++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",e=It[n],r=St.call(It,n)?e.length:0;r--;){var o=e[r],i=o.func;if(null==i||i==t)return o.name}return n}function Wt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Ct(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function Rt(t){if(t instanceof At)return t.clone();var n=new Wt(t.__wrapped__,t.__chain__);return n.__actions__=Ct(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Wt.prototype=dt(xt.prototype),Wt.prototype.constructor=Wt;var Bt=Object.prototype.hasOwnProperty;function zt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Wt)return t;if(Bt.call(t,"__wrapped__"))return Rt(t)}return new Wt(t)}function Dt(t){var n=Mt(t),e=zt[n];if("function"!=typeof e||!(n in At.prototype))return!1;if(t===e)return!0;var r=kt(e);return!!r&&t===r[0]}zt.prototype=xt.prototype,zt.prototype.constructor=zt;var Pt=Date.now;function Lt(t){var n=0,e=0;return function(){var r=Pt(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Lt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Lt(Kt);function Zt(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function Gt(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Ht(t){return t!=t}function Jt(t,n,e){return n==n?function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}(t,n,e):Gt(t,Ht,e)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Xt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Qt(t,n,e){var r=n+"";return Vt(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return Zt(Xt,(function(e){var r="_."+e[0];n&e[1]&&!Yt(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(r),e)))}var tn=1,nn=2,en=4,rn=8,on=32,un=64;function an(t,n,e,r,o,i,u,a,c,f){var l=n&rn;n|=l?on:un,(n&=~(l?un:on))&en||(n&=~(tn|nn));var s=[t,n,o,l?i:void 0,l?u:void 0,l?void 0:i,l?void 0:u,a,c,f],p=e.apply(void 0,s);return Dt(t)&&Tt(p,s),p.placeholder=r,Qt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var e=typeof t;return!!(n=null==n?fn:n)&&("number"==e||"symbol"!=e&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var e=-1,r=t.length,o=0,i=[];++e<r;){var u=t[e];u!==n&&u!==hn||(t[e]=hn,i[o++]=e)}return i}var dn=1,gn=2,yn=8,_n=16,bn=128,mn=512;function jn(t,n,e,r,o,i,u,c,f,l){var s=n&bn,p=n&dn,h=n&gn,v=n&(yn|_n),d=n&mn,g=h?void 0:gt(t);return function y(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(y),w=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(b,j);if(r&&(b=mt(b,r,o,v)),i&&(b=wt(b,i,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,y.placeholder,e,b,x,c,f,l-_)}var O=p?e:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var e=t.length,r=pn(n.length,e),o=Ct(t);r--;){var i=n[r];t[r]=sn(i,e)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof y&&(A=g||gt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Mn=Math.min,Wn="Expected a function",Cn=1,Rn=2,Bn=8,zn=16,Dn=32,Pn=64,Ln=Math.max;function Tn(t,n,e,r,o,i,u,c){var f=n&Rn;if(!f&&"function"!=typeof t)throw new TypeError(Wn);var l=r?r.length:0;if(l||(n&=~(Dn|Pn),r=o=void 0),u=void 0===u?u:Ln(K(u),0),c=void 0===c?c:K(c),l-=o?o.length:0,n&Pn){var s=r,p=o;r=o=void 0}var h=f?void 0:kt(t),v=[t,n,e,r,o,s,p,i,u,c];if(h&&function(t,n){var e=t[1],r=n[1],o=e|r,i=o<(On|An|In),u=r==In&&e==kn||r==In&&e==Sn&&t[7].length<=n[8]||r==(In|Sn)&&n[7].length<=n[8]&&e==kn;if(!i&&!u)return t;r&On&&(t[2]=n[2],o|=e&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),r&In&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(v,h),t=v[0],n=v[1],e=v[2],r=v[3],o=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Ln(v[9]-l,0))&&n&(Bn|zn)&&(n&=~(Bn|zn)),n&&n!=Cn)d=n==Bn||n==zn?function(t,n,e){var r=gt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var l=i<3&&u[0]!==f&&u[i-1]!==f?[]:vn(u,f);return(i-=l.length)<e?an(t,n,jn,o.placeholder,void 0,u,l,void 0,void 0,e-i):_t(this&&this!==a&&this instanceof o?r:t,this,u)}}(t,n,c):n!=Dn&&n!=(Cn|Dn)||o.length?jn.apply(void 0,v):function(t,n,e,r){var o=n&wn,i=gt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=r.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?i:t;++f<l;)s[f]=r[f];for(;c--;)s[f++]=arguments[++u];return _t(p,o?e:this,s)}}(t,n,e,r);else var d=function(t,n,e){var r=n&yt,o=gt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(r?e:this,arguments)}}(t,n,e);return Qt((h?ht:Tt)(d,v),t,n)}function Un(t,n,e){return n=e?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,e){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,e){var r=t[n];qn.call(t,n)&&Fn(r,e)&&(void 0!==e||n in t)||Nn(t,n,e)}function Kn(t,n,e,r){var o=!e;e||(e={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=r?r(e[a],t[a],a,e,t):void 0;void 0===c&&(c=t[a]),o?Nn(e,a,c):$n(e,a,c)}return e}var Vn=Math.max;function Zn(t,n,e){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var r=arguments,o=-1,i=Vn(r.length-n,0),u=Array(i);++o<i;)u[o]=r[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=r[o];return a[n]=e(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Xn(t,n,e){if(!z(e))return!1;var r=typeof n;return!!("number"==r?Yn(e)&&sn(n,e.length):"string"==r&&n in e)&&Fn(e[n],t)}function Qn(t){return Gn((function(n,e){var r=-1,o=e.length,i=o>1?e[o-1]:void 0,u=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Xn(e[0],e[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++r<o;){var a=e[r];a&&t(n,a,r,i)}return n}))}var te=Object.prototype;function ne(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||te)}function ee(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function re(t){return _(t)&&"[object Arguments]"==y(t)}var oe=Object.prototype,ie=oe.hasOwnProperty,ue=oe.propertyIsEnumerable,ae=re(function(){return arguments}())?re:function(t){return _(t)&&ie.call(t,"callee")&&!ue.call(t,"callee")};function ce(){return!1}var fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=fe&&"object"==typeof module&&module&&!module.nodeType&&module,se=le&&le.exports===fe?a.Buffer:void 0,pe=(se?se.isBuffer:void 0)||ce,he={};function ve(t){return function(n){return t(n)}}he["[object Float32Array]"]=he["[object Float64Array]"]=he["[object Int8Array]"]=he["[object Int16Array]"]=he["[object Int32Array]"]=he["[object Uint8Array]"]=he["[object Uint8ClampedArray]"]=he["[object Uint16Array]"]=he["[object Uint32Array]"]=!0,he["[object Arguments]"]=he["[object Array]"]=he["[object ArrayBuffer]"]=he["[object Boolean]"]=he["[object DataView]"]=he["[object Date]"]=he["[object Error]"]=he["[object Function]"]=he["[object Map]"]=he["[object Number]"]=he["[object Object]"]=he["[object RegExp]"]=he["[object Set]"]=he["[object String]"]=he["[object WeakMap]"]=!1;var de="object"==typeof exports&&exports&&!exports.nodeType&&exports,ge=de&&"object"==typeof module&&module&&!module.nodeType&&module,ye=ge&&ge.exports===de&&i.process,_e=function(){try{return ge&&ge.require&&ge.require("util").types||ye&&ye.binding&&ye.binding("util")}catch(Hs){}}(),be=_e&&_e.isTypedArray,me=be?ve(be):function(t){return _(t)&&Jn(t.length)&&!!he[y(t)]},je=Object.prototype.hasOwnProperty;function we(t,n){var e=O(t),r=!e&&ae(t),o=!e&&!r&&pe(t),i=!e&&!r&&!o&&me(t),u=e||r||o||i,a=u?ee(t.length,String):[],c=a.length;for(var f in t)!n&&!je.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xe(t,n){return function(e){return t(n(e))}}var Oe=xe(Object.keys,Object),Ae=Object.prototype.hasOwnProperty;function Ee(t){if(!ne(t))return Oe(t);var n=[];for(var e in Object(t))Ae.call(t,e)&&"constructor"!=e&&n.push(e);return n}function ke(t){return Yn(t)?we(t):Ee(t)}var Ie=Object.prototype.hasOwnProperty,Se=Qn((function(t,n){if(ne(n)||Yn(n))Kn(n,ke(n),t);else for(var e in n)Ie.call(n,e)&&$n(t,e,n[e])})),Me=Object.prototype.hasOwnProperty;function We(t){return Yn(t)?we(t,!0):function(t){if(!z(t))return function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}(t);var n=ne(t),e=[];for(var r in t)("constructor"!=r||!n&&Me.call(t,r))&&e.push(r);return e}(t)}var Ce=Qn((function(t,n){Kn(n,We(n),t)})),Re=Qn((function(t,n,e,r){Kn(n,We(n),t,r)})),Be=Qn((function(t,n,e,r){Kn(n,ke(n),t,r)})),ze=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/;function Pe(t,n){if(O(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!m(t))||De.test(t)||!ze.test(t)||null!=n&&t in Object(n)}var Le=lt(Object,"create"),Te=Object.prototype.hasOwnProperty,Ue=Object.prototype.hasOwnProperty;function Ne(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Fe(t,n){for(var e=t.length;e--;)if(Fn(t[e][0],n))return e;return-1}Ne.prototype.clear=function(){this.__data__=Le?Le(null):{},this.size=0},Ne.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ne.prototype.get=function(t){var n=this.__data__;if(Le){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return Te.call(n,t)?n[t]:void 0},Ne.prototype.has=function(t){var n=this.__data__;return Le?void 0!==n[t]:Ue.call(n,t)},Ne.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Le&&void 0===n?"__lodash_hash_undefined__":n,this};var qe=Array.prototype.splice;function $e(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}$e.prototype.clear=function(){this.__data__=[],this.size=0},$e.prototype.delete=function(t){var n=this.__data__,e=Fe(n,t);return!(e<0||(e==n.length-1?n.pop():qe.call(n,e,1),--this.size,0))},$e.prototype.get=function(t){var n=this.__data__,e=Fe(n,t);return e<0?void 0:n[e][1]},$e.prototype.has=function(t){return Fe(this.__data__,t)>-1},$e.prototype.set=function(t,n){var e=this.__data__,r=Fe(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this};var Ke=lt(a,"Map");function Ve(t,n){var e,r,o=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?o["string"==typeof n?"string":"hash"]:o.map}function Ze(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}Ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ne,map:new(Ke||$e),string:new Ne}},Ze.prototype.delete=function(t){var n=Ve(this,t).delete(t);return this.size-=n?1:0,n},Ze.prototype.get=function(t){return Ve(this,t).get(t)},Ze.prototype.has=function(t){return Ve(this,t).has(t)},Ze.prototype.set=function(t,n){var e=Ve(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this};function Ge(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return e.cache=i.set(o,u)||i,u};return e.cache=new(Ge.Cache||Ze),e}Ge.Cache=Ze;var He=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Je=/\\(\\)?/g,Ye=function(t){var n=Ge((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(He,(function(t,e,r,o){n.push(r?o.replace(Je,"$1"):e||t)})),n}),(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}();function Xe(t){return null==t?"":I(t)}function Qe(t,n){return O(t)?t:Pe(t,n)?[t]:Ye(Xe(t))}var tr=1/0;function nr(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-tr?"-0":n}function er(t,n){for(var e=0,r=(n=Qe(n,t)).length;null!=t&&e<r;)t=t[nr(n[e++])];return e&&e==r?t:void 0}function rr(t,n,e){var r=null==t?void 0:er(t,n);return void 0===r?e:r}function or(t,n){for(var e=-1,r=n.length,o=Array(r),i=null==t;++e<r;)o[e]=i?void 0:rr(t,n[e]);return o}function ir(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}var ur=c?c.isConcatSpreadable:void 0;function ar(t){return O(t)||ae(t)||!!(ur&&t&&t[ur])}function cr(t,n,e,r,o){var i=-1,u=t.length;for(e||(e=ar),o||(o=[]);++i<u;){var a=t[i];n>0&&e(a)?n>1?cr(a,n-1,e,r,o):ir(o,a):r||(o[o.length]=a)}return o}function fr(t){return null!=t&&t.length?cr(t,1):[]}function lr(t){return Vt(Zn(t,void 0,fr),t+"")}var sr=lr(or),pr=xe(Object.getPrototypeOf,Object),hr="[object Object]",vr=Function.prototype,dr=Object.prototype,gr=vr.toString,yr=dr.hasOwnProperty,_r=gr.call(Object);function br(t){if(!_(t)||y(t)!=hr)return!1;var n=pr(t);if(null===n)return!0;var e=yr.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&gr.call(e)==_r}function mr(t){if(!_(t))return!1;var n=y(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!br(t)}var jr=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return mr(t)?t:new Error(t)}}));function wr(t,n){var e;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=void 0),e}}var xr=Gn((function(t,n,e){var r=1;if(e.length){var o=vn(e,cn(xr));r|=32}return Tn(t,r,n,e,o)}));xr.placeholder={};var Or=lr((function(t,n){return Zt(n,(function(n){n=nr(n),Nn(t,n,xr(t[n],t))})),t})),Ar=Gn((function(t,n,e){var r=3;if(e.length){var o=vn(e,cn(Ar));r|=32}return Tn(n,r,t,e,o)}));function Er(t,n,e){var r=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+n];return i}function kr(t,n,e){var r=t.length;return e=void 0===e?r:e,!n&&e>=r?t:Er(t,n,e)}Ar.placeholder={};var Ir=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Sr(t){return Ir.test(t)}var Mr="\\ud800-\\udfff",Wr="["+Mr+"]",Cr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Rr="\\ud83c[\\udffb-\\udfff]",Br="[^"+Mr+"]",zr="(?:\\ud83c[\\udde6-\\uddff]){2}",Dr="[\\ud800-\\udbff][\\udc00-\\udfff]",Pr="(?:"+Cr+"|"+Rr+")?",Lr="[\\ufe0e\\ufe0f]?",Tr=Lr+Pr+"(?:\\u200d(?:"+[Br,zr,Dr].join("|")+")"+Lr+Pr+")*",Ur="(?:"+[Br+Cr+"?",Cr,zr,Dr,Wr].join("|")+")",Nr=RegExp(Rr+"(?="+Rr+")|"+Ur+Tr,"g");function Fr(t){return Sr(t)?function(t){return t.match(Nr)||[]}(t):function(t){return t.split("")}(t)}function qr(t){return function(n){var e=Sr(n=Xe(n))?Fr(n):void 0,r=e?e[0]:n.charAt(0),o=e?kr(e,1).join(""):n.slice(1);return r[t]()+o}}var $r=qr("toUpperCase");function Kr(t){return $r(Xe(t).toLowerCase())}function Vr(t,n,e,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(e=t[++o]);++o<i;)e=n(e,t[o],o,t);return e}function Zr(t){return function(n){return null==t?void 0:t[n]}}var Gr=Zr({"\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"}),Hr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Yr(t){return(t=Xe(t))&&t.replace(Hr,Gr).replace(Jr,"")}var Xr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",eo="a-z\\xdf-\\xf6\\xf8-\\xff",ro="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+eo+"]",fo="[^"+to+oo+uo+no+eo+ro+"]",lo="(?:\\ud83c[\\udde6-\\uddff]){2}",so="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+ro+"]",ho="(?:"+co+"|"+fo+")",vo="(?:"+po+"|"+fo+")",go="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",lo,so].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,lo,so].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+go+"(?="+[io,po,"$"].join("|")+")",vo+"+"+yo+"(?="+[io,po+ho,"$"].join("|")+")",po+"?"+ho+"+"+go,po+"+"+yo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,e){return t=Xe(t),void 0===(n=e?void 0:n)?function(t){return Qr.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Xr)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Vr(xo(Yr(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,e){return n=n.toLowerCase(),t+(e?Kr(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,e){if(t=N(t),(e=null==e?0:Io(K(e),292))&&ko(t)){var r=(Xe(t)+"e").split("e");return+((r=(Xe(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var Mo=So("ceil");function Wo(t){var n=zt(t);return n.__chain__=!0,n}var Co=Math.ceil,Ro=Math.max;function Bo(t,n,e){return t==t&&(void 0!==e&&(t=t<=e?t:e),void 0!==n&&(t=t>=n?t:n)),t}function zo(t){var n=this.__data__=new $e(t);this.size=n.size}function Do(t,n){return t&&Kn(n,ke(n),t)}zo.prototype.clear=function(){this.__data__=new $e,this.size=0},zo.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},zo.prototype.get=function(t){return this.__data__.get(t)},zo.prototype.has=function(t){return this.__data__.has(t)},zo.prototype.set=function(t,n){var e=this.__data__;if(e instanceof $e){var r=e.__data__;if(!Ke||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ze(r)}return e.set(t,n),this.size=e.size,this};var Po="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lo=Po&&"object"==typeof module&&module&&!module.nodeType&&module,To=Lo&&Lo.exports===Po?a.Buffer:void 0,Uo=To?To.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var e=t.length,r=Uo?Uo(e):new t.constructor(e);return t.copy(r),r}function Fo(t,n){for(var e=-1,r=null==t?0:t.length,o=0,i=[];++e<r;){var u=t[e];n(u,e,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ir(n,Vo(t)),t=pr(t);return n}:qo;function Go(t,n,e){var r=n(t);return O(t)?r:ir(r,e(t))}function Ho(t){return Go(t,ke,Vo)}function Jo(t){return Go(t,We,Zo)}var Yo=lt(a,"DataView"),Xo=lt(a,"Promise"),Qo=lt(a,"Set"),ti="[object Map]",ni="[object Promise]",ei="[object Set]",ri="[object WeakMap]",oi="[object DataView]",ii=et(Yo),ui=et(Ke),ai=et(Xo),ci=et(Qo),fi=et(st),li=y;(Yo&&li(new Yo(new ArrayBuffer(1)))!=oi||Ke&&li(new Ke)!=ti||Xo&&li(Xo.resolve())!=ni||Qo&&li(new Qo)!=ei||st&&li(new st)!=ri)&&(li=function(t){var n=y(t),e="[object Object]"==n?t.constructor:void 0,r=e?et(e):"";if(r)switch(r){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ei;case fi:return ri}return n});var si=li,pi=Object.prototype.hasOwnProperty,hi=a.Uint8Array;function vi(t){var n=new t.constructor(t.byteLength);return new hi(n).set(new hi(t)),n}var di=/\w*$/,gi=c?c.prototype:void 0,yi=gi?gi.valueOf:void 0;function _i(t,n){var e=n?vi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Mi="[object Float64Array]",Wi="[object Int8Array]",Ci="[object Int16Array]",Ri="[object Int32Array]",Bi="[object Uint8Array]",zi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Pi="[object Uint32Array]";function Li(t){return"function"!=typeof t.constructor||ne(t)?{}:dt(pr(t))}var Ti=_e&&_e.isMap,Ui=Ti?ve(Ti):function(t){return _(t)&&"[object Map]"==si(t)},Ni=_e&&_e.isSet,Fi=Ni?ve(Ni):function(t){return _(t)&&"[object Set]"==si(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,e,r,o,i){var u,a=1&n,c=2&n,f=4&n;if(e&&(u=o?e(t,r,o,i):e(t)),void 0!==u)return u;if(!z(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return Ct(t,u)}else{var s=si(t),p=s==$i||"[object GeneratorFunction]"==s;if(pe(t))return No(t,a);if(s==Ki||s==qi||p&&!o){if(u=c||p?{}:Li(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,We(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Do(u,t))}else{if(!Vi[s])return o?t:{};u=function(t,n,e){var r,o=t.constructor;switch(n){case ki:return vi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var e=n?vi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case Si:case Mi:case Wi:case Ci:case Ri:case Bi:case zi:case Di:case Pi:return _i(t,e);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return r=t,yi?Object(yi.call(r)):{}}}(t,s,a)}}i||(i=new zo);var h=i.get(t);if(h)return h;i.set(t,u),Fi(t)?t.forEach((function(r){u.add(Zi(r,n,e,r,t,i))})):Ui(t)&&t.forEach((function(r,o){u.set(o,Zi(r,n,e,o,t,i))}));var v=l?void 0:(f?c?Jo:Ho:c?We:ke)(t);return Zt(v||t,(function(r,o){v&&(r=t[o=r]),$n(u,o,Zi(r,n,e,o,t,i))})),u}function Gi(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new Ze;++n<e;)this.add(t[n])}function Hi(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}function Ji(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Xi=2;function Qi(t,n,e,r,o,i){var u=e&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),l=i.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=e&Xi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++s<a;){var v=t[s],d=n[s];if(r)var g=u?r(d,v,s,n,t,i):r(v,d,s,t,n,i);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!Hi(n,(function(t,n){if(!Ji(h,n)&&(v===t||o(v,t,e,r,i)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!o(v,d,e,r,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function nu(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var eu=1,ru=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,gu=du?du.valueOf:void 0,yu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,e,r,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,e,r,o,i){var u=O(t),a=O(n),c=u?ju:si(t),f=a?ju:si(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pe(t)){if(!pe(n))return!1;u=!0,l=!1}if(p&&!l)return i||(i=new zo),u||me(t)?Qi(t,n,e,r,o,i):function(t,n,e,r,o,i,u){switch(e){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!i(new hi(t),new hi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=r&eu;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;r|=ru,u.set(t,n);var l=Qi(a(t),a(n),r,o,i,u);return u.delete(t),l;case pu:if(gu)return gu.call(t)==gu.call(n)}return!1}(t,n,c,e,r,o,i);if(!(e&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,g=v?n.value():n;return i||(i=new zo),o(d,g,e,r,i)}}return!!p&&(i||(i=new zo),function(t,n,e,r,o,i){var u=e&yu,a=Ho(t),c=a.length;if(c!=Ho(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=i.get(t),p=i.get(n);if(s&&p)return s==n&&p==t;var h=!0;i.set(t,n),i.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],g=n[l];if(r)var y=u?r(g,d,l,n,t,i):r(d,g,l,t,n,i);if(!(void 0===y?d===g||o(d,g,e,r,i):y)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(t),i.delete(n),h}(t,n,e,r,o,i))}(t,n,e,r,Ou,o))}var Au=1,Eu=2;function ku(t,n,e,r){var o=e.length,i=o,u=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=e[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=e[o])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zo;if(r)var p=r(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,r,s):p))return!1}}return!0}function Iu(t){return t==t&&!z(t)}function Su(t){for(var n=ke(t),e=n.length;e--;){var r=n[e],o=t[r];n[e]=[r,o,Iu(o)]}return n}function Mu(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}function Wu(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(e){return e===t||ku(e,t,n)}}function Cu(t,n){return null!=t&&n in Object(t)}function Ru(t,n,e){for(var r=-1,o=(n=Qe(n,t)).length,i=!1;++r<o;){var u=nr(n[r]);if(!(i=null!=t&&e(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Jn(o)&&sn(u,o)&&(O(t)||ae(t))}function Bu(t,n){return null!=t&&Ru(t,n,Cu)}var zu=1,Du=2;function Pu(t,n){return Pe(t)&&Iu(n)?Mu(nr(t),n):function(e){var r=rr(e,t);return void 0===r&&r===n?Bu(e,t):Ou(n,r,zu|Du)}}function Lu(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Pe(t)?Lu(nr(t)):function(t){return function(n){return er(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Pu(t[0],t[1]):Wu(t):Tu(t)}function Nu(t,n,e){var r=e.length;if(null==t)return!r;for(t=Object(t);r--;){var o=e[r],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(r,u,e(u),t)}return r}function qu(t){return function(n,e,r){for(var o=-1,i=Object(n),u=r(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===e(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,ke)}function Vu(t,n){return function(e,r){if(null==e)return e;if(!Yn(e))return t(e,r);for(var o=e.length,i=n?o:-1,u=Object(e);(n?i--:++i<o)&&!1!==r(u[i],i,u););return e}}var Zu=Vu(Ku);function Gu(t,n,e,r){return Zu(t,(function(t,o,i){n(r,t,e(t),i)})),r}function Hu(t,n){return function(e,r){var o=O(e)?Fu:Gu,i=n?n():{};return o(e,t,Uu(r),i)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,e){Ju.call(t,e)?++t[e]:Nn(t,e,1)}));function Xu(t,n,e){var r=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=e?void 0:n);return r.placeholder=Xu.placeholder,r}function Qu(t,n,e){var r=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=e?void 0:n);return r.placeholder=Qu.placeholder,r}Xu.placeholder={},Qu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ea=Math.min;function ra(t,n,e){var r,o,i,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var e=r,i=o;return r=o=void 0,f=n,u=t.apply(i,e)}function v(t){var e=t-c;return void 0===c||e>=n||e<0||s&&t-f>=i}function d(){var t=ta();if(v(t))return g(t);a=setTimeout(d,function(t){var e=n-(t-c);return s?ea(e,i-(t-f)):e}(t))}function g(t){return a=void 0,p&&r?h(t):(r=o=void 0,u)}function y(){var t=ta(),e=v(t);if(r=arguments,o=this,c=t,e){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,z(e)&&(l=!!e.leading,i=(s="maxWait"in e)?na(N(e.maxWait)||0,n):i,p="trailing"in e?!!e.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),f=0,r=c=o=a=void 0},y.flush=function(){return void 0===a?u:g(ta())},y}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var e=-1,r=n.length,o=r>2?n[2]:void 0;for(o&&Xn(n[0],n[1],o)&&(r=1);++e<r;)for(var i=n[e],u=We(i),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,e){(void 0!==e&&!Fn(t[n],e)||void 0===e&&!(n in t))&&Nn(t,n,e)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,We(t))}function sa(t,n,e,r,o){t!==n&&$u(n,(function(i,u){if(o||(o=new zo),z(i))!function(t,n,e,r,o,i,u){var a=fa(t,e),c=fa(n,e),f=u.get(c);if(f)aa(t,e,f);else{var l=i?i(a,c,e+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pe(c),v=!p&&!h&&me(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Ct(a):h?(s=!1,l=No(c,!0)):v?(s=!1,l=_i(c,!0)):l=[]:br(c)||ae(c)?(l=a,ae(a)?l=la(a):z(a)&&!Y(a)||(l=Li(c))):s=!1}s&&(u.set(c,l),o(l,c,r,i,u),u.delete(c)),aa(t,e,l)}}(t,n,u,e,sa,r,o);else{var a=r?r(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),We)}function pa(t,n,e,r,o,i){return z(t)&&z(n)&&(i.set(n,t),sa(t,n,void 0,pa,i),i.delete(n)),t}var ha=Qn((function(t,n,e,r){sa(t,n,e,r)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,e){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,e)}),n)}var ga=Gn((function(t,n){return da(t,1,n)})),ya=Gn((function(t,n,e){return da(t,N(n)||0,e)}));function _a(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}var ba=200;function ma(t,n,e,r){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;e&&(n=x(n,ve(e))),r?(i=_a,u=!1):n.length>=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o<a;){var l=t[o],s=null==e?l:e(l);if(l=r||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else i(n,s,r)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,cr(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var e=wa(n);return ca(e)&&(e=void 0),ca(t)?ma(t,cr(n,1,ca,!0),Uu(e)):[]})),Oa=Gn((function(t,n){var e=wa(n);return ca(e)&&(e=void 0),ca(t)?ma(t,cr(n,1,ca,!0),void 0,e):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,e,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&n(t[i],i,t););return e?Er(t,r?0:i,r?i+1:o):Er(t,r?i+1:0,r?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}var Ma=qu(!0);function Wa(t,n){return t&&Ma(t,n,ke)}var Ca=Vu(Wa,!0);function Ra(t,n){return(O(t)?Sa:Ca)(t,ka(n))}function Ba(t){return function(n){var e=si(n);return"[object Map]"==e?tu(n):"[object Set]"==e?function(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var za=Ba(ke),Da=Ba(We),Pa=Zr({"&":"&","<":"<",">":">",'"':""","'":"'"}),La=/[&<>"']/g,Ta=RegExp(La.source);function Ua(t){return(t=Xe(t))&&Ta.test(t)?t.replace(La,Pa):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function $a(t,n){var e=!0;return Zu(t,(function(t,r,o){return e=!!n(t,r,o)})),e}function Ka(t){return t?Bo(K(t),0,4294967295):0}function Va(t,n){var e=[];return Zu(t,(function(t,r,o){n(t,r,o)&&e.push(t)})),e}function Za(t){return function(n,e,r){var o=Object(n);if(!Yn(n)){var i=Uu(e);n=ke(n),e=function(t){return i(o[t],t,o)}}var u=t(n,e,r);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=null==e?0:K(e);return o<0&&(o=Ga(r+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,e){var r;return e(t,(function(t,e,o){if(n(t,e,o))return r=e,!1})),r}var Xa=Math.max,Qa=Math.min;function tc(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return void 0!==e&&(o=K(e),o=e<0?Xa(r+o,0):Qa(o,r-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function ec(t){return t&&t.length?t[0]:void 0}function rc(t,n){var e=-1,r=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){r[++e]=n(t,o,i)})),r}function oc(t,n){return(O(t)?x:rc)(t,Uu(n))}var ic=So("floor");function uc(t){return lr((function(n){var e=n.length,r=e,o=Wt.prototype.thru;for(t&&n.reverse();r--;){var i=n[r];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new Wt([],!0)}for(r=u?r:e;++r<e;){var a=Mt(i=n[r]),c="wrapper"==a?kt(i):void 0;u=c&&Dt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==i.length&&Dt(i)?u[a]():u.thru(i)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&O(r))return u.plant(r).value();for(var o=0,i=e?n[o].apply(this,t):r;++o<e;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,e){lc.call(t,e)?t[e].push(n):Nn(t,e,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=N(n),e=N(e)),t(n,e)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),gc=Object.prototype.hasOwnProperty;function yc(t,n){return null!=t&&gc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&y(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,ke(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,e){for(var r=e?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,ve(n))),c=Ec(l.length,c),a[u]=!e&&(n||o>=120&&l.length>=120)?new Gi(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<o&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=e||0!==h?h:0,!(p?Ji(p,v):r(f,v,e))){for(u=i;--u;){var d=a[u];if(!(d?Ji(d,v):r(t[u],v,e)))continue t}p&&p.push(v),f.push(h)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Mc=Gn((function(t){var n=wa(t),e=x(t,Ic);return n===wa(e)?n=void 0:e.pop(),e.length&&e[0]===t[0]?kc(e,Uu(n)):[]})),Wc=Gn((function(t){var n=wa(t),e=x(t,Ic);return(n="function"==typeof n?n:void 0)&&e.pop(),e.length&&e[0]===t[0]?kc(e,void 0,n):[]}));function Cc(t,n){return function(e,r){return function(t,n,e,r){return Ku(t,(function(t,o,i){n(r,e(t),o,i)})),r}(e,t,n(r),{})}}var Rc=Object.prototype.toString,Bc=Cc((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Rc.call(n)),t[n]=e}),qt(V)),zc=Object.prototype,Dc=zc.hasOwnProperty,Pc=zc.toString,Lc=Cc((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Pc.call(n)),Dc.call(t,n)?t[n].push(e):t[n]=[e]}),Uu);function Tc(t,n){return n.length<2?t:er(t,Er(n,0,-1))}function Uc(t,n,e){var r=null==(t=Tc(t,n=Qe(n,t)))?t:t[nr(wa(n))];return null==r?void 0:_t(r,t,e)}var Nc=Gn(Uc),Fc=Gn((function(t,n,e){var r=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++r]=o?_t(n,t,e):Uc(t,n,e)})),i})),qc=_e&&_e.isArrayBuffer,$c=qc?ve(qc):function(t){return _(t)&&"[object ArrayBuffer]"==y(t)},Kc=_e&&_e.isDate,Vc=Kc?ve(Kc):function(t){return _(t)&&"[object Date]"==y(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==y(t)}var Yc=Q?Y:ce,Xc=_e&&_e.isRegExp,Qc=Xc?ve(Xc):function(t){return _(t)&&"[object RegExp]"==y(t)},tf=Array.prototype.join,nf=Ao((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),ef=Hu((function(t,n,e){Nn(t,e,n)})),rf=Math.max,of=Math.min,uf=Ao((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),af=qr("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,e){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):e(u,a)))var a=u,c=i}return c}function pf(t,n){for(var e,r=-1,o=t.length;++r<o;){var i=n(t[r]);void 0!==i&&(e=void 0===e?i:e+i)}return e}function hf(t,n){var e=null==t?0:t.length;return e?pf(t,n)/e:NaN}var vf=Qn((function(t,n,e){sa(t,n,e)})),df=Gn((function(t,n){return function(e){return Uc(e,t,n)}})),gf=Gn((function(t,n){return function(e){return Uc(t,e,n)}}));function yf(t,n,e){var r=ke(n),o=fc(n,r),i=!(z(e)&&"chain"in e&&!e.chain),u=Y(t);return Zt(o,(function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(i||n){var e=t(this.__wrapped__);return(e.__actions__=Ct(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,ir([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fr(t):Ct(t);if(mf&&t[mf])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[mf]());var n=si(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var e=t.length;if(e)return sn(n+=n<0?e:0,e)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Qe(n,t)))||delete t[nr(wa(n))]}function Of(t){return br(t)?void 0:t}var Af=lr((function(t,n){var e={};if(null==t)return e;var r=!1;n=x(n,(function(n){return n=Qe(n,t),r||(r=n.length>1),n})),Kn(t,Jo(t),e),r&&(e=Zi(e,7,Of));for(var o=n.length;o--;)xf(e,n[o]);return e}));function Ef(t,n,e,r){if(!z(t))return t;for(var o=-1,i=(n=Qe(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=nr(n[o]),f=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var l=a[c];void 0===(f=r?r(l,c,a):void 0)&&(f=z(l)?l:sn(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,e){for(var r=-1,o=n.length,i={};++r<o;){var u=n[r],a=er(t,u);e(a,u)&&Ef(i,Qe(u,t),a)}return i}function If(t,n){if(null==t)return{};var e=x(Jo(t),(function(t){return[t]}));return n=Uu(n),kf(t,e,(function(t,e){return n(t,e[0])}))}function Sf(t,n){if(t!==n){var e=void 0!==t,r=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||r&&u&&c||!e&&c||!o)return 1;if(!r&&!i&&!f&&t<n||f&&e&&o&&!r&&!i||a&&e&&o||!u&&o||!c)return-1}return 0}function Mf(t,n,e){n=n.length?x(n,(function(t){return O(t)?function(n){return er(n,1===t.length?t[0]:t)}:t})):[V];var r=-1;n=x(n,ve(Uu));var o=rc(t,(function(t,e,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++r,value:t}}));return function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}(o,(function(t,n){return function(t,n,e){for(var r=-1,o=t.criteria,i=n.criteria,u=o.length,a=e.length;++r<u;){var c=Sf(o[r],i[r]);if(c)return r>=a?c:c*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}))}function Wf(t){return lr((function(n){return n=x(n,ve(Uu)),Gn((function(e){var r=this;return t(n,(function(t){return _t(t,r,e)}))}))}))}var Cf=Wf(x),Rf=Gn,Bf=Math.min,zf=Rf((function(t,n){var e=(n=1==n.length&&O(n[0])?x(n[0],ve(Uu)):x(cr(n,1),ve(Uu))).length;return Gn((function(r){for(var o=-1,i=Bf(r.length,e);++o<i;)r[o]=n[o].call(this,r[o]);return _t(t,this,r)}))})),Df=Wf(qa),Pf=Wf(Hi),Lf=9007199254740991,Tf=Math.floor;function Uf(t,n){var e="";if(!t||n<1||n>Lf)return e;do{n%2&&(e+=t),(n=Tf(n/2))&&(t+=t)}while(n);return e}var Nf=Lu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Xf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Qf=RegExp(Kf+"(?="+Kf+")|"+Xf+Yf,"g");function tl(t){return Sr(t)?function(t){for(var n=Qf.lastIndex=0;Qf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function el(t,n){var e=(n=void 0===n?" ":I(n)).length;if(e<2)return e?Uf(n,t):n;var r=Uf(n,nl(t/tl(n)));return Sr(n)?kr(Fr(r),0,t).join(""):r.slice(0,t)}var rl=Math.ceil,ol=Math.floor,il=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),ll=lr((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,e){return Bu(t,e)}))}(t,n)}));function sl(t,n,e,r){for(var o=e-1,i=t.length;++o<i;)if(r(t[o],n))return o;return-1}var pl=Array.prototype.splice;function hl(t,n,e,r){var o=r?sl:Jt,i=-1,u=n.length,a=t;for(t===n&&(n=Ct(n)),e&&(a=x(t,ve(e)));++i<u;)for(var c=0,f=n[i],l=e?e(f):f;(c=o(a,l,c,r))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),gl=Array.prototype.splice;function yl(t,n){for(var e=t?n.length:0,r=e-1;e--;){var o=n[e];if(e==r||o!==i){var i=o;sn(o)?gl.call(t,o,1):xf(t,o)}}return t}var _l=lr((function(t,n){var e=null==t?0:t.length,r=or(t,n);return yl(t,x(n,(function(t){return sn(t,e)?+t:t})).sort(Sf)),r})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function kl(t){return function(n,e,r){return r&&"number"!=typeof r&&Xn(n,e,r)&&(e=r=void 0),n=$(n),void 0===e?(e=n,n=0):e=$(e),function(t,n,e,r){for(var o=-1,i=El(Al((n-t)/(e||1)),0),u=Array(i);i--;)u[r?i:++o]=t,t+=e;return u}(n,e,r=void 0===r?n<e?1:-1:$(r),t)}}var Il=kl(),Sl=kl(!0),Ml=lr((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Wl(t,n,e,r,o){return o(t,(function(t,o,i){e=r?(r=!1,t):n(e,t,o,i)})),e}function Cl(t,n,e,r){var o=null==t?0:t.length;for(r&&o&&(e=t[--o]);o--;)e=n(e,t[o],o,t);return e}var Rl=Array.prototype.reverse;function Bl(t){return null==t?t:Rl.call(t)}var zl=So("round");function Dl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Pl(t){return Dl(xc(t))}function Ll(t,n){var e=-1,r=t.length,o=r-1;for(n=void 0===n?r:n;++e<n;){var i=jl(e,o),u=t[i];t[i]=t[e],t[e]=u}return t.length=n,t}function Tl(t,n){return Ll(Ct(t),Bo(n,0,t.length))}function Ul(t,n){var e=xc(t);return Ll(e,Bo(n,0,e.length))}function Nl(t){return Ll(Ct(t))}function Fl(t){return Ll(xc(t))}var ql=Ao((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}));function $l(t,n){var e;return Zu(t,(function(t,r,o){return!(e=n(t,r,o))})),!!e}var Kl=Gn((function(t,n){if(null==t)return[];var e=n.length;return e>1&&Xn(t,n[0],n[1])?n=[]:e>2&&Xn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,cr(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,e,r){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=e(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var l=Zl((o+i)/2),s=e(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var g=r||v;else g=f?v&&(r||p):a?v&&p&&(r||!h):c?v&&p&&!h&&(r||!d):!h&&!d&&(r?s<=n:s<n);g?o=l+1:i=l}return Gl(i,Vl)}function Jl(t,n,e){var r=0,o=null==t?r:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!m(u)&&(e?u<=n:u<n)?r=i+1:o=i}return o}return Hl(t,n,V,e)}function Yl(t,n){for(var e=-1,r=t.length,o=0,i=[];++e<r;){var u=t[e],a=n?n(u):u;if(!e||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Xl=Math.max,Ql=Ao((function(t,n,e){return t+(e?" ":"")+$r(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,es=ns.hasOwnProperty;function rs(t,n,e,r){return void 0===t||Fn(t,ns[e])&&!es.call(r,e)?n:t}var os={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function is(t){return"\\"+os[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function gs(t,n){return n(t)}var ys=4294967295,_s=Math.min;function bs(t,n){var e=t;return e instanceof At&&(e=e.value()),Vr(n,(function(t,n){return n.func.apply(n.thisArg,ir([t],n.args))}),e)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var e=t.length;e--&&Jt(n,t[e],0)>-1;);return e}function ws(t,n){for(var e=-1,r=t.length;++e<r&&Jt(n,t[e],0)>-1;);return e}var xs=/^\s+/,Os=/\w*$/,As=Zr({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,ks=RegExp(Es.source),Is=Qo&&1/nu(new Qo([,-0]))[1]==1/0?function(t){return new Qo(t)}:Et,Ss=200;function Ms(t,n,e){var r=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(e)u=!1,o=_a;else if(i>=Ss){var f=n?null:Is(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++r<i;){var l=t[r],s=n?n(l):l;if(l=e||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else o(c,s,e)||(c!==a&&c.push(s),a.push(l))}return a}var Ws=Gn((function(t){return Ms(cr(t,1,ca,!0))})),Cs=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ms(cr(t,1,ca,!0),Uu(n))})),Rs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ms(cr(t,1,ca,!0),void 0,n)})),Bs=0,zs=Math.max;function Ds(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=zs(t.length,n),!0})),ee(n,(function(n){return x(t,Lu(n))}))}function Ps(t,n){if(!t||!t.length)return[];var e=Ds(t);return null==n?e:x(e,(function(t){return _t(n,void 0,t)}))}function Ls(t,n,e,r){return Ef(t,n,e(er(t,n)),r)}var Ts=Ao((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=lr((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return or(n,t)};return!(n>1||this.__actions__.length)&&r instanceof At&&sn(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:gs,args:[o],thisArg:void 0}),new Wt(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fs(t,n,e){var r=t.length;if(r<2)return r?Ms(t[0]):[];for(var o=-1,i=Array(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,e));return Ms(cr(i,1),n,e)}var qs=Gn((function(t){return Fs(Fo(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Fo(t,ca),Uu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Fo(t,ca),void 0,n)})),Vs=Gn(Ds);function Zs(t,n,e){for(var r=-1,o=t.length,i=n.length,u={};++r<o;){var a=r<i?n[r]:void 0;e(u,t[r],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,e=n>1?t[n-1]:void 0;return e="function"==typeof e?(t.pop(),e):void 0,Ps(t,e)})),Ys={chunk:function(t,n,e){n=(e?Xn(t,n,e):void 0===n)?1:Ro(K(n),0);var r=null==t?0:t.length;if(!r||n<1)return[];for(var o=0,i=0,u=Array(Co(r/n));o<r;)u[i++]=Er(t,o,o+=n);return u},compact:function(t){for(var n=-1,e=null==t?0:t.length,r=0,o=[];++n<e;){var i=t[n];i&&(o[r++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),e=arguments[0],r=t;r--;)n[r-1]=arguments[r];return ir(O(e)?Ct(e):[e],cr(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,(n=e||void 0===n?1:K(n))<0?0:n,r):[]},dropRight:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,0,(n=r-(n=e||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,e,r){var o=null==t?0:t.length;return o?(e&&"number"!=typeof e&&Xn(t,n,e)&&(e=0,r=o),function(t,n,e,r){var o=t.length;for((e=K(e))<0&&(e=-e>o?0:o+e),(r=void 0===r||r>o?o:K(r))<0&&(r+=o),r=e>r?0:Ka(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},findIndex:Ha,findLastIndex:tc,first:ec,flatten:fr,flattenDeep:function(t){return null!=t&&t.length?cr(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?cr(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var o=t[n];r[o[0]]=o[1]}return r},head:ec,indexOf:function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=null==e?0:K(e);return o<0&&(o=Ac(r+o,0)),Jt(t,n,o)},initial:function(t){return null!=t&&t.length?Er(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Wc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==e&&(o=(o=K(e))<0?rf(r+o,0):of(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):Gt(t,Ht,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,e){return t&&t.length&&n&&n.length?hl(t,n,Uu(e)):t},pullAllWith:function(t,n,e){return t&&t.length&&n&&n.length?hl(t,n,void 0,e):t},pullAt:_l,remove:function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,o=[],i=t.length;for(n=Uu(n);++r<i;){var u=t[r];n(u,r,t)&&(e.push(u),o.push(r))}return yl(t,o),e},reverse:Bl,slice:function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&Xn(t,n,e)?(n=0,e=r):(n=null==n?0:K(n),e=void 0===e?r:K(e)),Er(t,n,e)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,e){return Hl(t,n,Uu(e))},sortedIndexOf:function(t,n){var e=null==t?0:t.length;if(e){var r=Jl(t,n);if(r<e&&Fn(t[r],n))return r}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,e){return Hl(t,n,Uu(e),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var e=Jl(t,n,!0)-1;if(Fn(t[e],n))return e}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Er(t,1,n):[]},take:function(t,n,e){return t&&t.length?Er(t,0,(n=e||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,(n=r-(n=e||void 0===n?1:K(n)))<0?0:n,r):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Ws,unionBy:Cs,unionWith:Rs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ds,unzipWith:Ps,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Js},Xs={countBy:Yu,each:Ia,eachRight:Ra,every:function(t,n,e){var r=O(t)?qa:$a;return e&&Xn(t,n,e)&&(n=void 0),r(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return cr(oc(t,n),1)},flatMapDeep:function(t,n){return cr(oc(t,n),1/0)},flatMapDepth:function(t,n,e){return e=void 0===e?1:K(e),cr(oc(t,n),e)},forEach:Ia,forEachRight:Ra,groupBy:sc,includes:function(t,n,e,r){t=Yn(t)?t:xc(t),e=e&&!r?K(e):0;var o=t.length;return e<0&&(e=Oc(o+e,0)),jc(t)?e<=o&&t.indexOf(n,e)>-1:!!o&&Jt(t,n,e)>-1},invokeMap:Fc,keyBy:ef,map:oc,orderBy:function(t,n,e,r){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(e=r?void 0:e)||(e=null==e?[]:[e]),Mf(t,n,e))},partition:fl,reduce:function(t,n,e){var r=O(t)?Vr:Wl,o=arguments.length<3;return r(t,Uu(n),e,o,Zu)},reduceRight:function(t,n,e){var r=O(t)?Cl:Wl,o=arguments.length<3;return r(t,Uu(n),e,o,Ca)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Dl:Pl)(t)},sampleSize:function(t,n,e){return n=(e?Xn(t,n,e):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=si(t);return"[object Map]"==n||"[object Set]"==n?t.size:Ee(t).length},some:function(t,n,e){var r=O(t)?Hi:$l;return e&&Xn(t,n,e)&&(n=void 0),r(t,Uu(n))},sortBy:Kl},Qs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:wr,bind:xr,bindKey:Ar,curry:Xu,curryRight:Qu,debounce:ra,defer:ga,delay:ya,flip:function(t){return Tn(t,512)},memoize:Ge,negate:bf,once:function(t){return wr(2,t)},overArgs:zf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Xl(K(n),0),Gn((function(e){var r=e[n],o=kr(e,0,n);return r&&ir(o,r),_t(t,this,o)}))},throttle:function(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return z(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),ra(t,n,{leading:r,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,ke(n))},eq:Fn,gt:vc,gte:dc,isArguments:ae,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==y(t)},isBuffer:pe,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!br(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pe(t)||me(t)||ae(t)))return!t.length;var n=si(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(ne(t))return!Ee(t).length;for(var e in t)if(Zc.call(t,e))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,e){var r=(e="function"==typeof e?e:void 0)?e(t,n):void 0;return void 0===r?Ou(t,n,void 0,e):!!r},isError:mr,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,e){return e="function"==typeof e?e:void 0,ku(t,n,Su(n),e)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:z,isObjectLike:_,isPlainObject:br,isRegExp:Qc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:me,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==si(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==y(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Xe},ep={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:zl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},rp={assign:Se,assignIn:Ce,assignInWith:Re,assignWith:Be,at:sr,create:function(t,n){var e=dt(t);return null==n?e:Do(e,n)},defaults:ua,defaultsDeep:va,entries:za,entriesIn:Da,extend:Ce,extendWith:Re,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Wa)},forIn:function(t,n){return null==t?t:$u(t,ka(n),We)},forInRight:function(t,n){return null==t?t:Ma(t,ka(n),We)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Wa(t,ka(n))},functions:function(t){return null==t?[]:fc(t,ke(t))},functionsIn:function(t){return null==t?[]:fc(t,We(t))},get:rr,has:function(t,n){return null!=t&&Ru(t,n,yc)},hasIn:Bu,invert:Bc,invertBy:Lc,invoke:Nc,keys:ke,keysIn:We,mapKeys:function(t,n){var e={};return n=Uu(n),Ku(t,(function(t,r,o){Nn(e,n(t,r,o),t)})),e},mapValues:function(t,n){var e={};return n=Uu(n),Ku(t,(function(t,r,o){Nn(e,r,n(t,r,o))})),e},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ll,pickBy:If,result:function(t,n,e){var r=-1,o=(n=Qe(n,t)).length;for(o||(o=1,t=void 0);++r<o;){var i=null==t?void 0:t[nr(n[r])];void 0===i&&(r=o,i=e),t=Y(i)?i.call(t):i}return t},set:function(t,n,e){return null==t?t:Ef(t,n,e)},setWith:function(t,n,e,r){return r="function"==typeof r?r:void 0,null==t?t:Ef(t,n,e,r)},toPairs:za,toPairsIn:Da,transform:function(t,n,e){var r=O(t),o=r||pe(t)||me(t);if(n=Uu(n),null==e){var i=t&&t.constructor;e=o?r?new i:[]:z(t)&&Y(i)?dt(pr(t)):{}}return(o?Zt:Ku)(t,(function(t,r,o){return n(e,t,r,o)})),e},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,e){return null==t?t:Ls(t,n,ka(e))},updateWith:function(t,n,e,r){return r="function"==typeof r?r:void 0,null==t?t:Ls(t,n,ka(e),r)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,We(t))}},op={at:Ns,chain:Wo,commit:function(){return new Wt(this.value(),this.__chain__)},lodash:zt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,e=this;e instanceof xt;){var r=Rt(e);r.__index__=0,r.__values__=void 0,n?o.__wrapped__=r:n=r;var o=r;e=e.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:gs,args:[Bl],thisArg:void 0}),new Wt(n,this.__chain__)}return this.thru(Bl)},tap:function(t,n){return n(t),t},thru:gs,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Wo(this)}},ip={camelCase:Eo,capitalize:Kr,deburr:Yr,endsWith:function(t,n,e){t=Xe(t),n=I(n);var r=t.length,o=e=void 0===e?r:Bo(K(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Xe(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;if(!n||r>=n)return t;var o=(n-r)/2;return el(ol(o),e)+t+el(rl(o),e)},padEnd:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;return n&&r<n?t+el(n-r,e):t},padStart:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;return n&&r<n?el(n-r,e)+t:t},parseInt:function(t,n,e){return e||null==n?n=0:n&&(n=+n),ul(Xe(t).replace(il,""),n||0)},repeat:function(t,n,e){return n=(e?Xn(t,n,e):void 0===n)?1:K(n),Uf(Xe(t),n)},replace:function(){var t=arguments,n=Xe(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,e){return e&&"number"!=typeof e&&Xn(t,n,e)&&(n=e=void 0),(e=void 0===e?4294967295:e>>>0)?(t=Xe(t))&&("string"==typeof n||null!=n&&!Qc(n))&&!(n=I(n))&&Sr(t)?kr(Fr(t),0,e):t.split(n,e):[]},startCase:Ql,startsWith:function(t,n,e){return t=Xe(t),e=null==e?0:Bo(K(e),0,t.length),n=I(n),t.slice(e,e+n.length)==n},template:function(t,n,e){var r=as.imports._.templateSettings||as;e&&Xn(t,n,e)&&(n=void 0),t=Xe(t),n=Re({},n,r,rs);var o,i,u=Re({},n.imports,r.imports,rs),a=ke(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,e,r,u,a,c){return r||(r=u),s+=t.slice(f,c).replace(vs,is),e&&(o=!0,s+="' +\n__e("+e+") +\n'"),a&&(i=!0,s+="';\n"+a+";\n__p += '"),r&&(s+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=jr((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,mr(d))throw d;return d},templateSettings:as,toLower:function(t){return Xe(t).toLowerCase()},toUpper:function(t){return Xe(t).toUpperCase()},trim:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return B(t);if(!t||!(n=I(n)))return t;var r=Fr(t),o=Fr(n);return kr(r,ws(r,o),js(r,o)+1).join("")},trimEnd:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return t.slice(0,C(t)+1);if(!t||!(n=I(n)))return t;var r=Fr(t);return kr(r,0,js(r,Fr(n))+1).join("")},trimStart:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return t.replace(xs,"");if(!t||!(n=I(n)))return t;var r=Fr(t);return kr(r,ws(r,Fr(n))).join("")},truncate:function(t,n){var e=30,r="...";if(z(n)){var o="separator"in n?n.separator:o;e="length"in n?K(n.length):e,r="omission"in n?I(n.omission):r}var i=(t=Xe(t)).length;if(Sr(t)){var u=Fr(t);i=u.length}if(e>=i)return t;var a=e-tl(r);if(a<1)return r;var c=u?kr(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+r;if(u&&(a+=c.length-a),Qc(o)){if(t.slice(a).search(o)){var f,l=c;for(o.global||(o=RegExp(o.source,Xe(Os.exec(o))+"g")),o.lastIndex=0;f=o.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},unescape:function(t){return(t=Xe(t))&&ks.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$r,words:xo},up={attempt:jr,bindAll:Or,cond:function(t){var n=null==t?0:t.length,e=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[e(t[0]),t[1]]})):[],Gn((function(e){for(var r=-1;++r<n;){var o=t[r];if(_t(o[0],this,e))return _t(o[1],this,e)}}))},conforms:function(t){return function(t){var n=ke(t);return function(e){return Nu(e,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Wu(Zi(t,1))},matchesProperty:function(t,n){return Pu(t,Zi(n,1))},method:df,methodOf:gf,mixin:yf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Cf,overEvery:Df,overSome:Pf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:er(t,n)}},range:Il,rangeRight:Sl,stubArray:qo,stubFalse:ce,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var e=ys,r=_s(t,ys);n=ka(n),t-=ys;for(var o=ee(r,n);++e<t;)n(e);return o},toPath:function(t){return O(t)?x(t,nr):m(t)?[t]:Ct(Ye(Xe(t)))},uniqueId:function(t){var n=++Bs;return Xe(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,gp=(Hs=yf,function(t,n,e){if(null==e){var r=z(n),o=r&&ke(n),i=o&&o.length&&fc(n,o);(i?i.length:r)||(e=n,n=t,t=this)}return Hs(t,n,e)});zt.after=tp.after,zt.ary=tp.ary,zt.assign=rp.assign,zt.assignIn=rp.assignIn,zt.assignInWith=rp.assignInWith,zt.assignWith=rp.assignWith,zt.at=rp.at,zt.before=tp.before,zt.bind=tp.bind,zt.bindAll=up.bindAll,zt.bindKey=tp.bindKey,zt.castArray=np.castArray,zt.chain=op.chain,zt.chunk=Ys.chunk,zt.compact=Ys.compact,zt.concat=Ys.concat,zt.cond=up.cond,zt.conforms=up.conforms,zt.constant=up.constant,zt.countBy=Xs.countBy,zt.create=rp.create,zt.curry=tp.curry,zt.curryRight=tp.curryRight,zt.debounce=tp.debounce,zt.defaults=rp.defaults,zt.defaultsDeep=rp.defaultsDeep,zt.defer=tp.defer,zt.delay=tp.delay,zt.difference=Ys.difference,zt.differenceBy=Ys.differenceBy,zt.differenceWith=Ys.differenceWith,zt.drop=Ys.drop,zt.dropRight=Ys.dropRight,zt.dropRightWhile=Ys.dropRightWhile,zt.dropWhile=Ys.dropWhile,zt.fill=Ys.fill,zt.filter=Xs.filter,zt.flatMap=Xs.flatMap,zt.flatMapDeep=Xs.flatMapDeep,zt.flatMapDepth=Xs.flatMapDepth,zt.flatten=Ys.flatten,zt.flattenDeep=Ys.flattenDeep,zt.flattenDepth=Ys.flattenDepth,zt.flip=tp.flip,zt.flow=up.flow,zt.flowRight=up.flowRight,zt.fromPairs=Ys.fromPairs,zt.functions=rp.functions,zt.functionsIn=rp.functionsIn,zt.groupBy=Xs.groupBy,zt.initial=Ys.initial,zt.intersection=Ys.intersection,zt.intersectionBy=Ys.intersectionBy,zt.intersectionWith=Ys.intersectionWith,zt.invert=rp.invert,zt.invertBy=rp.invertBy,zt.invokeMap=Xs.invokeMap,zt.iteratee=up.iteratee,zt.keyBy=Xs.keyBy,zt.keys=ke,zt.keysIn=rp.keysIn,zt.map=Xs.map,zt.mapKeys=rp.mapKeys,zt.mapValues=rp.mapValues,zt.matches=up.matches,zt.matchesProperty=up.matchesProperty,zt.memoize=tp.memoize,zt.merge=rp.merge,zt.mergeWith=rp.mergeWith,zt.method=up.method,zt.methodOf=up.methodOf,zt.mixin=gp,zt.negate=bf,zt.nthArg=up.nthArg,zt.omit=rp.omit,zt.omitBy=rp.omitBy,zt.once=tp.once,zt.orderBy=Xs.orderBy,zt.over=up.over,zt.overArgs=tp.overArgs,zt.overEvery=up.overEvery,zt.overSome=up.overSome,zt.partial=tp.partial,zt.partialRight=tp.partialRight,zt.partition=Xs.partition,zt.pick=rp.pick,zt.pickBy=rp.pickBy,zt.property=up.property,zt.propertyOf=up.propertyOf,zt.pull=Ys.pull,zt.pullAll=Ys.pullAll,zt.pullAllBy=Ys.pullAllBy,zt.pullAllWith=Ys.pullAllWith,zt.pullAt=Ys.pullAt,zt.range=up.range,zt.rangeRight=up.rangeRight,zt.rearg=tp.rearg,zt.reject=Xs.reject,zt.remove=Ys.remove,zt.rest=tp.rest,zt.reverse=Ys.reverse,zt.sampleSize=Xs.sampleSize,zt.set=rp.set,zt.setWith=rp.setWith,zt.shuffle=Xs.shuffle,zt.slice=Ys.slice,zt.sortBy=Xs.sortBy,zt.sortedUniq=Ys.sortedUniq,zt.sortedUniqBy=Ys.sortedUniqBy,zt.split=ip.split,zt.spread=tp.spread,zt.tail=Ys.tail,zt.take=Ys.take,zt.takeRight=Ys.takeRight,zt.takeRightWhile=Ys.takeRightWhile,zt.takeWhile=Ys.takeWhile,zt.tap=op.tap,zt.throttle=tp.throttle,zt.thru=gs,zt.toArray=np.toArray,zt.toPairs=rp.toPairs,zt.toPairsIn=rp.toPairsIn,zt.toPath=up.toPath,zt.toPlainObject=np.toPlainObject,zt.transform=rp.transform,zt.unary=tp.unary,zt.union=Ys.union,zt.unionBy=Ys.unionBy,zt.unionWith=Ys.unionWith,zt.uniq=Ys.uniq,zt.uniqBy=Ys.uniqBy,zt.uniqWith=Ys.uniqWith,zt.unset=rp.unset,zt.unzip=Ys.unzip,zt.unzipWith=Ys.unzipWith,zt.update=rp.update,zt.updateWith=rp.updateWith,zt.values=rp.values,zt.valuesIn=rp.valuesIn,zt.without=Ys.without,zt.words=ip.words,zt.wrap=tp.wrap,zt.xor=Ys.xor,zt.xorBy=Ys.xorBy,zt.xorWith=Ys.xorWith,zt.zip=Ys.zip,zt.zipObject=Ys.zipObject,zt.zipObjectDeep=Ys.zipObjectDeep,zt.zipWith=Ys.zipWith,zt.entries=rp.toPairs,zt.entriesIn=rp.toPairsIn,zt.extend=rp.assignIn,zt.extendWith=rp.assignInWith,gp(zt,zt),zt.add=ep.add,zt.attempt=up.attempt,zt.camelCase=ip.camelCase,zt.capitalize=ip.capitalize,zt.ceil=ep.ceil,zt.clamp=function(t,n,e){return void 0===e&&(e=n,n=void 0),void 0!==e&&(e=(e=N(e))==e?e:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bo(N(t),n,e)},zt.clone=np.clone,zt.cloneDeep=np.cloneDeep,zt.cloneDeepWith=np.cloneDeepWith,zt.cloneWith=np.cloneWith,zt.conformsTo=np.conformsTo,zt.deburr=ip.deburr,zt.defaultTo=up.defaultTo,zt.divide=ep.divide,zt.endsWith=ip.endsWith,zt.eq=np.eq,zt.escape=ip.escape,zt.escapeRegExp=ip.escapeRegExp,zt.every=Xs.every,zt.find=Xs.find,zt.findIndex=Ys.findIndex,zt.findKey=rp.findKey,zt.findLast=Xs.findLast,zt.findLastIndex=Ys.findLastIndex,zt.findLastKey=rp.findLastKey,zt.floor=ep.floor,zt.forEach=Xs.forEach,zt.forEachRight=Xs.forEachRight,zt.forIn=rp.forIn,zt.forInRight=rp.forInRight,zt.forOwn=rp.forOwn,zt.forOwnRight=rp.forOwnRight,zt.get=rp.get,zt.gt=np.gt,zt.gte=np.gte,zt.has=rp.has,zt.hasIn=rp.hasIn,zt.head=Ys.head,zt.identity=V,zt.includes=Xs.includes,zt.indexOf=Ys.indexOf,zt.inRange=function(t,n,e){return n=$(n),void 0===e?(e=n,n=0):e=$(e),function(t,n,e){return t>=bc(n,e)&&t<_c(n,e)}(t=N(t),n,e)},zt.invoke=rp.invoke,zt.isArguments=np.isArguments,zt.isArray=O,zt.isArrayBuffer=np.isArrayBuffer,zt.isArrayLike=np.isArrayLike,zt.isArrayLikeObject=np.isArrayLikeObject,zt.isBoolean=np.isBoolean,zt.isBuffer=np.isBuffer,zt.isDate=np.isDate,zt.isElement=np.isElement,zt.isEmpty=np.isEmpty,zt.isEqual=np.isEqual,zt.isEqualWith=np.isEqualWith,zt.isError=np.isError,zt.isFinite=np.isFinite,zt.isFunction=np.isFunction,zt.isInteger=np.isInteger,zt.isLength=np.isLength,zt.isMap=np.isMap,zt.isMatch=np.isMatch,zt.isMatchWith=np.isMatchWith,zt.isNaN=np.isNaN,zt.isNative=np.isNative,zt.isNil=np.isNil,zt.isNull=np.isNull,zt.isNumber=np.isNumber,zt.isObject=z,zt.isObjectLike=np.isObjectLike,zt.isPlainObject=np.isPlainObject,zt.isRegExp=np.isRegExp,zt.isSafeInteger=np.isSafeInteger,zt.isSet=np.isSet,zt.isString=np.isString,zt.isSymbol=np.isSymbol,zt.isTypedArray=np.isTypedArray,zt.isUndefined=np.isUndefined,zt.isWeakMap=np.isWeakMap,zt.isWeakSet=np.isWeakSet,zt.join=Ys.join,zt.kebabCase=ip.kebabCase,zt.last=wa,zt.lastIndexOf=Ys.lastIndexOf,zt.lowerCase=ip.lowerCase,zt.lowerFirst=ip.lowerFirst,zt.lt=np.lt,zt.lte=np.lte,zt.max=ep.max,zt.maxBy=ep.maxBy,zt.mean=ep.mean,zt.meanBy=ep.meanBy,zt.min=ep.min,zt.minBy=ep.minBy,zt.stubArray=up.stubArray,zt.stubFalse=up.stubFalse,zt.stubObject=up.stubObject,zt.stubString=up.stubString,zt.stubTrue=up.stubTrue,zt.multiply=ep.multiply,zt.nth=Ys.nth,zt.noop=up.noop,zt.now=Qs,zt.pad=ip.pad,zt.padEnd=ip.padEnd,zt.padStart=ip.padStart,zt.parseInt=ip.parseInt,zt.random=function(t,n,e){if(e&&"boolean"!=typeof e&&Xn(t,n,e)&&(n=e=void 0),void 0===e&&("boolean"==typeof n?(e=n,n=void 0):"boolean"==typeof t&&(e=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var o=Ol();return xl(t+o*(n-t+wl("1e-"+((o+"").length-1))),n)}return jl(t,n)},zt.reduce=Xs.reduce,zt.reduceRight=Xs.reduceRight,zt.repeat=ip.repeat,zt.replace=ip.replace,zt.result=rp.result,zt.round=ep.round,zt.sample=Xs.sample,zt.size=Xs.size,zt.snakeCase=ip.snakeCase,zt.some=Xs.some,zt.sortedIndex=Ys.sortedIndex,zt.sortedIndexBy=Ys.sortedIndexBy,zt.sortedIndexOf=Ys.sortedIndexOf,zt.sortedLastIndex=Ys.sortedLastIndex,zt.sortedLastIndexBy=Ys.sortedLastIndexBy,zt.sortedLastIndexOf=Ys.sortedLastIndexOf,zt.startCase=ip.startCase,zt.startsWith=ip.startsWith,zt.subtract=ep.subtract,zt.sum=ep.sum,zt.sumBy=ep.sumBy,zt.template=ip.template,zt.times=up.times,zt.toFinite=np.toFinite,zt.toInteger=K,zt.toLength=np.toLength,zt.toLower=ip.toLower,zt.toNumber=np.toNumber,zt.toSafeInteger=np.toSafeInteger,zt.toString=np.toString,zt.toUpper=ip.toUpper,zt.trim=ip.trim,zt.trimEnd=ip.trimEnd,zt.trimStart=ip.trimStart,zt.truncate=ip.truncate,zt.unescape=ip.unescape,zt.uniqueId=up.uniqueId,zt.upperCase=ip.upperCase,zt.upperFirst=ip.upperFirst,zt.each=Xs.forEach,zt.eachRight=Xs.forEachRight,zt.first=Ys.head,gp(zt,(Gs={},Ku(zt,(function(t,n){pp.call(zt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),zt.VERSION="4.17.21",(zt.templateSettings=ip.templateSettings).imports._=zt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){zt[t].placeholder=zt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(e){e=void 0===e?1:vp(K(e),0);var r=this.__filtered__&&!n?new At(this):this.clone();return r.__filtered__?r.__takeCount__=dp(e,r.__takeCount__):r.__views__.push({size:dp(e,lp),type:t+(r.__dir__<0?"Right":"")}),r},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:e}),n.__filtered__=n.__filtered__||r,n}})),Zt(["head","last"],(function(t,n){var e="take"+(n?"Right":"");At.prototype[t]=function(){return this[e](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[e](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(e){return Uc(e,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var e=this;return e.__filtered__&&(t>0||n<0)?new At(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),void 0!==n&&(e=(n=K(n))<0?e.dropRight(-n):e.take(n-t)),e)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=zt[r?"take"+("last"==n?"Right":""):n],i=r||/^find/.test(n);o&&(zt.prototype[n]=function(){var n=this.__wrapped__,u=r?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=o.apply(zt,ir([t],u));return r&&s?n[0]:n};f&&e&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=i&&!s,v=a&&!p;if(!i&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:gs,args:[l],thisArg:void 0}),new Wt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?r?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);zt.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[e]((function(e){return n.apply(O(e)?e:[],t)}))}})),Ku(At.prototype,(function(t,n){var e=zt[n];if(e){var r=e.name+"";pp.call(It,r)||(It[r]=[]),It[r].push({name:n,func:e})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Ct(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ct(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ct(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=O(t),r=n<0,o=e?t.length:0,i=function(t,n,e){for(var r=-1,o=e.length;++r<o;){var i=e[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!e||!r&&o==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,g=t[f+=n];++d<s;){var y=l[d],_=y.iteratee,b=y.type,m=_(g);if(2==b)g=m;else if(!m){if(1==b)continue t;break t}}v[p++]=g}return v},zt.prototype.at=op.at,zt.prototype.chain=op.wrapperChain,zt.prototype.commit=op.commit,zt.prototype.next=op.next,zt.prototype.plant=op.plant,zt.prototype.reverse=op.reverse,zt.prototype.toJSON=zt.prototype.valueOf=zt.prototype.value=op.value,zt.prototype.first=zt.prototype.head,hp&&(zt.prototype[hp]=op.toIterator);const yp=t=>{const n=(0,r.useRef)(t);return(0,r.useEffect)((()=>{n.current=t}),[t]),(0,r.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,e={})=>{const o=yp(t),i=(0,r.useMemo)((()=>ra(o,n,e)),[o,n,e]);return(t=>{const n=yp(t);(0,r.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:e,options:o})=>{const i=r.Children.only(t),u=_p(((...t)=>{const e=null==i?void 0:i.props;if(e)return"function"==typeof e[n]?e[n](...t):void 0}),e,o);return(0,r.cloneElement)(i,{[n]:u})};function mp(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:e=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,r.useRef)(null),a=yp(t),c=(0,r.useCallback)((([t],e)=>{if(t&&t.isIntersecting){const r=t.target;a&&a(t),n&&e.unobserve(r)}}),[a,n]);return(0,r.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:e,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[e,o,i,c]),u},wp=(...t)=>(0,r.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,r.forwardRef)(((t,n)=>{const{action:e,calledOnce:r,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:e,calledOnce:r,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,r.forwardRef)(((t,n)=>{var{src:e,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=e},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,r.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?r.useLayoutEffect:r.useEffect;(0,r.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const e=(t=>"function"==typeof t?t():t)(n);return e?(0,o.jsx)(r.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,e]=(0,r.useState)(Sp(t)),o=(0,r.useCallback)((()=>{e(Sp(t))}),[t]);return(0,r.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Wp=t=>{const n=(0,r.useRef)(t);return(0,r.useEffect)((()=>{n.current=t}),[t]),n.current},Cp=t=>{const[n,e]=(0,r.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,r.useRef)(null),i=yp(t),u=(0,r.useCallback)((([t])=>{t&&(i(t),e(t.contentRect))}),[i]);return(0,r.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Rp=(t={})=>{const{isDebounce:n=!1,wait:e=300}=t,[o,i]=(0,r.useState)({width:null,height:null}),u=(0,r.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,e),c=(0,r.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[410],{5777:(t,n,e)=>{e.r(n),e.d(n,{Input:()=>s,InputExample:()=>p,assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>f,toc:()=>h});var r=e(5735),o=e(7355),i=e(4614),u=e(5474);const a={},c="DebounceWrapper",f={id:"react/components/DebounceWrapper",title:"DebounceWrapper",description:"\uc790\uc2dd \uc694\uc18c\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc774\ubca4\ud2b8(ex: Click Event)\ub97c debounce\ud574\uc8fc\ub294 \uc720\ud2f8 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/DebounceWrapper.mdx",sourceDirName:"react/components",slug:"/react/components/DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\uc18c\uac1c",permalink:"/modern-kit/docs/introduce/"},next:{title:"InView",permalink:"/modern-kit/docs/react/components/InView"}},l={},s=({onChange:t})=>{const n={input:"input",...(0,o.a)()},[e,u]=(0,i.useState)("");return(0,r.jsx)(n.input,{type:"text",onChange:n=>{u(n.target.value),t(n.target.value)},value:e})},p=()=>{const t={p:"p",...(0,o.a)()},[n,e]=(0,i.useState)("");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.uM,{capture:"onChange",wait:500,children:(0,r.jsx)(s,{onChange:t=>{e(t)}})}),(0,r.jsxs)(t.p,{children:["Text: ",n]})]})},h=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Button Click Case",id:"button-click-case",level:3},{value:"Input Change Case",id:"input-change-case",level:3},{value:"Example",id:"example",level:2},{value:"Button Click Case",id:"button-click-case-1",level:3},{value:"Input Change Case",id:"input-change-case-1",level:3}];function v(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"debouncewrapper",children:"DebounceWrapper"}),"\n",(0,r.jsxs)(n.p,{children:["\uc790\uc2dd \uc694\uc18c\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc774\ubca4\ud2b8",(0,r.jsx)(n.code,{children:"(ex: Click Event)"}),"\ub97c debounce\ud574\uc8fc\ub294 \uc720\ud2f8 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"type DebounceParameters = Parameters<typeof debounce>;\n\ninterface DebounceWrapperProps {\n children: JSX.Element; // \ud558\ub098\uc758 \uc694\uc18c\ub9cc children prop\uc73c\ub85c \ub118\uaca8\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n capture: string;\n wait: DebounceParameters[1]; // number\n options?: DebounceParameters[2]; // DebounceSettings\n}\n\nconst DebounceWrapper: ({\n children,\n capture,\n wait,\n options,\n}: DebounceWrapperProps) => React.FunctionComponentElement<any>;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"button-click-case",children:"Button Click Case"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { DebounceWrapper } from '@modern-kit/react'\n\nconst Example = () => {\n const onClick = () => {\n console.log('debounce');\n };\n \n return (\n <DebounceWrapper capture=\"onClick\" wait={500}>\n <button onClick={nClick}>Button</button>\n </DebounceWrapper>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"input-change-case",children:"Input Change Case"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const Input = ({ onChange }: { onChange: (value: string) => void }) => {\n const [value, setValue] = useState('');\n\n const handleChange = (e: ChangeEvent<HTMLInputElement>) => {\n setValue(e.target.value);\n onChange(e.target.value);\n };\n\n return <input type=\"text\" onChange={handleChange} value={value} />;\n};\n\nconst Example = () => {\n const [text, setText] = useState('');\n\n const onChange = (value: string) => {\n setText(value);\n };\n\n return (\n <>\n <DebounceWrapper capture={'onChange'} wait={500}>\n <Input onChange={onChange} />\n </DebounceWrapper>\n <p>{text}</p>\n </>\n );\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,r.jsx)(n.h3,{id:"button-click-case-1",children:"Button Click Case"}),"\n",(0,r.jsx)("p",{style:{marginBottom:"4px"},children:"\ube0c\ub77c\uc6b0\uc800\uc758 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc5d0\uc11c \ub3d9\uc791\uc744 \ud655\uc778\ud558\uc138\uc694."}),"\n",(0,r.jsx)(u.uM,{capture:"onClick",wait:500,children:(0,r.jsx)("button",{onClick:()=>{console.log("debounce")},children:"Button"})}),"\n",(0,r.jsx)("br",{}),"\n","\n","\n",(0,r.jsx)(n.h3,{id:"input-change-case-1",children:"Input Change Case"}),"\n",(0,r.jsx)(p,{})]})}function d(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,r.jsx)(n,{...t,children:(0,r.jsx)(v,{...t})}):v(t)}},7355:(t,n,e)=>{e.d(n,{Z:()=>a,a:()=>u});var r=e(4614);const o={},i=r.createContext(o);function u(t){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),r.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,e)=>{e.d(n,{D9:()=>Wp,ac:()=>Mp,df:()=>xp,iP:()=>Rp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Cp});var r=e(4614),o=e(5735),i=(e(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",g=c?c.toStringTag:void 0;function y(t){return null==t?void 0===t?d:v:g&&g in Object(t)?function(t){var n=l.call(t,p),e=t[p];try{t[p]=void 0;var r=!0}catch(t){}var o=s.call(t);return r&&(n?t[p]=e:delete t[p]),o}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&y(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(e,r){var o;if(void 0===e&&void 0===r)return n;if(void 0!==e&&(o=e),void 0!==r){if(void 0===o)return r;"string"==typeof e||"string"==typeof r?(e=I(e),r=I(r)):(e=w(e),r=w(r)),o=t(e,r)}return o}}var M=S((function(t,n){return t+n}),0),W=/\s/;function C(t){for(var n=t.length;n--&&W.test(t.charAt(n)););return n}var R=/^\s+/;function B(t){return t?t.slice(0,C(t)+1).replace(R,""):t}function z(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var D=NaN,P=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return D;if(z(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=z(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=B(t);var e=L.test(t);return e||T.test(t)?U(t.slice(2),e?2:8):P.test(t)?D:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),e=n%1;return n==n?e?n-e:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!z(t))return!1;var n=y(t);return n==G||n==H||n==Z||n==J}var X,Q=a["__core-js_shared__"],tt=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",nt=Function.prototype.toString;function et(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var rt=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!z(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:rt).test(et(t))}function lt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(e)?e:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!z(n))return{};if(vt)return vt(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();function gt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=dt(t.prototype),r=t.apply(e,n);return z(r)?r:e}}var yt=1;function _t(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}var bt=Math.max;function mt(t,n,e,r){for(var o=-1,i=t.length,u=e.length,a=-1,c=n.length,f=bt(i-u,0),l=Array(c+f),s=!r;++a<c;)l[a]=n[a];for(;++o<u;)(s||o<i)&&(l[e[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}var jt=Math.max;function wt(t,n,e,r){for(var o=-1,i=t.length,u=-1,a=e.length,c=-1,f=n.length,l=jt(i-a,0),s=Array(l+f),p=!r;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||o<i)&&(s[h+e[u]]=t[o++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",e=It[n],r=St.call(It,n)?e.length:0;r--;){var o=e[r],i=o.func;if(null==i||i==t)return o.name}return n}function Wt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Ct(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function Rt(t){if(t instanceof At)return t.clone();var n=new Wt(t.__wrapped__,t.__chain__);return n.__actions__=Ct(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Wt.prototype=dt(xt.prototype),Wt.prototype.constructor=Wt;var Bt=Object.prototype.hasOwnProperty;function zt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Wt)return t;if(Bt.call(t,"__wrapped__"))return Rt(t)}return new Wt(t)}function Dt(t){var n=Mt(t),e=zt[n];if("function"!=typeof e||!(n in At.prototype))return!1;if(t===e)return!0;var r=kt(e);return!!r&&t===r[0]}zt.prototype=xt.prototype,zt.prototype.constructor=zt;var Pt=Date.now;function Lt(t){var n=0,e=0;return function(){var r=Pt(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Lt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Lt(Kt);function Zt(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function Gt(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Ht(t){return t!=t}function Jt(t,n,e){return n==n?function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}(t,n,e):Gt(t,Ht,e)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Xt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Qt(t,n,e){var r=n+"";return Vt(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return Zt(Xt,(function(e){var r="_."+e[0];n&e[1]&&!Yt(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(r),e)))}var tn=1,nn=2,en=4,rn=8,on=32,un=64;function an(t,n,e,r,o,i,u,a,c,f){var l=n&rn;n|=l?on:un,(n&=~(l?un:on))&en||(n&=~(tn|nn));var s=[t,n,o,l?i:void 0,l?u:void 0,l?void 0:i,l?void 0:u,a,c,f],p=e.apply(void 0,s);return Dt(t)&&Tt(p,s),p.placeholder=r,Qt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var e=typeof t;return!!(n=null==n?fn:n)&&("number"==e||"symbol"!=e&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var e=-1,r=t.length,o=0,i=[];++e<r;){var u=t[e];u!==n&&u!==hn||(t[e]=hn,i[o++]=e)}return i}var dn=1,gn=2,yn=8,_n=16,bn=128,mn=512;function jn(t,n,e,r,o,i,u,c,f,l){var s=n&bn,p=n&dn,h=n&gn,v=n&(yn|_n),d=n&mn,g=h?void 0:gt(t);return function y(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(y),w=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(b,j);if(r&&(b=mt(b,r,o,v)),i&&(b=wt(b,i,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,y.placeholder,e,b,x,c,f,l-_)}var O=p?e:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var e=t.length,r=pn(n.length,e),o=Ct(t);r--;){var i=n[r];t[r]=sn(i,e)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof y&&(A=g||gt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Mn=Math.min,Wn="Expected a function",Cn=1,Rn=2,Bn=8,zn=16,Dn=32,Pn=64,Ln=Math.max;function Tn(t,n,e,r,o,i,u,c){var f=n&Rn;if(!f&&"function"!=typeof t)throw new TypeError(Wn);var l=r?r.length:0;if(l||(n&=~(Dn|Pn),r=o=void 0),u=void 0===u?u:Ln(K(u),0),c=void 0===c?c:K(c),l-=o?o.length:0,n&Pn){var s=r,p=o;r=o=void 0}var h=f?void 0:kt(t),v=[t,n,e,r,o,s,p,i,u,c];if(h&&function(t,n){var e=t[1],r=n[1],o=e|r,i=o<(On|An|In),u=r==In&&e==kn||r==In&&e==Sn&&t[7].length<=n[8]||r==(In|Sn)&&n[7].length<=n[8]&&e==kn;if(!i&&!u)return t;r&On&&(t[2]=n[2],o|=e&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),r&In&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(v,h),t=v[0],n=v[1],e=v[2],r=v[3],o=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Ln(v[9]-l,0))&&n&(Bn|zn)&&(n&=~(Bn|zn)),n&&n!=Cn)d=n==Bn||n==zn?function(t,n,e){var r=gt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var l=i<3&&u[0]!==f&&u[i-1]!==f?[]:vn(u,f);return(i-=l.length)<e?an(t,n,jn,o.placeholder,void 0,u,l,void 0,void 0,e-i):_t(this&&this!==a&&this instanceof o?r:t,this,u)}}(t,n,c):n!=Dn&&n!=(Cn|Dn)||o.length?jn.apply(void 0,v):function(t,n,e,r){var o=n&wn,i=gt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=r.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?i:t;++f<l;)s[f]=r[f];for(;c--;)s[f++]=arguments[++u];return _t(p,o?e:this,s)}}(t,n,e,r);else var d=function(t,n,e){var r=n&yt,o=gt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(r?e:this,arguments)}}(t,n,e);return Qt((h?ht:Tt)(d,v),t,n)}function Un(t,n,e){return n=e?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,e){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,e){var r=t[n];qn.call(t,n)&&Fn(r,e)&&(void 0!==e||n in t)||Nn(t,n,e)}function Kn(t,n,e,r){var o=!e;e||(e={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=r?r(e[a],t[a],a,e,t):void 0;void 0===c&&(c=t[a]),o?Nn(e,a,c):$n(e,a,c)}return e}var Vn=Math.max;function Zn(t,n,e){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var r=arguments,o=-1,i=Vn(r.length-n,0),u=Array(i);++o<i;)u[o]=r[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=r[o];return a[n]=e(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Xn(t,n,e){if(!z(e))return!1;var r=typeof n;return!!("number"==r?Yn(e)&&sn(n,e.length):"string"==r&&n in e)&&Fn(e[n],t)}function Qn(t){return Gn((function(n,e){var r=-1,o=e.length,i=o>1?e[o-1]:void 0,u=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Xn(e[0],e[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++r<o;){var a=e[r];a&&t(n,a,r,i)}return n}))}var te=Object.prototype;function ne(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||te)}function ee(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function re(t){return _(t)&&"[object Arguments]"==y(t)}var oe=Object.prototype,ie=oe.hasOwnProperty,ue=oe.propertyIsEnumerable,ae=re(function(){return arguments}())?re:function(t){return _(t)&&ie.call(t,"callee")&&!ue.call(t,"callee")};function ce(){return!1}var fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=fe&&"object"==typeof module&&module&&!module.nodeType&&module,se=le&&le.exports===fe?a.Buffer:void 0,pe=(se?se.isBuffer:void 0)||ce,he={};function ve(t){return function(n){return t(n)}}he["[object Float32Array]"]=he["[object Float64Array]"]=he["[object Int8Array]"]=he["[object Int16Array]"]=he["[object Int32Array]"]=he["[object Uint8Array]"]=he["[object Uint8ClampedArray]"]=he["[object Uint16Array]"]=he["[object Uint32Array]"]=!0,he["[object Arguments]"]=he["[object Array]"]=he["[object ArrayBuffer]"]=he["[object Boolean]"]=he["[object DataView]"]=he["[object Date]"]=he["[object Error]"]=he["[object Function]"]=he["[object Map]"]=he["[object Number]"]=he["[object Object]"]=he["[object RegExp]"]=he["[object Set]"]=he["[object String]"]=he["[object WeakMap]"]=!1;var de="object"==typeof exports&&exports&&!exports.nodeType&&exports,ge=de&&"object"==typeof module&&module&&!module.nodeType&&module,ye=ge&&ge.exports===de&&i.process,_e=function(){try{return ge&&ge.require&&ge.require("util").types||ye&&ye.binding&&ye.binding("util")}catch(Hs){}}(),be=_e&&_e.isTypedArray,me=be?ve(be):function(t){return _(t)&&Jn(t.length)&&!!he[y(t)]},je=Object.prototype.hasOwnProperty;function we(t,n){var e=O(t),r=!e&&ae(t),o=!e&&!r&&pe(t),i=!e&&!r&&!o&&me(t),u=e||r||o||i,a=u?ee(t.length,String):[],c=a.length;for(var f in t)!n&&!je.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xe(t,n){return function(e){return t(n(e))}}var Oe=xe(Object.keys,Object),Ae=Object.prototype.hasOwnProperty;function Ee(t){if(!ne(t))return Oe(t);var n=[];for(var e in Object(t))Ae.call(t,e)&&"constructor"!=e&&n.push(e);return n}function ke(t){return Yn(t)?we(t):Ee(t)}var Ie=Object.prototype.hasOwnProperty,Se=Qn((function(t,n){if(ne(n)||Yn(n))Kn(n,ke(n),t);else for(var e in n)Ie.call(n,e)&&$n(t,e,n[e])})),Me=Object.prototype.hasOwnProperty;function We(t){return Yn(t)?we(t,!0):function(t){if(!z(t))return function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}(t);var n=ne(t),e=[];for(var r in t)("constructor"!=r||!n&&Me.call(t,r))&&e.push(r);return e}(t)}var Ce=Qn((function(t,n){Kn(n,We(n),t)})),Re=Qn((function(t,n,e,r){Kn(n,We(n),t,r)})),Be=Qn((function(t,n,e,r){Kn(n,ke(n),t,r)})),ze=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/;function Pe(t,n){if(O(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!m(t))||De.test(t)||!ze.test(t)||null!=n&&t in Object(n)}var Le=lt(Object,"create"),Te=Object.prototype.hasOwnProperty,Ue=Object.prototype.hasOwnProperty;function Ne(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Fe(t,n){for(var e=t.length;e--;)if(Fn(t[e][0],n))return e;return-1}Ne.prototype.clear=function(){this.__data__=Le?Le(null):{},this.size=0},Ne.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ne.prototype.get=function(t){var n=this.__data__;if(Le){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return Te.call(n,t)?n[t]:void 0},Ne.prototype.has=function(t){var n=this.__data__;return Le?void 0!==n[t]:Ue.call(n,t)},Ne.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Le&&void 0===n?"__lodash_hash_undefined__":n,this};var qe=Array.prototype.splice;function $e(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}$e.prototype.clear=function(){this.__data__=[],this.size=0},$e.prototype.delete=function(t){var n=this.__data__,e=Fe(n,t);return!(e<0||(e==n.length-1?n.pop():qe.call(n,e,1),--this.size,0))},$e.prototype.get=function(t){var n=this.__data__,e=Fe(n,t);return e<0?void 0:n[e][1]},$e.prototype.has=function(t){return Fe(this.__data__,t)>-1},$e.prototype.set=function(t,n){var e=this.__data__,r=Fe(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this};var Ke=lt(a,"Map");function Ve(t,n){var e,r,o=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?o["string"==typeof n?"string":"hash"]:o.map}function Ze(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}Ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ne,map:new(Ke||$e),string:new Ne}},Ze.prototype.delete=function(t){var n=Ve(this,t).delete(t);return this.size-=n?1:0,n},Ze.prototype.get=function(t){return Ve(this,t).get(t)},Ze.prototype.has=function(t){return Ve(this,t).has(t)},Ze.prototype.set=function(t,n){var e=Ve(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this};function Ge(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return e.cache=i.set(o,u)||i,u};return e.cache=new(Ge.Cache||Ze),e}Ge.Cache=Ze;var He=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Je=/\\(\\)?/g,Ye=function(t){var n=Ge((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(He,(function(t,e,r,o){n.push(r?o.replace(Je,"$1"):e||t)})),n}),(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}();function Xe(t){return null==t?"":I(t)}function Qe(t,n){return O(t)?t:Pe(t,n)?[t]:Ye(Xe(t))}var tr=1/0;function nr(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-tr?"-0":n}function er(t,n){for(var e=0,r=(n=Qe(n,t)).length;null!=t&&e<r;)t=t[nr(n[e++])];return e&&e==r?t:void 0}function rr(t,n,e){var r=null==t?void 0:er(t,n);return void 0===r?e:r}function or(t,n){for(var e=-1,r=n.length,o=Array(r),i=null==t;++e<r;)o[e]=i?void 0:rr(t,n[e]);return o}function ir(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}var ur=c?c.isConcatSpreadable:void 0;function ar(t){return O(t)||ae(t)||!!(ur&&t&&t[ur])}function cr(t,n,e,r,o){var i=-1,u=t.length;for(e||(e=ar),o||(o=[]);++i<u;){var a=t[i];n>0&&e(a)?n>1?cr(a,n-1,e,r,o):ir(o,a):r||(o[o.length]=a)}return o}function fr(t){return null!=t&&t.length?cr(t,1):[]}function lr(t){return Vt(Zn(t,void 0,fr),t+"")}var sr=lr(or),pr=xe(Object.getPrototypeOf,Object),hr="[object Object]",vr=Function.prototype,dr=Object.prototype,gr=vr.toString,yr=dr.hasOwnProperty,_r=gr.call(Object);function br(t){if(!_(t)||y(t)!=hr)return!1;var n=pr(t);if(null===n)return!0;var e=yr.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&gr.call(e)==_r}function mr(t){if(!_(t))return!1;var n=y(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!br(t)}var jr=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return mr(t)?t:new Error(t)}}));function wr(t,n){var e;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=void 0),e}}var xr=Gn((function(t,n,e){var r=1;if(e.length){var o=vn(e,cn(xr));r|=32}return Tn(t,r,n,e,o)}));xr.placeholder={};var Or=lr((function(t,n){return Zt(n,(function(n){n=nr(n),Nn(t,n,xr(t[n],t))})),t})),Ar=Gn((function(t,n,e){var r=3;if(e.length){var o=vn(e,cn(Ar));r|=32}return Tn(n,r,t,e,o)}));function Er(t,n,e){var r=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+n];return i}function kr(t,n,e){var r=t.length;return e=void 0===e?r:e,!n&&e>=r?t:Er(t,n,e)}Ar.placeholder={};var Ir=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Sr(t){return Ir.test(t)}var Mr="\\ud800-\\udfff",Wr="["+Mr+"]",Cr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Rr="\\ud83c[\\udffb-\\udfff]",Br="[^"+Mr+"]",zr="(?:\\ud83c[\\udde6-\\uddff]){2}",Dr="[\\ud800-\\udbff][\\udc00-\\udfff]",Pr="(?:"+Cr+"|"+Rr+")?",Lr="[\\ufe0e\\ufe0f]?",Tr=Lr+Pr+"(?:\\u200d(?:"+[Br,zr,Dr].join("|")+")"+Lr+Pr+")*",Ur="(?:"+[Br+Cr+"?",Cr,zr,Dr,Wr].join("|")+")",Nr=RegExp(Rr+"(?="+Rr+")|"+Ur+Tr,"g");function Fr(t){return Sr(t)?function(t){return t.match(Nr)||[]}(t):function(t){return t.split("")}(t)}function qr(t){return function(n){var e=Sr(n=Xe(n))?Fr(n):void 0,r=e?e[0]:n.charAt(0),o=e?kr(e,1).join(""):n.slice(1);return r[t]()+o}}var $r=qr("toUpperCase");function Kr(t){return $r(Xe(t).toLowerCase())}function Vr(t,n,e,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(e=t[++o]);++o<i;)e=n(e,t[o],o,t);return e}function Zr(t){return function(n){return null==t?void 0:t[n]}}var Gr=Zr({"\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"}),Hr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Yr(t){return(t=Xe(t))&&t.replace(Hr,Gr).replace(Jr,"")}var Xr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",eo="a-z\\xdf-\\xf6\\xf8-\\xff",ro="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+eo+"]",fo="[^"+to+oo+uo+no+eo+ro+"]",lo="(?:\\ud83c[\\udde6-\\uddff]){2}",so="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+ro+"]",ho="(?:"+co+"|"+fo+")",vo="(?:"+po+"|"+fo+")",go="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",lo,so].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,lo,so].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+go+"(?="+[io,po,"$"].join("|")+")",vo+"+"+yo+"(?="+[io,po+ho,"$"].join("|")+")",po+"?"+ho+"+"+go,po+"+"+yo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,e){return t=Xe(t),void 0===(n=e?void 0:n)?function(t){return Qr.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Xr)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Vr(xo(Yr(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,e){return n=n.toLowerCase(),t+(e?Kr(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,e){if(t=N(t),(e=null==e?0:Io(K(e),292))&&ko(t)){var r=(Xe(t)+"e").split("e");return+((r=(Xe(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var Mo=So("ceil");function Wo(t){var n=zt(t);return n.__chain__=!0,n}var Co=Math.ceil,Ro=Math.max;function Bo(t,n,e){return t==t&&(void 0!==e&&(t=t<=e?t:e),void 0!==n&&(t=t>=n?t:n)),t}function zo(t){var n=this.__data__=new $e(t);this.size=n.size}function Do(t,n){return t&&Kn(n,ke(n),t)}zo.prototype.clear=function(){this.__data__=new $e,this.size=0},zo.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},zo.prototype.get=function(t){return this.__data__.get(t)},zo.prototype.has=function(t){return this.__data__.has(t)},zo.prototype.set=function(t,n){var e=this.__data__;if(e instanceof $e){var r=e.__data__;if(!Ke||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ze(r)}return e.set(t,n),this.size=e.size,this};var Po="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lo=Po&&"object"==typeof module&&module&&!module.nodeType&&module,To=Lo&&Lo.exports===Po?a.Buffer:void 0,Uo=To?To.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var e=t.length,r=Uo?Uo(e):new t.constructor(e);return t.copy(r),r}function Fo(t,n){for(var e=-1,r=null==t?0:t.length,o=0,i=[];++e<r;){var u=t[e];n(u,e,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ir(n,Vo(t)),t=pr(t);return n}:qo;function Go(t,n,e){var r=n(t);return O(t)?r:ir(r,e(t))}function Ho(t){return Go(t,ke,Vo)}function Jo(t){return Go(t,We,Zo)}var Yo=lt(a,"DataView"),Xo=lt(a,"Promise"),Qo=lt(a,"Set"),ti="[object Map]",ni="[object Promise]",ei="[object Set]",ri="[object WeakMap]",oi="[object DataView]",ii=et(Yo),ui=et(Ke),ai=et(Xo),ci=et(Qo),fi=et(st),li=y;(Yo&&li(new Yo(new ArrayBuffer(1)))!=oi||Ke&&li(new Ke)!=ti||Xo&&li(Xo.resolve())!=ni||Qo&&li(new Qo)!=ei||st&&li(new st)!=ri)&&(li=function(t){var n=y(t),e="[object Object]"==n?t.constructor:void 0,r=e?et(e):"";if(r)switch(r){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ei;case fi:return ri}return n});var si=li,pi=Object.prototype.hasOwnProperty,hi=a.Uint8Array;function vi(t){var n=new t.constructor(t.byteLength);return new hi(n).set(new hi(t)),n}var di=/\w*$/,gi=c?c.prototype:void 0,yi=gi?gi.valueOf:void 0;function _i(t,n){var e=n?vi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Mi="[object Float64Array]",Wi="[object Int8Array]",Ci="[object Int16Array]",Ri="[object Int32Array]",Bi="[object Uint8Array]",zi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Pi="[object Uint32Array]";function Li(t){return"function"!=typeof t.constructor||ne(t)?{}:dt(pr(t))}var Ti=_e&&_e.isMap,Ui=Ti?ve(Ti):function(t){return _(t)&&"[object Map]"==si(t)},Ni=_e&&_e.isSet,Fi=Ni?ve(Ni):function(t){return _(t)&&"[object Set]"==si(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,e,r,o,i){var u,a=1&n,c=2&n,f=4&n;if(e&&(u=o?e(t,r,o,i):e(t)),void 0!==u)return u;if(!z(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return Ct(t,u)}else{var s=si(t),p=s==$i||"[object GeneratorFunction]"==s;if(pe(t))return No(t,a);if(s==Ki||s==qi||p&&!o){if(u=c||p?{}:Li(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,We(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Do(u,t))}else{if(!Vi[s])return o?t:{};u=function(t,n,e){var r,o=t.constructor;switch(n){case ki:return vi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var e=n?vi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case Si:case Mi:case Wi:case Ci:case Ri:case Bi:case zi:case Di:case Pi:return _i(t,e);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return r=t,yi?Object(yi.call(r)):{}}}(t,s,a)}}i||(i=new zo);var h=i.get(t);if(h)return h;i.set(t,u),Fi(t)?t.forEach((function(r){u.add(Zi(r,n,e,r,t,i))})):Ui(t)&&t.forEach((function(r,o){u.set(o,Zi(r,n,e,o,t,i))}));var v=l?void 0:(f?c?Jo:Ho:c?We:ke)(t);return Zt(v||t,(function(r,o){v&&(r=t[o=r]),$n(u,o,Zi(r,n,e,o,t,i))})),u}function Gi(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new Ze;++n<e;)this.add(t[n])}function Hi(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}function Ji(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Xi=2;function Qi(t,n,e,r,o,i){var u=e&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),l=i.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=e&Xi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++s<a;){var v=t[s],d=n[s];if(r)var g=u?r(d,v,s,n,t,i):r(v,d,s,t,n,i);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!Hi(n,(function(t,n){if(!Ji(h,n)&&(v===t||o(v,t,e,r,i)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!o(v,d,e,r,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function nu(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var eu=1,ru=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,gu=du?du.valueOf:void 0,yu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,e,r,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,e,r,o,i){var u=O(t),a=O(n),c=u?ju:si(t),f=a?ju:si(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pe(t)){if(!pe(n))return!1;u=!0,l=!1}if(p&&!l)return i||(i=new zo),u||me(t)?Qi(t,n,e,r,o,i):function(t,n,e,r,o,i,u){switch(e){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!i(new hi(t),new hi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=r&eu;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;r|=ru,u.set(t,n);var l=Qi(a(t),a(n),r,o,i,u);return u.delete(t),l;case pu:if(gu)return gu.call(t)==gu.call(n)}return!1}(t,n,c,e,r,o,i);if(!(e&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,g=v?n.value():n;return i||(i=new zo),o(d,g,e,r,i)}}return!!p&&(i||(i=new zo),function(t,n,e,r,o,i){var u=e&yu,a=Ho(t),c=a.length;if(c!=Ho(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=i.get(t),p=i.get(n);if(s&&p)return s==n&&p==t;var h=!0;i.set(t,n),i.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],g=n[l];if(r)var y=u?r(g,d,l,n,t,i):r(d,g,l,t,n,i);if(!(void 0===y?d===g||o(d,g,e,r,i):y)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(t),i.delete(n),h}(t,n,e,r,o,i))}(t,n,e,r,Ou,o))}var Au=1,Eu=2;function ku(t,n,e,r){var o=e.length,i=o,u=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=e[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=e[o])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zo;if(r)var p=r(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,r,s):p))return!1}}return!0}function Iu(t){return t==t&&!z(t)}function Su(t){for(var n=ke(t),e=n.length;e--;){var r=n[e],o=t[r];n[e]=[r,o,Iu(o)]}return n}function Mu(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}function Wu(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(e){return e===t||ku(e,t,n)}}function Cu(t,n){return null!=t&&n in Object(t)}function Ru(t,n,e){for(var r=-1,o=(n=Qe(n,t)).length,i=!1;++r<o;){var u=nr(n[r]);if(!(i=null!=t&&e(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Jn(o)&&sn(u,o)&&(O(t)||ae(t))}function Bu(t,n){return null!=t&&Ru(t,n,Cu)}var zu=1,Du=2;function Pu(t,n){return Pe(t)&&Iu(n)?Mu(nr(t),n):function(e){var r=rr(e,t);return void 0===r&&r===n?Bu(e,t):Ou(n,r,zu|Du)}}function Lu(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Pe(t)?Lu(nr(t)):function(t){return function(n){return er(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Pu(t[0],t[1]):Wu(t):Tu(t)}function Nu(t,n,e){var r=e.length;if(null==t)return!r;for(t=Object(t);r--;){var o=e[r],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(r,u,e(u),t)}return r}function qu(t){return function(n,e,r){for(var o=-1,i=Object(n),u=r(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===e(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,ke)}function Vu(t,n){return function(e,r){if(null==e)return e;if(!Yn(e))return t(e,r);for(var o=e.length,i=n?o:-1,u=Object(e);(n?i--:++i<o)&&!1!==r(u[i],i,u););return e}}var Zu=Vu(Ku);function Gu(t,n,e,r){return Zu(t,(function(t,o,i){n(r,t,e(t),i)})),r}function Hu(t,n){return function(e,r){var o=O(e)?Fu:Gu,i=n?n():{};return o(e,t,Uu(r),i)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,e){Ju.call(t,e)?++t[e]:Nn(t,e,1)}));function Xu(t,n,e){var r=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=e?void 0:n);return r.placeholder=Xu.placeholder,r}function Qu(t,n,e){var r=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=e?void 0:n);return r.placeholder=Qu.placeholder,r}Xu.placeholder={},Qu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ea=Math.min;function ra(t,n,e){var r,o,i,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var e=r,i=o;return r=o=void 0,f=n,u=t.apply(i,e)}function v(t){var e=t-c;return void 0===c||e>=n||e<0||s&&t-f>=i}function d(){var t=ta();if(v(t))return g(t);a=setTimeout(d,function(t){var e=n-(t-c);return s?ea(e,i-(t-f)):e}(t))}function g(t){return a=void 0,p&&r?h(t):(r=o=void 0,u)}function y(){var t=ta(),e=v(t);if(r=arguments,o=this,c=t,e){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,z(e)&&(l=!!e.leading,i=(s="maxWait"in e)?na(N(e.maxWait)||0,n):i,p="trailing"in e?!!e.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),f=0,r=c=o=a=void 0},y.flush=function(){return void 0===a?u:g(ta())},y}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var e=-1,r=n.length,o=r>2?n[2]:void 0;for(o&&Xn(n[0],n[1],o)&&(r=1);++e<r;)for(var i=n[e],u=We(i),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,e){(void 0!==e&&!Fn(t[n],e)||void 0===e&&!(n in t))&&Nn(t,n,e)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,We(t))}function sa(t,n,e,r,o){t!==n&&$u(n,(function(i,u){if(o||(o=new zo),z(i))!function(t,n,e,r,o,i,u){var a=fa(t,e),c=fa(n,e),f=u.get(c);if(f)aa(t,e,f);else{var l=i?i(a,c,e+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pe(c),v=!p&&!h&&me(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Ct(a):h?(s=!1,l=No(c,!0)):v?(s=!1,l=_i(c,!0)):l=[]:br(c)||ae(c)?(l=a,ae(a)?l=la(a):z(a)&&!Y(a)||(l=Li(c))):s=!1}s&&(u.set(c,l),o(l,c,r,i,u),u.delete(c)),aa(t,e,l)}}(t,n,u,e,sa,r,o);else{var a=r?r(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),We)}function pa(t,n,e,r,o,i){return z(t)&&z(n)&&(i.set(n,t),sa(t,n,void 0,pa,i),i.delete(n)),t}var ha=Qn((function(t,n,e,r){sa(t,n,e,r)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,e){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,e)}),n)}var ga=Gn((function(t,n){return da(t,1,n)})),ya=Gn((function(t,n,e){return da(t,N(n)||0,e)}));function _a(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}var ba=200;function ma(t,n,e,r){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;e&&(n=x(n,ve(e))),r?(i=_a,u=!1):n.length>=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o<a;){var l=t[o],s=null==e?l:e(l);if(l=r||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else i(n,s,r)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,cr(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var e=wa(n);return ca(e)&&(e=void 0),ca(t)?ma(t,cr(n,1,ca,!0),Uu(e)):[]})),Oa=Gn((function(t,n){var e=wa(n);return ca(e)&&(e=void 0),ca(t)?ma(t,cr(n,1,ca,!0),void 0,e):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,e,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&n(t[i],i,t););return e?Er(t,r?0:i,r?i+1:o):Er(t,r?i+1:0,r?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}var Ma=qu(!0);function Wa(t,n){return t&&Ma(t,n,ke)}var Ca=Vu(Wa,!0);function Ra(t,n){return(O(t)?Sa:Ca)(t,ka(n))}function Ba(t){return function(n){var e=si(n);return"[object Map]"==e?tu(n):"[object Set]"==e?function(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var za=Ba(ke),Da=Ba(We),Pa=Zr({"&":"&","<":"<",">":">",'"':""","'":"'"}),La=/[&<>"']/g,Ta=RegExp(La.source);function Ua(t){return(t=Xe(t))&&Ta.test(t)?t.replace(La,Pa):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function $a(t,n){var e=!0;return Zu(t,(function(t,r,o){return e=!!n(t,r,o)})),e}function Ka(t){return t?Bo(K(t),0,4294967295):0}function Va(t,n){var e=[];return Zu(t,(function(t,r,o){n(t,r,o)&&e.push(t)})),e}function Za(t){return function(n,e,r){var o=Object(n);if(!Yn(n)){var i=Uu(e);n=ke(n),e=function(t){return i(o[t],t,o)}}var u=t(n,e,r);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=null==e?0:K(e);return o<0&&(o=Ga(r+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,e){var r;return e(t,(function(t,e,o){if(n(t,e,o))return r=e,!1})),r}var Xa=Math.max,Qa=Math.min;function tc(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return void 0!==e&&(o=K(e),o=e<0?Xa(r+o,0):Qa(o,r-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function ec(t){return t&&t.length?t[0]:void 0}function rc(t,n){var e=-1,r=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){r[++e]=n(t,o,i)})),r}function oc(t,n){return(O(t)?x:rc)(t,Uu(n))}var ic=So("floor");function uc(t){return lr((function(n){var e=n.length,r=e,o=Wt.prototype.thru;for(t&&n.reverse();r--;){var i=n[r];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new Wt([],!0)}for(r=u?r:e;++r<e;){var a=Mt(i=n[r]),c="wrapper"==a?kt(i):void 0;u=c&&Dt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==i.length&&Dt(i)?u[a]():u.thru(i)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&O(r))return u.plant(r).value();for(var o=0,i=e?n[o].apply(this,t):r;++o<e;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,e){lc.call(t,e)?t[e].push(n):Nn(t,e,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=N(n),e=N(e)),t(n,e)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),gc=Object.prototype.hasOwnProperty;function yc(t,n){return null!=t&&gc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&y(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,ke(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,e){for(var r=e?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,ve(n))),c=Ec(l.length,c),a[u]=!e&&(n||o>=120&&l.length>=120)?new Gi(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<o&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=e||0!==h?h:0,!(p?Ji(p,v):r(f,v,e))){for(u=i;--u;){var d=a[u];if(!(d?Ji(d,v):r(t[u],v,e)))continue t}p&&p.push(v),f.push(h)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Mc=Gn((function(t){var n=wa(t),e=x(t,Ic);return n===wa(e)?n=void 0:e.pop(),e.length&&e[0]===t[0]?kc(e,Uu(n)):[]})),Wc=Gn((function(t){var n=wa(t),e=x(t,Ic);return(n="function"==typeof n?n:void 0)&&e.pop(),e.length&&e[0]===t[0]?kc(e,void 0,n):[]}));function Cc(t,n){return function(e,r){return function(t,n,e,r){return Ku(t,(function(t,o,i){n(r,e(t),o,i)})),r}(e,t,n(r),{})}}var Rc=Object.prototype.toString,Bc=Cc((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Rc.call(n)),t[n]=e}),qt(V)),zc=Object.prototype,Dc=zc.hasOwnProperty,Pc=zc.toString,Lc=Cc((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=Pc.call(n)),Dc.call(t,n)?t[n].push(e):t[n]=[e]}),Uu);function Tc(t,n){return n.length<2?t:er(t,Er(n,0,-1))}function Uc(t,n,e){var r=null==(t=Tc(t,n=Qe(n,t)))?t:t[nr(wa(n))];return null==r?void 0:_t(r,t,e)}var Nc=Gn(Uc),Fc=Gn((function(t,n,e){var r=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++r]=o?_t(n,t,e):Uc(t,n,e)})),i})),qc=_e&&_e.isArrayBuffer,$c=qc?ve(qc):function(t){return _(t)&&"[object ArrayBuffer]"==y(t)},Kc=_e&&_e.isDate,Vc=Kc?ve(Kc):function(t){return _(t)&&"[object Date]"==y(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==y(t)}var Yc=Q?Y:ce,Xc=_e&&_e.isRegExp,Qc=Xc?ve(Xc):function(t){return _(t)&&"[object RegExp]"==y(t)},tf=Array.prototype.join,nf=Ao((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),ef=Hu((function(t,n,e){Nn(t,e,n)})),rf=Math.max,of=Math.min,uf=Ao((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),af=qr("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,e){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):e(u,a)))var a=u,c=i}return c}function pf(t,n){for(var e,r=-1,o=t.length;++r<o;){var i=n(t[r]);void 0!==i&&(e=void 0===e?i:e+i)}return e}function hf(t,n){var e=null==t?0:t.length;return e?pf(t,n)/e:NaN}var vf=Qn((function(t,n,e){sa(t,n,e)})),df=Gn((function(t,n){return function(e){return Uc(e,t,n)}})),gf=Gn((function(t,n){return function(e){return Uc(t,e,n)}}));function yf(t,n,e){var r=ke(n),o=fc(n,r),i=!(z(e)&&"chain"in e&&!e.chain),u=Y(t);return Zt(o,(function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(i||n){var e=t(this.__wrapped__);return(e.__actions__=Ct(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,ir([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fr(t):Ct(t);if(mf&&t[mf])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[mf]());var n=si(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var e=t.length;if(e)return sn(n+=n<0?e:0,e)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Qe(n,t)))||delete t[nr(wa(n))]}function Of(t){return br(t)?void 0:t}var Af=lr((function(t,n){var e={};if(null==t)return e;var r=!1;n=x(n,(function(n){return n=Qe(n,t),r||(r=n.length>1),n})),Kn(t,Jo(t),e),r&&(e=Zi(e,7,Of));for(var o=n.length;o--;)xf(e,n[o]);return e}));function Ef(t,n,e,r){if(!z(t))return t;for(var o=-1,i=(n=Qe(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=nr(n[o]),f=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var l=a[c];void 0===(f=r?r(l,c,a):void 0)&&(f=z(l)?l:sn(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,e){for(var r=-1,o=n.length,i={};++r<o;){var u=n[r],a=er(t,u);e(a,u)&&Ef(i,Qe(u,t),a)}return i}function If(t,n){if(null==t)return{};var e=x(Jo(t),(function(t){return[t]}));return n=Uu(n),kf(t,e,(function(t,e){return n(t,e[0])}))}function Sf(t,n){if(t!==n){var e=void 0!==t,r=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||r&&u&&c||!e&&c||!o)return 1;if(!r&&!i&&!f&&t<n||f&&e&&o&&!r&&!i||a&&e&&o||!u&&o||!c)return-1}return 0}function Mf(t,n,e){n=n.length?x(n,(function(t){return O(t)?function(n){return er(n,1===t.length?t[0]:t)}:t})):[V];var r=-1;n=x(n,ve(Uu));var o=rc(t,(function(t,e,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++r,value:t}}));return function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}(o,(function(t,n){return function(t,n,e){for(var r=-1,o=t.criteria,i=n.criteria,u=o.length,a=e.length;++r<u;){var c=Sf(o[r],i[r]);if(c)return r>=a?c:c*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}))}function Wf(t){return lr((function(n){return n=x(n,ve(Uu)),Gn((function(e){var r=this;return t(n,(function(t){return _t(t,r,e)}))}))}))}var Cf=Wf(x),Rf=Gn,Bf=Math.min,zf=Rf((function(t,n){var e=(n=1==n.length&&O(n[0])?x(n[0],ve(Uu)):x(cr(n,1),ve(Uu))).length;return Gn((function(r){for(var o=-1,i=Bf(r.length,e);++o<i;)r[o]=n[o].call(this,r[o]);return _t(t,this,r)}))})),Df=Wf(qa),Pf=Wf(Hi),Lf=9007199254740991,Tf=Math.floor;function Uf(t,n){var e="";if(!t||n<1||n>Lf)return e;do{n%2&&(e+=t),(n=Tf(n/2))&&(t+=t)}while(n);return e}var Nf=Lu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Xf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Qf=RegExp(Kf+"(?="+Kf+")|"+Xf+Yf,"g");function tl(t){return Sr(t)?function(t){for(var n=Qf.lastIndex=0;Qf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function el(t,n){var e=(n=void 0===n?" ":I(n)).length;if(e<2)return e?Uf(n,t):n;var r=Uf(n,nl(t/tl(n)));return Sr(n)?kr(Fr(r),0,t).join(""):r.slice(0,t)}var rl=Math.ceil,ol=Math.floor,il=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),ll=lr((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,e){return Bu(t,e)}))}(t,n)}));function sl(t,n,e,r){for(var o=e-1,i=t.length;++o<i;)if(r(t[o],n))return o;return-1}var pl=Array.prototype.splice;function hl(t,n,e,r){var o=r?sl:Jt,i=-1,u=n.length,a=t;for(t===n&&(n=Ct(n)),e&&(a=x(t,ve(e)));++i<u;)for(var c=0,f=n[i],l=e?e(f):f;(c=o(a,l,c,r))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),gl=Array.prototype.splice;function yl(t,n){for(var e=t?n.length:0,r=e-1;e--;){var o=n[e];if(e==r||o!==i){var i=o;sn(o)?gl.call(t,o,1):xf(t,o)}}return t}var _l=lr((function(t,n){var e=null==t?0:t.length,r=or(t,n);return yl(t,x(n,(function(t){return sn(t,e)?+t:t})).sort(Sf)),r})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function kl(t){return function(n,e,r){return r&&"number"!=typeof r&&Xn(n,e,r)&&(e=r=void 0),n=$(n),void 0===e?(e=n,n=0):e=$(e),function(t,n,e,r){for(var o=-1,i=El(Al((n-t)/(e||1)),0),u=Array(i);i--;)u[r?i:++o]=t,t+=e;return u}(n,e,r=void 0===r?n<e?1:-1:$(r),t)}}var Il=kl(),Sl=kl(!0),Ml=lr((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Wl(t,n,e,r,o){return o(t,(function(t,o,i){e=r?(r=!1,t):n(e,t,o,i)})),e}function Cl(t,n,e,r){var o=null==t?0:t.length;for(r&&o&&(e=t[--o]);o--;)e=n(e,t[o],o,t);return e}var Rl=Array.prototype.reverse;function Bl(t){return null==t?t:Rl.call(t)}var zl=So("round");function Dl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Pl(t){return Dl(xc(t))}function Ll(t,n){var e=-1,r=t.length,o=r-1;for(n=void 0===n?r:n;++e<n;){var i=jl(e,o),u=t[i];t[i]=t[e],t[e]=u}return t.length=n,t}function Tl(t,n){return Ll(Ct(t),Bo(n,0,t.length))}function Ul(t,n){var e=xc(t);return Ll(e,Bo(n,0,e.length))}function Nl(t){return Ll(Ct(t))}function Fl(t){return Ll(xc(t))}var ql=Ao((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}));function $l(t,n){var e;return Zu(t,(function(t,r,o){return!(e=n(t,r,o))})),!!e}var Kl=Gn((function(t,n){if(null==t)return[];var e=n.length;return e>1&&Xn(t,n[0],n[1])?n=[]:e>2&&Xn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,cr(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,e,r){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=e(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var l=Zl((o+i)/2),s=e(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var g=r||v;else g=f?v&&(r||p):a?v&&p&&(r||!h):c?v&&p&&!h&&(r||!d):!h&&!d&&(r?s<=n:s<n);g?o=l+1:i=l}return Gl(i,Vl)}function Jl(t,n,e){var r=0,o=null==t?r:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!m(u)&&(e?u<=n:u<n)?r=i+1:o=i}return o}return Hl(t,n,V,e)}function Yl(t,n){for(var e=-1,r=t.length,o=0,i=[];++e<r;){var u=t[e],a=n?n(u):u;if(!e||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Xl=Math.max,Ql=Ao((function(t,n,e){return t+(e?" ":"")+$r(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,es=ns.hasOwnProperty;function rs(t,n,e,r){return void 0===t||Fn(t,ns[e])&&!es.call(r,e)?n:t}var os={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function is(t){return"\\"+os[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function gs(t,n){return n(t)}var ys=4294967295,_s=Math.min;function bs(t,n){var e=t;return e instanceof At&&(e=e.value()),Vr(n,(function(t,n){return n.func.apply(n.thisArg,ir([t],n.args))}),e)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var e=t.length;e--&&Jt(n,t[e],0)>-1;);return e}function ws(t,n){for(var e=-1,r=t.length;++e<r&&Jt(n,t[e],0)>-1;);return e}var xs=/^\s+/,Os=/\w*$/,As=Zr({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,ks=RegExp(Es.source),Is=Qo&&1/nu(new Qo([,-0]))[1]==1/0?function(t){return new Qo(t)}:Et,Ss=200;function Ms(t,n,e){var r=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(e)u=!1,o=_a;else if(i>=Ss){var f=n?null:Is(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++r<i;){var l=t[r],s=n?n(l):l;if(l=e||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else o(c,s,e)||(c!==a&&c.push(s),a.push(l))}return a}var Ws=Gn((function(t){return Ms(cr(t,1,ca,!0))})),Cs=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ms(cr(t,1,ca,!0),Uu(n))})),Rs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ms(cr(t,1,ca,!0),void 0,n)})),Bs=0,zs=Math.max;function Ds(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=zs(t.length,n),!0})),ee(n,(function(n){return x(t,Lu(n))}))}function Ps(t,n){if(!t||!t.length)return[];var e=Ds(t);return null==n?e:x(e,(function(t){return _t(n,void 0,t)}))}function Ls(t,n,e,r){return Ef(t,n,e(er(t,n)),r)}var Ts=Ao((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=lr((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return or(n,t)};return!(n>1||this.__actions__.length)&&r instanceof At&&sn(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:gs,args:[o],thisArg:void 0}),new Wt(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fs(t,n,e){var r=t.length;if(r<2)return r?Ms(t[0]):[];for(var o=-1,i=Array(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,e));return Ms(cr(i,1),n,e)}var qs=Gn((function(t){return Fs(Fo(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Fo(t,ca),Uu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Fo(t,ca),void 0,n)})),Vs=Gn(Ds);function Zs(t,n,e){for(var r=-1,o=t.length,i=n.length,u={};++r<o;){var a=r<i?n[r]:void 0;e(u,t[r],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,e=n>1?t[n-1]:void 0;return e="function"==typeof e?(t.pop(),e):void 0,Ps(t,e)})),Ys={chunk:function(t,n,e){n=(e?Xn(t,n,e):void 0===n)?1:Ro(K(n),0);var r=null==t?0:t.length;if(!r||n<1)return[];for(var o=0,i=0,u=Array(Co(r/n));o<r;)u[i++]=Er(t,o,o+=n);return u},compact:function(t){for(var n=-1,e=null==t?0:t.length,r=0,o=[];++n<e;){var i=t[n];i&&(o[r++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),e=arguments[0],r=t;r--;)n[r-1]=arguments[r];return ir(O(e)?Ct(e):[e],cr(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,(n=e||void 0===n?1:K(n))<0?0:n,r):[]},dropRight:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,0,(n=r-(n=e||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,e,r){var o=null==t?0:t.length;return o?(e&&"number"!=typeof e&&Xn(t,n,e)&&(e=0,r=o),function(t,n,e,r){var o=t.length;for((e=K(e))<0&&(e=-e>o?0:o+e),(r=void 0===r||r>o?o:K(r))<0&&(r+=o),r=e>r?0:Ka(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},findIndex:Ha,findLastIndex:tc,first:ec,flatten:fr,flattenDeep:function(t){return null!=t&&t.length?cr(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?cr(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var o=t[n];r[o[0]]=o[1]}return r},head:ec,indexOf:function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=null==e?0:K(e);return o<0&&(o=Ac(r+o,0)),Jt(t,n,o)},initial:function(t){return null!=t&&t.length?Er(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Wc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==e&&(o=(o=K(e))<0?rf(r+o,0):of(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):Gt(t,Ht,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,e){return t&&t.length&&n&&n.length?hl(t,n,Uu(e)):t},pullAllWith:function(t,n,e){return t&&t.length&&n&&n.length?hl(t,n,void 0,e):t},pullAt:_l,remove:function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,o=[],i=t.length;for(n=Uu(n);++r<i;){var u=t[r];n(u,r,t)&&(e.push(u),o.push(r))}return yl(t,o),e},reverse:Bl,slice:function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&Xn(t,n,e)?(n=0,e=r):(n=null==n?0:K(n),e=void 0===e?r:K(e)),Er(t,n,e)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,e){return Hl(t,n,Uu(e))},sortedIndexOf:function(t,n){var e=null==t?0:t.length;if(e){var r=Jl(t,n);if(r<e&&Fn(t[r],n))return r}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,e){return Hl(t,n,Uu(e),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var e=Jl(t,n,!0)-1;if(Fn(t[e],n))return e}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Er(t,1,n):[]},take:function(t,n,e){return t&&t.length?Er(t,0,(n=e||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,e){var r=null==t?0:t.length;return r?Er(t,(n=r-(n=e||void 0===n?1:K(n)))<0?0:n,r):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Ws,unionBy:Cs,unionWith:Rs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ds,unzipWith:Ps,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Js},Xs={countBy:Yu,each:Ia,eachRight:Ra,every:function(t,n,e){var r=O(t)?qa:$a;return e&&Xn(t,n,e)&&(n=void 0),r(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return cr(oc(t,n),1)},flatMapDeep:function(t,n){return cr(oc(t,n),1/0)},flatMapDepth:function(t,n,e){return e=void 0===e?1:K(e),cr(oc(t,n),e)},forEach:Ia,forEachRight:Ra,groupBy:sc,includes:function(t,n,e,r){t=Yn(t)?t:xc(t),e=e&&!r?K(e):0;var o=t.length;return e<0&&(e=Oc(o+e,0)),jc(t)?e<=o&&t.indexOf(n,e)>-1:!!o&&Jt(t,n,e)>-1},invokeMap:Fc,keyBy:ef,map:oc,orderBy:function(t,n,e,r){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(e=r?void 0:e)||(e=null==e?[]:[e]),Mf(t,n,e))},partition:fl,reduce:function(t,n,e){var r=O(t)?Vr:Wl,o=arguments.length<3;return r(t,Uu(n),e,o,Zu)},reduceRight:function(t,n,e){var r=O(t)?Cl:Wl,o=arguments.length<3;return r(t,Uu(n),e,o,Ca)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Dl:Pl)(t)},sampleSize:function(t,n,e){return n=(e?Xn(t,n,e):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=si(t);return"[object Map]"==n||"[object Set]"==n?t.size:Ee(t).length},some:function(t,n,e){var r=O(t)?Hi:$l;return e&&Xn(t,n,e)&&(n=void 0),r(t,Uu(n))},sortBy:Kl},Qs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:wr,bind:xr,bindKey:Ar,curry:Xu,curryRight:Qu,debounce:ra,defer:ga,delay:ya,flip:function(t){return Tn(t,512)},memoize:Ge,negate:bf,once:function(t){return wr(2,t)},overArgs:zf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Xl(K(n),0),Gn((function(e){var r=e[n],o=kr(e,0,n);return r&&ir(o,r),_t(t,this,o)}))},throttle:function(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return z(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),ra(t,n,{leading:r,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,ke(n))},eq:Fn,gt:vc,gte:dc,isArguments:ae,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==y(t)},isBuffer:pe,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!br(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pe(t)||me(t)||ae(t)))return!t.length;var n=si(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(ne(t))return!Ee(t).length;for(var e in t)if(Zc.call(t,e))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,e){var r=(e="function"==typeof e?e:void 0)?e(t,n):void 0;return void 0===r?Ou(t,n,void 0,e):!!r},isError:mr,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,e){return e="function"==typeof e?e:void 0,ku(t,n,Su(n),e)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:z,isObjectLike:_,isPlainObject:br,isRegExp:Qc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:me,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==si(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==y(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Xe},ep={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:zl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},rp={assign:Se,assignIn:Ce,assignInWith:Re,assignWith:Be,at:sr,create:function(t,n){var e=dt(t);return null==n?e:Do(e,n)},defaults:ua,defaultsDeep:va,entries:za,entriesIn:Da,extend:Ce,extendWith:Re,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Wa)},forIn:function(t,n){return null==t?t:$u(t,ka(n),We)},forInRight:function(t,n){return null==t?t:Ma(t,ka(n),We)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Wa(t,ka(n))},functions:function(t){return null==t?[]:fc(t,ke(t))},functionsIn:function(t){return null==t?[]:fc(t,We(t))},get:rr,has:function(t,n){return null!=t&&Ru(t,n,yc)},hasIn:Bu,invert:Bc,invertBy:Lc,invoke:Nc,keys:ke,keysIn:We,mapKeys:function(t,n){var e={};return n=Uu(n),Ku(t,(function(t,r,o){Nn(e,n(t,r,o),t)})),e},mapValues:function(t,n){var e={};return n=Uu(n),Ku(t,(function(t,r,o){Nn(e,r,n(t,r,o))})),e},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ll,pickBy:If,result:function(t,n,e){var r=-1,o=(n=Qe(n,t)).length;for(o||(o=1,t=void 0);++r<o;){var i=null==t?void 0:t[nr(n[r])];void 0===i&&(r=o,i=e),t=Y(i)?i.call(t):i}return t},set:function(t,n,e){return null==t?t:Ef(t,n,e)},setWith:function(t,n,e,r){return r="function"==typeof r?r:void 0,null==t?t:Ef(t,n,e,r)},toPairs:za,toPairsIn:Da,transform:function(t,n,e){var r=O(t),o=r||pe(t)||me(t);if(n=Uu(n),null==e){var i=t&&t.constructor;e=o?r?new i:[]:z(t)&&Y(i)?dt(pr(t)):{}}return(o?Zt:Ku)(t,(function(t,r,o){return n(e,t,r,o)})),e},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,e){return null==t?t:Ls(t,n,ka(e))},updateWith:function(t,n,e,r){return r="function"==typeof r?r:void 0,null==t?t:Ls(t,n,ka(e),r)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,We(t))}},op={at:Ns,chain:Wo,commit:function(){return new Wt(this.value(),this.__chain__)},lodash:zt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,e=this;e instanceof xt;){var r=Rt(e);r.__index__=0,r.__values__=void 0,n?o.__wrapped__=r:n=r;var o=r;e=e.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:gs,args:[Bl],thisArg:void 0}),new Wt(n,this.__chain__)}return this.thru(Bl)},tap:function(t,n){return n(t),t},thru:gs,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Wo(this)}},ip={camelCase:Eo,capitalize:Kr,deburr:Yr,endsWith:function(t,n,e){t=Xe(t),n=I(n);var r=t.length,o=e=void 0===e?r:Bo(K(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Xe(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;if(!n||r>=n)return t;var o=(n-r)/2;return el(ol(o),e)+t+el(rl(o),e)},padEnd:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;return n&&r<n?t+el(n-r,e):t},padStart:function(t,n,e){t=Xe(t);var r=(n=K(n))?tl(t):0;return n&&r<n?el(n-r,e)+t:t},parseInt:function(t,n,e){return e||null==n?n=0:n&&(n=+n),ul(Xe(t).replace(il,""),n||0)},repeat:function(t,n,e){return n=(e?Xn(t,n,e):void 0===n)?1:K(n),Uf(Xe(t),n)},replace:function(){var t=arguments,n=Xe(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,e){return e&&"number"!=typeof e&&Xn(t,n,e)&&(n=e=void 0),(e=void 0===e?4294967295:e>>>0)?(t=Xe(t))&&("string"==typeof n||null!=n&&!Qc(n))&&!(n=I(n))&&Sr(t)?kr(Fr(t),0,e):t.split(n,e):[]},startCase:Ql,startsWith:function(t,n,e){return t=Xe(t),e=null==e?0:Bo(K(e),0,t.length),n=I(n),t.slice(e,e+n.length)==n},template:function(t,n,e){var r=as.imports._.templateSettings||as;e&&Xn(t,n,e)&&(n=void 0),t=Xe(t),n=Re({},n,r,rs);var o,i,u=Re({},n.imports,r.imports,rs),a=ke(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,e,r,u,a,c){return r||(r=u),s+=t.slice(f,c).replace(vs,is),e&&(o=!0,s+="' +\n__e("+e+") +\n'"),a&&(i=!0,s+="';\n"+a+";\n__p += '"),r&&(s+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=jr((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,mr(d))throw d;return d},templateSettings:as,toLower:function(t){return Xe(t).toLowerCase()},toUpper:function(t){return Xe(t).toUpperCase()},trim:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return B(t);if(!t||!(n=I(n)))return t;var r=Fr(t),o=Fr(n);return kr(r,ws(r,o),js(r,o)+1).join("")},trimEnd:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return t.slice(0,C(t)+1);if(!t||!(n=I(n)))return t;var r=Fr(t);return kr(r,0,js(r,Fr(n))+1).join("")},trimStart:function(t,n,e){if((t=Xe(t))&&(e||void 0===n))return t.replace(xs,"");if(!t||!(n=I(n)))return t;var r=Fr(t);return kr(r,ws(r,Fr(n))).join("")},truncate:function(t,n){var e=30,r="...";if(z(n)){var o="separator"in n?n.separator:o;e="length"in n?K(n.length):e,r="omission"in n?I(n.omission):r}var i=(t=Xe(t)).length;if(Sr(t)){var u=Fr(t);i=u.length}if(e>=i)return t;var a=e-tl(r);if(a<1)return r;var c=u?kr(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+r;if(u&&(a+=c.length-a),Qc(o)){if(t.slice(a).search(o)){var f,l=c;for(o.global||(o=RegExp(o.source,Xe(Os.exec(o))+"g")),o.lastIndex=0;f=o.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},unescape:function(t){return(t=Xe(t))&&ks.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$r,words:xo},up={attempt:jr,bindAll:Or,cond:function(t){var n=null==t?0:t.length,e=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[e(t[0]),t[1]]})):[],Gn((function(e){for(var r=-1;++r<n;){var o=t[r];if(_t(o[0],this,e))return _t(o[1],this,e)}}))},conforms:function(t){return function(t){var n=ke(t);return function(e){return Nu(e,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Wu(Zi(t,1))},matchesProperty:function(t,n){return Pu(t,Zi(n,1))},method:df,methodOf:gf,mixin:yf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Cf,overEvery:Df,overSome:Pf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:er(t,n)}},range:Il,rangeRight:Sl,stubArray:qo,stubFalse:ce,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var e=ys,r=_s(t,ys);n=ka(n),t-=ys;for(var o=ee(r,n);++e<t;)n(e);return o},toPath:function(t){return O(t)?x(t,nr):m(t)?[t]:Ct(Ye(Xe(t)))},uniqueId:function(t){var n=++Bs;return Xe(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,gp=(Hs=yf,function(t,n,e){if(null==e){var r=z(n),o=r&&ke(n),i=o&&o.length&&fc(n,o);(i?i.length:r)||(e=n,n=t,t=this)}return Hs(t,n,e)});zt.after=tp.after,zt.ary=tp.ary,zt.assign=rp.assign,zt.assignIn=rp.assignIn,zt.assignInWith=rp.assignInWith,zt.assignWith=rp.assignWith,zt.at=rp.at,zt.before=tp.before,zt.bind=tp.bind,zt.bindAll=up.bindAll,zt.bindKey=tp.bindKey,zt.castArray=np.castArray,zt.chain=op.chain,zt.chunk=Ys.chunk,zt.compact=Ys.compact,zt.concat=Ys.concat,zt.cond=up.cond,zt.conforms=up.conforms,zt.constant=up.constant,zt.countBy=Xs.countBy,zt.create=rp.create,zt.curry=tp.curry,zt.curryRight=tp.curryRight,zt.debounce=tp.debounce,zt.defaults=rp.defaults,zt.defaultsDeep=rp.defaultsDeep,zt.defer=tp.defer,zt.delay=tp.delay,zt.difference=Ys.difference,zt.differenceBy=Ys.differenceBy,zt.differenceWith=Ys.differenceWith,zt.drop=Ys.drop,zt.dropRight=Ys.dropRight,zt.dropRightWhile=Ys.dropRightWhile,zt.dropWhile=Ys.dropWhile,zt.fill=Ys.fill,zt.filter=Xs.filter,zt.flatMap=Xs.flatMap,zt.flatMapDeep=Xs.flatMapDeep,zt.flatMapDepth=Xs.flatMapDepth,zt.flatten=Ys.flatten,zt.flattenDeep=Ys.flattenDeep,zt.flattenDepth=Ys.flattenDepth,zt.flip=tp.flip,zt.flow=up.flow,zt.flowRight=up.flowRight,zt.fromPairs=Ys.fromPairs,zt.functions=rp.functions,zt.functionsIn=rp.functionsIn,zt.groupBy=Xs.groupBy,zt.initial=Ys.initial,zt.intersection=Ys.intersection,zt.intersectionBy=Ys.intersectionBy,zt.intersectionWith=Ys.intersectionWith,zt.invert=rp.invert,zt.invertBy=rp.invertBy,zt.invokeMap=Xs.invokeMap,zt.iteratee=up.iteratee,zt.keyBy=Xs.keyBy,zt.keys=ke,zt.keysIn=rp.keysIn,zt.map=Xs.map,zt.mapKeys=rp.mapKeys,zt.mapValues=rp.mapValues,zt.matches=up.matches,zt.matchesProperty=up.matchesProperty,zt.memoize=tp.memoize,zt.merge=rp.merge,zt.mergeWith=rp.mergeWith,zt.method=up.method,zt.methodOf=up.methodOf,zt.mixin=gp,zt.negate=bf,zt.nthArg=up.nthArg,zt.omit=rp.omit,zt.omitBy=rp.omitBy,zt.once=tp.once,zt.orderBy=Xs.orderBy,zt.over=up.over,zt.overArgs=tp.overArgs,zt.overEvery=up.overEvery,zt.overSome=up.overSome,zt.partial=tp.partial,zt.partialRight=tp.partialRight,zt.partition=Xs.partition,zt.pick=rp.pick,zt.pickBy=rp.pickBy,zt.property=up.property,zt.propertyOf=up.propertyOf,zt.pull=Ys.pull,zt.pullAll=Ys.pullAll,zt.pullAllBy=Ys.pullAllBy,zt.pullAllWith=Ys.pullAllWith,zt.pullAt=Ys.pullAt,zt.range=up.range,zt.rangeRight=up.rangeRight,zt.rearg=tp.rearg,zt.reject=Xs.reject,zt.remove=Ys.remove,zt.rest=tp.rest,zt.reverse=Ys.reverse,zt.sampleSize=Xs.sampleSize,zt.set=rp.set,zt.setWith=rp.setWith,zt.shuffle=Xs.shuffle,zt.slice=Ys.slice,zt.sortBy=Xs.sortBy,zt.sortedUniq=Ys.sortedUniq,zt.sortedUniqBy=Ys.sortedUniqBy,zt.split=ip.split,zt.spread=tp.spread,zt.tail=Ys.tail,zt.take=Ys.take,zt.takeRight=Ys.takeRight,zt.takeRightWhile=Ys.takeRightWhile,zt.takeWhile=Ys.takeWhile,zt.tap=op.tap,zt.throttle=tp.throttle,zt.thru=gs,zt.toArray=np.toArray,zt.toPairs=rp.toPairs,zt.toPairsIn=rp.toPairsIn,zt.toPath=up.toPath,zt.toPlainObject=np.toPlainObject,zt.transform=rp.transform,zt.unary=tp.unary,zt.union=Ys.union,zt.unionBy=Ys.unionBy,zt.unionWith=Ys.unionWith,zt.uniq=Ys.uniq,zt.uniqBy=Ys.uniqBy,zt.uniqWith=Ys.uniqWith,zt.unset=rp.unset,zt.unzip=Ys.unzip,zt.unzipWith=Ys.unzipWith,zt.update=rp.update,zt.updateWith=rp.updateWith,zt.values=rp.values,zt.valuesIn=rp.valuesIn,zt.without=Ys.without,zt.words=ip.words,zt.wrap=tp.wrap,zt.xor=Ys.xor,zt.xorBy=Ys.xorBy,zt.xorWith=Ys.xorWith,zt.zip=Ys.zip,zt.zipObject=Ys.zipObject,zt.zipObjectDeep=Ys.zipObjectDeep,zt.zipWith=Ys.zipWith,zt.entries=rp.toPairs,zt.entriesIn=rp.toPairsIn,zt.extend=rp.assignIn,zt.extendWith=rp.assignInWith,gp(zt,zt),zt.add=ep.add,zt.attempt=up.attempt,zt.camelCase=ip.camelCase,zt.capitalize=ip.capitalize,zt.ceil=ep.ceil,zt.clamp=function(t,n,e){return void 0===e&&(e=n,n=void 0),void 0!==e&&(e=(e=N(e))==e?e:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bo(N(t),n,e)},zt.clone=np.clone,zt.cloneDeep=np.cloneDeep,zt.cloneDeepWith=np.cloneDeepWith,zt.cloneWith=np.cloneWith,zt.conformsTo=np.conformsTo,zt.deburr=ip.deburr,zt.defaultTo=up.defaultTo,zt.divide=ep.divide,zt.endsWith=ip.endsWith,zt.eq=np.eq,zt.escape=ip.escape,zt.escapeRegExp=ip.escapeRegExp,zt.every=Xs.every,zt.find=Xs.find,zt.findIndex=Ys.findIndex,zt.findKey=rp.findKey,zt.findLast=Xs.findLast,zt.findLastIndex=Ys.findLastIndex,zt.findLastKey=rp.findLastKey,zt.floor=ep.floor,zt.forEach=Xs.forEach,zt.forEachRight=Xs.forEachRight,zt.forIn=rp.forIn,zt.forInRight=rp.forInRight,zt.forOwn=rp.forOwn,zt.forOwnRight=rp.forOwnRight,zt.get=rp.get,zt.gt=np.gt,zt.gte=np.gte,zt.has=rp.has,zt.hasIn=rp.hasIn,zt.head=Ys.head,zt.identity=V,zt.includes=Xs.includes,zt.indexOf=Ys.indexOf,zt.inRange=function(t,n,e){return n=$(n),void 0===e?(e=n,n=0):e=$(e),function(t,n,e){return t>=bc(n,e)&&t<_c(n,e)}(t=N(t),n,e)},zt.invoke=rp.invoke,zt.isArguments=np.isArguments,zt.isArray=O,zt.isArrayBuffer=np.isArrayBuffer,zt.isArrayLike=np.isArrayLike,zt.isArrayLikeObject=np.isArrayLikeObject,zt.isBoolean=np.isBoolean,zt.isBuffer=np.isBuffer,zt.isDate=np.isDate,zt.isElement=np.isElement,zt.isEmpty=np.isEmpty,zt.isEqual=np.isEqual,zt.isEqualWith=np.isEqualWith,zt.isError=np.isError,zt.isFinite=np.isFinite,zt.isFunction=np.isFunction,zt.isInteger=np.isInteger,zt.isLength=np.isLength,zt.isMap=np.isMap,zt.isMatch=np.isMatch,zt.isMatchWith=np.isMatchWith,zt.isNaN=np.isNaN,zt.isNative=np.isNative,zt.isNil=np.isNil,zt.isNull=np.isNull,zt.isNumber=np.isNumber,zt.isObject=z,zt.isObjectLike=np.isObjectLike,zt.isPlainObject=np.isPlainObject,zt.isRegExp=np.isRegExp,zt.isSafeInteger=np.isSafeInteger,zt.isSet=np.isSet,zt.isString=np.isString,zt.isSymbol=np.isSymbol,zt.isTypedArray=np.isTypedArray,zt.isUndefined=np.isUndefined,zt.isWeakMap=np.isWeakMap,zt.isWeakSet=np.isWeakSet,zt.join=Ys.join,zt.kebabCase=ip.kebabCase,zt.last=wa,zt.lastIndexOf=Ys.lastIndexOf,zt.lowerCase=ip.lowerCase,zt.lowerFirst=ip.lowerFirst,zt.lt=np.lt,zt.lte=np.lte,zt.max=ep.max,zt.maxBy=ep.maxBy,zt.mean=ep.mean,zt.meanBy=ep.meanBy,zt.min=ep.min,zt.minBy=ep.minBy,zt.stubArray=up.stubArray,zt.stubFalse=up.stubFalse,zt.stubObject=up.stubObject,zt.stubString=up.stubString,zt.stubTrue=up.stubTrue,zt.multiply=ep.multiply,zt.nth=Ys.nth,zt.noop=up.noop,zt.now=Qs,zt.pad=ip.pad,zt.padEnd=ip.padEnd,zt.padStart=ip.padStart,zt.parseInt=ip.parseInt,zt.random=function(t,n,e){if(e&&"boolean"!=typeof e&&Xn(t,n,e)&&(n=e=void 0),void 0===e&&("boolean"==typeof n?(e=n,n=void 0):"boolean"==typeof t&&(e=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var o=Ol();return xl(t+o*(n-t+wl("1e-"+((o+"").length-1))),n)}return jl(t,n)},zt.reduce=Xs.reduce,zt.reduceRight=Xs.reduceRight,zt.repeat=ip.repeat,zt.replace=ip.replace,zt.result=rp.result,zt.round=ep.round,zt.sample=Xs.sample,zt.size=Xs.size,zt.snakeCase=ip.snakeCase,zt.some=Xs.some,zt.sortedIndex=Ys.sortedIndex,zt.sortedIndexBy=Ys.sortedIndexBy,zt.sortedIndexOf=Ys.sortedIndexOf,zt.sortedLastIndex=Ys.sortedLastIndex,zt.sortedLastIndexBy=Ys.sortedLastIndexBy,zt.sortedLastIndexOf=Ys.sortedLastIndexOf,zt.startCase=ip.startCase,zt.startsWith=ip.startsWith,zt.subtract=ep.subtract,zt.sum=ep.sum,zt.sumBy=ep.sumBy,zt.template=ip.template,zt.times=up.times,zt.toFinite=np.toFinite,zt.toInteger=K,zt.toLength=np.toLength,zt.toLower=ip.toLower,zt.toNumber=np.toNumber,zt.toSafeInteger=np.toSafeInteger,zt.toString=np.toString,zt.toUpper=ip.toUpper,zt.trim=ip.trim,zt.trimEnd=ip.trimEnd,zt.trimStart=ip.trimStart,zt.truncate=ip.truncate,zt.unescape=ip.unescape,zt.uniqueId=up.uniqueId,zt.upperCase=ip.upperCase,zt.upperFirst=ip.upperFirst,zt.each=Xs.forEach,zt.eachRight=Xs.forEachRight,zt.first=Ys.head,gp(zt,(Gs={},Ku(zt,(function(t,n){pp.call(zt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),zt.VERSION="4.17.21",(zt.templateSettings=ip.templateSettings).imports._=zt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){zt[t].placeholder=zt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(e){e=void 0===e?1:vp(K(e),0);var r=this.__filtered__&&!n?new At(this):this.clone();return r.__filtered__?r.__takeCount__=dp(e,r.__takeCount__):r.__views__.push({size:dp(e,lp),type:t+(r.__dir__<0?"Right":"")}),r},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:e}),n.__filtered__=n.__filtered__||r,n}})),Zt(["head","last"],(function(t,n){var e="take"+(n?"Right":"");At.prototype[t]=function(){return this[e](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[e](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(e){return Uc(e,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var e=this;return e.__filtered__&&(t>0||n<0)?new At(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),void 0!==n&&(e=(n=K(n))<0?e.dropRight(-n):e.take(n-t)),e)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=zt[r?"take"+("last"==n?"Right":""):n],i=r||/^find/.test(n);o&&(zt.prototype[n]=function(){var n=this.__wrapped__,u=r?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=o.apply(zt,ir([t],u));return r&&s?n[0]:n};f&&e&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=i&&!s,v=a&&!p;if(!i&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:gs,args:[l],thisArg:void 0}),new Wt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?r?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);zt.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[e]((function(e){return n.apply(O(e)?e:[],t)}))}})),Ku(At.prototype,(function(t,n){var e=zt[n];if(e){var r=e.name+"";pp.call(It,r)||(It[r]=[]),It[r].push({name:n,func:e})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Ct(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ct(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ct(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=O(t),r=n<0,o=e?t.length:0,i=function(t,n,e){for(var r=-1,o=e.length;++r<o;){var i=e[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!e||!r&&o==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,g=t[f+=n];++d<s;){var y=l[d],_=y.iteratee,b=y.type,m=_(g);if(2==b)g=m;else if(!m){if(1==b)continue t;break t}}v[p++]=g}return v},zt.prototype.at=op.at,zt.prototype.chain=op.wrapperChain,zt.prototype.commit=op.commit,zt.prototype.next=op.next,zt.prototype.plant=op.plant,zt.prototype.reverse=op.reverse,zt.prototype.toJSON=zt.prototype.valueOf=zt.prototype.value=op.value,zt.prototype.first=zt.prototype.head,hp&&(zt.prototype[hp]=op.toIterator);const yp=t=>{const n=(0,r.useRef)(t);return(0,r.useEffect)((()=>{n.current=t}),[t]),(0,r.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,e={})=>{const o=yp(t),i=(0,r.useMemo)((()=>ra(o,n,e)),[o,n,e]);return(t=>{const n=yp(t);(0,r.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:e,options:o})=>{const i=r.Children.only(t),u=_p(((...t)=>{const e=null==i?void 0:i.props;if(e)return"function"==typeof e[n]?e[n](...t):void 0}),e,o);return(0,r.cloneElement)(i,{[n]:u})};function mp(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:e=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,r.useRef)(null),a=yp(t),c=(0,r.useCallback)((([t],e)=>{if(t&&t.isIntersecting){const r=t.target;a&&a(t),n&&e.unobserve(r)}}),[a,n]);return(0,r.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:e,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[e,o,i,c]),u},wp=(...t)=>(0,r.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,r.forwardRef)(((t,n)=>{const{action:e,calledOnce:r,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:e,calledOnce:r,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,r.forwardRef)(((t,n)=>{var{src:e,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=e},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,r.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?r.useLayoutEffect:r.useEffect;(0,r.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const e=(t=>"function"==typeof t?t():t)(n);return e?(0,o.jsx)(r.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,e]=(0,r.useState)(Sp(t)),o=(0,r.useCallback)((()=>{e(Sp(t))}),[t]);return(0,r.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Wp=t=>{const n=(0,r.useRef)(t);return(0,r.useEffect)((()=>{n.current=t}),[t]),n.current},Cp=t=>{const[n,e]=(0,r.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,r.useRef)(null),i=yp(t),u=(0,r.useCallback)((([t])=>{t&&(i(t),e(t.contentRect))}),[i]);return(0,r.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Rp=(t={})=>{const{isDebounce:n=!1,wait:e=300}=t,[o,i]=(0,r.useState)({width:null,height:null}),u=(0,r.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,e),c=(0,r.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file diff --git a/assets/js/4fcbd706.993f9b9f.js b/assets/js/4fcbd706.79f90fba.js similarity index 97% rename from assets/js/4fcbd706.993f9b9f.js rename to assets/js/4fcbd706.79f90fba.js index 837e483af..d7caf1b51 100644 --- a/assets/js/4fcbd706.993f9b9f.js +++ b/assets/js/4fcbd706.79f90fba.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1698],{8710:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var n=r(5735),s=r(7355);const a={},c="repeatCharacters",o={id:"utils/string/repeatCharacters",title:"repeatCharacters",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc758 \uac01 \ubb38\uc790\ub97c \uc8fc\uc5b4\uc9c4 \ubc18\ubcf5 \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc11c \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/repeatCharacters.md",sourceDirName:"utils/string",slug:"/utils/string/repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters"},next:{title:"hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty"}},i={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"repeatcharacters",children:"repeatCharacters"}),"\n",(0,n.jsx)(t.p,{children:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc758 \uac01 \ubb38\uc790\ub97c \uc8fc\uc5b4\uc9c4 \ubc18\ubcf5 \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc11c \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const repeatCharacters: (value: string, repeatCount: number) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { repeatCharacters } from '@modern-kit/utils';\n\nconst str1 = 'A!B@C';\nconst repeatedStr1 = repeatCharacters(str1, 2); // 'AA!!BB@@CC'\n\nconst str2 = 'Hello';\nconst repeatedStr2 = repeatCharacters(str2, 3); // 'HHHeeelllooo'\n"})})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>c});var n=r(4614);const s={},a=n.createContext(s);function c(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1698],{4182:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var n=r(5735),s=r(7355);const a={},c="repeatCharacters",o={id:"utils/string/repeatCharacters",title:"repeatCharacters",description:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc758 \uac01 \ubb38\uc790\ub97c \uc8fc\uc5b4\uc9c4 \ubc18\ubcf5 \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc11c \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/repeatCharacters.md",sourceDirName:"utils/string",slug:"/utils/string/repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters"},next:{title:"hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty"}},i={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"repeatcharacters",children:"repeatCharacters"}),"\n",(0,n.jsx)(t.p,{children:"\uc8fc\uc5b4\uc9c4 \ubb38\uc790\uc5f4\uc758 \uac01 \ubb38\uc790\ub97c \uc8fc\uc5b4\uc9c4 \ubc18\ubcf5 \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc11c \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const repeatCharacters: (value: string, repeatCount: number) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { repeatCharacters } from '@modern-kit/utils';\n\nconst str1 = 'A!B@C';\nconst repeatedStr1 = repeatCharacters(str1, 2); // 'AA!!BB@@CC'\n\nconst str2 = 'Hello';\nconst repeatedStr2 = repeatCharacters(str2, 3); // 'HHHeeelllooo'\n"})})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>c});var n=r(4614);const s={},a=n.createContext(s);function c(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/52083c08.771e7d79.js b/assets/js/52083c08.771e7d79.js new file mode 100644 index 000000000..bedcb3381 --- /dev/null +++ b/assets/js/52083c08.771e7d79.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[259],{178:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var t=o(5735),c=o(7355);const r={},s="deepCopy",i={id:"utils/common/deepCopy",title:"deepCopy",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uac12\uc744 \uae4a\uc740 \ubcf5\uc0ac\ub97c \uc218\ud589\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/deepCopy.md",sourceDirName:"utils/common",slug:"/utils/common/deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop"},next:{title:"deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual"}},p={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"deepcopy",children:"deepCopy"}),"\n",(0,t.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uac12\uc744 ",(0,t.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac"}),"\ub97c \uc218\ud589\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const deepCopy: <T>(source: T) => T\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { deepCopy } from '@modern-kit/utils';\n\nconst originNum = 42;\nconst copyNum = deepCopy(originNum);\n\nconst originObj = { a: 1, b: { c: 2 } };\nconst copyObj = deepCopy(originObj);\n\nconst originArray = [1, 2, [3, 4]];\nconst copyArray = deepCopy(originArray);\n\nconst originSet = new Set([1, 2, 3]);\nconst copySet = deepCopy(originSet);\n\nconst originMap = new Map([\n ['a', 1],\n ['b', 2],\n]);\nconst copyMap = deepCopy(originMap);\n"})})]})}function l(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>i,a:()=>s});var t=o(4614);const c={},r=t.createContext(c);function s(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/52083c08.933afc6f.js b/assets/js/52083c08.933afc6f.js deleted file mode 100644 index 87682b5d4..000000000 --- a/assets/js/52083c08.933afc6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[259],{1145:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var t=o(5735),c=o(7355);const r={},s="deepCopy",i={id:"utils/common/deepCopy",title:"deepCopy",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uac12\uc744 \uae4a\uc740 \ubcf5\uc0ac\ub97c \uc218\ud589\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/deepCopy.md",sourceDirName:"utils/common",slug:"/utils/common/deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop"},next:{title:"deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual"}},p={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"deepcopy",children:"deepCopy"}),"\n",(0,t.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uac12\uc744 ",(0,t.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac"}),"\ub97c \uc218\ud589\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const deepCopy: <T>(source: T) => T\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { deepCopy } from '@modern-kit/utils';\n\nconst originNum = 42;\nconst copyNum = deepCopy(originNum);\n\nconst originObj = { a: 1, b: { c: 2 } };\nconst copyObj = deepCopy(originObj);\n\nconst originArray = [1, 2, [3, 4]];\nconst copyArray = deepCopy(originArray);\n\nconst originSet = new Set([1, 2, 3]);\nconst copySet = deepCopy(originSet);\n\nconst originMap = new Map([\n ['a', 1],\n ['b', 2],\n]);\nconst copyMap = deepCopy(originMap);\n"})})]})}function l(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>i,a:()=>s});var t=o(4614);const c={},r=t.createContext(c);function s(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/525bfb2e.3e302d43.js b/assets/js/525bfb2e.3e302d43.js new file mode 100644 index 000000000..d5f4fb606 --- /dev/null +++ b/assets/js/525bfb2e.3e302d43.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2917],{9396:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=n(5735),o=n(7355);const r={},s="getViewportSize",c={id:"utils/common/getViewportSize",title:"getViewportSize",description:"\ud604\uc7ac Viewport Size\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getViewportSize.md",sourceDirName:"utils/common",slug:"/utils/common/getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime"},next:{title:"hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"getviewportsize",children:"getViewportSize"}),"\n",(0,i.jsxs)(t.p,{children:["\ud604\uc7ac ",(0,i.jsx)(t.code,{children:"Viewport Size"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.\n\uc11c\ubc84 \ud658\uacbd\uc5d0\uc11c\ub294 ",(0,i.jsx)(t.code,{children:"{ width: 0, height: 0} "}),"\uc744 \ubc18\ud658\ud55c\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",children:"const getViewportSize: () => {\n readonly width: number;\n readonly height: number;\n}\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { getViewportSize } from '@modern-kit/utils';\n\nconst { width, height } = getViewportSize();\n"})})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>s});var i=n(4614);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/525bfb2e.b9178b4a.js b/assets/js/525bfb2e.b9178b4a.js deleted file mode 100644 index 6d2ab3e32..000000000 --- a/assets/js/525bfb2e.b9178b4a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2917],{930:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=n(5735),o=n(7355);const r={},s="getViewportSize",c={id:"utils/common/getViewportSize",title:"getViewportSize",description:"\ud604\uc7ac Viewport Size\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getViewportSize.md",sourceDirName:"utils/common",slug:"/utils/common/getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime"},next:{title:"hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"getviewportsize",children:"getViewportSize"}),"\n",(0,i.jsxs)(t.p,{children:["\ud604\uc7ac ",(0,i.jsx)(t.code,{children:"Viewport Size"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.\n\uc11c\ubc84 \ud658\uacbd\uc5d0\uc11c\ub294 ",(0,i.jsx)(t.code,{children:"{ width: 0, height: 0} "}),"\uc744 \ubc18\ud658\ud55c\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",children:"const getViewportSize: () => {\n readonly width: number;\n readonly height: number;\n}\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { getViewportSize } from '@modern-kit/utils';\n\nconst { width, height } = getViewportSize();\n"})})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>s});var i=n(4614);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/53f54fd5.d203d2e2.js b/assets/js/53f54fd5.dd353841.js similarity index 97% rename from assets/js/53f54fd5.d203d2e2.js rename to assets/js/53f54fd5.dd353841.js index 254deafbb..4f6c0cc3e 100644 --- a/assets/js/53f54fd5.d203d2e2.js +++ b/assets/js/53f54fd5.dd353841.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3883],{9470:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>m,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var t=o(5735),s=o(7355);const a={},c="abRandom",r={id:"utils/common/abRandom",title:"abRandom",description:"50% \ud655\ub960\ub85c 0\ub610\ub294 1\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/abRandom.md",sourceDirName:"utils/common",slug:"/utils/common/abRandom",permalink:"/modern-kit/docs/utils/common/abRandom",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize"},next:{title:"asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"abrandom",children:"abRandom"}),"\n",(0,t.jsxs)(n.p,{children:["50% \ud655\ub960\ub85c ",(0,t.jsx)(n.code,{children:"0"}),"\ub610\ub294 ",(0,t.jsx)(n.code,{children:"1"}),"\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"AB \ud14c\uc2a4\ud2b8"}),"\ub97c \ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const abRandom: () => 0 | 1\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { abRandom } from '@modern-kit/utils';\n\nconst ab = abRandom();\n"})})]})}function m(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>r,a:()=>c});var t=o(4614);const s={},a=t.createContext(s);function c(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3883],{3072:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>m,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var t=o(5735),s=o(7355);const a={},c="abRandom",r={id:"utils/common/abRandom",title:"abRandom",description:"50% \ud655\ub960\ub85c 0\ub610\ub294 1\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/abRandom.md",sourceDirName:"utils/common",slug:"/utils/common/abRandom",permalink:"/modern-kit/docs/utils/common/abRandom",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize"},next:{title:"asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"abrandom",children:"abRandom"}),"\n",(0,t.jsxs)(n.p,{children:["50% \ud655\ub960\ub85c ",(0,t.jsx)(n.code,{children:"0"}),"\ub610\ub294 ",(0,t.jsx)(n.code,{children:"1"}),"\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"AB \ud14c\uc2a4\ud2b8"}),"\ub97c \ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const abRandom: () => 0 | 1\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { abRandom } from '@modern-kit/utils';\n\nconst ab = abRandom();\n"})})]})}function m(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>r,a:()=>c});var t=o(4614);const s={},a=t.createContext(s);function c(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/54102c04.ccfb5463.js b/assets/js/54102c04.e708fc6f.js similarity index 99% rename from assets/js/54102c04.ccfb5463.js rename to assets/js/54102c04.e708fc6f.js index 6ed9a1c19..a17203ce4 100644 --- a/assets/js/54102c04.ccfb5463.js +++ b/assets/js/54102c04.e708fc6f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2269],{7348:(t,n,r)=>{r.r(n),r.d(n,{assets:()=>f,contentTitle:()=>a,default:()=>p,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),i=r(7355),o=r(5474);const u={},a="LazyImage",c={id:"react/components/LazyImage",title:"LazyImage",description:"Viewport\uc5d0 \ub178\ucd9c\ub420 \ub54c \ud560\ub2f9\ub41c \uc774\ubbf8\uc9c0\ub97c Lazy Loading \ud558\ub294 \uc774\ubbf8\uc9c0 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/LazyImage.mdx",sourceDirName:"react/components",slug:"/react/components/LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"InView",permalink:"/modern-kit/docs/react/components/InView"},next:{title:"Portal",permalink:"/modern-kit/docs/react/components/Portal"}},f={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Fallback",id:"fallback",level:3},{value:"Example",id:"example",level:2},{value:"Note",id:"note",level:2}];function s(t){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"lazyimage",children:"LazyImage"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub420 \ub54c \ud560\ub2f9\ub41c \uc774\ubbf8\uc9c0\ub97c ",(0,e.jsx)(n.code,{children:"Lazy Loading"})," \ud558\ub294 \uc774\ubbf8\uc9c0 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"width"}),", ",(0,e.jsx)(n.code,{children:"height"})," \uac12\uc744 \uc785\ub825\ud574 \uc774\ubbf8\uc9c0\uc758 \ud06c\uae30\ub97c \uc870\uc808 \ud560 \uc218 \uc788\uc73c\uba70, \ub3d9\uc2dc\uc5d0 ",(0,e.jsx)(n.code,{children:"Layout Shift"}),"\ub97c \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:["Intersection Observer Option\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.(\ud558\ub2e8 ",(0,e.jsx)(n.code,{children:"Note"})," \ucc38\uace0)"]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface LazyImageProps extends React.ComponentProps<'img'> {\n src: string;\n threshold?: number | number[]; // default: 0\n root?: Document | Element | null; // default: null\n rootMargin?: string; // default: '0px 0px 0px 0px'\n}\n\nconst LazyImage: React.ForwardRefExoticComponent<Omit<LazyImageProps, \"ref\"> & React.RefAttributes<HTMLDivElement>>\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { LazyImage } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\nimport img2 from '../assets/img2.png';\n\nconst Example = () => {\n return (\n <div>\n {/* ... */}\n <LazyImage width={400} height={400} src={img1} alt=\"img1\" />\n {/* ... */}\n <LazyImage width={400} height={400} src={img2} alt=\"img2\" />\n {/* ... */}\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h3,{id:"fallback",children:"Fallback"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { LazyImage } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\n\nconst Example = () => {\n const [isLoaded, setIsLoaded] = useState(false);\n\n const wrapperStyle: CSSProperties = {\n position: 'relative',\n width: '400px',\n height: '400px',\n };\n\n const imgStyle: CSSProperties = {\n position: 'absolute',\n top: 0,\n left: 0,\n opacity: isLoaded ? 1 : 0,\n transition: 'opacity 0.2s',\n };\n\n const skeletonStyle: CSSProperties = {\n width: '400px',\n height: '400px',\n backgroundColor: '#cdcbcb',\n }\n\n return (\n <div style={wrapperStyle}>\n {!isLoaded && <div style={skeletonStyle} />}\n <LazyImage\n style={imgStyle}\n width={400}\n height={400}\n src={img1}\n alt=\"img1\"\n onLoad={() => setIsLoaded(true)}\n />\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,e.jsxs)("div",{style:{maxWidth:"500px",height:"500px",overflow:"scroll",background:"#f8f8f8"},children:[(0,e.jsx)("div",{style:{width:"100%",height:"500px",textAlign:"center",fontSize:"2rem"},children:(0,e.jsx)(n.p,{children:"\uc2a4\ud06c\ub864 \ud574\uc8fc\uc138\uc694."})}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/b5640bec-2abc-4205-afbf-ccfd9876a90b",alt:"img1",onClick:()=>console.log("img click1")}),(0,e.jsx)("div",{style:{width:"100%",height:"150px"}}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/207743a7-b29f-4826-bc08-8df0d67e568b",alt:"img2",onClick:()=>console.log("img click2")}),(0,e.jsx)("div",{style:{width:"100%",height:"150px"}}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/d1957ec8-fe87-406e-bfda-fb4ee505b152",alt:"img3",onClick:()=>console.log("img click3")})]}),"\n",(0,e.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,e.jsx)(n.p,{children:(0,e.jsx)(n.a,{href:"https://developer.mozilla.org/ko/docs/Web/API/IntersectionObserver",children:"Intersection Observer API"})})]})}function p(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(s,{...t})}):s(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Mp,df:()=>xp,iP:()=>zp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",g=c?c.toStringTag:void 0;function y(t){return null==t?void 0===t?d:v:g&&g in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&y(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,I=c?c.prototype:void 0,E=I?I.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return E?E.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var M=S((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var z=/^\s+/;function L(t){return t?t.slice(0,W(t)+1).replace(z,""):t}function B(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var P=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,N=parseInt;function U(t){if("number"==typeof t)return t;if(m(t))return P;if(B(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=B(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=L(t);var r=D.test(t);return r||T.test(t)?N(t.slice(2),r?2:8):C.test(t)?P:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=U(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",Y="[object GeneratorFunction]",H="[object Proxy]";function J(t){if(!B(t))return!1;var n=y(t);return n==G||n==Y||n==Z||n==H}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!B(t)||function(t){return!!tt&&tt in t}(t))&&(J(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!B(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function gt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return B(e)?e:r}}var yt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function It(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Et=pt?function(t){return pt.get(t)}:It,kt={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=kt[n],e=St.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function zt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var Lt=Object.prototype.hasOwnProperty;function Bt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(Lt.call(t,"__wrapped__"))return zt(t)}return new Rt(t)}function Pt(t){var n=Mt(t),r=Bt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Et(r);return!!e&&t===e[0]}Bt.prototype=xt.prototype,Bt.prototype.constructor=Bt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Nt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ut=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Yt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Yt,r)}function Jt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Jt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Nt);return n?n[1].split(Ut):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Pt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,gn=2,yn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&gn,v=n&(yn|_n),d=n&mn,g=h?void 0:gt(t);return function y(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(y),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,v)),o&&(b=wt(b,o,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,y.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof y&&(A=g||gt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,In=4,En=8,kn=128,Sn=256,Mn=Math.min,Rn="Expected a function",Wn=1,zn=2,Ln=8,Bn=16,Pn=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&zn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Pn|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:Et(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==En||e==kn&&r==Sn&&t[7].length<=n[8]||e==(kn|Sn)&&n[7].length<=n[8]&&r==En;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:In);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(Ln|Bn)&&(n&=~(Ln|Bn)),n&&n!=Wn)d=n==Ln||n==Bn?function(t,n,r){var e=gt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Pn&&n!=(Wn|Pn)||i.length?jn.apply(void 0,v):function(t,n,r,e){var i=n&wn,o=gt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n&yt,i=gt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Nn(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Un(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Un(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Un(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Yn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Yn}function Jn(t){return null!=t&&Hn(t.length)&&!J(t)}function Qn(t,n,r){if(!B(r))return!1;var e=typeof n;return!!("number"==e?Jn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==y(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,gr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,yr=gr&&gr.exports===dr&&o.process,_r=function(){try{return gr&&gr.require&&gr.require("util").types||yr&&yr.binding&&yr.binding("util")}catch(Ys){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Hn(t.length)&&!!hr[y(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Ir(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Er(t){return Jn(t)?wr(t):Ir(t)}var kr=Object.prototype.hasOwnProperty,Sr=Xn((function(t,n){if(nr(n)||Jn(n))Kn(n,Er(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Rr(t){return Jn(t)?wr(t,!0):function(t){if(!B(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),zr=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),Lr=Xn((function(t,n,r,e){Kn(n,Er(n),t,e)})),Br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Pr.test(t)||!Br.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Nr=Object.prototype.hasOwnProperty;function Ur(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Ur.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Ur.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ur.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Ur.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Nr.call(n,t)},Ur.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Ur,map:new(Kr||$r),string:new Ur}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Yr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Jr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Yr,(function(t,r,e,i){n.push(e?i.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Jr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ge=ve.toString,ye=de.hasOwnProperty,_e=ge.call(Object);function be(t){if(!_(t)||y(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ye.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ge.call(r)==_e}function me(t){if(!_(t))return!1;var n=y(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Un(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ie(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ee(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ie(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return ke.test(t)}var Me="\\ud800-\\udfff",Re="["+Me+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ze="\\ud83c[\\udffb-\\udfff]",Le="[^"+Me+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+ze+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[Le,Be,Pe].join("|")+")"+De+Ce+")*",Ne="(?:"+[Le+We+"?",We,Be,Pe,Re].join("|")+")",Ue=RegExp(ze+"(?="+ze+")|"+Ne+Te,"g");function Fe(t){return Se(t)?function(t){return t.match(Ue)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ee(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Je(t){return(t=Qr(t))&&t.replace(Ye,Ge).replace(He,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",gi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",yi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+yi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+yi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+gi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+gi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(wi(Je(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Ii=a.isFinite,Ei=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=U(t),(r=null==r?0:Ei(K(r),292))&&Ii(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Si=ki("ceil");function Mi(t){var n=Bt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function zi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Li(t){var n=this.__data__=new $r(t);this.size=n.size}function Bi(t,n){return t&&Kn(n,Er(n),t)}Li.prototype.clear=function(){this.__data__=new $r,this.size=0},Li.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Li.prototype.get=function(t){return this.__data__.get(t)},Li.prototype.has=function(t){return this.__data__.has(t)},Li.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Pi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Pi&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Pi?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ni(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ui(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ui($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Er,Ki)}function Yi(t){return Zi(t,Rr,Vi)}var Hi=lt(a,"DataView"),Ji=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Hi),oo=rt(Kr),uo=rt(Ji),ao=rt(Qi),co=rt(st),fo=y;(Hi&&fo(new Hi(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Ji&&fo(Ji.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=y(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,go=c?c.prototype:void 0,yo=go?go.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Io="[object Symbol]",Eo="[object ArrayBuffer]",ko="[object DataView]",So="[object Float32Array]",Mo="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",zo="[object Int32Array]",Lo="[object Uint8Array]",Bo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,No=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},Uo=_r&&_r.isSet,Fo=Uo?vr(Uo):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!B(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ni(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Bi(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Eo:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case So:case Mo:case Ro:case Wo:case zo:case Lo:case Bo:case Po:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Io:return e=t,yo?Object(yo.call(e)):{}}}(t,s,a)}}o||(o=new Li);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):No(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Yi:Gi:c?Rr:Er)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Yo(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ho(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Jo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Jo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var g=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!Yo(n,(function(t,n){if(!Ho(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,gu=du?du.valueOf:void 0,yu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new Li),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(gu)return gu.call(t)==gu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,g=v?n.value():n;return o||(o=new Li),i(d,g,r,e,o)}}return!!p&&(o||(o=new Li),function(t,n,r,e,i,o){var u=r&yu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],g=n[l];if(e)var y=u?e(g,d,l,n,t,o):e(d,g,l,t,n,o);if(!(void 0===y?d===g||i(d,g,r,e,o):y)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Iu=2;function Eu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Li;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Iu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!B(t)}function Su(t){for(var n=Er(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||Eu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function zu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Hn(i)&&sn(u,i)&&(O(t)||ar(t))}function Lu(t,n){return null!=t&&zu(t,n,Wu)}var Bu=1,Pu=2;function Cu(t,n){return Cr(t)&&ku(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Lu(r,t):Ou(n,e,Bu|Pu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Nu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Uu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Er)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Jn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Yu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Nu(e),o)}}var Hu=Object.prototype.hasOwnProperty,Ju=Yu((function(t,n,r){Hu.call(t,r)?++t[r]:Un(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return g(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function g(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function y(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=U(n)||0,B(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(U(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},y.flush=function(){return void 0===a?u:g(ta())},y}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Un(t,n,r)}function ca(t){return _(t)&&Jn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new Li),B(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Wt(a):h?(s=!1,l=Ni(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):B(a)&&!J(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return B(t)&&B(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ga=Gn((function(t,n){return da(t,1,n)})),ya=Gn((function(t,n,r){return da(t,U(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Jt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Ho,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Nu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ia(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ie(t,e?0:o,e?o+1:i):Ie(t,e?o+1:0,e?i:o)}function Ea(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ea(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Ra(t,n){return t&&Ma(t,n,Er)}var Wa=Vu(Ra,!0);function za(t,n){return(O(t)?Sa:Wa)(t,Ea(n))}function La(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Ba=La(Er),Pa=La(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Na(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Ua=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Ua.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?zi(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Jn(n)){var o=Nu(r);n=Er(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ya(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Nu(n),i)}var Ha=Za(Ya);function Ja(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Nu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Jn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Nu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==Mt(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(o=n[e]),c="wrapper"==a?Et(o):void 0;u=c&&Pt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==o.length&&Pt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ui(n,(function(n){return J(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Yu((function(t,n,r){lc.call(t,r)?t[r].push(n):Un(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=U(n),r=U(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),gc=Object.prototype.hasOwnProperty;function yc(t,n){return null!=t&&gc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&y(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Er(t))}var Oc=Math.max,Ac=Math.max,Ic=Math.min;function Ec(t,n,r){for(var e=r?_a:Jt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ic(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Ho(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Ho(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ec(n):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ec(r,Nu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ec(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var zc=Object.prototype.toString,Lc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=zc.call(n)),t[n]=r}),qt(V)),Bc=Object.prototype,Pc=Bc.hasOwnProperty,Cc=Bc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Pc.call(t,n)?t[n].push(r):t[n]=[r]}),Nu);function Tc(t,n){return n.length<2?t:re(t,Ie(n,0,-1))}function Nc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Uc=Gn(Nc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Jn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Nc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==y(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==y(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Yc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==y(t)}var Jc=X?J:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==y(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Yu((function(t,n,r){Un(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Nc(r,t,n)}})),gf=Gn((function(t,n){return function(r){return Nc(t,r,n)}}));function yf(t,n,r){var e=Er(n),i=fc(n,e),o=!(B(r)&&"chain"in r&&!r.chain),u=J(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Jn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Yi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function If(t,n,r,e){if(!B(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=B(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Ef(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&If(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Yi(t),(function(t){return[t]}));return n=Nu(n),Ef(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Nu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=Sf(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,vr(Nu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),zf=Gn,Lf=Math.min,Bf=zf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Nu)):x(ce(n,1),vr(Nu))).length;return Gn((function(e){for(var i=-1,o=Lf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Pf=Rf(qa),Cf=Rf(Yo),Df=9007199254740991,Tf=Math.floor;function Nf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Uf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Yf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Jf=Hf+Yf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Hf+Yf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Jf,"g");function tl(t){return Se(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Uf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Nf(n,t):n;var e=Nf(n,nl(t/tl(n)));return Se(n)?Ee(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Yu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Ef(t,n,(function(n,r){return Lu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Ht,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),gl=Array.prototype.splice;function yl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?gl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return yl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Sf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,Il=Math.max;function El(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=Il(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=El(),Sl=El(!0),Ml=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var zl=Array.prototype.reverse;function Ll(t){return null==t?t:zl.call(t)}var Bl=ki("round");function Pl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Pl(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),zi(n,0,t.length))}function Nl(t,n){var r=xc(t);return Dl(r,zi(n,0,r.length))}function Ul(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Yl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var g=e||v;else g=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);g?i=l+1:o=l}return Gl(o,Vl)}function Hl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Yl(t,n,V,r)}function Jl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Na}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function gs(t,n){return n(t)}var ys=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Is=/&(?:amp|lt|gt|quot|#39);/g,Es=RegExp(Is.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:It,Ss=200;function Ms(t,n,r){var e=-1,i=Jt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Ss){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Ho,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Gn((function(t){return Ms(ce(t,1,ca,!0))})),Ws=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ms(ce(t,1,ca,!0),Nu(n))})),zs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ms(ce(t,1,ca,!0),void 0,n)})),Ls=0,Bs=Math.max;function Ps(t){if(!t||!t.length)return[];var n=0;return t=Ui(t,(function(t){if(ca(t))return n=Bs(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ps(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return If(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Ns=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Us=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:gs,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ms(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ms(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ui(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ui(t,ca),Nu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ui(t,ca),void 0,n)})),Vs=Gn(Ps);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Ys,Hs=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Js={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ie(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ya,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Ht(t,n,i)},initial:function(t){return null!=t&&t.length?Ie(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Yt,i,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Nu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Nu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return yl(t,i),r},reverse:Ll,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ie(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Yl(t,n,Nu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Yl(t,n,Nu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Jl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Jl(t,Nu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ie(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ie(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ia(t,Nu(n)):[]},union:Rs,unionBy:Ws,unionWith:zs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Nu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ps,unzipWith:Cs,without:Ns,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],If)},zipWith:Hs},Qs={countBy:Ju,each:ka,eachRight:za,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Nu(n))},filter:function(t,n){return(O(t)?Ui:Va)(t,Nu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:za,groupBy:sc,includes:function(t,n,r,e){t=Jn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Rl,i=arguments.length<3;return e(t,Nu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Nu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ui:Va)(t,bf(Nu(n)))},sample:function(t){return(O(t)?Pl:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Nl)(t,n)},shuffle:function(t){return(O(t)?Ul:Fl)(t)},size:function(t){if(null==t)return 0;if(Jn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Ir(t).length},some:function(t,n,r){var e=O(t)?Yo:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Nu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Nn,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ga,delay:ya,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Bf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(K(n),0),Gn((function(r){var e=r[n],i=Ee(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return B(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Nn(t,1)},wrap:function(t,n){return al(Ea(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Uu(t,n,Er(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Jn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==y(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Jn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Ir(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:J,isInteger:Yc,isLength:Hn,isMap:No,isMatch:function(t,n){return t===n||Eu(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Eu(t,n,Su(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Jc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:B,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Yc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==y(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:U,toPlainObject:la,toSafeInteger:function(t){return t?zi(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Si,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Nu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Nu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Nu(n),cf):void 0},multiply:_f,round:Bl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Nu(n)):0}},ep={assign:Sr,assignIn:Wr,assignInWith:zr,assignWith:Lr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Bi(r,n)},defaults:ua,defaultsDeep:va,entries:Ba,entriesIn:Pa,extend:Wr,extendWith:zr,findKey:function(t,n){return Ja(t,Nu(n),Ku)},findLastKey:function(t,n){return Ja(t,Nu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ea(n),Rr)},forInRight:function(t,n){return null==t?t:Ma(t,Ea(n),Rr)},forOwn:function(t,n){return t&&Ku(t,Ea(n))},forOwnRight:function(t,n){return t&&Ra(t,Ea(n))},functions:function(t){return null==t?[]:fc(t,Er(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&zu(t,n,yc)},hasIn:Lu,invert:Lc,invertBy:Dc,invoke:Uc,keys:Er,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Nu(n),Ku(t,(function(t,e,i){Un(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Nu(n),Ku(t,(function(t,e,i){Un(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Nu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=J(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:If(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:If(t,n,r,e)},toPairs:Ba,toPairsIn:Pa,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Nu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:B(t)&&J(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ea(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ea(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Us,chain:Mi,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Bt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=zt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:gs,args:[Ll],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(Ll)},tap:function(t,n){return n(t),t},thru:gs,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mi(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Je,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:zi(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Na,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Ua,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Nf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Se(t)?Ee(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:zi(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=zr({},n,e,es);var i,o,u=zr({},n.imports,e.imports,es),a=Er(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return L(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ee(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(B(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Se(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ee(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Es.test(t)?t.replace(Is,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Nu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Er(t);return function(r){return Uu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Nu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:gf,mixin:yf,noop:It,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Pf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Sl,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=ys,e=_s(t,ys);n=Ea(n),t-=ys;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Jr(Qr(t)))},uniqueId:function(t){var n=++Ls;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,gp=(Ys=yf,function(t,n,r){if(null==r){var e=B(n),i=e&&Er(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Ys(t,n,r)});Bt.after=tp.after,Bt.ary=tp.ary,Bt.assign=ep.assign,Bt.assignIn=ep.assignIn,Bt.assignInWith=ep.assignInWith,Bt.assignWith=ep.assignWith,Bt.at=ep.at,Bt.before=tp.before,Bt.bind=tp.bind,Bt.bindAll=up.bindAll,Bt.bindKey=tp.bindKey,Bt.castArray=np.castArray,Bt.chain=ip.chain,Bt.chunk=Js.chunk,Bt.compact=Js.compact,Bt.concat=Js.concat,Bt.cond=up.cond,Bt.conforms=up.conforms,Bt.constant=up.constant,Bt.countBy=Qs.countBy,Bt.create=ep.create,Bt.curry=tp.curry,Bt.curryRight=tp.curryRight,Bt.debounce=tp.debounce,Bt.defaults=ep.defaults,Bt.defaultsDeep=ep.defaultsDeep,Bt.defer=tp.defer,Bt.delay=tp.delay,Bt.difference=Js.difference,Bt.differenceBy=Js.differenceBy,Bt.differenceWith=Js.differenceWith,Bt.drop=Js.drop,Bt.dropRight=Js.dropRight,Bt.dropRightWhile=Js.dropRightWhile,Bt.dropWhile=Js.dropWhile,Bt.fill=Js.fill,Bt.filter=Qs.filter,Bt.flatMap=Qs.flatMap,Bt.flatMapDeep=Qs.flatMapDeep,Bt.flatMapDepth=Qs.flatMapDepth,Bt.flatten=Js.flatten,Bt.flattenDeep=Js.flattenDeep,Bt.flattenDepth=Js.flattenDepth,Bt.flip=tp.flip,Bt.flow=up.flow,Bt.flowRight=up.flowRight,Bt.fromPairs=Js.fromPairs,Bt.functions=ep.functions,Bt.functionsIn=ep.functionsIn,Bt.groupBy=Qs.groupBy,Bt.initial=Js.initial,Bt.intersection=Js.intersection,Bt.intersectionBy=Js.intersectionBy,Bt.intersectionWith=Js.intersectionWith,Bt.invert=ep.invert,Bt.invertBy=ep.invertBy,Bt.invokeMap=Qs.invokeMap,Bt.iteratee=up.iteratee,Bt.keyBy=Qs.keyBy,Bt.keys=Er,Bt.keysIn=ep.keysIn,Bt.map=Qs.map,Bt.mapKeys=ep.mapKeys,Bt.mapValues=ep.mapValues,Bt.matches=up.matches,Bt.matchesProperty=up.matchesProperty,Bt.memoize=tp.memoize,Bt.merge=ep.merge,Bt.mergeWith=ep.mergeWith,Bt.method=up.method,Bt.methodOf=up.methodOf,Bt.mixin=gp,Bt.negate=bf,Bt.nthArg=up.nthArg,Bt.omit=ep.omit,Bt.omitBy=ep.omitBy,Bt.once=tp.once,Bt.orderBy=Qs.orderBy,Bt.over=up.over,Bt.overArgs=tp.overArgs,Bt.overEvery=up.overEvery,Bt.overSome=up.overSome,Bt.partial=tp.partial,Bt.partialRight=tp.partialRight,Bt.partition=Qs.partition,Bt.pick=ep.pick,Bt.pickBy=ep.pickBy,Bt.property=up.property,Bt.propertyOf=up.propertyOf,Bt.pull=Js.pull,Bt.pullAll=Js.pullAll,Bt.pullAllBy=Js.pullAllBy,Bt.pullAllWith=Js.pullAllWith,Bt.pullAt=Js.pullAt,Bt.range=up.range,Bt.rangeRight=up.rangeRight,Bt.rearg=tp.rearg,Bt.reject=Qs.reject,Bt.remove=Js.remove,Bt.rest=tp.rest,Bt.reverse=Js.reverse,Bt.sampleSize=Qs.sampleSize,Bt.set=ep.set,Bt.setWith=ep.setWith,Bt.shuffle=Qs.shuffle,Bt.slice=Js.slice,Bt.sortBy=Qs.sortBy,Bt.sortedUniq=Js.sortedUniq,Bt.sortedUniqBy=Js.sortedUniqBy,Bt.split=op.split,Bt.spread=tp.spread,Bt.tail=Js.tail,Bt.take=Js.take,Bt.takeRight=Js.takeRight,Bt.takeRightWhile=Js.takeRightWhile,Bt.takeWhile=Js.takeWhile,Bt.tap=ip.tap,Bt.throttle=tp.throttle,Bt.thru=gs,Bt.toArray=np.toArray,Bt.toPairs=ep.toPairs,Bt.toPairsIn=ep.toPairsIn,Bt.toPath=up.toPath,Bt.toPlainObject=np.toPlainObject,Bt.transform=ep.transform,Bt.unary=tp.unary,Bt.union=Js.union,Bt.unionBy=Js.unionBy,Bt.unionWith=Js.unionWith,Bt.uniq=Js.uniq,Bt.uniqBy=Js.uniqBy,Bt.uniqWith=Js.uniqWith,Bt.unset=ep.unset,Bt.unzip=Js.unzip,Bt.unzipWith=Js.unzipWith,Bt.update=ep.update,Bt.updateWith=ep.updateWith,Bt.values=ep.values,Bt.valuesIn=ep.valuesIn,Bt.without=Js.without,Bt.words=op.words,Bt.wrap=tp.wrap,Bt.xor=Js.xor,Bt.xorBy=Js.xorBy,Bt.xorWith=Js.xorWith,Bt.zip=Js.zip,Bt.zipObject=Js.zipObject,Bt.zipObjectDeep=Js.zipObjectDeep,Bt.zipWith=Js.zipWith,Bt.entries=ep.toPairs,Bt.entriesIn=ep.toPairsIn,Bt.extend=ep.assignIn,Bt.extendWith=ep.assignInWith,gp(Bt,Bt),Bt.add=rp.add,Bt.attempt=up.attempt,Bt.camelCase=op.camelCase,Bt.capitalize=op.capitalize,Bt.ceil=rp.ceil,Bt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=U(r))==r?r:0),void 0!==n&&(n=(n=U(n))==n?n:0),zi(U(t),n,r)},Bt.clone=np.clone,Bt.cloneDeep=np.cloneDeep,Bt.cloneDeepWith=np.cloneDeepWith,Bt.cloneWith=np.cloneWith,Bt.conformsTo=np.conformsTo,Bt.deburr=op.deburr,Bt.defaultTo=up.defaultTo,Bt.divide=rp.divide,Bt.endsWith=op.endsWith,Bt.eq=np.eq,Bt.escape=op.escape,Bt.escapeRegExp=op.escapeRegExp,Bt.every=Qs.every,Bt.find=Qs.find,Bt.findIndex=Js.findIndex,Bt.findKey=ep.findKey,Bt.findLast=Qs.findLast,Bt.findLastIndex=Js.findLastIndex,Bt.findLastKey=ep.findLastKey,Bt.floor=rp.floor,Bt.forEach=Qs.forEach,Bt.forEachRight=Qs.forEachRight,Bt.forIn=ep.forIn,Bt.forInRight=ep.forInRight,Bt.forOwn=ep.forOwn,Bt.forOwnRight=ep.forOwnRight,Bt.get=ep.get,Bt.gt=np.gt,Bt.gte=np.gte,Bt.has=ep.has,Bt.hasIn=ep.hasIn,Bt.head=Js.head,Bt.identity=V,Bt.includes=Qs.includes,Bt.indexOf=Js.indexOf,Bt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=U(t),n,r)},Bt.invoke=ep.invoke,Bt.isArguments=np.isArguments,Bt.isArray=O,Bt.isArrayBuffer=np.isArrayBuffer,Bt.isArrayLike=np.isArrayLike,Bt.isArrayLikeObject=np.isArrayLikeObject,Bt.isBoolean=np.isBoolean,Bt.isBuffer=np.isBuffer,Bt.isDate=np.isDate,Bt.isElement=np.isElement,Bt.isEmpty=np.isEmpty,Bt.isEqual=np.isEqual,Bt.isEqualWith=np.isEqualWith,Bt.isError=np.isError,Bt.isFinite=np.isFinite,Bt.isFunction=np.isFunction,Bt.isInteger=np.isInteger,Bt.isLength=np.isLength,Bt.isMap=np.isMap,Bt.isMatch=np.isMatch,Bt.isMatchWith=np.isMatchWith,Bt.isNaN=np.isNaN,Bt.isNative=np.isNative,Bt.isNil=np.isNil,Bt.isNull=np.isNull,Bt.isNumber=np.isNumber,Bt.isObject=B,Bt.isObjectLike=np.isObjectLike,Bt.isPlainObject=np.isPlainObject,Bt.isRegExp=np.isRegExp,Bt.isSafeInteger=np.isSafeInteger,Bt.isSet=np.isSet,Bt.isString=np.isString,Bt.isSymbol=np.isSymbol,Bt.isTypedArray=np.isTypedArray,Bt.isUndefined=np.isUndefined,Bt.isWeakMap=np.isWeakMap,Bt.isWeakSet=np.isWeakSet,Bt.join=Js.join,Bt.kebabCase=op.kebabCase,Bt.last=wa,Bt.lastIndexOf=Js.lastIndexOf,Bt.lowerCase=op.lowerCase,Bt.lowerFirst=op.lowerFirst,Bt.lt=np.lt,Bt.lte=np.lte,Bt.max=rp.max,Bt.maxBy=rp.maxBy,Bt.mean=rp.mean,Bt.meanBy=rp.meanBy,Bt.min=rp.min,Bt.minBy=rp.minBy,Bt.stubArray=up.stubArray,Bt.stubFalse=up.stubFalse,Bt.stubObject=up.stubObject,Bt.stubString=up.stubString,Bt.stubTrue=up.stubTrue,Bt.multiply=rp.multiply,Bt.nth=Js.nth,Bt.noop=up.noop,Bt.now=Xs,Bt.pad=op.pad,Bt.padEnd=op.padEnd,Bt.padStart=op.padStart,Bt.parseInt=op.parseInt,Bt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Bt.reduce=Qs.reduce,Bt.reduceRight=Qs.reduceRight,Bt.repeat=op.repeat,Bt.replace=op.replace,Bt.result=ep.result,Bt.round=rp.round,Bt.sample=Qs.sample,Bt.size=Qs.size,Bt.snakeCase=op.snakeCase,Bt.some=Qs.some,Bt.sortedIndex=Js.sortedIndex,Bt.sortedIndexBy=Js.sortedIndexBy,Bt.sortedIndexOf=Js.sortedIndexOf,Bt.sortedLastIndex=Js.sortedLastIndex,Bt.sortedLastIndexBy=Js.sortedLastIndexBy,Bt.sortedLastIndexOf=Js.sortedLastIndexOf,Bt.startCase=op.startCase,Bt.startsWith=op.startsWith,Bt.subtract=rp.subtract,Bt.sum=rp.sum,Bt.sumBy=rp.sumBy,Bt.template=op.template,Bt.times=up.times,Bt.toFinite=np.toFinite,Bt.toInteger=K,Bt.toLength=np.toLength,Bt.toLower=op.toLower,Bt.toNumber=np.toNumber,Bt.toSafeInteger=np.toSafeInteger,Bt.toString=np.toString,Bt.toUpper=op.toUpper,Bt.trim=op.trim,Bt.trimEnd=op.trimEnd,Bt.trimStart=op.trimStart,Bt.truncate=op.truncate,Bt.unescape=op.unescape,Bt.uniqueId=up.uniqueId,Bt.upperCase=op.upperCase,Bt.upperFirst=op.upperFirst,Bt.each=Qs.forEach,Bt.eachRight=Qs.forEachRight,Bt.first=Js.head,gp(Bt,(Gs={},Ku(Bt,(function(t,n){pp.call(Bt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Bt.VERSION="4.17.21",(Bt.templateSettings=op.templateSettings).imports._=Bt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bt[t].placeholder=Bt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Nu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Nc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Nu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Bt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Bt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Bt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:gs,args:[l],thisArg:void 0}),new Rt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Bt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Bt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,g=t[f+=n];++d<s;){var y=l[d],_=y.iteratee,b=y.type,m=_(g);if(2==b)g=m;else if(!m){if(1==b)continue t;break t}}v[p++]=g}return v},Bt.prototype.at=ip.at,Bt.prototype.chain=ip.wrapperChain,Bt.prototype.commit=ip.commit,Bt.prototype.next=ip.next,Bt.prototype.plant=ip.plant,Bt.prototype.reverse=ip.reverse,Bt.prototype.toJSON=Bt.prototype.valueOf=Bt.prototype.value=ip.value,Bt.prototype.first=Bt.prototype.head,hp&&(Bt.prototype[hp]=ip.toIterator);const yp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=yp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=yp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=yp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ip=()=>!Ap(),Ep=Ip()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ip()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Sp(t)),i=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=yp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},zp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ep((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2269],{8503:(t,n,r)=>{r.r(n),r.d(n,{assets:()=>f,contentTitle:()=>a,default:()=>p,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),i=r(7355),o=r(5474);const u={},a="LazyImage",c={id:"react/components/LazyImage",title:"LazyImage",description:"Viewport\uc5d0 \ub178\ucd9c\ub420 \ub54c \ud560\ub2f9\ub41c \uc774\ubbf8\uc9c0\ub97c Lazy Loading \ud558\ub294 \uc774\ubbf8\uc9c0 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/LazyImage.mdx",sourceDirName:"react/components",slug:"/react/components/LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"InView",permalink:"/modern-kit/docs/react/components/InView"},next:{title:"Portal",permalink:"/modern-kit/docs/react/components/Portal"}},f={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Fallback",id:"fallback",level:3},{value:"Example",id:"example",level:2},{value:"Note",id:"note",level:2}];function s(t){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"lazyimage",children:"LazyImage"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub420 \ub54c \ud560\ub2f9\ub41c \uc774\ubbf8\uc9c0\ub97c ",(0,e.jsx)(n.code,{children:"Lazy Loading"})," \ud558\ub294 \uc774\ubbf8\uc9c0 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"width"}),", ",(0,e.jsx)(n.code,{children:"height"})," \uac12\uc744 \uc785\ub825\ud574 \uc774\ubbf8\uc9c0\uc758 \ud06c\uae30\ub97c \uc870\uc808 \ud560 \uc218 \uc788\uc73c\uba70, \ub3d9\uc2dc\uc5d0 ",(0,e.jsx)(n.code,{children:"Layout Shift"}),"\ub97c \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:["Intersection Observer Option\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.(\ud558\ub2e8 ",(0,e.jsx)(n.code,{children:"Note"})," \ucc38\uace0)"]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface LazyImageProps extends React.ComponentProps<'img'> {\n src: string;\n threshold?: number | number[]; // default: 0\n root?: Document | Element | null; // default: null\n rootMargin?: string; // default: '0px 0px 0px 0px'\n}\n\nconst LazyImage: React.ForwardRefExoticComponent<Omit<LazyImageProps, \"ref\"> & React.RefAttributes<HTMLDivElement>>\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { LazyImage } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\nimport img2 from '../assets/img2.png';\n\nconst Example = () => {\n return (\n <div>\n {/* ... */}\n <LazyImage width={400} height={400} src={img1} alt=\"img1\" />\n {/* ... */}\n <LazyImage width={400} height={400} src={img2} alt=\"img2\" />\n {/* ... */}\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h3,{id:"fallback",children:"Fallback"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { LazyImage } from '@modern-kit/react';\nimport img1 from '../assets/img1.png';\n\nconst Example = () => {\n const [isLoaded, setIsLoaded] = useState(false);\n\n const wrapperStyle: CSSProperties = {\n position: 'relative',\n width: '400px',\n height: '400px',\n };\n\n const imgStyle: CSSProperties = {\n position: 'absolute',\n top: 0,\n left: 0,\n opacity: isLoaded ? 1 : 0,\n transition: 'opacity 0.2s',\n };\n\n const skeletonStyle: CSSProperties = {\n width: '400px',\n height: '400px',\n backgroundColor: '#cdcbcb',\n }\n\n return (\n <div style={wrapperStyle}>\n {!isLoaded && <div style={skeletonStyle} />}\n <LazyImage\n style={imgStyle}\n width={400}\n height={400}\n src={img1}\n alt=\"img1\"\n onLoad={() => setIsLoaded(true)}\n />\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,e.jsxs)("div",{style:{maxWidth:"500px",height:"500px",overflow:"scroll",background:"#f8f8f8"},children:[(0,e.jsx)("div",{style:{width:"100%",height:"500px",textAlign:"center",fontSize:"2rem"},children:(0,e.jsx)(n.p,{children:"\uc2a4\ud06c\ub864 \ud574\uc8fc\uc138\uc694."})}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/b5640bec-2abc-4205-afbf-ccfd9876a90b",alt:"img1",onClick:()=>console.log("img click1")}),(0,e.jsx)("div",{style:{width:"100%",height:"150px"}}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/207743a7-b29f-4826-bc08-8df0d67e568b",alt:"img2",onClick:()=>console.log("img click2")}),(0,e.jsx)("div",{style:{width:"100%",height:"150px"}}),(0,e.jsx)(o.wY,{width:"100%",height:400,src:"https://github.com/Team-Grace/devgrace/assets/64779472/d1957ec8-fe87-406e-bfda-fb4ee505b152",alt:"img3",onClick:()=>console.log("img click3")})]}),"\n",(0,e.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,e.jsx)(n.p,{children:(0,e.jsx)(n.a,{href:"https://developer.mozilla.org/ko/docs/Web/API/IntersectionObserver",children:"Intersection Observer API"})})]})}function p(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(s,{...t})}):s(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Mp,df:()=>xp,iP:()=>zp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",g=c?c.toStringTag:void 0;function y(t){return null==t?void 0===t?d:v:g&&g in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&y(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,I=c?c.prototype:void 0,E=I?I.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return E?E.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var M=S((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var z=/^\s+/;function L(t){return t?t.slice(0,W(t)+1).replace(z,""):t}function B(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var P=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,N=parseInt;function U(t){if("number"==typeof t)return t;if(m(t))return P;if(B(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=B(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=L(t);var r=D.test(t);return r||T.test(t)?N(t.slice(2),r?2:8):C.test(t)?P:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=U(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",Y="[object GeneratorFunction]",H="[object Proxy]";function J(t){if(!B(t))return!1;var n=y(t);return n==G||n==Y||n==Z||n==H}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!B(t)||function(t){return!!tt&&tt in t}(t))&&(J(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!B(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function gt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return B(e)?e:r}}var yt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function It(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Et=pt?function(t){return pt.get(t)}:It,kt={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=kt[n],e=St.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function zt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var Lt=Object.prototype.hasOwnProperty;function Bt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(Lt.call(t,"__wrapped__"))return zt(t)}return new Rt(t)}function Pt(t){var n=Mt(t),r=Bt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Et(r);return!!e&&t===e[0]}Bt.prototype=xt.prototype,Bt.prototype.constructor=Bt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Nt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ut=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Yt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Yt,r)}function Jt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Jt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Nt);return n?n[1].split(Ut):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Pt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,gn=2,yn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&gn,v=n&(yn|_n),d=n&mn,g=h?void 0:gt(t);return function y(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(y),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,v)),o&&(b=wt(b,o,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,y.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof y&&(A=g||gt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,In=4,En=8,kn=128,Sn=256,Mn=Math.min,Rn="Expected a function",Wn=1,zn=2,Ln=8,Bn=16,Pn=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&zn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Pn|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:Et(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==En||e==kn&&r==Sn&&t[7].length<=n[8]||e==(kn|Sn)&&n[7].length<=n[8]&&r==En;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:In);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(Ln|Bn)&&(n&=~(Ln|Bn)),n&&n!=Wn)d=n==Ln||n==Bn?function(t,n,r){var e=gt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Pn&&n!=(Wn|Pn)||i.length?jn.apply(void 0,v):function(t,n,r,e){var i=n&wn,o=gt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n&yt,i=gt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Nn(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Un(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Un(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Un(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Yn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Yn}function Jn(t){return null!=t&&Hn(t.length)&&!J(t)}function Qn(t,n,r){if(!B(r))return!1;var e=typeof n;return!!("number"==e?Jn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==y(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,gr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,yr=gr&&gr.exports===dr&&o.process,_r=function(){try{return gr&&gr.require&&gr.require("util").types||yr&&yr.binding&&yr.binding("util")}catch(Ys){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Hn(t.length)&&!!hr[y(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Ir(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Er(t){return Jn(t)?wr(t):Ir(t)}var kr=Object.prototype.hasOwnProperty,Sr=Xn((function(t,n){if(nr(n)||Jn(n))Kn(n,Er(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Rr(t){return Jn(t)?wr(t,!0):function(t){if(!B(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),zr=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),Lr=Xn((function(t,n,r,e){Kn(n,Er(n),t,e)})),Br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Pr.test(t)||!Br.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Nr=Object.prototype.hasOwnProperty;function Ur(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Ur.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Ur.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ur.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Ur.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Nr.call(n,t)},Ur.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Ur,map:new(Kr||$r),string:new Ur}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Yr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Jr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Yr,(function(t,r,e,i){n.push(e?i.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Jr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ge=ve.toString,ye=de.hasOwnProperty,_e=ge.call(Object);function be(t){if(!_(t)||y(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ye.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ge.call(r)==_e}function me(t){if(!_(t))return!1;var n=y(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Un(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ie(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ee(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ie(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return ke.test(t)}var Me="\\ud800-\\udfff",Re="["+Me+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ze="\\ud83c[\\udffb-\\udfff]",Le="[^"+Me+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+ze+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[Le,Be,Pe].join("|")+")"+De+Ce+")*",Ne="(?:"+[Le+We+"?",We,Be,Pe,Re].join("|")+")",Ue=RegExp(ze+"(?="+ze+")|"+Ne+Te,"g");function Fe(t){return Se(t)?function(t){return t.match(Ue)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ee(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Je(t){return(t=Qr(t))&&t.replace(Ye,Ge).replace(He,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",gi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",yi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+yi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+yi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+gi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+gi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(wi(Je(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Ii=a.isFinite,Ei=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=U(t),(r=null==r?0:Ei(K(r),292))&&Ii(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Si=ki("ceil");function Mi(t){var n=Bt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function zi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Li(t){var n=this.__data__=new $r(t);this.size=n.size}function Bi(t,n){return t&&Kn(n,Er(n),t)}Li.prototype.clear=function(){this.__data__=new $r,this.size=0},Li.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Li.prototype.get=function(t){return this.__data__.get(t)},Li.prototype.has=function(t){return this.__data__.has(t)},Li.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Pi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Pi&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Pi?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ni(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ui(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ui($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Er,Ki)}function Yi(t){return Zi(t,Rr,Vi)}var Hi=lt(a,"DataView"),Ji=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Hi),oo=rt(Kr),uo=rt(Ji),ao=rt(Qi),co=rt(st),fo=y;(Hi&&fo(new Hi(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Ji&&fo(Ji.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=y(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,go=c?c.prototype:void 0,yo=go?go.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Io="[object Symbol]",Eo="[object ArrayBuffer]",ko="[object DataView]",So="[object Float32Array]",Mo="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",zo="[object Int32Array]",Lo="[object Uint8Array]",Bo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,No=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},Uo=_r&&_r.isSet,Fo=Uo?vr(Uo):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!B(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ni(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Bi(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Eo:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case So:case Mo:case Ro:case Wo:case zo:case Lo:case Bo:case Po:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Io:return e=t,yo?Object(yo.call(e)):{}}}(t,s,a)}}o||(o=new Li);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):No(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Yi:Gi:c?Rr:Er)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Yo(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ho(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Jo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Jo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var g=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!Yo(n,(function(t,n){if(!Ho(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,gu=du?du.valueOf:void 0,yu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new Li),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(gu)return gu.call(t)==gu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,g=v?n.value():n;return o||(o=new Li),i(d,g,r,e,o)}}return!!p&&(o||(o=new Li),function(t,n,r,e,i,o){var u=r&yu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],g=n[l];if(e)var y=u?e(g,d,l,n,t,o):e(d,g,l,t,n,o);if(!(void 0===y?d===g||i(d,g,r,e,o):y)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Iu=2;function Eu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Li;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Iu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!B(t)}function Su(t){for(var n=Er(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||Eu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function zu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Hn(i)&&sn(u,i)&&(O(t)||ar(t))}function Lu(t,n){return null!=t&&zu(t,n,Wu)}var Bu=1,Pu=2;function Cu(t,n){return Cr(t)&&ku(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Lu(r,t):Ou(n,e,Bu|Pu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Nu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Uu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Er)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Jn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Yu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Nu(e),o)}}var Hu=Object.prototype.hasOwnProperty,Ju=Yu((function(t,n,r){Hu.call(t,r)?++t[r]:Un(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return g(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function g(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function y(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=U(n)||0,B(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(U(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},y.flush=function(){return void 0===a?u:g(ta())},y}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Un(t,n,r)}function ca(t){return _(t)&&Jn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new Li),B(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Wt(a):h?(s=!1,l=Ni(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):B(a)&&!J(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return B(t)&&B(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ga=Gn((function(t,n){return da(t,1,n)})),ya=Gn((function(t,n,r){return da(t,U(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Jt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Ho,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Nu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ia(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ie(t,e?0:o,e?o+1:i):Ie(t,e?o+1:0,e?i:o)}function Ea(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ea(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Ra(t,n){return t&&Ma(t,n,Er)}var Wa=Vu(Ra,!0);function za(t,n){return(O(t)?Sa:Wa)(t,Ea(n))}function La(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Ba=La(Er),Pa=La(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Na(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Ua=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Ua.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?zi(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Jn(n)){var o=Nu(r);n=Er(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ya(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Nu(n),i)}var Ha=Za(Ya);function Ja(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Nu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Jn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Nu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==Mt(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(o=n[e]),c="wrapper"==a?Et(o):void 0;u=c&&Pt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==o.length&&Pt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ui(n,(function(n){return J(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Yu((function(t,n,r){lc.call(t,r)?t[r].push(n):Un(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=U(n),r=U(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),gc=Object.prototype.hasOwnProperty;function yc(t,n){return null!=t&&gc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&y(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Er(t))}var Oc=Math.max,Ac=Math.max,Ic=Math.min;function Ec(t,n,r){for(var e=r?_a:Jt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ic(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Ho(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Ho(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ec(n):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ec(r,Nu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ec(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var zc=Object.prototype.toString,Lc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=zc.call(n)),t[n]=r}),qt(V)),Bc=Object.prototype,Pc=Bc.hasOwnProperty,Cc=Bc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Pc.call(t,n)?t[n].push(r):t[n]=[r]}),Nu);function Tc(t,n){return n.length<2?t:re(t,Ie(n,0,-1))}function Nc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Uc=Gn(Nc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Jn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Nc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==y(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==y(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Yc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==y(t)}var Jc=X?J:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==y(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Yu((function(t,n,r){Un(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Nc(r,t,n)}})),gf=Gn((function(t,n){return function(r){return Nc(t,r,n)}}));function yf(t,n,r){var e=Er(n),i=fc(n,e),o=!(B(r)&&"chain"in r&&!r.chain),u=J(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Jn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Yi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function If(t,n,r,e){if(!B(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=B(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Ef(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&If(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Yi(t),(function(t){return[t]}));return n=Nu(n),Ef(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Nu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=Sf(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,vr(Nu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),zf=Gn,Lf=Math.min,Bf=zf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Nu)):x(ce(n,1),vr(Nu))).length;return Gn((function(e){for(var i=-1,o=Lf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Pf=Rf(qa),Cf=Rf(Yo),Df=9007199254740991,Tf=Math.floor;function Nf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Uf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Yf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Jf=Hf+Yf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Hf+Yf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Jf,"g");function tl(t){return Se(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Uf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Nf(n,t):n;var e=Nf(n,nl(t/tl(n)));return Se(n)?Ee(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Yu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Ef(t,n,(function(n,r){return Lu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Ht,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),gl=Array.prototype.splice;function yl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?gl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return yl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Sf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,Il=Math.max;function El(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=Il(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=El(),Sl=El(!0),Ml=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var zl=Array.prototype.reverse;function Ll(t){return null==t?t:zl.call(t)}var Bl=ki("round");function Pl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Pl(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),zi(n,0,t.length))}function Nl(t,n){var r=xc(t);return Dl(r,zi(n,0,r.length))}function Ul(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Yl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var g=e||v;else g=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);g?i=l+1:o=l}return Gl(o,Vl)}function Hl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Yl(t,n,V,r)}function Jl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Na}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function gs(t,n){return n(t)}var ys=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Is=/&(?:amp|lt|gt|quot|#39);/g,Es=RegExp(Is.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:It,Ss=200;function Ms(t,n,r){var e=-1,i=Jt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Ss){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Ho,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Gn((function(t){return Ms(ce(t,1,ca,!0))})),Ws=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ms(ce(t,1,ca,!0),Nu(n))})),zs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ms(ce(t,1,ca,!0),void 0,n)})),Ls=0,Bs=Math.max;function Ps(t){if(!t||!t.length)return[];var n=0;return t=Ui(t,(function(t){if(ca(t))return n=Bs(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ps(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return If(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Ns=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Us=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:gs,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ms(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ms(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ui(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ui(t,ca),Nu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ui(t,ca),void 0,n)})),Vs=Gn(Ps);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Ys,Hs=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Js={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ie(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ya,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Ht(t,n,i)},initial:function(t){return null!=t&&t.length?Ie(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Yt,i,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Nu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Nu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return yl(t,i),r},reverse:Ll,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ie(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Yl(t,n,Nu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Yl(t,n,Nu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Jl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Jl(t,Nu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ie(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ie(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ie(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ia(t,Nu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ia(t,Nu(n)):[]},union:Rs,unionBy:Ws,unionWith:zs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Nu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ps,unzipWith:Cs,without:Ns,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],If)},zipWith:Hs},Qs={countBy:Ju,each:ka,eachRight:za,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Nu(n))},filter:function(t,n){return(O(t)?Ui:Va)(t,Nu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:za,groupBy:sc,includes:function(t,n,r,e){t=Jn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Rl,i=arguments.length<3;return e(t,Nu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Nu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ui:Va)(t,bf(Nu(n)))},sample:function(t){return(O(t)?Pl:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Nl)(t,n)},shuffle:function(t){return(O(t)?Ul:Fl)(t)},size:function(t){if(null==t)return 0;if(Jn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Ir(t).length},some:function(t,n,r){var e=O(t)?Yo:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Nu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Nn,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ga,delay:ya,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Bf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(K(n),0),Gn((function(r){var e=r[n],i=Ee(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return B(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Nn(t,1)},wrap:function(t,n){return al(Ea(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Uu(t,n,Er(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Jn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==y(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Jn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Ir(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:J,isInteger:Yc,isLength:Hn,isMap:No,isMatch:function(t,n){return t===n||Eu(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Eu(t,n,Su(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Jc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:B,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Yc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==y(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:U,toPlainObject:la,toSafeInteger:function(t){return t?zi(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Si,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Nu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Nu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Nu(n),cf):void 0},multiply:_f,round:Bl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Nu(n)):0}},ep={assign:Sr,assignIn:Wr,assignInWith:zr,assignWith:Lr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Bi(r,n)},defaults:ua,defaultsDeep:va,entries:Ba,entriesIn:Pa,extend:Wr,extendWith:zr,findKey:function(t,n){return Ja(t,Nu(n),Ku)},findLastKey:function(t,n){return Ja(t,Nu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ea(n),Rr)},forInRight:function(t,n){return null==t?t:Ma(t,Ea(n),Rr)},forOwn:function(t,n){return t&&Ku(t,Ea(n))},forOwnRight:function(t,n){return t&&Ra(t,Ea(n))},functions:function(t){return null==t?[]:fc(t,Er(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&zu(t,n,yc)},hasIn:Lu,invert:Lc,invertBy:Dc,invoke:Uc,keys:Er,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Nu(n),Ku(t,(function(t,e,i){Un(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Nu(n),Ku(t,(function(t,e,i){Un(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Nu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=J(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:If(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:If(t,n,r,e)},toPairs:Ba,toPairsIn:Pa,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Nu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:B(t)&&J(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ea(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ea(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Us,chain:Mi,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Bt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=zt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:gs,args:[Ll],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(Ll)},tap:function(t,n){return n(t),t},thru:gs,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mi(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Je,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:zi(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Na,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Ua,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Nf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Se(t)?Ee(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:zi(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=zr({},n,e,es);var i,o,u=zr({},n.imports,e.imports,es),a=Er(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return L(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ee(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(B(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Se(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ee(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Es.test(t)?t.replace(Is,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Nu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Er(t);return function(r){return Uu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Nu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:gf,mixin:yf,noop:It,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Pf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Sl,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=ys,e=_s(t,ys);n=Ea(n),t-=ys;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Jr(Qr(t)))},uniqueId:function(t){var n=++Ls;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,gp=(Ys=yf,function(t,n,r){if(null==r){var e=B(n),i=e&&Er(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Ys(t,n,r)});Bt.after=tp.after,Bt.ary=tp.ary,Bt.assign=ep.assign,Bt.assignIn=ep.assignIn,Bt.assignInWith=ep.assignInWith,Bt.assignWith=ep.assignWith,Bt.at=ep.at,Bt.before=tp.before,Bt.bind=tp.bind,Bt.bindAll=up.bindAll,Bt.bindKey=tp.bindKey,Bt.castArray=np.castArray,Bt.chain=ip.chain,Bt.chunk=Js.chunk,Bt.compact=Js.compact,Bt.concat=Js.concat,Bt.cond=up.cond,Bt.conforms=up.conforms,Bt.constant=up.constant,Bt.countBy=Qs.countBy,Bt.create=ep.create,Bt.curry=tp.curry,Bt.curryRight=tp.curryRight,Bt.debounce=tp.debounce,Bt.defaults=ep.defaults,Bt.defaultsDeep=ep.defaultsDeep,Bt.defer=tp.defer,Bt.delay=tp.delay,Bt.difference=Js.difference,Bt.differenceBy=Js.differenceBy,Bt.differenceWith=Js.differenceWith,Bt.drop=Js.drop,Bt.dropRight=Js.dropRight,Bt.dropRightWhile=Js.dropRightWhile,Bt.dropWhile=Js.dropWhile,Bt.fill=Js.fill,Bt.filter=Qs.filter,Bt.flatMap=Qs.flatMap,Bt.flatMapDeep=Qs.flatMapDeep,Bt.flatMapDepth=Qs.flatMapDepth,Bt.flatten=Js.flatten,Bt.flattenDeep=Js.flattenDeep,Bt.flattenDepth=Js.flattenDepth,Bt.flip=tp.flip,Bt.flow=up.flow,Bt.flowRight=up.flowRight,Bt.fromPairs=Js.fromPairs,Bt.functions=ep.functions,Bt.functionsIn=ep.functionsIn,Bt.groupBy=Qs.groupBy,Bt.initial=Js.initial,Bt.intersection=Js.intersection,Bt.intersectionBy=Js.intersectionBy,Bt.intersectionWith=Js.intersectionWith,Bt.invert=ep.invert,Bt.invertBy=ep.invertBy,Bt.invokeMap=Qs.invokeMap,Bt.iteratee=up.iteratee,Bt.keyBy=Qs.keyBy,Bt.keys=Er,Bt.keysIn=ep.keysIn,Bt.map=Qs.map,Bt.mapKeys=ep.mapKeys,Bt.mapValues=ep.mapValues,Bt.matches=up.matches,Bt.matchesProperty=up.matchesProperty,Bt.memoize=tp.memoize,Bt.merge=ep.merge,Bt.mergeWith=ep.mergeWith,Bt.method=up.method,Bt.methodOf=up.methodOf,Bt.mixin=gp,Bt.negate=bf,Bt.nthArg=up.nthArg,Bt.omit=ep.omit,Bt.omitBy=ep.omitBy,Bt.once=tp.once,Bt.orderBy=Qs.orderBy,Bt.over=up.over,Bt.overArgs=tp.overArgs,Bt.overEvery=up.overEvery,Bt.overSome=up.overSome,Bt.partial=tp.partial,Bt.partialRight=tp.partialRight,Bt.partition=Qs.partition,Bt.pick=ep.pick,Bt.pickBy=ep.pickBy,Bt.property=up.property,Bt.propertyOf=up.propertyOf,Bt.pull=Js.pull,Bt.pullAll=Js.pullAll,Bt.pullAllBy=Js.pullAllBy,Bt.pullAllWith=Js.pullAllWith,Bt.pullAt=Js.pullAt,Bt.range=up.range,Bt.rangeRight=up.rangeRight,Bt.rearg=tp.rearg,Bt.reject=Qs.reject,Bt.remove=Js.remove,Bt.rest=tp.rest,Bt.reverse=Js.reverse,Bt.sampleSize=Qs.sampleSize,Bt.set=ep.set,Bt.setWith=ep.setWith,Bt.shuffle=Qs.shuffle,Bt.slice=Js.slice,Bt.sortBy=Qs.sortBy,Bt.sortedUniq=Js.sortedUniq,Bt.sortedUniqBy=Js.sortedUniqBy,Bt.split=op.split,Bt.spread=tp.spread,Bt.tail=Js.tail,Bt.take=Js.take,Bt.takeRight=Js.takeRight,Bt.takeRightWhile=Js.takeRightWhile,Bt.takeWhile=Js.takeWhile,Bt.tap=ip.tap,Bt.throttle=tp.throttle,Bt.thru=gs,Bt.toArray=np.toArray,Bt.toPairs=ep.toPairs,Bt.toPairsIn=ep.toPairsIn,Bt.toPath=up.toPath,Bt.toPlainObject=np.toPlainObject,Bt.transform=ep.transform,Bt.unary=tp.unary,Bt.union=Js.union,Bt.unionBy=Js.unionBy,Bt.unionWith=Js.unionWith,Bt.uniq=Js.uniq,Bt.uniqBy=Js.uniqBy,Bt.uniqWith=Js.uniqWith,Bt.unset=ep.unset,Bt.unzip=Js.unzip,Bt.unzipWith=Js.unzipWith,Bt.update=ep.update,Bt.updateWith=ep.updateWith,Bt.values=ep.values,Bt.valuesIn=ep.valuesIn,Bt.without=Js.without,Bt.words=op.words,Bt.wrap=tp.wrap,Bt.xor=Js.xor,Bt.xorBy=Js.xorBy,Bt.xorWith=Js.xorWith,Bt.zip=Js.zip,Bt.zipObject=Js.zipObject,Bt.zipObjectDeep=Js.zipObjectDeep,Bt.zipWith=Js.zipWith,Bt.entries=ep.toPairs,Bt.entriesIn=ep.toPairsIn,Bt.extend=ep.assignIn,Bt.extendWith=ep.assignInWith,gp(Bt,Bt),Bt.add=rp.add,Bt.attempt=up.attempt,Bt.camelCase=op.camelCase,Bt.capitalize=op.capitalize,Bt.ceil=rp.ceil,Bt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=U(r))==r?r:0),void 0!==n&&(n=(n=U(n))==n?n:0),zi(U(t),n,r)},Bt.clone=np.clone,Bt.cloneDeep=np.cloneDeep,Bt.cloneDeepWith=np.cloneDeepWith,Bt.cloneWith=np.cloneWith,Bt.conformsTo=np.conformsTo,Bt.deburr=op.deburr,Bt.defaultTo=up.defaultTo,Bt.divide=rp.divide,Bt.endsWith=op.endsWith,Bt.eq=np.eq,Bt.escape=op.escape,Bt.escapeRegExp=op.escapeRegExp,Bt.every=Qs.every,Bt.find=Qs.find,Bt.findIndex=Js.findIndex,Bt.findKey=ep.findKey,Bt.findLast=Qs.findLast,Bt.findLastIndex=Js.findLastIndex,Bt.findLastKey=ep.findLastKey,Bt.floor=rp.floor,Bt.forEach=Qs.forEach,Bt.forEachRight=Qs.forEachRight,Bt.forIn=ep.forIn,Bt.forInRight=ep.forInRight,Bt.forOwn=ep.forOwn,Bt.forOwnRight=ep.forOwnRight,Bt.get=ep.get,Bt.gt=np.gt,Bt.gte=np.gte,Bt.has=ep.has,Bt.hasIn=ep.hasIn,Bt.head=Js.head,Bt.identity=V,Bt.includes=Qs.includes,Bt.indexOf=Js.indexOf,Bt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=U(t),n,r)},Bt.invoke=ep.invoke,Bt.isArguments=np.isArguments,Bt.isArray=O,Bt.isArrayBuffer=np.isArrayBuffer,Bt.isArrayLike=np.isArrayLike,Bt.isArrayLikeObject=np.isArrayLikeObject,Bt.isBoolean=np.isBoolean,Bt.isBuffer=np.isBuffer,Bt.isDate=np.isDate,Bt.isElement=np.isElement,Bt.isEmpty=np.isEmpty,Bt.isEqual=np.isEqual,Bt.isEqualWith=np.isEqualWith,Bt.isError=np.isError,Bt.isFinite=np.isFinite,Bt.isFunction=np.isFunction,Bt.isInteger=np.isInteger,Bt.isLength=np.isLength,Bt.isMap=np.isMap,Bt.isMatch=np.isMatch,Bt.isMatchWith=np.isMatchWith,Bt.isNaN=np.isNaN,Bt.isNative=np.isNative,Bt.isNil=np.isNil,Bt.isNull=np.isNull,Bt.isNumber=np.isNumber,Bt.isObject=B,Bt.isObjectLike=np.isObjectLike,Bt.isPlainObject=np.isPlainObject,Bt.isRegExp=np.isRegExp,Bt.isSafeInteger=np.isSafeInteger,Bt.isSet=np.isSet,Bt.isString=np.isString,Bt.isSymbol=np.isSymbol,Bt.isTypedArray=np.isTypedArray,Bt.isUndefined=np.isUndefined,Bt.isWeakMap=np.isWeakMap,Bt.isWeakSet=np.isWeakSet,Bt.join=Js.join,Bt.kebabCase=op.kebabCase,Bt.last=wa,Bt.lastIndexOf=Js.lastIndexOf,Bt.lowerCase=op.lowerCase,Bt.lowerFirst=op.lowerFirst,Bt.lt=np.lt,Bt.lte=np.lte,Bt.max=rp.max,Bt.maxBy=rp.maxBy,Bt.mean=rp.mean,Bt.meanBy=rp.meanBy,Bt.min=rp.min,Bt.minBy=rp.minBy,Bt.stubArray=up.stubArray,Bt.stubFalse=up.stubFalse,Bt.stubObject=up.stubObject,Bt.stubString=up.stubString,Bt.stubTrue=up.stubTrue,Bt.multiply=rp.multiply,Bt.nth=Js.nth,Bt.noop=up.noop,Bt.now=Xs,Bt.pad=op.pad,Bt.padEnd=op.padEnd,Bt.padStart=op.padStart,Bt.parseInt=op.parseInt,Bt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Bt.reduce=Qs.reduce,Bt.reduceRight=Qs.reduceRight,Bt.repeat=op.repeat,Bt.replace=op.replace,Bt.result=ep.result,Bt.round=rp.round,Bt.sample=Qs.sample,Bt.size=Qs.size,Bt.snakeCase=op.snakeCase,Bt.some=Qs.some,Bt.sortedIndex=Js.sortedIndex,Bt.sortedIndexBy=Js.sortedIndexBy,Bt.sortedIndexOf=Js.sortedIndexOf,Bt.sortedLastIndex=Js.sortedLastIndex,Bt.sortedLastIndexBy=Js.sortedLastIndexBy,Bt.sortedLastIndexOf=Js.sortedLastIndexOf,Bt.startCase=op.startCase,Bt.startsWith=op.startsWith,Bt.subtract=rp.subtract,Bt.sum=rp.sum,Bt.sumBy=rp.sumBy,Bt.template=op.template,Bt.times=up.times,Bt.toFinite=np.toFinite,Bt.toInteger=K,Bt.toLength=np.toLength,Bt.toLower=op.toLower,Bt.toNumber=np.toNumber,Bt.toSafeInteger=np.toSafeInteger,Bt.toString=np.toString,Bt.toUpper=op.toUpper,Bt.trim=op.trim,Bt.trimEnd=op.trimEnd,Bt.trimStart=op.trimStart,Bt.truncate=op.truncate,Bt.unescape=op.unescape,Bt.uniqueId=up.uniqueId,Bt.upperCase=op.upperCase,Bt.upperFirst=op.upperFirst,Bt.each=Qs.forEach,Bt.eachRight=Qs.forEachRight,Bt.first=Js.head,gp(Bt,(Gs={},Ku(Bt,(function(t,n){pp.call(Bt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Bt.VERSION="4.17.21",(Bt.templateSettings=op.templateSettings).imports._=Bt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bt[t].placeholder=Bt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Nu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Nc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Nu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Bt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Bt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Bt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:gs,args:[l],thisArg:void 0}),new Rt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Bt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Bt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,g=t[f+=n];++d<s;){var y=l[d],_=y.iteratee,b=y.type,m=_(g);if(2==b)g=m;else if(!m){if(1==b)continue t;break t}}v[p++]=g}return v},Bt.prototype.at=ip.at,Bt.prototype.chain=ip.wrapperChain,Bt.prototype.commit=ip.commit,Bt.prototype.next=ip.next,Bt.prototype.plant=ip.plant,Bt.prototype.reverse=ip.reverse,Bt.prototype.toJSON=Bt.prototype.valueOf=Bt.prototype.value=ip.value,Bt.prototype.first=Bt.prototype.head,hp&&(Bt.prototype[hp]=ip.toIterator);const yp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=yp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=yp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=yp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ip=()=>!Ap(),Ep=Ip()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ip()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Sp(t)),i=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=yp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},zp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ep((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file diff --git a/assets/js/5c9b0204.8c19170c.js b/assets/js/5c9b0204.3057c91f.js similarity index 97% rename from assets/js/5c9b0204.8c19170c.js rename to assets/js/5c9b0204.3057c91f.js index bdd761346..02cb38341 100644 --- a/assets/js/5c9b0204.8c19170c.js +++ b/assets/js/5c9b0204.3057c91f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6331],{9815:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>l});var c=t(5735),s=t(7355);const r={},o="pick",i={id:"utils/object/pick",title:"pick",description:"\uc778\uc790\ub85c \ub123\uc740 keys\ub85c \uad6c\uc131\ub41c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 \uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/pick.md",sourceDirName:"utils/object",slug:"/utils/object/pick",permalink:"/modern-kit/docs/utils/object/pick",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"omit",permalink:"/modern-kit/docs/utils/object/omit"},next:{title:"countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.h1,{id:"pick",children:"pick"}),"\n",(0,c.jsxs)(n.p,{children:["\uc778\uc790\ub85c \ub123\uc740 ",(0,c.jsx)(n.code,{children:"keys"}),"\ub85c \uad6c\uc131\ub41c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 ",(0,c.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"symbol"}),"\uc740 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,c.jsx)("br",{}),"\n",(0,c.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst pick: <\n T extends Record<PropertyKey, T[keyof T]>,\n K extends ObjectKeys<T>\n>(\n obj: T,\n keys: K | K[]\n) => Pick<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;\n"})}),"\n",(0,c.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-ts",children:"import { pick } from '@modern-kit/utils';\n\nconst pickedObj1 = pick({ a: 1, b: 2, c: 3 }, 'b'); // { b: 2 }\nconst pickedObj2 = pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 }\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>o});var c=t(4614);const s={},r=c.createContext(s);function o(e){const n=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),c.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6331],{2490:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>l});var c=t(5735),s=t(7355);const r={},o="pick",i={id:"utils/object/pick",title:"pick",description:"\uc778\uc790\ub85c \ub123\uc740 keys\ub85c \uad6c\uc131\ub41c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 \uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/pick.md",sourceDirName:"utils/object",slug:"/utils/object/pick",permalink:"/modern-kit/docs/utils/object/pick",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"omit",permalink:"/modern-kit/docs/utils/object/omit"},next:{title:"countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.h1,{id:"pick",children:"pick"}),"\n",(0,c.jsxs)(n.p,{children:["\uc778\uc790\ub85c \ub123\uc740 ",(0,c.jsx)(n.code,{children:"keys"}),"\ub85c \uad6c\uc131\ub41c \uac1d\uccb4\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ubc18\ud658\ub41c \uac1d\uccb4\ub294 ",(0,c.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \uac1d\uccb4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"symbol"}),"\uc740 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,c.jsx)("br",{}),"\n",(0,c.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst pick: <\n T extends Record<PropertyKey, T[keyof T]>,\n K extends ObjectKeys<T>\n>(\n obj: T,\n keys: K | K[]\n) => Pick<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;\n"})}),"\n",(0,c.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-ts",children:"import { pick } from '@modern-kit/utils';\n\nconst pickedObj1 = pick({ a: 1, b: 2, c: 3 }, 'b'); // { b: 2 }\nconst pickedObj2 = pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 }\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>o});var c=t(4614);const s={},r=c.createContext(s);function o(e){const n=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),c.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5cdabd8b.a641e82b.js b/assets/js/5cdabd8b.7ffc1f1b.js similarity index 97% rename from assets/js/5cdabd8b.a641e82b.js rename to assets/js/5cdabd8b.7ffc1f1b.js index 09f47dcab..221ebd602 100644 --- a/assets/js/5cdabd8b.a641e82b.js +++ b/assets/js/5cdabd8b.7ffc1f1b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8640],{4719:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=t(5735),s=t(7355);const a={},c="removeSpecialCharacters",i={id:"utils/string/removeSpecialCharacters",title:"removeSpecialCharacters",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \ud2b9\uc218 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/removeSpecialCharacters.md",sourceDirName:"utils/string",slug:"/utils/string/removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber"},next:{title:"repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters"}},o={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const r={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"removespecialcharacters",children:"removeSpecialCharacters"}),"\n",(0,n.jsxs)(r.p,{children:["\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 ",(0,n.jsx)(r.code,{children:"\ud2b9\uc218 \ubb38\uc790"}),"\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"const removeSpecialCharacters: (value: string) => string\n"})}),"\n",(0,n.jsx)(r.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-ts",children:"import { removeSpecialCharacters } from '@modern-kit/utils';\n\nconst str = removeSpecialCharacters('H@#!ello, @Wo!@!&@rld!'); // Hello World\n"})})]})}function u(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,r,t)=>{t.d(r,{Z:()=>i,a:()=>c});var n=t(4614);const s={},a=n.createContext(s);function c(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8640],{7114:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=t(5735),s=t(7355);const a={},c="removeSpecialCharacters",i={id:"utils/string/removeSpecialCharacters",title:"removeSpecialCharacters",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \ud2b9\uc218 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/removeSpecialCharacters.md",sourceDirName:"utils/string",slug:"/utils/string/removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber"},next:{title:"repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters"}},o={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const r={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"removespecialcharacters",children:"removeSpecialCharacters"}),"\n",(0,n.jsxs)(r.p,{children:["\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 ",(0,n.jsx)(r.code,{children:"\ud2b9\uc218 \ubb38\uc790"}),"\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"const removeSpecialCharacters: (value: string) => string\n"})}),"\n",(0,n.jsx)(r.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-ts",children:"import { removeSpecialCharacters } from '@modern-kit/utils';\n\nconst str = removeSpecialCharacters('H@#!ello, @Wo!@!&@rld!'); // Hello World\n"})})]})}function u(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,r,t)=>{t.d(r,{Z:()=>i,a:()=>c});var n=t(4614);const s={},a=n.createContext(s);function c(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d610355.6d908131.js b/assets/js/5d610355.ee0115db.js similarity index 98% rename from assets/js/5d610355.6d908131.js rename to assets/js/5d610355.ee0115db.js index 533ee1661..f061e02d4 100644 --- a/assets/js/5d610355.6d908131.js +++ b/assets/js/5d610355.ee0115db.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1958],{1098:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var r=t(5735),s=t(7355);const a={},o="useInterval",c={id:"react/hooks/useInterval",title:"useInterval",description:"window.setInterval\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useInterval.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver"},next:{title:"useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted"}},l={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"useinterval",children:"useInterval"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"window.setInterval"}),"\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"window.setInterva"}),"\uacfc ",(0,r.jsx)(n.code,{children:"useInterval"})," \ud6c5\uc758 \uc8fc\uc694 \ucc28\uc774\uc810\uc740 \uadf8 \uc778\uc218\uac00 ",(0,r.jsx)(n.code,{children:"\ub3d9\uc801"}),"\uc774\ub77c\ub294 \uac83\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"delay"}),"\uc758 \uac12\uc73c\ub85c ",(0,r.jsx)(n.code,{children:"null"}),"\uc744 \ub123\uc73c\uba74 \ud0c0\uc774\uba38\ub97c \uc911\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"type SetIntervalParameters = Parameters<typeof setInterval>;\n\nconst useInterval: (callback: SetIntervalParameters[0], delay?: SetIntervalParameters[1]) => void\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { useInterval } from '@modern-kit/react';\n\nconst Example = () => {\n const [number, setNumber] = useState(0);\n const [isPlaying, setIsPlaying] = useState(true);\n\n useInterval(() => setNumber(number + 1), 1000);\n\n return (\n <div>\n <div>{number}</div>\n <button onClick={() => setIsPlaying(false)}>button</button>\n </div>\n );\n};\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>o});var r=t(4614);const s={},a=r.createContext(s);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1958],{9504:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var r=t(5735),s=t(7355);const a={},o="useInterval",c={id:"react/hooks/useInterval",title:"useInterval",description:"window.setInterval\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useInterval.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useInterval",permalink:"/modern-kit/docs/react/hooks/useInterval",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIntersectionObserver",permalink:"/modern-kit/docs/react/hooks/useIntersectionObserver"},next:{title:"useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted"}},l={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"useinterval",children:"useInterval"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"window.setInterval"}),"\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"window.setInterva"}),"\uacfc ",(0,r.jsx)(n.code,{children:"useInterval"})," \ud6c5\uc758 \uc8fc\uc694 \ucc28\uc774\uc810\uc740 \uadf8 \uc778\uc218\uac00 ",(0,r.jsx)(n.code,{children:"\ub3d9\uc801"}),"\uc774\ub77c\ub294 \uac83\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"delay"}),"\uc758 \uac12\uc73c\ub85c ",(0,r.jsx)(n.code,{children:"null"}),"\uc744 \ub123\uc73c\uba74 \ud0c0\uc774\uba38\ub97c \uc911\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"type SetIntervalParameters = Parameters<typeof setInterval>;\n\nconst useInterval: (callback: SetIntervalParameters[0], delay?: SetIntervalParameters[1]) => void\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { useInterval } from '@modern-kit/react';\n\nconst Example = () => {\n const [number, setNumber] = useState(0);\n const [isPlaying, setIsPlaying] = useState(true);\n\n useInterval(() => setNumber(number + 1), 1000);\n\n return (\n <div>\n <div>{number}</div>\n <button onClick={() => setIsPlaying(false)}>button</button>\n </div>\n );\n};\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>o});var r=t(4614);const s={},a=r.createContext(s);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.4eef2d5a.js b/assets/js/5e95c892.4eef2d5a.js new file mode 100644 index 000000000..370c5cf48 --- /dev/null +++ b/assets/js/5e95c892.4eef2d5a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9661],{9963:(e,s,r)=>{r.r(s),r.d(s,{default:()=>l});r(4614);var c=r(605),u=r(9603),a=r(1329),d=r(2251),n=r(1054),t=r(5735);function l(e){return(0,t.jsx)(u.FG,{className:(0,c.Z)(a.k.wrapper.docsPages),children:(0,t.jsx)(n.Z,{children:(0,d.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.efd20481.js b/assets/js/5e95c892.efd20481.js deleted file mode 100644 index a73bad5ca..000000000 --- a/assets/js/5e95c892.efd20481.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9661],{4710:(e,s,r)=>{r.r(s),r.d(s,{default:()=>l});r(4614);var c=r(7475),u=r(5839),a=r(8349),d=r(9048),n=r(5754),t=r(5735);function l(e){return(0,t.jsx)(u.FG,{className:(0,c.Z)(a.k.wrapper.docsPages),children:(0,t.jsx)(n.Z,{children:(0,d.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/61a35b61.1a619054.js b/assets/js/61a35b61.a078a4a7.js similarity index 99% rename from assets/js/61a35b61.1a619054.js rename to assets/js/61a35b61.a078a4a7.js index 6e36518b0..6dd584cf3 100644 --- a/assets/js/61a35b61.1a619054.js +++ b/assets/js/61a35b61.a078a4a7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9034],{4320:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>s,assets:()=>f,contentTitle:()=>a,default:()=>v,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),i=r(7355),o=r(5474);const u={},a="useMediaQuery",c={id:"react/hooks/useMediaQuery",title:"useMediaQuery",description:"Resize \uc2dc\uc5d0\ub3c4 \ub3d9\uc791\ud558\uba70, \ubbf8\ub514\uc5b4 \ucffc\ub9ac \ubb38\uc790\uc5f4\uc758 \ubd84\uc11d \uacb0\uacfc\ub97c \uc27d\uac8c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useMediaQuery.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect"},next:{title:"useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs"}},f={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}],s=()=>{const t={div:"div",p:"p",...(0,i.a)()},{isMatch:n}=(0,o.ac)("(min-width: 768px)");return(0,e.jsxs)(t.div,{children:[(0,e.jsx)(t.p,{children:"\ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc218\uc815\ud574\ubcf4\uc138\uc694!"}),(0,e.jsx)(t.p,{children:n?"viewport \ub108\ube44\uac00 768px \uc774\uc0c1\uc785\ub2c8\ub2e4.":"viewport \ub108\ube44\uac00 768px \ubbf8\ub9cc\uc785\ub2c8\ub2e4."})]})};function p(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"usemediaquery",children:"useMediaQuery"}),"\n",(0,e.jsx)(n.p,{children:"Resize \uc2dc\uc5d0\ub3c4 \ub3d9\uc791\ud558\uba70, \ubbf8\ub514\uc5b4 \ucffc\ub9ac \ubb38\uc790\uc5f4\uc758 \ubd84\uc11d \uacb0\uacfc\ub97c \uc27d\uac8c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"const useMediaQuery: (query: string) => {\n isMatch: boolean;\n}\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useMediaQuery } from '@modern-kit/react';\n\nconst Example = () => {\n const { isMatch } = useMediaQuery('(min-width: 768px)');\n\n return (\n <div>\n <p>\n {isMatch\n ? 'viewport \ub108\ube44\uac00 768px \uc774\uc0c1\uc785\ub2c8\ub2e4.'\n : 'viewport \ub108\ube44\uac00 768px \ubbf8\ub9cc\uc785\ub2c8\ub2e4.'}\n </p>\n </div>\n );\n};\n\n"})}),"\n","\n",(0,e.jsx)(s,{})]})}function v(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(p,{...t})}):p(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Sp,df:()=>xp,iP:()=>Bp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,M=E?E.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return M?M.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function I(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var S=I((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function L(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var P=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return P;if(L(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=L(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?P:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",Q="[object Function]",G="[object GeneratorFunction]",H="[object Proxy]";function J(t){if(!L(t))return!1;var n=g(t);return n==Q||n==G||n==Z||n==H}var Y,X=a["__core-js_shared__"],tt=(Y=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!L(t)||function(t){return!!tt&&tt in t}(t))&&(J(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,vt=pt?function(t,n){return pt.set(t,n),t}:V,ht=Object.create,dt=function(){function t(){}return function(n){if(!L(n))return{};if(ht)return ht(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return L(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var v=i;++c<f;)s[v+c]=n[c];for(;++u<a;)(p||i<o)&&(s[v+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Mt=pt?function(t){return pt.get(t)}:Et,kt={},It=Object.prototype.hasOwnProperty;function St(t){for(var n=t.name+"",r=kt[n],e=It.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var zt=Object.prototype.hasOwnProperty;function Lt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Pt(t){var n=St(t),r=Lt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Mt(r);return!!e&&t===e[0]}Lt.prototype=xt.prototype,Lt.prototype.constructor=Lt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Qt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Gt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Qt(t,Gt,r)}function Jt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Yt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Yt,(function(r){var e="_."+r[0];n&r[1]&&!Jt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Pt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,vn="__lodash_placeholder__";function hn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==vn||(t[r]=vn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,v=n&yn,h=n&(gn|_n),d=n&mn,y=v?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(h)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,h)),o&&(b=wt(b,o,u,h)),_-=w,h&&_<l){var x=hn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=v?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,Mn=8,kn=128,In=256,Sn=Math.min,Rn="Expected a function",Wn=1,Bn=2,zn=8,Ln=16,Pn=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Pn|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var v=f?void 0:Mt(t),h=[t,n,r,e,i,s,p,o,u,c];if(v&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==Mn||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==Mn;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Sn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],i=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Dn(h[9]-l,0))&&n&(zn|Ln)&&(n&=~(zn|Ln)),n&&n!=Wn)d=n==zn||n==Ln?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:hn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Pn&&n!=(Wn|Pn)||i.length?jn.apply(void 0,h):function(t,n,r,e){var i=n&wn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((v?vt:Tt)(d,h),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Qn(t,n){return Vt(Zn(t,n,V),t+"")}var Gn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Gn}function Jn(t){return null!=t&&Hn(t.length)&&!J(t)}function Yn(t,n,r){if(!L(r))return!1;var e=typeof n;return!!("number"==e?Jn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Qn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Yn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,vr={};function hr(t){return function(n){return t(n)}}vr["[object Float32Array]"]=vr["[object Float64Array]"]=vr["[object Int8Array]"]=vr["[object Int16Array]"]=vr["[object Int32Array]"]=vr["[object Uint8Array]"]=vr["[object Uint8ClampedArray]"]=vr["[object Uint16Array]"]=vr["[object Uint32Array]"]=!0,vr["[object Arguments]"]=vr["[object Array]"]=vr["[object ArrayBuffer]"]=vr["[object Boolean]"]=vr["[object DataView]"]=vr["[object Date]"]=vr["[object Error]"]=vr["[object Function]"]=vr["[object Map]"]=vr["[object Number]"]=vr["[object Object]"]=vr["[object RegExp]"]=vr["[object Set]"]=vr["[object String]"]=vr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Gs){}}(),br=_r&&_r.isTypedArray,mr=br?hr(br):function(t){return _(t)&&Hn(t.length)&&!!vr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Mr(t){return Jn(t)?wr(t):Er(t)}var kr=Object.prototype.hasOwnProperty,Ir=Xn((function(t,n){if(nr(n)||Jn(n))Kn(n,Mr(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Sr=Object.prototype.hasOwnProperty;function Rr(t){return Jn(t)?wr(t,!0):function(t){if(!L(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Sr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),zr=Xn((function(t,n,r,e){Kn(n,Mr(n),t,e)})),Lr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Pr.test(t)||!Lr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Qr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Qr.Cache||Zr),r}Qr.Cache=Zr;var Gr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Jr=function(t){var n=Qr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Gr,(function(t,r,e,i){n.push(e?i.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Yr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Jr(Yr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Qn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Qn((function(t,n,r){var e=1;if(r.length){var i=hn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Qn((function(t,n,r){var e=3;if(r.length){var i=hn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ee(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Me(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Se="\\ud800-\\udfff",Re="["+Se+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+Be+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[ze,Le,Pe].join("|")+")"+De+Ce+")*",Ue="(?:"+[ze+We+"?",We,Le,Pe,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+Te,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Yr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Me(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Yr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Qe=Ze({"\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"}),Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Je(t){return(t=Yr(t))&&t.replace(Ge,Qe).replace(He,"")}var Ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",vi="(?:"+ci+"|"+fi+")",hi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",hi+"+"+yi+"(?="+[oi,pi+vi,"$"].join("|")+")",pi+"?"+vi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Yr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Ye)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(wi(Je(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Ei=a.isFinite,Mi=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Mi(K(r),292))&&Ei(t)){var e=(Yr(t)+"e").split("e");return+((e=(Yr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Ii=ki("ceil");function Si(t){var n=Lt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function Bi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zi(t){var n=this.__data__=new $r(t);this.size=n.size}function Li(t,n){return t&&Kn(n,Mr(n),t)}zi.prototype.clear=function(){this.__data__=new $r,this.size=0},zi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zi.prototype.get=function(t){return this.__data__.get(t)},zi.prototype.has=function(t){return this.__data__.has(t)},zi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Pi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Pi&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Pi?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Qi(t){return Zi(t,Mr,Ki)}function Gi(t){return Zi(t,Rr,Vi)}var Hi=lt(a,"DataView"),Ji=lt(a,"Promise"),Yi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Hi),oo=rt(Kr),uo=rt(Ji),ao=rt(Yi),co=rt(st),fo=g;(Hi&&fo(new Hi(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Ji&&fo(Ji.resolve())!=to||Yi&&fo(new Yi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function vo(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var ho=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?vo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Eo="[object Symbol]",Mo="[object ArrayBuffer]",ko="[object DataView]",Io="[object Float32Array]",So="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",Bo="[object Int32Array]",zo="[object Uint8Array]",Lo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?hr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?hr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!L(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Li(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Mo:return vo(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?vo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Io:case So:case Ro:case Wo:case Bo:case zo:case Lo:case Po:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,ho.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Eo:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new zi);var v=o.get(t);if(v)return v;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var h=l?void 0:(f?c?Gi:Qi:c?Rr:Mr)(t);return Zt(h||t,(function(e,i){h&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Qo(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Go(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ho(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Qo.prototype.add=Qo.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Qo.prototype.has=function(t){return this.__data__.has(t)};var Jo=1,Yo=2;function Xo(t,n,r,e,i,o){var u=r&Jo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,v=r&Yo?new Qo:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var h=t[s],d=n[s];if(e)var y=u?e(d,h,s,n,t,o):e(h,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!Go(n,(function(t,n){if(!Ho(v,n)&&(h===t||i(h,t,r,e,o)))return v.push(n)}))){p=!1;break}}else if(h!==d&&!i(h,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",vu="[object ArrayBuffer]",hu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new zi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case hu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case vu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var v=l&&xu.call(t,"__wrapped__"),h=s&&xu.call(n,"__wrapped__");if(v||h){var d=v?t.value():t,y=h?n.value():n;return o||(o=new zi),i(d,y,r,e,o)}}return!!p&&(o||(o=new zi),function(t,n,r,e,i,o){var u=r&gu,a=Qi(t),c=a.length;if(c!=Qi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var v=!0;o.set(t,n),o.set(n,t);for(var h=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){v=!1;break}h||(h="constructor"==l)}if(v&&!h){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(v=!1)}return o.delete(t),o.delete(n),v}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Eu=2;function Mu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!L(t)}function Iu(t){for(var n=Mr(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Su(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Iu(t);return 1==n.length&&n[0][2]?Su(n[0][0],n[0][1]):function(r){return r===t||Mu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Hn(i)&&sn(u,i)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Wu)}var Lu=1,Pu=2;function Cu(t,n){return Cr(t)&&ku(n)?Su(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Lu|Pu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Mr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Jn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Qu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Gu(t,n){return function(r,e){var i=O(r)?Fu:Qu,o=n?n():{};return i(r,t,Uu(e),o)}}var Hu=Object.prototype.hasOwnProperty,Ju=Gu((function(t,n,r){Hu.call(t,r)?++t[r]:Nn(t,r,1)}));function Yu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Yu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Yu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function h(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=i=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?v(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,L(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Qn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Yn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Jn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new zi),L(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),v=!p&&pr(c),h=!p&&!v&&mr(c);l=c,p||v||h?O(a)?l=a:ca(a)?l=Wt(a):v?(s=!1,l=Ui(c,!0)):h?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):L(a)&&!J(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return L(t)&&L(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var va=Xn((function(t,n,r,e){sa(t,n,r,e)})),ha=Qn((function(t){return t.push(void 0,pa),_t(va,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Qn((function(t,n){return da(t,1,n)})),ga=Qn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Jt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,hr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Ho,u=!1,n=new Qo(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Qn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Qn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Qn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=I((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ee(t,e?0:o,e?o+1:i):Ee(t,e?o+1:0,e?i:o)}function Ma(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ma(n))}function Ia(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Sa=qu(!0);function Ra(t,n){return t&&Sa(t,n,Mr)}var Wa=Vu(Ra,!0);function Ba(t,n){return(O(t)?Ia:Wa)(t,Ma(n))}function za(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var La=za(Mr),Pa=za(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Yr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?Bi(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Jn(n)){var o=Uu(r);n=Mr(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Qa=Math.max;function Ga(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Qa(e+i,0)),Qt(t,Uu(n),i)}var Ha=Za(Ga);function Ja(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Ya=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Ya(e+i,0):Xa(i,e-1)),Qt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Jn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==St(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=St(o=n[e]),c="wrapper"==a?Mt(o):void 0;u=c&&Pt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[St(c[0])].apply(u,c[3]):1==o.length&&Pt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return J(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Gu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Mr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Mc(t,n,r){for(var e=r?_a:Jt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,hr(n))),c=Ec(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Qo(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var v=l[s],h=n?n(v):v;if(v=r||0!==v?v:0,!(p?Ho(p,h):e(f,h,r))){for(u=o;--u;){var d=a[u];if(!(d?Ho(d,h):e(t[u],h,r)))continue t}p&&p.push(h),f.push(v)}}return f}function kc(t){return ca(t)?t:[]}var Ic=Qn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Mc(n):[]})),Sc=Qn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Mc(r,Uu(n)):[]})),Rc=Qn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Mc(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),Lc=Object.prototype,Pc=Lc.hasOwnProperty,Cc=Lc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Pc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Qn(Uc),Fc=Qn((function(t,n,r){var e=-1,i="function"==typeof n,o=Jn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?hr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?hr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Qc=a.isFinite;function Gc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Jc=X?J:cr,Yc=_r&&_r.isRegExp,Xc=Yc?hr(Yc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Gu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=vc(cf),lf=vc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function vf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var hf=Xn((function(t,n,r){sa(t,n,r)})),df=Qn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Qn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Mr(n),i=fc(n,e),o=!(L(r)&&"chain"in r&&!r.chain),u=J(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=I((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Jn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Gi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Ef(t,n,r,e){if(!L(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=L(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Mf(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Ef(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Gi(t),(function(t){return[t]}));return n=Uu(n),Mf(t,r,(function(t,r){return n(t,r[0])}))}function If(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Sf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,hr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=If(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,hr(Uu)),Qn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Qn,zf=Math.min,Lf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Qn((function(e){for(var i=-1,o=zf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Pf=Rf(qa),Cf=Rf(Go),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Qf="[\\ud800-\\udbff][\\udc00-\\udfff]",Gf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Jf=Hf+Gf+"(?:\\u200d(?:"+[Vf,Zf,Qf].join("|")+")"+Hf+Gf+")*",Yf="(?:"+[Vf+$f+"?",$f,Zf,Qf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Yf+Jf,"g");function tl(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Ie(n)?Me(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Qn((function(t,n){return Tn(t,32,void 0,n,hn(n,cn(al)))}));al.placeholder={};var cl=Qn((function(t,n){return Tn(t,64,void 0,n,hn(n,cn(cl)))}));cl.placeholder={};var fl=Gu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Mf(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function vl(t,n,r,e){var i=e?sl:Ht,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,hr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function hl(t,n){return t&&t.length&&n&&n.length?vl(t,n):t}var dl=Qn(hl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(If)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function Ml(t){return function(n,r,e){return e&&"number"!=typeof e&&Yn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=El(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=Ml(),Il=Ml(!0),Sl=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Ll=ki("round");function Pl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Pl(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),Bi(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Bi(n,0,r.length))}function Nl(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Qn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Yn(t,n[0],n[1])?n=[]:r>2&&Yn(n[0],n[1],n[2])&&(n=[n[0]]),Sf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Ql=Math.min;function Gl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,v=null===s,h=s==s,d=m(s);if(u)var y=e||h;else y=f?h&&(e||p):a?h&&p&&(e||!v):c?h&&p&&!v&&(e||!d):!v&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Ql(o,Vl)}function Hl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Gl(t,n,V,r)}function Jl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Yl=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=I((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vs=/($^)/,hs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,Ms=RegExp(Es.source),ks=Yi&&1/nu(new Yi([,-0]))[1]==1/0?function(t){return new Yi(t)}:Et,Is=200;function Ss(t,n,r){var e=-1,i=Jt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Is){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Ho,c=new Qo}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Qn((function(t){return Ss(ce(t,1,ca,!0))})),Ws=Qn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ss(ce(t,1,ca,!0),Uu(n))})),Bs=Qn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ss(ce(t,1,ca,!0),void 0,n)})),zs=0,Ls=Math.max;function Ps(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ls(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ps(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Qn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ss(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ss(ce(o,1),n,r)}var qs=Qn((function(t){return Fs(Ni(t,ca))})),$s=Qn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Ks=Qn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Vs=Qn(Ps);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Qs,Gs,Hs=Qn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Js={chunk:function(t,n,r){n=(r?Yn(t,n,r):void 0===n)?1:Wi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ee(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Yn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ga,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Ht(t,n,i)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Ic,intersectionBy:Sc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Qt(t,Gt,i,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:hl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?vl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?vl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Yn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Gl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Gl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Jl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Jl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rs,unionBy:Ws,unionWith:Bs,uniq:function(t){return t&&t.length?Ss(t):[]},uniqBy:function(t,n){return t&&t.length?Ss(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ss(t,void 0,n):[]},unzip:Ps,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Hs},Ys={countBy:Ju,each:ka,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Yn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Va)(t,Uu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Jn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Sf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ni:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Pl:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Yn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Jn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Go:$l;return r&&Yn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Yu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Qr,negate:bf,once:function(t){return we(2,t)},overArgs:Lf,partial:al,partialRight:cl,rearg:Sl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Qn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Yl(K(n),0),Qn((function(r){var e=r[n],i=Me(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return L(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ma(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Mr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Jn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Jn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Qc(t)},isFunction:J,isInteger:Gc,isLength:Hn,isMap:Uo,isMatch:function(t,n){return t===n||Mu(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Mu(t,n,Iu(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Jc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:L,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Gc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bi(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Yr},rp={add:S,ceil:Ii,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Ll,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:Wr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Li(r,n)},defaults:ua,defaultsDeep:ha,entries:La,entriesIn:Pa,extend:Wr,extendWith:Br,findKey:function(t,n){return Ja(t,Uu(n),Ku)},findLastKey:function(t,n){return Ja(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ma(n),Rr)},forInRight:function(t,n){return null==t?t:Sa(t,Ma(n),Rr)},forOwn:function(t,n){return t&&Ku(t,Ma(n))},forOwnRight:function(t,n){return t&&Ra(t,Ma(n))},functions:function(t){return null==t?[]:fc(t,Mr(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Dc,invoke:Nc,keys:Mr,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=J(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:La,toPairsIn:Pa,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:L(t)&&J(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ma(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ma(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Ns,chain:Si,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Lt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Si(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Je,endsWith:function(t,n,r){t=Yr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Bi(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Yr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Yr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Yn(t,n,r):void 0===n)?1:K(n),Uf(Yr(t),n)},replace:function(){var t=arguments,n=Yr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Yn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Yr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Me(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Yr(t),r=null==r?0:Bi(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Yn(t,n,r)&&(n=void 0),t=Yr(t),n=Br({},n,e,es);var i,o,u=Br({},n.imports,e.imports,es),a=Mr(u),c=wc(u,a),f=0,l=n.interpolate||vs,s="__p += '",p=RegExp((n.escape||vs).source+"|"+l.source+"|"+(l===us?ps:vs).source+"|"+(n.evaluate||vs).source+"|$","g"),v=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(hs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var h=ds.call(n,"variable")&&n.variable;if(h){if(ss.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,v+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Yr(t).toLowerCase()},toUpper:function(t){return Yr(t).toUpperCase()},trim:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return z(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Me(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Me(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Me(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(L(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Yr(t)).length;if(Ie(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Me(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Yr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Yr(t))&&Ms.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Qn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Mr(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Qn((function(n){return wf(n,t)}))},over:Wf,overEvery:Pf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Il,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ma(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Jr(Yr(t)))},uniqueId:function(t){var n=++zs;return Yr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,vp=c?c.iterator:void 0,hp=Math.max,dp=Math.min,yp=(Gs=gf,function(t,n,r){if(null==r){var e=L(n),i=e&&Mr(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Gs(t,n,r)});Lt.after=tp.after,Lt.ary=tp.ary,Lt.assign=ep.assign,Lt.assignIn=ep.assignIn,Lt.assignInWith=ep.assignInWith,Lt.assignWith=ep.assignWith,Lt.at=ep.at,Lt.before=tp.before,Lt.bind=tp.bind,Lt.bindAll=up.bindAll,Lt.bindKey=tp.bindKey,Lt.castArray=np.castArray,Lt.chain=ip.chain,Lt.chunk=Js.chunk,Lt.compact=Js.compact,Lt.concat=Js.concat,Lt.cond=up.cond,Lt.conforms=up.conforms,Lt.constant=up.constant,Lt.countBy=Ys.countBy,Lt.create=ep.create,Lt.curry=tp.curry,Lt.curryRight=tp.curryRight,Lt.debounce=tp.debounce,Lt.defaults=ep.defaults,Lt.defaultsDeep=ep.defaultsDeep,Lt.defer=tp.defer,Lt.delay=tp.delay,Lt.difference=Js.difference,Lt.differenceBy=Js.differenceBy,Lt.differenceWith=Js.differenceWith,Lt.drop=Js.drop,Lt.dropRight=Js.dropRight,Lt.dropRightWhile=Js.dropRightWhile,Lt.dropWhile=Js.dropWhile,Lt.fill=Js.fill,Lt.filter=Ys.filter,Lt.flatMap=Ys.flatMap,Lt.flatMapDeep=Ys.flatMapDeep,Lt.flatMapDepth=Ys.flatMapDepth,Lt.flatten=Js.flatten,Lt.flattenDeep=Js.flattenDeep,Lt.flattenDepth=Js.flattenDepth,Lt.flip=tp.flip,Lt.flow=up.flow,Lt.flowRight=up.flowRight,Lt.fromPairs=Js.fromPairs,Lt.functions=ep.functions,Lt.functionsIn=ep.functionsIn,Lt.groupBy=Ys.groupBy,Lt.initial=Js.initial,Lt.intersection=Js.intersection,Lt.intersectionBy=Js.intersectionBy,Lt.intersectionWith=Js.intersectionWith,Lt.invert=ep.invert,Lt.invertBy=ep.invertBy,Lt.invokeMap=Ys.invokeMap,Lt.iteratee=up.iteratee,Lt.keyBy=Ys.keyBy,Lt.keys=Mr,Lt.keysIn=ep.keysIn,Lt.map=Ys.map,Lt.mapKeys=ep.mapKeys,Lt.mapValues=ep.mapValues,Lt.matches=up.matches,Lt.matchesProperty=up.matchesProperty,Lt.memoize=tp.memoize,Lt.merge=ep.merge,Lt.mergeWith=ep.mergeWith,Lt.method=up.method,Lt.methodOf=up.methodOf,Lt.mixin=yp,Lt.negate=bf,Lt.nthArg=up.nthArg,Lt.omit=ep.omit,Lt.omitBy=ep.omitBy,Lt.once=tp.once,Lt.orderBy=Ys.orderBy,Lt.over=up.over,Lt.overArgs=tp.overArgs,Lt.overEvery=up.overEvery,Lt.overSome=up.overSome,Lt.partial=tp.partial,Lt.partialRight=tp.partialRight,Lt.partition=Ys.partition,Lt.pick=ep.pick,Lt.pickBy=ep.pickBy,Lt.property=up.property,Lt.propertyOf=up.propertyOf,Lt.pull=Js.pull,Lt.pullAll=Js.pullAll,Lt.pullAllBy=Js.pullAllBy,Lt.pullAllWith=Js.pullAllWith,Lt.pullAt=Js.pullAt,Lt.range=up.range,Lt.rangeRight=up.rangeRight,Lt.rearg=tp.rearg,Lt.reject=Ys.reject,Lt.remove=Js.remove,Lt.rest=tp.rest,Lt.reverse=Js.reverse,Lt.sampleSize=Ys.sampleSize,Lt.set=ep.set,Lt.setWith=ep.setWith,Lt.shuffle=Ys.shuffle,Lt.slice=Js.slice,Lt.sortBy=Ys.sortBy,Lt.sortedUniq=Js.sortedUniq,Lt.sortedUniqBy=Js.sortedUniqBy,Lt.split=op.split,Lt.spread=tp.spread,Lt.tail=Js.tail,Lt.take=Js.take,Lt.takeRight=Js.takeRight,Lt.takeRightWhile=Js.takeRightWhile,Lt.takeWhile=Js.takeWhile,Lt.tap=ip.tap,Lt.throttle=tp.throttle,Lt.thru=ys,Lt.toArray=np.toArray,Lt.toPairs=ep.toPairs,Lt.toPairsIn=ep.toPairsIn,Lt.toPath=up.toPath,Lt.toPlainObject=np.toPlainObject,Lt.transform=ep.transform,Lt.unary=tp.unary,Lt.union=Js.union,Lt.unionBy=Js.unionBy,Lt.unionWith=Js.unionWith,Lt.uniq=Js.uniq,Lt.uniqBy=Js.uniqBy,Lt.uniqWith=Js.uniqWith,Lt.unset=ep.unset,Lt.unzip=Js.unzip,Lt.unzipWith=Js.unzipWith,Lt.update=ep.update,Lt.updateWith=ep.updateWith,Lt.values=ep.values,Lt.valuesIn=ep.valuesIn,Lt.without=Js.without,Lt.words=op.words,Lt.wrap=tp.wrap,Lt.xor=Js.xor,Lt.xorBy=Js.xorBy,Lt.xorWith=Js.xorWith,Lt.zip=Js.zip,Lt.zipObject=Js.zipObject,Lt.zipObjectDeep=Js.zipObjectDeep,Lt.zipWith=Js.zipWith,Lt.entries=ep.toPairs,Lt.entriesIn=ep.toPairsIn,Lt.extend=ep.assignIn,Lt.extendWith=ep.assignInWith,yp(Lt,Lt),Lt.add=rp.add,Lt.attempt=up.attempt,Lt.camelCase=op.camelCase,Lt.capitalize=op.capitalize,Lt.ceil=rp.ceil,Lt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bi(N(t),n,r)},Lt.clone=np.clone,Lt.cloneDeep=np.cloneDeep,Lt.cloneDeepWith=np.cloneDeepWith,Lt.cloneWith=np.cloneWith,Lt.conformsTo=np.conformsTo,Lt.deburr=op.deburr,Lt.defaultTo=up.defaultTo,Lt.divide=rp.divide,Lt.endsWith=op.endsWith,Lt.eq=np.eq,Lt.escape=op.escape,Lt.escapeRegExp=op.escapeRegExp,Lt.every=Ys.every,Lt.find=Ys.find,Lt.findIndex=Js.findIndex,Lt.findKey=ep.findKey,Lt.findLast=Ys.findLast,Lt.findLastIndex=Js.findLastIndex,Lt.findLastKey=ep.findLastKey,Lt.floor=rp.floor,Lt.forEach=Ys.forEach,Lt.forEachRight=Ys.forEachRight,Lt.forIn=ep.forIn,Lt.forInRight=ep.forInRight,Lt.forOwn=ep.forOwn,Lt.forOwnRight=ep.forOwnRight,Lt.get=ep.get,Lt.gt=np.gt,Lt.gte=np.gte,Lt.has=ep.has,Lt.hasIn=ep.hasIn,Lt.head=Js.head,Lt.identity=V,Lt.includes=Ys.includes,Lt.indexOf=Js.indexOf,Lt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Lt.invoke=ep.invoke,Lt.isArguments=np.isArguments,Lt.isArray=O,Lt.isArrayBuffer=np.isArrayBuffer,Lt.isArrayLike=np.isArrayLike,Lt.isArrayLikeObject=np.isArrayLikeObject,Lt.isBoolean=np.isBoolean,Lt.isBuffer=np.isBuffer,Lt.isDate=np.isDate,Lt.isElement=np.isElement,Lt.isEmpty=np.isEmpty,Lt.isEqual=np.isEqual,Lt.isEqualWith=np.isEqualWith,Lt.isError=np.isError,Lt.isFinite=np.isFinite,Lt.isFunction=np.isFunction,Lt.isInteger=np.isInteger,Lt.isLength=np.isLength,Lt.isMap=np.isMap,Lt.isMatch=np.isMatch,Lt.isMatchWith=np.isMatchWith,Lt.isNaN=np.isNaN,Lt.isNative=np.isNative,Lt.isNil=np.isNil,Lt.isNull=np.isNull,Lt.isNumber=np.isNumber,Lt.isObject=L,Lt.isObjectLike=np.isObjectLike,Lt.isPlainObject=np.isPlainObject,Lt.isRegExp=np.isRegExp,Lt.isSafeInteger=np.isSafeInteger,Lt.isSet=np.isSet,Lt.isString=np.isString,Lt.isSymbol=np.isSymbol,Lt.isTypedArray=np.isTypedArray,Lt.isUndefined=np.isUndefined,Lt.isWeakMap=np.isWeakMap,Lt.isWeakSet=np.isWeakSet,Lt.join=Js.join,Lt.kebabCase=op.kebabCase,Lt.last=wa,Lt.lastIndexOf=Js.lastIndexOf,Lt.lowerCase=op.lowerCase,Lt.lowerFirst=op.lowerFirst,Lt.lt=np.lt,Lt.lte=np.lte,Lt.max=rp.max,Lt.maxBy=rp.maxBy,Lt.mean=rp.mean,Lt.meanBy=rp.meanBy,Lt.min=rp.min,Lt.minBy=rp.minBy,Lt.stubArray=up.stubArray,Lt.stubFalse=up.stubFalse,Lt.stubObject=up.stubObject,Lt.stubString=up.stubString,Lt.stubTrue=up.stubTrue,Lt.multiply=rp.multiply,Lt.nth=Js.nth,Lt.noop=up.noop,Lt.now=Xs,Lt.pad=op.pad,Lt.padEnd=op.padEnd,Lt.padStart=op.padStart,Lt.parseInt=op.parseInt,Lt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Yn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Lt.reduce=Ys.reduce,Lt.reduceRight=Ys.reduceRight,Lt.repeat=op.repeat,Lt.replace=op.replace,Lt.result=ep.result,Lt.round=rp.round,Lt.sample=Ys.sample,Lt.size=Ys.size,Lt.snakeCase=op.snakeCase,Lt.some=Ys.some,Lt.sortedIndex=Js.sortedIndex,Lt.sortedIndexBy=Js.sortedIndexBy,Lt.sortedIndexOf=Js.sortedIndexOf,Lt.sortedLastIndex=Js.sortedLastIndex,Lt.sortedLastIndexBy=Js.sortedLastIndexBy,Lt.sortedLastIndexOf=Js.sortedLastIndexOf,Lt.startCase=op.startCase,Lt.startsWith=op.startsWith,Lt.subtract=rp.subtract,Lt.sum=rp.sum,Lt.sumBy=rp.sumBy,Lt.template=op.template,Lt.times=up.times,Lt.toFinite=np.toFinite,Lt.toInteger=K,Lt.toLength=np.toLength,Lt.toLower=op.toLower,Lt.toNumber=np.toNumber,Lt.toSafeInteger=np.toSafeInteger,Lt.toString=np.toString,Lt.toUpper=op.toUpper,Lt.trim=op.trim,Lt.trimEnd=op.trimEnd,Lt.trimStart=op.trimStart,Lt.truncate=op.truncate,Lt.unescape=op.unescape,Lt.uniqueId=up.uniqueId,Lt.upperCase=op.upperCase,Lt.upperFirst=op.upperFirst,Lt.each=Ys.forEach,Lt.eachRight=Ys.forEachRight,Lt.first=Js.head,yp(Lt,(Qs={},Ku(Lt,(function(t,n){pp.call(Lt.prototype,n)||(Qs[n]=t)})),Qs),{chain:!1}),Lt.VERSION="4.17.21",(Lt.templateSettings=op.templateSettings).imports._=Lt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Lt[t].placeholder=Lt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Qn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Lt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Lt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Lt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,v=o&&!s,h=a&&!p;if(!o&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Rt(d,s)}return v&&h?t.apply(this,u):(d=this.thru(l),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Lt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Lt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,v=fp(c,this.__takeCount__);if(!r||!e&&i==c&&v==c)return bs(t,this.__actions__);var h=[];t:for(;c--&&p<v;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}h[p++]=y}return h},Lt.prototype.at=ip.at,Lt.prototype.chain=ip.wrapperChain,Lt.prototype.commit=ip.commit,Lt.prototype.next=ip.next,Lt.prototype.plant=ip.plant,Lt.prototype.reverse=ip.reverse,Lt.prototype.toJSON=Lt.prototype.valueOf=Lt.prototype.value=ip.value,Lt.prototype.first=Lt.prototype.head,vp&&(Lt.prototype[vp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Mp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Ep()&&window.matchMedia(t).matches,Sp=t=>{const[n,r]=(0,e.useState)(Ip(t)),i=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Mp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9034],{6855:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>l,assets:()=>f,contentTitle:()=>a,default:()=>v,frontMatter:()=>u,metadata:()=>c,toc:()=>s});var e=r(5735),i=r(7355),o=r(5474);const u={},a="useMediaQuery",c={id:"react/hooks/useMediaQuery",title:"useMediaQuery",description:"Resize \uc2dc\uc5d0\ub3c4 \ub3d9\uc791\ud558\uba70, \ubbf8\ub514\uc5b4 \ucffc\ub9ac \ubb38\uc790\uc5f4\uc758 \ubd84\uc11d \uacb0\uacfc\ub97c \uc27d\uac8c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useMediaQuery.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect"},next:{title:"useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs"}},f={},l=()=>{const t={div:"div",p:"p",...(0,i.a)()},{isMatch:n}=(0,o.ac)("(min-width: 768px)");return(0,e.jsxs)(t.div,{children:[(0,e.jsx)(t.p,{children:"\ube0c\ub77c\uc6b0\uc800 \ub108\ube44\ub97c \uc218\uc815\ud574\ubcf4\uc138\uc694!"}),(0,e.jsx)(t.p,{children:n?"viewport \ub108\ube44\uac00 768px \uc774\uc0c1\uc785\ub2c8\ub2e4.":"viewport \ub108\ube44\uac00 768px \ubbf8\ub9cc\uc785\ub2c8\ub2e4."})]})},s=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function p(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"usemediaquery",children:"useMediaQuery"}),"\n",(0,e.jsx)(n.p,{children:"Resize \uc2dc\uc5d0\ub3c4 \ub3d9\uc791\ud558\uba70, \ubbf8\ub514\uc5b4 \ucffc\ub9ac \ubb38\uc790\uc5f4\uc758 \ubd84\uc11d \uacb0\uacfc\ub97c \uc27d\uac8c \ud655\uc778 \ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"const useMediaQuery: (query: string) => {\n isMatch: boolean;\n}\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useMediaQuery } from '@modern-kit/react';\n\nconst Example = () => {\n const { isMatch } = useMediaQuery('(min-width: 768px)');\n\n return (\n <div>\n <p>\n {isMatch\n ? 'viewport \ub108\ube44\uac00 768px \uc774\uc0c1\uc785\ub2c8\ub2e4.'\n : 'viewport \ub108\ube44\uac00 768px \ubbf8\ub9cc\uc785\ub2c8\ub2e4.'}\n </p>\n </div>\n );\n};\n\n"})}),"\n","\n",(0,e.jsx)(l,{})]})}function v(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(p,{...t})}):p(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Sp,df:()=>xp,iP:()=>Bp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,M=E?E.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return M?M.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function I(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var S=I((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function L(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var P=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return P;if(L(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=L(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?P:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",Q="[object Function]",G="[object GeneratorFunction]",H="[object Proxy]";function J(t){if(!L(t))return!1;var n=g(t);return n==Q||n==G||n==Z||n==H}var Y,X=a["__core-js_shared__"],tt=(Y=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!L(t)||function(t){return!!tt&&tt in t}(t))&&(J(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,vt=pt?function(t,n){return pt.set(t,n),t}:V,ht=Object.create,dt=function(){function t(){}return function(n){if(!L(n))return{};if(ht)return ht(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return L(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var v=i;++c<f;)s[v+c]=n[c];for(;++u<a;)(p||i<o)&&(s[v+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Mt=pt?function(t){return pt.get(t)}:Et,kt={},It=Object.prototype.hasOwnProperty;function St(t){for(var n=t.name+"",r=kt[n],e=It.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var zt=Object.prototype.hasOwnProperty;function Lt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Pt(t){var n=St(t),r=Lt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Mt(r);return!!e&&t===e[0]}Lt.prototype=xt.prototype,Lt.prototype.constructor=Lt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Qt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Gt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Qt(t,Gt,r)}function Jt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Yt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Yt,(function(r){var e="_."+r[0];n&r[1]&&!Jt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Pt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,vn="__lodash_placeholder__";function hn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==vn||(t[r]=vn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,v=n&yn,h=n&(gn|_n),d=n&mn,y=v?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(h)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,h)),o&&(b=wt(b,o,u,h)),_-=w,h&&_<l){var x=hn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=v?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,Mn=8,kn=128,In=256,Sn=Math.min,Rn="Expected a function",Wn=1,Bn=2,zn=8,Ln=16,Pn=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Pn|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var v=f?void 0:Mt(t),h=[t,n,r,e,i,s,p,o,u,c];if(v&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==Mn||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==Mn;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Sn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],i=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Dn(h[9]-l,0))&&n&(zn|Ln)&&(n&=~(zn|Ln)),n&&n!=Wn)d=n==zn||n==Ln?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:hn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Pn&&n!=(Wn|Pn)||i.length?jn.apply(void 0,h):function(t,n,r,e){var i=n&wn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((v?vt:Tt)(d,h),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Qn(t,n){return Vt(Zn(t,n,V),t+"")}var Gn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Gn}function Jn(t){return null!=t&&Hn(t.length)&&!J(t)}function Yn(t,n,r){if(!L(r))return!1;var e=typeof n;return!!("number"==e?Jn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Qn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Yn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,vr={};function hr(t){return function(n){return t(n)}}vr["[object Float32Array]"]=vr["[object Float64Array]"]=vr["[object Int8Array]"]=vr["[object Int16Array]"]=vr["[object Int32Array]"]=vr["[object Uint8Array]"]=vr["[object Uint8ClampedArray]"]=vr["[object Uint16Array]"]=vr["[object Uint32Array]"]=!0,vr["[object Arguments]"]=vr["[object Array]"]=vr["[object ArrayBuffer]"]=vr["[object Boolean]"]=vr["[object DataView]"]=vr["[object Date]"]=vr["[object Error]"]=vr["[object Function]"]=vr["[object Map]"]=vr["[object Number]"]=vr["[object Object]"]=vr["[object RegExp]"]=vr["[object Set]"]=vr["[object String]"]=vr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Gs){}}(),br=_r&&_r.isTypedArray,mr=br?hr(br):function(t){return _(t)&&Hn(t.length)&&!!vr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Mr(t){return Jn(t)?wr(t):Er(t)}var kr=Object.prototype.hasOwnProperty,Ir=Xn((function(t,n){if(nr(n)||Jn(n))Kn(n,Mr(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Sr=Object.prototype.hasOwnProperty;function Rr(t){return Jn(t)?wr(t,!0):function(t){if(!L(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Sr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),zr=Xn((function(t,n,r,e){Kn(n,Mr(n),t,e)})),Lr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Pr.test(t)||!Lr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Qr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Qr.Cache||Zr),r}Qr.Cache=Zr;var Gr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Jr=function(t){var n=Qr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Gr,(function(t,r,e,i){n.push(e?i.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Yr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Jr(Yr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Qn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Qn((function(t,n,r){var e=1;if(r.length){var i=hn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Qn((function(t,n,r){var e=3;if(r.length){var i=hn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ee(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Me(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Se="\\ud800-\\udfff",Re="["+Se+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+Be+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[ze,Le,Pe].join("|")+")"+De+Ce+")*",Ue="(?:"+[ze+We+"?",We,Le,Pe,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+Te,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Yr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Me(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Yr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Qe=Ze({"\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"}),Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Je(t){return(t=Yr(t))&&t.replace(Ge,Qe).replace(He,"")}var Ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",vi="(?:"+ci+"|"+fi+")",hi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",hi+"+"+yi+"(?="+[oi,pi+vi,"$"].join("|")+")",pi+"?"+vi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Yr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Ye)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(wi(Je(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Ei=a.isFinite,Mi=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Mi(K(r),292))&&Ei(t)){var e=(Yr(t)+"e").split("e");return+((e=(Yr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Ii=ki("ceil");function Si(t){var n=Lt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function Bi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zi(t){var n=this.__data__=new $r(t);this.size=n.size}function Li(t,n){return t&&Kn(n,Mr(n),t)}zi.prototype.clear=function(){this.__data__=new $r,this.size=0},zi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zi.prototype.get=function(t){return this.__data__.get(t)},zi.prototype.has=function(t){return this.__data__.has(t)},zi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Pi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Pi&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Pi?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Qi(t){return Zi(t,Mr,Ki)}function Gi(t){return Zi(t,Rr,Vi)}var Hi=lt(a,"DataView"),Ji=lt(a,"Promise"),Yi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Hi),oo=rt(Kr),uo=rt(Ji),ao=rt(Yi),co=rt(st),fo=g;(Hi&&fo(new Hi(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Ji&&fo(Ji.resolve())!=to||Yi&&fo(new Yi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function vo(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var ho=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?vo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Eo="[object Symbol]",Mo="[object ArrayBuffer]",ko="[object DataView]",Io="[object Float32Array]",So="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",Bo="[object Int32Array]",zo="[object Uint8Array]",Lo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?hr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?hr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!L(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Li(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Mo:return vo(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?vo(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Io:case So:case Ro:case Wo:case Bo:case zo:case Lo:case Po:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,ho.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Eo:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new zi);var v=o.get(t);if(v)return v;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var h=l?void 0:(f?c?Gi:Qi:c?Rr:Mr)(t);return Zt(h||t,(function(e,i){h&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Qo(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Go(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ho(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Qo.prototype.add=Qo.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Qo.prototype.has=function(t){return this.__data__.has(t)};var Jo=1,Yo=2;function Xo(t,n,r,e,i,o){var u=r&Jo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,v=r&Yo?new Qo:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var h=t[s],d=n[s];if(e)var y=u?e(d,h,s,n,t,o):e(h,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!Go(n,(function(t,n){if(!Ho(v,n)&&(h===t||i(h,t,r,e,o)))return v.push(n)}))){p=!1;break}}else if(h!==d&&!i(h,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",vu="[object ArrayBuffer]",hu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new zi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case hu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case vu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var v=l&&xu.call(t,"__wrapped__"),h=s&&xu.call(n,"__wrapped__");if(v||h){var d=v?t.value():t,y=h?n.value():n;return o||(o=new zi),i(d,y,r,e,o)}}return!!p&&(o||(o=new zi),function(t,n,r,e,i,o){var u=r&gu,a=Qi(t),c=a.length;if(c!=Qi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var v=!0;o.set(t,n),o.set(n,t);for(var h=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){v=!1;break}h||(h="constructor"==l)}if(v&&!h){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(v=!1)}return o.delete(t),o.delete(n),v}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Eu=2;function Mu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!L(t)}function Iu(t){for(var n=Mr(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Su(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Iu(t);return 1==n.length&&n[0][2]?Su(n[0][0],n[0][1]):function(r){return r===t||Mu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Hn(i)&&sn(u,i)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Wu)}var Lu=1,Pu=2;function Cu(t,n){return Cr(t)&&ku(n)?Su(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Lu|Pu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Mr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Jn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Qu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Gu(t,n){return function(r,e){var i=O(r)?Fu:Qu,o=n?n():{};return i(r,t,Uu(e),o)}}var Hu=Object.prototype.hasOwnProperty,Ju=Gu((function(t,n,r){Hu.call(t,r)?++t[r]:Nn(t,r,1)}));function Yu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Yu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Yu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function h(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=i=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?v(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,L(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Qn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Yn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Jn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new zi),L(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),v=!p&&pr(c),h=!p&&!v&&mr(c);l=c,p||v||h?O(a)?l=a:ca(a)?l=Wt(a):v?(s=!1,l=Ui(c,!0)):h?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):L(a)&&!J(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return L(t)&&L(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var va=Xn((function(t,n,r,e){sa(t,n,r,e)})),ha=Qn((function(t){return t.push(void 0,pa),_t(va,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Qn((function(t,n){return da(t,1,n)})),ga=Qn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Jt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,hr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Ho,u=!1,n=new Qo(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Qn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Qn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Qn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=I((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ee(t,e?0:o,e?o+1:i):Ee(t,e?o+1:0,e?i:o)}function Ma(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ma(n))}function Ia(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Sa=qu(!0);function Ra(t,n){return t&&Sa(t,n,Mr)}var Wa=Vu(Ra,!0);function Ba(t,n){return(O(t)?Ia:Wa)(t,Ma(n))}function za(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var La=za(Mr),Pa=za(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Yr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?Bi(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Jn(n)){var o=Uu(r);n=Mr(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Qa=Math.max;function Ga(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Qa(e+i,0)),Qt(t,Uu(n),i)}var Ha=Za(Ga);function Ja(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Ya=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Ya(e+i,0):Xa(i,e-1)),Qt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Jn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==St(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=St(o=n[e]),c="wrapper"==a?Mt(o):void 0;u=c&&Pt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[St(c[0])].apply(u,c[3]):1==o.length&&Pt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return J(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Gu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Mr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Mc(t,n,r){for(var e=r?_a:Jt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,hr(n))),c=Ec(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Qo(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var v=l[s],h=n?n(v):v;if(v=r||0!==v?v:0,!(p?Ho(p,h):e(f,h,r))){for(u=o;--u;){var d=a[u];if(!(d?Ho(d,h):e(t[u],h,r)))continue t}p&&p.push(h),f.push(v)}}return f}function kc(t){return ca(t)?t:[]}var Ic=Qn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Mc(n):[]})),Sc=Qn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Mc(r,Uu(n)):[]})),Rc=Qn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Mc(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),Lc=Object.prototype,Pc=Lc.hasOwnProperty,Cc=Lc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Pc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Qn(Uc),Fc=Qn((function(t,n,r){var e=-1,i="function"==typeof n,o=Jn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?hr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?hr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Qc=a.isFinite;function Gc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Jc=X?J:cr,Yc=_r&&_r.isRegExp,Xc=Yc?hr(Yc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Gu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=vc(cf),lf=vc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function vf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var hf=Xn((function(t,n,r){sa(t,n,r)})),df=Qn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Qn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Mr(n),i=fc(n,e),o=!(L(r)&&"chain"in r&&!r.chain),u=J(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=I((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Jn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Gi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Ef(t,n,r,e){if(!L(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=L(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Mf(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Ef(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Gi(t),(function(t){return[t]}));return n=Uu(n),Mf(t,r,(function(t,r){return n(t,r[0])}))}function If(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Sf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,hr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=If(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,hr(Uu)),Qn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Qn,zf=Math.min,Lf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Qn((function(e){for(var i=-1,o=zf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Pf=Rf(qa),Cf=Rf(Go),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Qf="[\\ud800-\\udbff][\\udc00-\\udfff]",Gf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Jf=Hf+Gf+"(?:\\u200d(?:"+[Vf,Zf,Qf].join("|")+")"+Hf+Gf+")*",Yf="(?:"+[Vf+$f+"?",$f,Zf,Qf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Yf+Jf,"g");function tl(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Ie(n)?Me(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Qn((function(t,n){return Tn(t,32,void 0,n,hn(n,cn(al)))}));al.placeholder={};var cl=Qn((function(t,n){return Tn(t,64,void 0,n,hn(n,cn(cl)))}));cl.placeholder={};var fl=Gu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Mf(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function vl(t,n,r,e){var i=e?sl:Ht,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,hr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function hl(t,n){return t&&t.length&&n&&n.length?vl(t,n):t}var dl=Qn(hl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(If)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function Ml(t){return function(n,r,e){return e&&"number"!=typeof e&&Yn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=El(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=Ml(),Il=Ml(!0),Sl=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Ll=ki("round");function Pl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Pl(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),Bi(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Bi(n,0,r.length))}function Nl(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Qn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Yn(t,n[0],n[1])?n=[]:r>2&&Yn(n[0],n[1],n[2])&&(n=[n[0]]),Sf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Ql=Math.min;function Gl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,v=null===s,h=s==s,d=m(s);if(u)var y=e||h;else y=f?h&&(e||p):a?h&&p&&(e||!v):c?h&&p&&!v&&(e||!d):!v&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Ql(o,Vl)}function Hl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Gl(t,n,V,r)}function Jl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Yl=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=I((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vs=/($^)/,hs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,Ms=RegExp(Es.source),ks=Yi&&1/nu(new Yi([,-0]))[1]==1/0?function(t){return new Yi(t)}:Et,Is=200;function Ss(t,n,r){var e=-1,i=Jt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Is){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Ho,c=new Qo}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Qn((function(t){return Ss(ce(t,1,ca,!0))})),Ws=Qn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ss(ce(t,1,ca,!0),Uu(n))})),Bs=Qn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ss(ce(t,1,ca,!0),void 0,n)})),zs=0,Ls=Math.max;function Ps(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ls(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ps(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Qn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ss(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ss(ce(o,1),n,r)}var qs=Qn((function(t){return Fs(Ni(t,ca))})),$s=Qn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Ks=Qn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Vs=Qn(Ps);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Qs,Gs,Hs=Qn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Js={chunk:function(t,n,r){n=(r?Yn(t,n,r):void 0===n)?1:Wi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ee(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Yn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ga,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Ht(t,n,i)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Ic,intersectionBy:Sc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Qt(t,Gt,i,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:hl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?vl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?vl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Yn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Gl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Gl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Jl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Jl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rs,unionBy:Ws,unionWith:Bs,uniq:function(t){return t&&t.length?Ss(t):[]},uniqBy:function(t,n){return t&&t.length?Ss(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ss(t,void 0,n):[]},unzip:Ps,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Hs},Ys={countBy:Ju,each:ka,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Yn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Va)(t,Uu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Jn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Sf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ni:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Pl:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Yn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Jn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Go:$l;return r&&Yn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Yu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Qr,negate:bf,once:function(t){return we(2,t)},overArgs:Lf,partial:al,partialRight:cl,rearg:Sl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Qn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Yl(K(n),0),Qn((function(r){var e=r[n],i=Me(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return L(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ma(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Mr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Jn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Jn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Qc(t)},isFunction:J,isInteger:Gc,isLength:Hn,isMap:Uo,isMatch:function(t,n){return t===n||Mu(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Mu(t,n,Iu(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Jc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:L,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Gc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bi(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Yr},rp={add:S,ceil:Ii,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Ll,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:Wr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Li(r,n)},defaults:ua,defaultsDeep:ha,entries:La,entriesIn:Pa,extend:Wr,extendWith:Br,findKey:function(t,n){return Ja(t,Uu(n),Ku)},findLastKey:function(t,n){return Ja(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ma(n),Rr)},forInRight:function(t,n){return null==t?t:Sa(t,Ma(n),Rr)},forOwn:function(t,n){return t&&Ku(t,Ma(n))},forOwnRight:function(t,n){return t&&Ra(t,Ma(n))},functions:function(t){return null==t?[]:fc(t,Mr(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Dc,invoke:Nc,keys:Mr,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=J(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:La,toPairsIn:Pa,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:L(t)&&J(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ma(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ma(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Ns,chain:Si,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Lt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Si(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Je,endsWith:function(t,n,r){t=Yr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Bi(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Yr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Yr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Yr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Yn(t,n,r):void 0===n)?1:K(n),Uf(Yr(t),n)},replace:function(){var t=arguments,n=Yr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Yn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Yr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Me(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Yr(t),r=null==r?0:Bi(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Yn(t,n,r)&&(n=void 0),t=Yr(t),n=Br({},n,e,es);var i,o,u=Br({},n.imports,e.imports,es),a=Mr(u),c=wc(u,a),f=0,l=n.interpolate||vs,s="__p += '",p=RegExp((n.escape||vs).source+"|"+l.source+"|"+(l===us?ps:vs).source+"|"+(n.evaluate||vs).source+"|$","g"),v=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(hs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var h=ds.call(n,"variable")&&n.variable;if(h){if(ss.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,v+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Yr(t).toLowerCase()},toUpper:function(t){return Yr(t).toUpperCase()},trim:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return z(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Me(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Me(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Yr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Me(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(L(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Yr(t)).length;if(Ie(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Me(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Yr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Yr(t))&&Ms.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Qn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Mr(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Qn((function(n){return wf(n,t)}))},over:Wf,overEvery:Pf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Il,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ma(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Jr(Yr(t)))},uniqueId:function(t){var n=++zs;return Yr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,vp=c?c.iterator:void 0,hp=Math.max,dp=Math.min,yp=(Gs=gf,function(t,n,r){if(null==r){var e=L(n),i=e&&Mr(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Gs(t,n,r)});Lt.after=tp.after,Lt.ary=tp.ary,Lt.assign=ep.assign,Lt.assignIn=ep.assignIn,Lt.assignInWith=ep.assignInWith,Lt.assignWith=ep.assignWith,Lt.at=ep.at,Lt.before=tp.before,Lt.bind=tp.bind,Lt.bindAll=up.bindAll,Lt.bindKey=tp.bindKey,Lt.castArray=np.castArray,Lt.chain=ip.chain,Lt.chunk=Js.chunk,Lt.compact=Js.compact,Lt.concat=Js.concat,Lt.cond=up.cond,Lt.conforms=up.conforms,Lt.constant=up.constant,Lt.countBy=Ys.countBy,Lt.create=ep.create,Lt.curry=tp.curry,Lt.curryRight=tp.curryRight,Lt.debounce=tp.debounce,Lt.defaults=ep.defaults,Lt.defaultsDeep=ep.defaultsDeep,Lt.defer=tp.defer,Lt.delay=tp.delay,Lt.difference=Js.difference,Lt.differenceBy=Js.differenceBy,Lt.differenceWith=Js.differenceWith,Lt.drop=Js.drop,Lt.dropRight=Js.dropRight,Lt.dropRightWhile=Js.dropRightWhile,Lt.dropWhile=Js.dropWhile,Lt.fill=Js.fill,Lt.filter=Ys.filter,Lt.flatMap=Ys.flatMap,Lt.flatMapDeep=Ys.flatMapDeep,Lt.flatMapDepth=Ys.flatMapDepth,Lt.flatten=Js.flatten,Lt.flattenDeep=Js.flattenDeep,Lt.flattenDepth=Js.flattenDepth,Lt.flip=tp.flip,Lt.flow=up.flow,Lt.flowRight=up.flowRight,Lt.fromPairs=Js.fromPairs,Lt.functions=ep.functions,Lt.functionsIn=ep.functionsIn,Lt.groupBy=Ys.groupBy,Lt.initial=Js.initial,Lt.intersection=Js.intersection,Lt.intersectionBy=Js.intersectionBy,Lt.intersectionWith=Js.intersectionWith,Lt.invert=ep.invert,Lt.invertBy=ep.invertBy,Lt.invokeMap=Ys.invokeMap,Lt.iteratee=up.iteratee,Lt.keyBy=Ys.keyBy,Lt.keys=Mr,Lt.keysIn=ep.keysIn,Lt.map=Ys.map,Lt.mapKeys=ep.mapKeys,Lt.mapValues=ep.mapValues,Lt.matches=up.matches,Lt.matchesProperty=up.matchesProperty,Lt.memoize=tp.memoize,Lt.merge=ep.merge,Lt.mergeWith=ep.mergeWith,Lt.method=up.method,Lt.methodOf=up.methodOf,Lt.mixin=yp,Lt.negate=bf,Lt.nthArg=up.nthArg,Lt.omit=ep.omit,Lt.omitBy=ep.omitBy,Lt.once=tp.once,Lt.orderBy=Ys.orderBy,Lt.over=up.over,Lt.overArgs=tp.overArgs,Lt.overEvery=up.overEvery,Lt.overSome=up.overSome,Lt.partial=tp.partial,Lt.partialRight=tp.partialRight,Lt.partition=Ys.partition,Lt.pick=ep.pick,Lt.pickBy=ep.pickBy,Lt.property=up.property,Lt.propertyOf=up.propertyOf,Lt.pull=Js.pull,Lt.pullAll=Js.pullAll,Lt.pullAllBy=Js.pullAllBy,Lt.pullAllWith=Js.pullAllWith,Lt.pullAt=Js.pullAt,Lt.range=up.range,Lt.rangeRight=up.rangeRight,Lt.rearg=tp.rearg,Lt.reject=Ys.reject,Lt.remove=Js.remove,Lt.rest=tp.rest,Lt.reverse=Js.reverse,Lt.sampleSize=Ys.sampleSize,Lt.set=ep.set,Lt.setWith=ep.setWith,Lt.shuffle=Ys.shuffle,Lt.slice=Js.slice,Lt.sortBy=Ys.sortBy,Lt.sortedUniq=Js.sortedUniq,Lt.sortedUniqBy=Js.sortedUniqBy,Lt.split=op.split,Lt.spread=tp.spread,Lt.tail=Js.tail,Lt.take=Js.take,Lt.takeRight=Js.takeRight,Lt.takeRightWhile=Js.takeRightWhile,Lt.takeWhile=Js.takeWhile,Lt.tap=ip.tap,Lt.throttle=tp.throttle,Lt.thru=ys,Lt.toArray=np.toArray,Lt.toPairs=ep.toPairs,Lt.toPairsIn=ep.toPairsIn,Lt.toPath=up.toPath,Lt.toPlainObject=np.toPlainObject,Lt.transform=ep.transform,Lt.unary=tp.unary,Lt.union=Js.union,Lt.unionBy=Js.unionBy,Lt.unionWith=Js.unionWith,Lt.uniq=Js.uniq,Lt.uniqBy=Js.uniqBy,Lt.uniqWith=Js.uniqWith,Lt.unset=ep.unset,Lt.unzip=Js.unzip,Lt.unzipWith=Js.unzipWith,Lt.update=ep.update,Lt.updateWith=ep.updateWith,Lt.values=ep.values,Lt.valuesIn=ep.valuesIn,Lt.without=Js.without,Lt.words=op.words,Lt.wrap=tp.wrap,Lt.xor=Js.xor,Lt.xorBy=Js.xorBy,Lt.xorWith=Js.xorWith,Lt.zip=Js.zip,Lt.zipObject=Js.zipObject,Lt.zipObjectDeep=Js.zipObjectDeep,Lt.zipWith=Js.zipWith,Lt.entries=ep.toPairs,Lt.entriesIn=ep.toPairsIn,Lt.extend=ep.assignIn,Lt.extendWith=ep.assignInWith,yp(Lt,Lt),Lt.add=rp.add,Lt.attempt=up.attempt,Lt.camelCase=op.camelCase,Lt.capitalize=op.capitalize,Lt.ceil=rp.ceil,Lt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bi(N(t),n,r)},Lt.clone=np.clone,Lt.cloneDeep=np.cloneDeep,Lt.cloneDeepWith=np.cloneDeepWith,Lt.cloneWith=np.cloneWith,Lt.conformsTo=np.conformsTo,Lt.deburr=op.deburr,Lt.defaultTo=up.defaultTo,Lt.divide=rp.divide,Lt.endsWith=op.endsWith,Lt.eq=np.eq,Lt.escape=op.escape,Lt.escapeRegExp=op.escapeRegExp,Lt.every=Ys.every,Lt.find=Ys.find,Lt.findIndex=Js.findIndex,Lt.findKey=ep.findKey,Lt.findLast=Ys.findLast,Lt.findLastIndex=Js.findLastIndex,Lt.findLastKey=ep.findLastKey,Lt.floor=rp.floor,Lt.forEach=Ys.forEach,Lt.forEachRight=Ys.forEachRight,Lt.forIn=ep.forIn,Lt.forInRight=ep.forInRight,Lt.forOwn=ep.forOwn,Lt.forOwnRight=ep.forOwnRight,Lt.get=ep.get,Lt.gt=np.gt,Lt.gte=np.gte,Lt.has=ep.has,Lt.hasIn=ep.hasIn,Lt.head=Js.head,Lt.identity=V,Lt.includes=Ys.includes,Lt.indexOf=Js.indexOf,Lt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Lt.invoke=ep.invoke,Lt.isArguments=np.isArguments,Lt.isArray=O,Lt.isArrayBuffer=np.isArrayBuffer,Lt.isArrayLike=np.isArrayLike,Lt.isArrayLikeObject=np.isArrayLikeObject,Lt.isBoolean=np.isBoolean,Lt.isBuffer=np.isBuffer,Lt.isDate=np.isDate,Lt.isElement=np.isElement,Lt.isEmpty=np.isEmpty,Lt.isEqual=np.isEqual,Lt.isEqualWith=np.isEqualWith,Lt.isError=np.isError,Lt.isFinite=np.isFinite,Lt.isFunction=np.isFunction,Lt.isInteger=np.isInteger,Lt.isLength=np.isLength,Lt.isMap=np.isMap,Lt.isMatch=np.isMatch,Lt.isMatchWith=np.isMatchWith,Lt.isNaN=np.isNaN,Lt.isNative=np.isNative,Lt.isNil=np.isNil,Lt.isNull=np.isNull,Lt.isNumber=np.isNumber,Lt.isObject=L,Lt.isObjectLike=np.isObjectLike,Lt.isPlainObject=np.isPlainObject,Lt.isRegExp=np.isRegExp,Lt.isSafeInteger=np.isSafeInteger,Lt.isSet=np.isSet,Lt.isString=np.isString,Lt.isSymbol=np.isSymbol,Lt.isTypedArray=np.isTypedArray,Lt.isUndefined=np.isUndefined,Lt.isWeakMap=np.isWeakMap,Lt.isWeakSet=np.isWeakSet,Lt.join=Js.join,Lt.kebabCase=op.kebabCase,Lt.last=wa,Lt.lastIndexOf=Js.lastIndexOf,Lt.lowerCase=op.lowerCase,Lt.lowerFirst=op.lowerFirst,Lt.lt=np.lt,Lt.lte=np.lte,Lt.max=rp.max,Lt.maxBy=rp.maxBy,Lt.mean=rp.mean,Lt.meanBy=rp.meanBy,Lt.min=rp.min,Lt.minBy=rp.minBy,Lt.stubArray=up.stubArray,Lt.stubFalse=up.stubFalse,Lt.stubObject=up.stubObject,Lt.stubString=up.stubString,Lt.stubTrue=up.stubTrue,Lt.multiply=rp.multiply,Lt.nth=Js.nth,Lt.noop=up.noop,Lt.now=Xs,Lt.pad=op.pad,Lt.padEnd=op.padEnd,Lt.padStart=op.padStart,Lt.parseInt=op.parseInt,Lt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Yn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Lt.reduce=Ys.reduce,Lt.reduceRight=Ys.reduceRight,Lt.repeat=op.repeat,Lt.replace=op.replace,Lt.result=ep.result,Lt.round=rp.round,Lt.sample=Ys.sample,Lt.size=Ys.size,Lt.snakeCase=op.snakeCase,Lt.some=Ys.some,Lt.sortedIndex=Js.sortedIndex,Lt.sortedIndexBy=Js.sortedIndexBy,Lt.sortedIndexOf=Js.sortedIndexOf,Lt.sortedLastIndex=Js.sortedLastIndex,Lt.sortedLastIndexBy=Js.sortedLastIndexBy,Lt.sortedLastIndexOf=Js.sortedLastIndexOf,Lt.startCase=op.startCase,Lt.startsWith=op.startsWith,Lt.subtract=rp.subtract,Lt.sum=rp.sum,Lt.sumBy=rp.sumBy,Lt.template=op.template,Lt.times=up.times,Lt.toFinite=np.toFinite,Lt.toInteger=K,Lt.toLength=np.toLength,Lt.toLower=op.toLower,Lt.toNumber=np.toNumber,Lt.toSafeInteger=np.toSafeInteger,Lt.toString=np.toString,Lt.toUpper=op.toUpper,Lt.trim=op.trim,Lt.trimEnd=op.trimEnd,Lt.trimStart=op.trimStart,Lt.truncate=op.truncate,Lt.unescape=op.unescape,Lt.uniqueId=up.uniqueId,Lt.upperCase=op.upperCase,Lt.upperFirst=op.upperFirst,Lt.each=Ys.forEach,Lt.eachRight=Ys.forEachRight,Lt.first=Js.head,yp(Lt,(Qs={},Ku(Lt,(function(t,n){pp.call(Lt.prototype,n)||(Qs[n]=t)})),Qs),{chain:!1}),Lt.VERSION="4.17.21",(Lt.templateSettings=op.templateSettings).imports._=Lt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Lt[t].placeholder=Lt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Qn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Lt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Lt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Lt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,v=o&&!s,h=a&&!p;if(!o&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Rt(d,s)}return v&&h?t.apply(this,u):(d=this.thru(l),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Lt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Lt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,v=fp(c,this.__takeCount__);if(!r||!e&&i==c&&v==c)return bs(t,this.__actions__);var h=[];t:for(;c--&&p<v;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}h[p++]=y}return h},Lt.prototype.at=ip.at,Lt.prototype.chain=ip.wrapperChain,Lt.prototype.commit=ip.commit,Lt.prototype.next=ip.next,Lt.prototype.plant=ip.plant,Lt.prototype.reverse=ip.reverse,Lt.prototype.toJSON=Lt.prototype.valueOf=Lt.prototype.value=ip.value,Lt.prototype.first=Lt.prototype.head,vp&&(Lt.prototype[vp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Mp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Ep()&&window.matchMedia(t).matches,Sp=t=>{const[n,r]=(0,e.useState)(Ip(t)),i=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Mp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file diff --git a/assets/js/61f7a55d.94c6ae52.js b/assets/js/61f7a55d.832a3eb3.js similarity index 97% rename from assets/js/61f7a55d.94c6ae52.js rename to assets/js/61f7a55d.832a3eb3.js index c928e895e..21f348363 100644 --- a/assets/js/61f7a55d.94c6ae52.js +++ b/assets/js/61f7a55d.832a3eb3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8953],{8099:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>d});var t=n(5735),r=n(7355);const s={},c="useWindowScrollTo",i={id:"react/hooks/useWindowScrollTo",title:"useWindowScrollTo",description:"window.scrollTo()\ub97c \ud3b8\ud558\uac8c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useWindowScrollTo.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange"},next:{title:"useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const o={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"usewindowscrollto",children:"useWindowScrollTo"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.code,{children:"window.scrollTo()"}),"\ub97c \ud3b8\ud558\uac8c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(o.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-tsx",children:"interface UseScrollToProps {\n left?: ScrollToOptions['left']; // default: 0\n top?: ScrollToOptions['top']; // default: 0\n behavior?: ScrollToOptions['behavior']; // default: 'auto'\n dependencies?: DependencyList; // default: []\n}\n\nconst useWindowScrollTo: ({\n left,\n top,\n behavior,\n dependencies,\n}?: UseScrollToProps) => void;\n"})}),"\n",(0,t.jsx)(o.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-tsx",children:"import { useWindowScrollTo } from '@modern-kit/react';\n\nconst Example = () => {\n useWindowScrollTo();\n\n return (<div>{/* ... */}</div>);\n};\n"})})]})}function u(e={}){const{wrapper:o}={...(0,r.a)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,o,n)=>{n.d(o,{Z:()=>i,a:()=>c});var t=n(4614);const r={},s=t.createContext(r);function c(e){const o=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function i(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8953],{7895:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>d});var t=n(5735),r=n(7355);const s={},c="useWindowScrollTo",i={id:"react/hooks/useWindowScrollTo",title:"useWindowScrollTo",description:"window.scrollTo()\ub97c \ud3b8\ud558\uac8c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useWindowScrollTo.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange"},next:{title:"useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const o={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"usewindowscrollto",children:"useWindowScrollTo"}),"\n",(0,t.jsxs)(o.p,{children:[(0,t.jsx)(o.code,{children:"window.scrollTo()"}),"\ub97c \ud3b8\ud558\uac8c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(o.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-tsx",children:"interface UseScrollToProps {\n left?: ScrollToOptions['left']; // default: 0\n top?: ScrollToOptions['top']; // default: 0\n behavior?: ScrollToOptions['behavior']; // default: 'auto'\n dependencies?: DependencyList; // default: []\n}\n\nconst useWindowScrollTo: ({\n left,\n top,\n behavior,\n dependencies,\n}?: UseScrollToProps) => void;\n"})}),"\n",(0,t.jsx)(o.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-tsx",children:"import { useWindowScrollTo } from '@modern-kit/react';\n\nconst Example = () => {\n useWindowScrollTo();\n\n return (<div>{/* ... */}</div>);\n};\n"})})]})}function u(e={}){const{wrapper:o}={...(0,r.a)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,o,n)=>{n.d(o,{Z:()=>i,a:()=>c});var t=n(4614);const r={},s=t.createContext(r);function c(e){const o=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function i(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(s.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/634f3e62.6d22c4d8.js b/assets/js/634f3e62.6d22c4d8.js deleted file mode 100644 index 15fd2a02b..000000000 --- a/assets/js/634f3e62.6d22c4d8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[713],{5745:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/67c089fb.441acfb7.js b/assets/js/67c089fb.1a4ee47f.js similarity index 97% rename from assets/js/67c089fb.441acfb7.js rename to assets/js/67c089fb.1a4ee47f.js index 3a50c3f6c..8af583301 100644 --- a/assets/js/67c089fb.441acfb7.js +++ b/assets/js/67c089fb.1a4ee47f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3776],{5008:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>u,contentTitle:()=>r,default:()=>l,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var t=o(5735),s=o(7355);const c={},r="useDebounce",a={id:"react/hooks/useDebounce",title:"useDebounce",description:"debounce\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useDebounce.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback"},next:{title:"useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate"}},u={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"usedebounce",children:"useDebounce"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"debounce"}),"\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"// lodash-es DebounceSettings\n// https://www.geeksforgeeks.org/lodash-_-debounce-method/\ninterface DebounceSettings {\n leading?: boolean | undefined;\n maxWait?: number | undefined;\n trailing?: boolean | undefined;\n}\n\ntype DebounceParameters = Parameters<typeof debounce>;\n\nconst useDebounce: (\n callback: DebounceParameters[0], // (...args: any) => any\n wait: DebounceParameters[1], // number\n options?: DebounceParameters[2] // DebounceSettings\n) => DebouncedFunc<(...args: any) => any>;\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"import { useDebounce } from '@modern-kit/react';\n\nconst Example = () => {\n const handle = useDebounce(() => {\n console.log('debounce');\n }, 500);\n\n return <button onClick={handle}>button1</button>;\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>r});var t=o(4614);const s={},c=t.createContext(s);function r(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3776],{3552:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>u,contentTitle:()=>r,default:()=>l,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var t=o(5735),s=o(7355);const c={},r="useDebounce",a={id:"react/hooks/useDebounce",title:"useDebounce",description:"debounce\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useDebounce.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback"},next:{title:"useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate"}},u={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function i(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"usedebounce",children:"useDebounce"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"debounce"}),"\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"// lodash-es DebounceSettings\n// https://www.geeksforgeeks.org/lodash-_-debounce-method/\ninterface DebounceSettings {\n leading?: boolean | undefined;\n maxWait?: number | undefined;\n trailing?: boolean | undefined;\n}\n\ntype DebounceParameters = Parameters<typeof debounce>;\n\nconst useDebounce: (\n callback: DebounceParameters[0], // (...args: any) => any\n wait: DebounceParameters[1], // number\n options?: DebounceParameters[2] // DebounceSettings\n) => DebouncedFunc<(...args: any) => any>;\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"import { useDebounce } from '@modern-kit/react';\n\nconst Example = () => {\n const handle = useDebounce(() => {\n console.log('debounce');\n }, 500);\n\n return <button onClick={handle}>button1</button>;\n};\n"})})]})}function l(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(i,{...e})}):i(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>r});var t=o(4614);const s={},c=t.createContext(s);function r(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6b7ba1c1.8f03c00f.js b/assets/js/6b7ba1c1.ca4a1cd4.js similarity index 97% rename from assets/js/6b7ba1c1.8f03c00f.js rename to assets/js/6b7ba1c1.ca4a1cd4.js index e3d22c2e0..a97e41afa 100644 --- a/assets/js/6b7ba1c1.8f03c00f.js +++ b/assets/js/6b7ba1c1.ca4a1cd4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4583],{2520:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var r=o(5735),t=o(7355);const s={},a="hexToRgba",i={id:"utils/common/hexToRgba",title:"hexToRgba",description:"16\uc9c4\uc218 \uc0c9\uc0c1 \ucf54\ub4dc(Hex)\ub97c RGB\ud615\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. (HEX -> RGB)",source:"@site/docs/utils/common/hexToRgba.md",sourceDirName:"utils/common",slug:"/utils/common/hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize"},next:{title:"noop",permalink:"/modern-kit/docs/utils/common/noop"}},c={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"hextorgba",children:"hexToRgba"}),"\n",(0,r.jsxs)(n.p,{children:["16\uc9c4\uc218 \uc0c9\uc0c1 \ucf54\ub4dc(Hex)\ub97c RGB\ud615\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. ",(0,r.jsx)(n.code,{children:"(HEX -> RGB)"})]}),"\n",(0,r.jsxs)(n.p,{children:["\uc720\ud6a8\ud55c Hex \ucf54\ub4dc\uac00 \uc544\ub2c8\ub77c\uba74 ",(0,r.jsx)(n.code,{children:"null"}),"\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const hexToRgba: (hex: string, alpha?: number) => {\n readonly r: number;\n readonly g: number;\n readonly b: number;\n readonly a: number;\n readonly stringifiedValue: `rgba(${number},${number},${number},${number})`;\n} | null\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { hexToRgba } from '@modern-kit/utils';\n\nconst hex1 = '#1A2B3C';\nconst rgbColor1 = hexToRgba(hex1); \n// { r: 26, g: 43, b: 60, a: 1, stringifiedValue: 'rgba(26,43,60,1)' }\n\nconst hex2 = '#1A2';\nconst rgbColor2 = hexToRgba(hex2, 0.2); \n// { r: 17, g: 170, b: 34, a: 0.2, stringifiedValue: 'rgba(17,170,34,0.2)' }\n"})})]})}function u(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>i,a:()=>a});var r=o(4614);const t={},s=r.createContext(t);function a(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4583],{8970:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var r=o(5735),t=o(7355);const s={},a="hexToRgba",i={id:"utils/common/hexToRgba",title:"hexToRgba",description:"16\uc9c4\uc218 \uc0c9\uc0c1 \ucf54\ub4dc(Hex)\ub97c RGB\ud615\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. (HEX -> RGB)",source:"@site/docs/utils/common/hexToRgba.md",sourceDirName:"utils/common",slug:"/utils/common/hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize"},next:{title:"noop",permalink:"/modern-kit/docs/utils/common/noop"}},c={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"hextorgba",children:"hexToRgba"}),"\n",(0,r.jsxs)(n.p,{children:["16\uc9c4\uc218 \uc0c9\uc0c1 \ucf54\ub4dc(Hex)\ub97c RGB\ud615\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. ",(0,r.jsx)(n.code,{children:"(HEX -> RGB)"})]}),"\n",(0,r.jsxs)(n.p,{children:["\uc720\ud6a8\ud55c Hex \ucf54\ub4dc\uac00 \uc544\ub2c8\ub77c\uba74 ",(0,r.jsx)(n.code,{children:"null"}),"\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const hexToRgba: (hex: string, alpha?: number) => {\n readonly r: number;\n readonly g: number;\n readonly b: number;\n readonly a: number;\n readonly stringifiedValue: `rgba(${number},${number},${number},${number})`;\n} | null\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { hexToRgba } from '@modern-kit/utils';\n\nconst hex1 = '#1A2B3C';\nconst rgbColor1 = hexToRgba(hex1); \n// { r: 26, g: 43, b: 60, a: 1, stringifiedValue: 'rgba(26,43,60,1)' }\n\nconst hex2 = '#1A2';\nconst rgbColor2 = hexToRgba(hex2, 0.2); \n// { r: 17, g: 170, b: 34, a: 0.2, stringifiedValue: 'rgba(17,170,34,0.2)' }\n"})})]})}function u(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>i,a:()=>a});var r=o(4614);const t={},s=r.createContext(t);function a(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6bd54dd6.bf07a488.js b/assets/js/6bd54dd6.86da4865.js similarity index 98% rename from assets/js/6bd54dd6.bf07a488.js rename to assets/js/6bd54dd6.86da4865.js index 4d516bcb6..65fa9b338 100644 --- a/assets/js/6bd54dd6.bf07a488.js +++ b/assets/js/6bd54dd6.86da4865.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4168],{9075:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>r,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var t=n(5735),s=n(7355);const o={},a="useVisibilityChange",c={id:"react/hooks/useVisibilityChange",title:"useVisibilityChange",description:"visibilitychange \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud560 \ub54c \uc989, \ube0c\ub77c\uc6b0\uc800 \ud0ed\uc758 \ucf58\ud150\uce20\uac00 \ubcf4\uc5ec\uc9c0\uba74 onShow \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba70, \ucf58\ud150\uce20\uac00 \uc228\uaca8\uc9c0\uba74 onHide \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useVisibilityChange.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useUnMount",permalink:"/modern-kit/docs/react/hooks/useUnmount"},next:{title:"useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo"}},r={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const i={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"usevisibilitychange",children:"useVisibilityChange"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"visibilitychange"})," \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud560 \ub54c \uc989, \ube0c\ub77c\uc6b0\uc800 \ud0ed\uc758 \ucf58\ud150\uce20\uac00 \ubcf4\uc5ec\uc9c0\uba74 ",(0,t.jsx)(i.code,{children:"onShow"})," \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba70, \ucf58\ud150\uce20\uac00 \uc228\uaca8\uc9c0\uba74 ",(0,t.jsx)(i.code,{children:"onHide"})," \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"type VisibilityChangeCallbackAction = (\n event: Event,\n visibilityState: DocumentVisibilityState\n) => void;\n\ninterface useVisibilityChangeProps {\n onShow?: VisibilityChangeCallbackAction;\n onHide?: VisibilityChangeCallbackAction;\n}\n\nconst useVisibilityChange: ({ onShow, onHide, }: useVisibilityChangeProps) => void\n"})}),"\n",(0,t.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"import { useVisibilityChange } from '@modern-kit/react';\n\nconst Example = () => {\n useVisibilityEvent({\n onShow: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */},\n onHide: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */}\n });\n\n return (\n <div>{/* ... */}</div>\n )\n};\n"})})]})}function u(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},7355:(e,i,n)=>{n.d(i,{Z:()=>c,a:()=>a});var t=n(4614);const s={},o=t.createContext(s);function a(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4168],{9018:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>r,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var t=n(5735),s=n(7355);const o={},a="useVisibilityChange",c={id:"react/hooks/useVisibilityChange",title:"useVisibilityChange",description:"visibilitychange \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud560 \ub54c \uc989, \ube0c\ub77c\uc6b0\uc800 \ud0ed\uc758 \ucf58\ud150\uce20\uac00 \ubcf4\uc5ec\uc9c0\uba74 onShow \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba70, \ucf58\ud150\uce20\uac00 \uc228\uaca8\uc9c0\uba74 onHide \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useVisibilityChange.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useUnMount",permalink:"/modern-kit/docs/react/hooks/useUnmount"},next:{title:"useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo"}},r={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const i={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"usevisibilitychange",children:"useVisibilityChange"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"visibilitychange"})," \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud560 \ub54c \uc989, \ube0c\ub77c\uc6b0\uc800 \ud0ed\uc758 \ucf58\ud150\uce20\uac00 \ubcf4\uc5ec\uc9c0\uba74 ",(0,t.jsx)(i.code,{children:"onShow"})," \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba70, \ucf58\ud150\uce20\uac00 \uc228\uaca8\uc9c0\uba74 ",(0,t.jsx)(i.code,{children:"onHide"})," \ucf5c\ubc31 \ud568\uc218\ub97c \uc2e4\ud589\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"type VisibilityChangeCallbackAction = (\n event: Event,\n visibilityState: DocumentVisibilityState\n) => void;\n\ninterface useVisibilityChangeProps {\n onShow?: VisibilityChangeCallbackAction;\n onHide?: VisibilityChangeCallbackAction;\n}\n\nconst useVisibilityChange: ({ onShow, onHide, }: useVisibilityChangeProps) => void\n"})}),"\n",(0,t.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"import { useVisibilityChange } from '@modern-kit/react';\n\nconst Example = () => {\n useVisibilityEvent({\n onShow: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */},\n onHide: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */}\n });\n\n return (\n <div>{/* ... */}</div>\n )\n};\n"})})]})}function u(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},7355:(e,i,n)=>{n.d(i,{Z:()=>c,a:()=>a});var t=n(4614);const s={},o=t.createContext(s);function a(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6dde689d.a367c554.js b/assets/js/6dde689d.c5d3d91f.js similarity index 97% rename from assets/js/6dde689d.a367c554.js rename to assets/js/6dde689d.c5d3d91f.js index 43ecc620c..3859e652c 100644 --- a/assets/js/6dde689d.a367c554.js +++ b/assets/js/6dde689d.c5d3d91f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3030],{1777:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>u,toc:()=>a});var s=n(5735),o=n(7355);const r={},i="useTimeout",u={id:"react/hooks/useTimeout",title:"useTimeout",description:"window.setTimeout\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useTimeout.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver"},next:{title:"useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle"}},c={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"usetimeout",children:"useTimeout"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"window.setTimeout"}),"\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"delay"}),"\uc758 \uac12\uc73c\ub85c ",(0,s.jsx)(t.code,{children:"null"}),"\uc744 \ub123\uc73c\uba74 \ud0c0\uc774\uba38\ub97c \uc911\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type SetTimeoutParameters = Parameters<typeof setTimeout>;\n\nconst useTimeout: (callback: SetTimeoutParameters[0], delay?: SetTimeoutParameters[1]) => void\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useTimeout } from '@modern-kit/react';\n\nconst Example = () => {\n const [number, setNumber] = useState(0);\n\n useTimeout(() => {\n setNumber(number + 1);\n }, 1000);\n\n useTimeout(() => {\n setNumber(number + 1);\n }, 2000);\n\n return <div>{number}</div>;\n};\n"})})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>u,a:()=>i});var s=n(4614);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3030],{3999:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>u,toc:()=>a});var s=n(5735),o=n(7355);const r={},i="useTimeout",u={id:"react/hooks/useTimeout",title:"useTimeout",description:"window.setTimeout\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useTimeout.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useTimeout",permalink:"/modern-kit/docs/react/hooks/useTimeout",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver"},next:{title:"useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle"}},c={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"usetimeout",children:"useTimeout"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"window.setTimeout"}),"\uc744 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"delay"}),"\uc758 \uac12\uc73c\ub85c ",(0,s.jsx)(t.code,{children:"null"}),"\uc744 \ub123\uc73c\uba74 \ud0c0\uc774\uba38\ub97c \uc911\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type SetTimeoutParameters = Parameters<typeof setTimeout>;\n\nconst useTimeout: (callback: SetTimeoutParameters[0], delay?: SetTimeoutParameters[1]) => void\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useTimeout } from '@modern-kit/react';\n\nconst Example = () => {\n const [number, setNumber] = useState(0);\n\n useTimeout(() => {\n setNumber(number + 1);\n }, 1000);\n\n useTimeout(() => {\n setNumber(number + 1);\n }, 2000);\n\n return <div>{number}</div>;\n};\n"})})]})}function m(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>u,a:()=>i});var s=n(4614);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/73aec3a2.6cc91f0f.js b/assets/js/73aec3a2.d5fb8279.js similarity index 97% rename from assets/js/73aec3a2.6cc91f0f.js rename to assets/js/73aec3a2.d5fb8279.js index 3885325aa..8e16950a9 100644 --- a/assets/js/73aec3a2.6cc91f0f.js +++ b/assets/js/73aec3a2.d5fb8279.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[937],{7803:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var n=r(5735),m=r(7355);const o={},s="formatNumberWithCommas",i={id:"utils/string/formatNumberWithCommas",title:"formatNumberWithCommas",description:"\ubb38\uc790\uc5f4 \ub610\ub294 \uc22b\uc790\ub97c \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \ucc9c \ub2e8\uc704\ub85c (,)comma\ub97c \ucd94\uac00\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/formatNumberWithCommas.md",sourceDirName:"utils/string",slug:"/utils/string/formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber"},next:{title:"formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber"}},a={},c=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,m.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"formatnumberwithcommas",children:"formatNumberWithCommas"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"\ubb38\uc790\uc5f4"})," \ub610\ub294 ",(0,n.jsx)(t.code,{children:"\uc22b\uc790"}),"\ub97c \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \ucc9c \ub2e8\uc704\ub85c ",(0,n.jsx)(t.code,{children:"(,)comma"}),"\ub97c \ucd94\uac00\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const formatNumberWithCommas: (value: string | number) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { formatNumberWithCommas } from '@modern-kit/utils';\n\nconst numberWithComma1 = formatNumberWithCommas(200); // '200'\nconst numberWithComma2 = formatNumberWithCommas(3000); // '3,000'\nconst numberWithComma3 = formatNumberWithCommas('50000'); // '50,000'\nconst numberWithComma4 = formatNumberWithCommas('123123123'); // '123,123,123'\nconst numberWithComma5 = formatNumberWithCommas('price: 500000'); // 'price: 500,000'\n"})})]})}function l(e={}){const{wrapper:t}={...(0,m.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>s});var n=r(4614);const m={},o=n.createContext(m);function s(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(m):e.components||m:s(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[937],{3059:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var n=r(5735),m=r(7355);const o={},s="formatNumberWithCommas",i={id:"utils/string/formatNumberWithCommas",title:"formatNumberWithCommas",description:"\ubb38\uc790\uc5f4 \ub610\ub294 \uc22b\uc790\ub97c \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \ucc9c \ub2e8\uc704\ub85c (,)comma\ub97c \ucd94\uac00\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/formatNumberWithCommas.md",sourceDirName:"utils/string",slug:"/utils/string/formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber"},next:{title:"formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber"}},a={},c=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,m.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"formatnumberwithcommas",children:"formatNumberWithCommas"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"\ubb38\uc790\uc5f4"})," \ub610\ub294 ",(0,n.jsx)(t.code,{children:"\uc22b\uc790"}),"\ub97c \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \ucc9c \ub2e8\uc704\ub85c ",(0,n.jsx)(t.code,{children:"(,)comma"}),"\ub97c \ucd94\uac00\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const formatNumberWithCommas: (value: string | number) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { formatNumberWithCommas } from '@modern-kit/utils';\n\nconst numberWithComma1 = formatNumberWithCommas(200); // '200'\nconst numberWithComma2 = formatNumberWithCommas(3000); // '3,000'\nconst numberWithComma3 = formatNumberWithCommas('50000'); // '50,000'\nconst numberWithComma4 = formatNumberWithCommas('123123123'); // '123,123,123'\nconst numberWithComma5 = formatNumberWithCommas('price: 500000'); // 'price: 500,000'\n"})})]})}function l(e={}){const{wrapper:t}={...(0,m.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>s});var n=r(4614);const m={},o=n.createContext(m);function s(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(m):e.components||m:s(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7475180a.f1089528.js b/assets/js/7475180a.f1089528.js new file mode 100644 index 000000000..e6587c7c4 --- /dev/null +++ b/assets/js/7475180a.f1089528.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9646],{5745:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/764f42b2.8bd1e47d.js b/assets/js/764f42b2.115710a2.js similarity index 97% rename from assets/js/764f42b2.8bd1e47d.js rename to assets/js/764f42b2.115710a2.js index 49ec988e0..383887ac5 100644 --- a/assets/js/764f42b2.8bd1e47d.js +++ b/assets/js/764f42b2.115710a2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5497],{2251:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var s=r(5735),t=r(7355);const o={},c="useMergeRefs",a={id:"react/hooks/useMergeRefs",title:"useMergeRefs",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uc5ec\ub7ec \uac1c\uc758 ref\ub97c \ud558\ub098\ub85c \ubcd1\ud569\ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useMergeRefs.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery"},next:{title:"useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside"}},i={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"usemergerefs",children:"useMergeRefs"}),"\n",(0,s.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uc5ec\ub7ec \uac1c\uc758 ",(0,s.jsx)(n.code,{children:"ref"}),"\ub97c \ud558\ub098\ub85c \ubcd1\ud569\ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useMergeRefs: <T = any>(\n ...refs: (React.MutableRefObject<T> | React.LegacyRef<T>)[]\n) => (instance: T | null) => void;\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import React, { forwardRef, useRef } from 'react';\nimport { useMergeRefs } from '@modern-kit/react';\n\ninterface Props {\n /* ... */\n}\n\nconst Example = forwardRef<HTMLDivElement, Props>((props, ref) => {\n const childRef = useRef<HTMLDivElement | null>(null);\n\n return <div ref={useMergeRefs(childRef, ref)}>{/* ... */}</div>;\n});\n"})})]})}function l(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>c});var s=r(4614);const t={},o=s.createContext(t);function c(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5497],{1205:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var s=r(5735),t=r(7355);const o={},c="useMergeRefs",a={id:"react/hooks/useMergeRefs",title:"useMergeRefs",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uc5ec\ub7ec \uac1c\uc758 ref\ub97c \ud558\ub098\ub85c \ubcd1\ud569\ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useMergeRefs.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useMergeRefs",permalink:"/modern-kit/docs/react/hooks/useMergeRefs",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery"},next:{title:"useOnClickOutside",permalink:"/modern-kit/docs/react/hooks/useOnClickOutside"}},i={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"usemergerefs",children:"useMergeRefs"}),"\n",(0,s.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \uc5ec\ub7ec \uac1c\uc758 ",(0,s.jsx)(n.code,{children:"ref"}),"\ub97c \ud558\ub098\ub85c \ubcd1\ud569\ud560 \ub54c \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const useMergeRefs: <T = any>(\n ...refs: (React.MutableRefObject<T> | React.LegacyRef<T>)[]\n) => (instance: T | null) => void;\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"import React, { forwardRef, useRef } from 'react';\nimport { useMergeRefs } from '@modern-kit/react';\n\ninterface Props {\n /* ... */\n}\n\nconst Example = forwardRef<HTMLDivElement, Props>((props, ref) => {\n const childRef = useRef<HTMLDivElement | null>(null);\n\n return <div ref={useMergeRefs(childRef, ref)}>{/* ... */}</div>;\n});\n"})})]})}function l(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>c});var s=r(4614);const t={},o=s.createContext(t);function c(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7d279fec.1f38f7f0.js b/assets/js/7d279fec.a35091e6.js similarity index 97% rename from assets/js/7d279fec.1f38f7f0.js rename to assets/js/7d279fec.a35091e6.js index 08b7418fe..4ee908511 100644 --- a/assets/js/7d279fec.1f38f7f0.js +++ b/assets/js/7d279fec.a35091e6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7647],{7725:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>i});var o=n(5735),c=n(7355);const s={},r="useForceUpdate",a={id:"react/hooks/useForceUpdate",title:"useForceUpdate",description:"\ubc18\ud658\ub41c \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba74 \uac15\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub9ac\ub80c\ub354\ub9c1 \uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useForceUpdate.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce"},next:{title:"useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus"}},d={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"useforceupdate",children:"useForceUpdate"}),"\n",(0,o.jsxs)(t.p,{children:["\ubc18\ud658\ub41c \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba74 \uac15\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 ",(0,o.jsx)(t.code,{children:"\ub9ac\ub80c\ub354\ub9c1"})," \uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"// type DispatchWithoutAction = () => void;\nconst useForceUpdate: () => React.DispatchWithoutAction\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"import { useForceUpdate } from '@modern-kit/react';\n\nconst Example = () => {\n const forceUpdate = useForceUpdate();\n\n const handleForceUpdate = useCallback(() => {\n forceUpdate();\n }, [forceUpdate]);\n\n return (\n <div>\n <button onClick={handleForceUpdate}>Button</button>;\n </div>\n );\n};\n"})}),"\n",(0,o.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/streamich/react-use/pull/837",children:"https://github.com/streamich/react-use/pull/837"})})]})}function l(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>r});var o=n(4614);const c={},s=o.createContext(c);function r(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7647],{8856:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>i});var o=n(5735),c=n(7355);const s={},r="useForceUpdate",a={id:"react/hooks/useForceUpdate",title:"useForceUpdate",description:"\ubc18\ud658\ub41c \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba74 \uac15\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub9ac\ub80c\ub354\ub9c1 \uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useForceUpdate.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useForceUpdate",permalink:"/modern-kit/docs/react/hooks/useForceUpdate",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useDebounce",permalink:"/modern-kit/docs/react/hooks/useDebounce"},next:{title:"useImageStatus",permalink:"/modern-kit/docs/react/hooks/useImageStatus"}},d={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"useforceupdate",children:"useForceUpdate"}),"\n",(0,o.jsxs)(t.p,{children:["\ubc18\ud658\ub41c \ud568\uc218\ub97c \uc2e4\ud589\ud558\uba74 \uac15\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 ",(0,o.jsx)(t.code,{children:"\ub9ac\ub80c\ub354\ub9c1"})," \uc2dc\ud0a4\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"// type DispatchWithoutAction = () => void;\nconst useForceUpdate: () => React.DispatchWithoutAction\n"})}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-tsx",children:"import { useForceUpdate } from '@modern-kit/react';\n\nconst Example = () => {\n const forceUpdate = useForceUpdate();\n\n const handleForceUpdate = useCallback(() => {\n forceUpdate();\n }, [forceUpdate]);\n\n return (\n <div>\n <button onClick={handleForceUpdate}>Button</button>;\n </div>\n );\n};\n"})}),"\n",(0,o.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/streamich/react-use/pull/837",children:"https://github.com/streamich/react-use/pull/837"})})]})}function l(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>r});var o=n(4614);const c={},s=o.createContext(c);function r(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/84604114.05c48ea6.js b/assets/js/84604114.561dbaab.js similarity index 97% rename from assets/js/84604114.05c48ea6.js rename to assets/js/84604114.561dbaab.js index 9a53a92db..3f7e4984f 100644 --- a/assets/js/84604114.05c48ea6.js +++ b/assets/js/84604114.561dbaab.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2311],{7403:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(5735),s=r(7355);const o={},a="hasProperty",i={id:"utils/validator/hasProperty",title:"hasProperty",description:"\uac1d\uccb4\uac00 \uc9c0\uc815\ub41c \ud504\ub85c\ud37c\ud2f0\ub97c \ud3ec\ud568\ud558\uace0 \uc788\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\ub294 boolean\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ub9cc\uc57d, true\ub77c\uba74 \ud504\ub85c\ud37c\ud2f0\uc758 \ud0c0\uc785\uc774 \uc881\ud600\uc9d1\ub2c8\ub2e4.",source:"@site/docs/utils/validator/hasProperty.md",sourceDirName:"utils/validator",slug:"/utils/validator/hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters"},next:{title:"isFunction",permalink:"/modern-kit/docs/utils/validator/isFuntion"}},c={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"hasproperty",children:"hasProperty"}),"\n",(0,n.jsxs)(t.p,{children:["\uac1d\uccb4\uac00 \uc9c0\uc815\ub41c \ud504\ub85c\ud37c\ud2f0\ub97c \ud3ec\ud568\ud558\uace0 \uc788\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\ub294 ",(0,n.jsx)(t.code,{children:"boolean"}),"\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ub9cc\uc57d, true\ub77c\uba74 \ud504\ub85c\ud37c\ud2f0\uc758 \ud0c0\uc785\uc774 \uc881\ud600\uc9d1\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const hasProperty: <T extends Record<PropertyKey, any>, K extends PropertyKey>(\n obj: T,\n key: K\n) => key is K & keyof T;\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { hasProperty } from '@modern-kit/utils';\n\nconst exampleObj = { foo: 'foo', bar: 'bar' } as const;\n\nconst exampleKey1 = 'foo' as string;\nconst exampleKey2 = 'zoo' as string;\n\nhasProperty(exampleObj, exampleKey1); // true\n// const exampleKey1: \"foo\" | \"bar\"\nhasProperty(exampleObj, exampleKey2); // false\n// const exampleKey2: string\n"})})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>a});var n=r(4614);const s={},o=n.createContext(s);function a(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2311],{5502:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(5735),s=r(7355);const o={},a="hasProperty",i={id:"utils/validator/hasProperty",title:"hasProperty",description:"\uac1d\uccb4\uac00 \uc9c0\uc815\ub41c \ud504\ub85c\ud37c\ud2f0\ub97c \ud3ec\ud568\ud558\uace0 \uc788\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\ub294 boolean\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ub9cc\uc57d, true\ub77c\uba74 \ud504\ub85c\ud37c\ud2f0\uc758 \ud0c0\uc785\uc774 \uc881\ud600\uc9d1\ub2c8\ub2e4.",source:"@site/docs/utils/validator/hasProperty.md",sourceDirName:"utils/validator",slug:"/utils/validator/hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"repeatCharacters",permalink:"/modern-kit/docs/utils/string/repeatCharacters"},next:{title:"isFunction",permalink:"/modern-kit/docs/utils/validator/isFuntion"}},c={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"hasproperty",children:"hasProperty"}),"\n",(0,n.jsxs)(t.p,{children:["\uac1d\uccb4\uac00 \uc9c0\uc815\ub41c \ud504\ub85c\ud37c\ud2f0\ub97c \ud3ec\ud568\ud558\uace0 \uc788\ub294\uc9c0\ub97c \ub098\ud0c0\ub0b4\ub294 ",(0,n.jsx)(t.code,{children:"boolean"}),"\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \ub9cc\uc57d, true\ub77c\uba74 \ud504\ub85c\ud37c\ud2f0\uc758 \ud0c0\uc785\uc774 \uc881\ud600\uc9d1\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const hasProperty: <T extends Record<PropertyKey, any>, K extends PropertyKey>(\n obj: T,\n key: K\n) => key is K & keyof T;\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { hasProperty } from '@modern-kit/utils';\n\nconst exampleObj = { foo: 'foo', bar: 'bar' } as const;\n\nconst exampleKey1 = 'foo' as string;\nconst exampleKey2 = 'zoo' as string;\n\nhasProperty(exampleObj, exampleKey1); // true\n// const exampleKey1: \"foo\" | \"bar\"\nhasProperty(exampleObj, exampleKey2); // false\n// const exampleKey2: string\n"})})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>a});var n=r(4614);const s={},o=n.createContext(s);function a(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8797c936.77248294.js b/assets/js/8797c936.77248294.js deleted file mode 100644 index 7ddb9146b..000000000 --- a/assets/js/8797c936.77248294.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9247],{6040:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var t=n(5735),s=n(7355);const o={},r="isMobile",c={id:"utils/device/isMobile",title:"isMobile",description:"\ubaa8\ubc14\uc77c \ud658\uacbd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isMobile.md",sourceDirName:"utils/device",slug:"/utils/device/isMobile",permalink:"/modern-kit/docs/utils/device/isMobile",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isClient",permalink:"/modern-kit/docs/utils/device/isClient"},next:{title:"isServer",permalink:"/modern-kit/docs/utils/device/isSever"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const i={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"ismobile",children:"isMobile"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"\ubaa8\ubc14\uc77c \ud658\uacbd"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"const isMobile: () => boolean\n"})}),"\n",(0,t.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-ts",children:"import { isMobile } from '@modern-kit/utils';\n\nif (isMobile()) {\n /* \ubaa8\ubc14\uc77c \ud658\uacbd \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,i,n)=>{n.d(i,{Z:()=>c,a:()=>r});var t=n(4614);const s={},o=t.createContext(s);function r(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8797c936.ecb82f9d.js b/assets/js/8797c936.ecb82f9d.js new file mode 100644 index 000000000..e8f08b72f --- /dev/null +++ b/assets/js/8797c936.ecb82f9d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9247],{659:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var t=n(5735),s=n(7355);const o={},r="isMobile",c={id:"utils/device/isMobile",title:"isMobile",description:"\ubaa8\ubc14\uc77c \ud658\uacbd\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isMobile.md",sourceDirName:"utils/device",slug:"/utils/device/isMobile",permalink:"/modern-kit/docs/utils/device/isMobile",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isClient",permalink:"/modern-kit/docs/utils/device/isClient"},next:{title:"isServer",permalink:"/modern-kit/docs/utils/device/isSever"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const i={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"ismobile",children:"isMobile"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"\ubaa8\ubc14\uc77c \ud658\uacbd"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(i.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-tsx",children:"const isMobile: () => boolean\n"})}),"\n",(0,t.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-ts",children:"import { isMobile } from '@modern-kit/utils';\n\nif (isMobile()) {\n /* \ubaa8\ubc14\uc77c \ud658\uacbd \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},7355:(e,i,n)=>{n.d(i,{Z:()=>c,a:()=>r});var t=n(4614);const s={},o=t.createContext(s);function r(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/90aeac69.c3a8245c.js b/assets/js/90aeac69.7ea6d77c.js similarity index 98% rename from assets/js/90aeac69.c3a8245c.js rename to assets/js/90aeac69.7ea6d77c.js index 0e05f203c..11fd11312 100644 --- a/assets/js/90aeac69.c3a8245c.js +++ b/assets/js/90aeac69.7ea6d77c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4017],{1609:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=t(5735),s=t(7355);const a={},o="usePreservedState",c={id:"react/hooks/usePreservedState",title:"usePreservedState",description:"comparator\ub85c \ube44\uad50\ud588\uc744 \ub54c \uac12\uc774 \ubcc0\uacbd\ub418\uc5c8\uc744 \ub54c \uc0c1\ud0dc\ub97c \ubcc0\uacbd\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePreservedState.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback"},next:{title:"usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default Comparator",id:"default-comparator",level:3},{value:"Custom Comparator",id:"custom-comparator",level:3}];function i(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"usepreservedstate",children:"usePreservedState"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"comparator"}),"\ub85c \ube44\uad50\ud588\uc744 \ub54c \uac12\uc774 \ubcc0\uacbd\ub418\uc5c8\uc744 \ub54c \uc0c1\ud0dc\ub97c \ubcc0\uacbd\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(r.p,{children:["comparator\ub97c \ub118\uae30\uc9c0 \uc54a\ub294\ub2e4\uba74 ",(0,n.jsx)(r.code,{children:"@modern-kit/utils"}),"\uc758 ",(0,n.jsx)(r.code,{children:"deepEqual"})," \ud568\uc218\uac00 \ud65c\uc6a9\ub429\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"https://modern-agile-team.github.io/modern-kit/docs/utils/common/deepEqual",children:"deepEqual"})}),"\n"]}),"\n",(0,n.jsxs)(r.p,{children:["\ub9cc\uc57d, comparator\uc758 \ubc18\ud658 \uac12\uc774 ",(0,n.jsx)(r.code,{children:"true"}),"\uc5ec\uc11c \uc0c1\ud0dc\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\ub294\ub2e4\uba74 ",(0,n.jsx)(r.code,{children:"\ucc38\uc870\ub3c4 \uc720\uc9c0"}),"\ub429\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"const usePreservedState: <T>(\n value: T,\n comparator?: ((source: T, target: T) => boolean) | undefined\n) => T;\n"})}),"\n",(0,n.jsx)(r.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(r.h3,{id:"default-comparator",children:"Default Comparator"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:'import React, { useEffect, useState } from "react";\nimport { usePreservedState } from "@modern-kit/react";\n\nconst Example = () => {\n const preservedState = usePreservedState({ exampleId: 1 }); // \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub9ac\ub80c\ub354\ub9c1 \ub418\ub3c4 preservedState \ucc38\uc870\ub294 \uc720\uc9c0\ub429\ub2c8\ub2e4.\n\n return <>{/* ... */}</>;\n}\n'})}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h3,{id:"custom-comparator",children:"Custom Comparator"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"import React, { useEffect, useState } from 'react';\nimport { usePreservedState } from '@modern-kit/react';\n\nconst Example = () => {\n const comparator = (\n source: { exampleId: number },\n target: { exampleId: number }\n ) => source.exampleId === target.exampleId;\n\n const preservedState = usePreservedState({ exampleId: 1 }, comparator);\n\n return <>{/* ... */}</>;\n};\n\n"})})]})}function u(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},7355:(e,r,t)=>{t.d(r,{Z:()=>c,a:()=>o});var n=t(4614);const s={},a=n.createContext(s);function o(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4017],{5056:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=t(5735),s=t(7355);const a={},o="usePreservedState",c={id:"react/hooks/usePreservedState",title:"usePreservedState",description:"comparator\ub85c \ube44\uad50\ud588\uc744 \ub54c \uac12\uc774 \ubcc0\uacbd\ub418\uc5c8\uc744 \ub54c \uc0c1\ud0dc\ub97c \ubcc0\uacbd\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePreservedState.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePreservedCallback",permalink:"/modern-kit/docs/react/hooks/usePreservedCallback"},next:{title:"usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default Comparator",id:"default-comparator",level:3},{value:"Custom Comparator",id:"custom-comparator",level:3}];function i(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"usepreservedstate",children:"usePreservedState"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"comparator"}),"\ub85c \ube44\uad50\ud588\uc744 \ub54c \uac12\uc774 \ubcc0\uacbd\ub418\uc5c8\uc744 \ub54c \uc0c1\ud0dc\ub97c \ubcc0\uacbd\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(r.p,{children:["comparator\ub97c \ub118\uae30\uc9c0 \uc54a\ub294\ub2e4\uba74 ",(0,n.jsx)(r.code,{children:"@modern-kit/utils"}),"\uc758 ",(0,n.jsx)(r.code,{children:"deepEqual"})," \ud568\uc218\uac00 \ud65c\uc6a9\ub429\ub2c8\ub2e4."]}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"https://modern-agile-team.github.io/modern-kit/docs/utils/common/deepEqual",children:"deepEqual"})}),"\n"]}),"\n",(0,n.jsxs)(r.p,{children:["\ub9cc\uc57d, comparator\uc758 \ubc18\ud658 \uac12\uc774 ",(0,n.jsx)(r.code,{children:"true"}),"\uc5ec\uc11c \uc0c1\ud0dc\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\ub294\ub2e4\uba74 ",(0,n.jsx)(r.code,{children:"\ucc38\uc870\ub3c4 \uc720\uc9c0"}),"\ub429\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"const usePreservedState: <T>(\n value: T,\n comparator?: ((source: T, target: T) => boolean) | undefined\n) => T;\n"})}),"\n",(0,n.jsx)(r.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(r.h3,{id:"default-comparator",children:"Default Comparator"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:'import React, { useEffect, useState } from "react";\nimport { usePreservedState } from "@modern-kit/react";\n\nconst Example = () => {\n const preservedState = usePreservedState({ exampleId: 1 }); // \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub9ac\ub80c\ub354\ub9c1 \ub418\ub3c4 preservedState \ucc38\uc870\ub294 \uc720\uc9c0\ub429\ub2c8\ub2e4.\n\n return <>{/* ... */}</>;\n}\n'})}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(r.h3,{id:"custom-comparator",children:"Custom Comparator"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-tsx",children:"import React, { useEffect, useState } from 'react';\nimport { usePreservedState } from '@modern-kit/react';\n\nconst Example = () => {\n const comparator = (\n source: { exampleId: number },\n target: { exampleId: number }\n ) => source.exampleId === target.exampleId;\n\n const preservedState = usePreservedState({ exampleId: 1 }, comparator);\n\n return <>{/* ... */}</>;\n};\n\n"})})]})}function u(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},7355:(e,r,t)=>{t.d(r,{Z:()=>c,a:()=>o});var n=t(4614);const s={},a=n.createContext(s);function o(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/90f5246c.8be9da16.js b/assets/js/90f5246c.a26a0cf7.js similarity index 98% rename from assets/js/90f5246c.8be9da16.js rename to assets/js/90f5246c.a26a0cf7.js index 55006465a..ea53be11f 100644 --- a/assets/js/90f5246c.8be9da16.js +++ b/assets/js/90f5246c.a26a0cf7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2386],{2411:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>a,frontMatter:()=>s,metadata:()=>p,toc:()=>d});var r=n(5735),o=n(7355);const s={},i="deleteEmptyProperties",p={id:"utils/object/deleteEmptyProperties",title:"deleteEmptyProperties",description:"\uac1d\uccb4\uc758 \uc911\ucca9 \uac1d\uccb4/\ubc30\uc5f4\uc744 \ud3ec\ud568\ud55c \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\ub97c \uc21c\ud68c\ud558\uba74\uc11c \uac12\uc774 \uc544\ub798 \ub098\uc5f4\ud55c \ube48 \uac12\ub4e4 \uc911 \ud558\ub098\ub77c\uba74, \ud574\ub2f9 \ud504\ub85c\ud37c\ud2f0\ub4e4\uc744 \uc81c\uac70\ud55c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/deleteEmptyProperties.md",sourceDirName:"utils/object",slug:"/utils/object/deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isServer",permalink:"/modern-kit/docs/utils/device/isSever"},next:{title:"mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties"}},c={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"deleteemptyproperties",children:"deleteEmptyProperties"}),"\n",(0,r.jsx)(t.p,{children:"\uac1d\uccb4\uc758 \uc911\ucca9 \uac1d\uccb4/\ubc30\uc5f4\uc744 \ud3ec\ud568\ud55c \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\ub97c \uc21c\ud68c\ud558\uba74\uc11c \uac12\uc774 \uc544\ub798 \ub098\uc5f4\ud55c \ube48 \uac12\ub4e4 \uc911 \ud558\ub098\ub77c\uba74, \ud574\ub2f9 \ud504\ub85c\ud37c\ud2f0\ub4e4\uc744 \uc81c\uac70\ud55c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsxs)(t.p,{children:["\uc81c\uac70 \ud56d\ubaa9: ",(0,r.jsx)(t.code,{children:'\ube48 \ubb38\uc790\uc5f4("")'}),", ",(0,r.jsx)(t.code,{children:"\ube48 \ubc30\uc5f4([])"}),", ",(0,r.jsx)(t.code,{children:"\ube48 \uac1d\uccb4({})"}),", ",(0,r.jsx)(t.code,{children:"null"}),", ",(0,r.jsx)(t.code,{children:"undefined"})]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-tsx",children:"const deleteEmptyProperties: <T extends Record<PropertyKey, any>>(obj: T) => T\n"})}),"\n",(0,r.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-ts",children:"import { deleteEmptyProperties } from '@modern-kit/utils';\n\nconst obj = deleteEmptyProperties({\n prop1: 1,\n prop2: 0,\n prop3: '',\n prop4: '1',\n prop5: true,\n prop6: false,\n prop7: null,\n prop8: undefined,\n prop9: [],\n prop10: {},\n});\n\n/**\n * obj = {\n prop1: 1,\n prop2: 0,\n prop4: '1',\n prop5: true,\n prop6: false,\n };\n */\n"})})]})}function a(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>p,a:()=>i});var r=n(4614);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2386],{3933:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>a,frontMatter:()=>s,metadata:()=>p,toc:()=>d});var r=n(5735),o=n(7355);const s={},i="deleteEmptyProperties",p={id:"utils/object/deleteEmptyProperties",title:"deleteEmptyProperties",description:"\uac1d\uccb4\uc758 \uc911\ucca9 \uac1d\uccb4/\ubc30\uc5f4\uc744 \ud3ec\ud568\ud55c \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\ub97c \uc21c\ud68c\ud558\uba74\uc11c \uac12\uc774 \uc544\ub798 \ub098\uc5f4\ud55c \ube48 \uac12\ub4e4 \uc911 \ud558\ub098\ub77c\uba74, \ud574\ub2f9 \ud504\ub85c\ud37c\ud2f0\ub4e4\uc744 \uc81c\uac70\ud55c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/deleteEmptyProperties.md",sourceDirName:"utils/object",slug:"/utils/object/deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isServer",permalink:"/modern-kit/docs/utils/device/isSever"},next:{title:"mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties"}},c={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"deleteemptyproperties",children:"deleteEmptyProperties"}),"\n",(0,r.jsx)(t.p,{children:"\uac1d\uccb4\uc758 \uc911\ucca9 \uac1d\uccb4/\ubc30\uc5f4\uc744 \ud3ec\ud568\ud55c \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\ub97c \uc21c\ud68c\ud558\uba74\uc11c \uac12\uc774 \uc544\ub798 \ub098\uc5f4\ud55c \ube48 \uac12\ub4e4 \uc911 \ud558\ub098\ub77c\uba74, \ud574\ub2f9 \ud504\ub85c\ud37c\ud2f0\ub4e4\uc744 \uc81c\uac70\ud55c \uc0c8\ub85c\uc6b4 \uac1d\uccb4\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsxs)(t.p,{children:["\uc81c\uac70 \ud56d\ubaa9: ",(0,r.jsx)(t.code,{children:'\ube48 \ubb38\uc790\uc5f4("")'}),", ",(0,r.jsx)(t.code,{children:"\ube48 \ubc30\uc5f4([])"}),", ",(0,r.jsx)(t.code,{children:"\ube48 \uac1d\uccb4({})"}),", ",(0,r.jsx)(t.code,{children:"null"}),", ",(0,r.jsx)(t.code,{children:"undefined"})]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-tsx",children:"const deleteEmptyProperties: <T extends Record<PropertyKey, any>>(obj: T) => T\n"})}),"\n",(0,r.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-ts",children:"import { deleteEmptyProperties } from '@modern-kit/utils';\n\nconst obj = deleteEmptyProperties({\n prop1: 1,\n prop2: 0,\n prop3: '',\n prop4: '1',\n prop5: true,\n prop6: false,\n prop7: null,\n prop8: undefined,\n prop9: [],\n prop10: {},\n});\n\n/**\n * obj = {\n prop1: 1,\n prop2: 0,\n prop4: '1',\n prop5: true,\n prop6: false,\n };\n */\n"})})]})}function a(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>p,a:()=>i});var r=n(4614);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/993de3e1.3123ca84.js b/assets/js/993de3e1.3123ca84.js new file mode 100644 index 000000000..3a195cbd4 --- /dev/null +++ b/assets/js/993de3e1.3123ca84.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3385],{5161:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>m,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var i=t(5735),r=t(7355);const s={},c="\uc18c\uac1c",d={id:"introduce/Introduce",title:"\uc18c\uac1c",description:"modern-kit\ub294 \uc720\uc6a9\ud55c \ub9ac\uc561\ud2b8 UI \ucef4\ud3ec\ub10c\ud2b8, \ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5 \ubc0f \ub2e4\uc591\ud55c \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4.",source:"@site/docs/introduce/Introduce.md",sourceDirName:"introduce",slug:"/introduce/",permalink:"/modern-kit/docs/introduce/",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",next:{title:"DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper"}},a={},l=[{value:"Usage",id:"usage",level:2},{value:"@modern-kit/react <a><img></img></a> <a><img></img></a>",id:"modern-kitreact--",level:3},{value:"@modern-kit/utils <a><img></img></a> <a><img></img></a>",id:"modern-kitutils--",level:3}];function o(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"\uc18c\uac1c",children:"\uc18c\uac1c"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"modern-kit"}),"\ub294 \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\ub9ac\uc561\ud2b8 UI \ucef4\ud3ec\ub10c\ud2b8"}),", ",(0,i.jsx)(n.code,{children:"\ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5"})," \ubc0f \ub2e4\uc591\ud55c ",(0,i.jsx)(n.code,{children:"\uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218"}),"\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(n.h3,{id:"modern-kitreact--",children:["@modern-kit/react ",(0,i.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/react",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/npm/v/@modern-kit/react.svg"})})," ",(0,i.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/react",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/react/latest"})})]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["React\uc640 \uad00\ub828\ub41c \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\ucef4\ud3ec\ub10c\ud2b8"}),"\uc640 ",(0,i.jsx)(n.code,{children:"\ucee4\uc2a4\ud140 \ud6c5"}),"\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"npm i @modern-kit/react\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"yarn add @modern-kit/react\n"})}),"\n",(0,i.jsxs)(n.h3,{id:"modern-kitutils--",children:["@modern-kit/utils ",(0,i.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/utils",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/npm/v/@modern-kit/utils.svg"})})," ",(0,i.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/utils",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/utils/latest"})})]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uacfc \uad00\ub828\ub41c \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218"}),"\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"npm i @modern-kit/utils\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"yarn add @modern-kit/utils\n"})}),"\n",(0,i.jsx)("br",{})]})}function m(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>d,a:()=>c});var i=t(4614);const r={},s=i.createContext(r);function c(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/993de3e1.79b8013f.js b/assets/js/993de3e1.79b8013f.js deleted file mode 100644 index 2781374ad..000000000 --- a/assets/js/993de3e1.79b8013f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3385],{126:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>m,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var i=t(5735),r=t(7355);const s={},c="\uc18c\uac1c",d={id:"introduce/Introduce",title:"\uc18c\uac1c",description:"modern-kit\ub294 \uc720\uc6a9\ud55c \ub9ac\uc561\ud2b8 UI \ucef4\ud3ec\ub10c\ud2b8, \ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5 \ubc0f \ub2e4\uc591\ud55c \uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4.",source:"@site/docs/introduce/Introduce.md",sourceDirName:"introduce",slug:"/introduce/",permalink:"/modern-kit/docs/introduce/",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",next:{title:"DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper"}},a={},l=[{value:"Usage",id:"usage",level:2},{value:"@modern-kit/react <a><img></img></a> <a><img></img></a>",id:"modern-kitreact--",level:3},{value:"@modern-kit/utils <a><img></img></a> <a><img></img></a>",id:"modern-kitutils--",level:3}];function o(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"\uc18c\uac1c",children:"\uc18c\uac1c"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"modern-kit"}),"\ub294 \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\ub9ac\uc561\ud2b8 UI \ucef4\ud3ec\ub10c\ud2b8"}),", ",(0,i.jsx)(n.code,{children:"\ub9ac\uc561\ud2b8 \ucee4\uc2a4\ud140 \ud6c5"})," \ubc0f \ub2e4\uc591\ud55c ",(0,i.jsx)(n.code,{children:"\uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218"}),"\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(n.h3,{id:"modern-kitreact--",children:["@modern-kit/react ",(0,i.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/react",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/npm/v/@modern-kit/react.svg"})})," ",(0,i.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/react",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/react/latest"})})]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["React\uc640 \uad00\ub828\ub41c \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\ucef4\ud3ec\ub10c\ud2b8"}),"\uc640 ",(0,i.jsx)(n.code,{children:"\ucee4\uc2a4\ud140 \ud6c5"}),"\uc744 \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"npm i @modern-kit/react\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"yarn add @modern-kit/react\n"})}),"\n",(0,i.jsxs)(n.h3,{id:"modern-kitutils--",children:["@modern-kit/utils ",(0,i.jsx)("a",{href:"https://www.npmjs.com/package/@modern-kit/utils",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/npm/v/@modern-kit/utils.svg"})})," ",(0,i.jsx)("a",{href:"https://bundlephobia.com/package/@modern-kit/utils",target:"_blank",children:(0,i.jsx)("img",{align:"center",src:"https://img.shields.io/bundlephobia/minzip/@modern-kit/utils/latest"})})]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\ud074\ub77c\uc774\uc5b8\ud2b8 \uac1c\ubc1c\uacfc \uad00\ub828\ub41c \uc720\uc6a9\ud55c ",(0,i.jsx)(n.code,{children:"\uc720\ud2f8\ub9ac\ud2f0 \ud568\uc218"}),"\ub97c \uc81c\uacf5\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"npm i @modern-kit/utils\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",children:"yarn add @modern-kit/utils\n"})}),"\n",(0,i.jsx)("br",{})]})}function m(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>d,a:()=>c});var i=t(4614);const r={},s=i.createContext(r);function c(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9be130a4.1475ea74.js b/assets/js/9be130a4.a450ea98.js similarity index 99% rename from assets/js/9be130a4.1475ea74.js rename to assets/js/9be130a4.a450ea98.js index d622c2b0c..b58c81d0d 100644 --- a/assets/js/9be130a4.1475ea74.js +++ b/assets/js/9be130a4.a450ea98.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5337],{4584:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>p,assets:()=>s,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>f,toc:()=>l});var e=r(5735),o=r(7355),i=r(5474),u=r(4614);const a={},c="usePrevious",f={id:"react/hooks/usePrevious",title:"usePrevious",description:"\uc774\uc804 \ub80c\ub354\ub9c1\uc5d0\uc11c \uc778\uc218\uc758 \uac12\uc744 \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePrevious.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState"},next:{title:"useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver"}},s={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}],p=()=>{const t={button:"button",div:"div",...(0,o.a)()},[n,r]=(0,u.useState)(0),a=(0,i.D9)(n);return(0,e.jsxs)(t.div,{children:[(0,e.jsxs)(t.div,{children:["Current Count is - ",n]}),(0,e.jsxs)(t.div,{children:["Previous Count is - ",a]}),(0,e.jsx)(t.button,{onClick:()=>{r(n+1)},children:"Increment"})]})};function v(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"useprevious",children:"usePrevious"}),"\n",(0,e.jsx)(n.p,{children:"\uc774\uc804 \ub80c\ub354\ub9c1\uc5d0\uc11c \uc778\uc218\uc758 \uac12\uc744 \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"const usePrevious: <T>(value: T) => T;\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useState } from 'react';\nimport { usePrevious } from '@modern-kit/react';\n\nconst Example = () => {\n const [count, setCount] = useState(0);\n const previousCount = usePrevious(count);\n\n const onIncrementCount = () => {\n setCount(count + 1);\n };\n\n return (\n <div>\n <div>Current Count is - {count}</div>\n <div>Previous Count is - {previousCount}</div>\n <button onClick={onIncrementCount}>Increment</button>\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(p,{})]})}function h(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(v,{...t})}):v(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Mp,df:()=>xp,iP:()=>Bp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=s.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=l.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var o;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(o=r),void 0!==e){if(void 0===o)return e;"string"==typeof r||"string"==typeof e?(r=I(r),e=I(e)):(r=w(r),e=w(e)),o=t(r,e)}return o}}var M=S((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function P(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function z(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var C=NaN,L=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,D=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return C;if(z(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=z(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=P(t);var r=T.test(t);return r||D.test(t)?U(t.slice(2),r?2:8):L.test(t)?C:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!z(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!z(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function st(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var lt=st(a,"WeakMap"),pt=lt&&new lt,vt=pt?function(t,n){return pt.set(t,n),t}:V,ht=Object.create,dt=function(){function t(){}return function(n){if(!z(n))return{};if(ht)return ht(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return z(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var o=-1,i=t.length,u=r.length,a=-1,c=n.length,f=bt(i-u,0),s=Array(c+f),l=!e;++a<c;)s[a]=n[a];for(;++o<u;)(l||o<i)&&(s[r[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}var jt=Math.max;function wt(t,n,r,e){for(var o=-1,i=t.length,u=-1,a=r.length,c=-1,f=n.length,s=jt(i-a,0),l=Array(s+f),p=!e;++o<s;)l[o]=t[o];for(var v=o;++c<f;)l[v+c]=n[c];for(;++u<a;)(p||o<i)&&(l[v+r[u]]=t[o++]);return l}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=It[n],e=St.call(It,n)?r.length:0;e--;){var o=r[e],i=o.func;if(null==i||i==t)return o.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var Pt=Object.prototype.hasOwnProperty;function zt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(Pt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Ct(t){var n=Mt(t),r=zt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=kt(r);return!!e&&t===e[0]}zt.prototype=xt.prototype,zt.prototype.constructor=zt;var Lt=Date.now;function Tt(t){var n=0,r=0;return function(){var e=Lt(),o=16-(e-r);if(r=e,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var o=t.length,i=r+(e?1:-1);e?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var s=n&en;n|=s?on:un,(n&=~(s?un:on))&rn||(n&=~(tn|nn));var l=[t,n,o,s?i:void 0,s?u:void 0,s?void 0:i,s?void 0:u,a,c,f],p=r.apply(void 0,l);return Ct(t)&&Dt(p,l),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,sn=/^(?:0|[1-9]\d*)$/;function ln(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&sn.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,vn="__lodash_placeholder__";function hn(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r];u!==n&&u!==vn||(t[r]=vn,i[o++]=r)}return i}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,o,i,u,c,f,s){var l=n&bn,p=n&dn,v=n&yn,h=n&(gn|_n),d=n&mn,y=v?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(h)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,o,h)),i&&(b=wt(b,i,u,h)),_-=w,h&&_<s){var x=hn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,s-_)}var O=p?r:this,A=v?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),o=Wt(t);e--;){var i=n[e];t[e]=ln(i,r)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),l&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Mn=Math.min,Rn="Expected a function",Wn=1,Bn=2,Pn=8,zn=16,Cn=32,Ln=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var s=e?e.length:0;if(s||(n&=~(Cn|Ln),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),s-=o?o.length:0,n&Ln){var l=e,p=o;e=o=void 0}var v=f?void 0:kt(t),h=[t,n,r,e,o,l,p,i,u,c];if(v&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|In),u=e==In&&r==kn||e==In&&r==Sn&&t[7].length<=n[8]||e==(In|Sn)&&n[7].length<=n[8]&&r==kn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&In&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],o=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Tn(h[9]-s,0))&&n&(Pn|zn)&&(n&=~(Pn|zn)),n&&n!=Wn)d=n==Pn||n==zn?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var s=i<3&&u[0]!==f&&u[i-1]!==f?[]:hn(u,f);return(i-=s.length)<r?an(t,n,jn,o.placeholder,void 0,u,s,void 0,void 0,r-i):_t(this&&this!==a&&this instanceof o?e:t,this,u)}}(t,n,c):n!=Cn&&n!=(Wn|Cn)||o.length?jn.apply(void 0,h):function(t,n,r,e){var o=n&wn,i=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,s=e.length,l=Array(s+c),p=this&&this!==a&&this instanceof n?i:t;++f<s;)l[f]=e[f];for(;c--;)l[f++]=arguments[++u];return _t(p,o?r:this,l)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,o=yt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((v?vt:Dt)(d,h),t,n)}function Un(t,n,r){return n=r?void 0:n,Dn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var o=!r;r||(r={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),o?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Vn(e.length-n,0),u=Array(i);++o<i;)u[o]=e[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=e[o];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!z(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&ln(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Qn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var or=Object.prototype,ir=or.hasOwnProperty,ur=or.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&ir.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,sr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,lr=sr&&sr.exports===fr?a.Buffer:void 0,pr=(lr?lr.isBuffer:void 0)||cr,vr={};function hr(t){return function(n){return t(n)}}vr["[object Float32Array]"]=vr["[object Float64Array]"]=vr["[object Int8Array]"]=vr["[object Int16Array]"]=vr["[object Int32Array]"]=vr["[object Uint8Array]"]=vr["[object Uint8ClampedArray]"]=vr["[object Uint16Array]"]=vr["[object Uint32Array]"]=!0,vr["[object Arguments]"]=vr["[object Array]"]=vr["[object ArrayBuffer]"]=vr["[object Boolean]"]=vr["[object DataView]"]=vr["[object Date]"]=vr["[object Error]"]=vr["[object Function]"]=vr["[object Map]"]=vr["[object Number]"]=vr["[object Object]"]=vr["[object RegExp]"]=vr["[object Set]"]=vr["[object String]"]=vr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&i.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hl){}}(),br=_r&&_r.isTypedArray,mr=br?hr(br):function(t){return _(t)&&Jn(t.length)&&!!vr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),o=!r&&!e&&pr(t),i=!r&&!e&&!o&&mr(t),u=r||e||o||i,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ln(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function kr(t){return Yn(t)?wr(t):Er(t)}var Ir=Object.prototype.hasOwnProperty,Sr=Xn((function(t,n){if(nr(n)||Yn(n))Kn(n,kr(n),t);else for(var r in n)Ir.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Rr(t){return Yn(t)?wr(t,!0):function(t){if(!z(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),Pr=Xn((function(t,n,r,e){Kn(n,kr(n),t,e)})),zr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function Lr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Cr.test(t)||!zr.test(t)||null!=n&&t in Object(n)}var Tr=st(Object,"create"),Dr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Tr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Dr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Tr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Tr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=st(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,e);return r.cache=i.set(o,u)||i,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,o){n.push(e?o.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":I(t)}function Xr(t,n){return O(t)?t:Lr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function oe(t,n){for(var r=-1,e=n.length,o=Array(e),i=null==t;++r<e;)o[r]=i?void 0:ee(t,n[r]);return o}function ie(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,o){var i=-1,u=t.length;for(r||(r=ae),o||(o=[]);++i<u;){var a=t[i];n>0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function se(t){return Vt(Zn(t,void 0,fe),t+"")}var le=se(oe),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=hn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=se((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=hn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e<o;)i[e]=t[e+n];return i}function ke(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var Ie=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return Ie.test(t)}var Me="\\ud800-\\udfff",Re="["+Me+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",Pe="[^"+Me+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="(?:"+We+"|"+Be+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Le+"(?:\\u200d(?:"+[Pe,ze,Ce].join("|")+")"+Te+Le+")*",Ue="(?:"+[Pe+We+"?",We,ze,Ce,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+De,"g");function Fe(t){return Se(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?ke(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o<i;)r=n(r,t[o],o,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",ro="a-z\\xdf-\\xf6\\xf8-\\xff",eo="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+ro+"]",fo="[^"+to+oo+uo+no+ro+eo+"]",so="(?:\\ud83c[\\udde6-\\uddff]){2}",lo="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+eo+"]",vo="(?:"+co+"|"+fo+")",ho="(?:"+po+"|"+fo+")",yo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",go="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",so,lo].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,so,lo].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+yo+"(?="+[io,po,"$"].join("|")+")",ho+"+"+go+"(?="+[io,po+vo,"$"].join("|")+")",po+"?"+vo+"+"+yo,po+"+"+go,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Ve(xo(Ye(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Io(K(r),292))&&ko(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Mo=So("ceil");function Ro(t){var n=zt(t);return n.__chain__=!0,n}var Wo=Math.ceil,Bo=Math.max;function Po(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zo(t){var n=this.__data__=new $r(t);this.size=n.size}function Co(t,n){return t&&Kn(n,kr(n),t)}zo.prototype.clear=function(){this.__data__=new $r,this.size=0},zo.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zo.prototype.get=function(t){return this.__data__.get(t)},zo.prototype.has=function(t){return this.__data__.has(t)},zo.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Lo="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Lo&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Lo?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var u=t[r];n(u,r,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ie(n,Vo(t)),t=pe(t);return n}:qo;function Go(t,n,r){var e=n(t);return O(t)?e:ie(e,r(t))}function Ho(t){return Go(t,kr,Vo)}function Jo(t){return Go(t,Rr,Zo)}var Yo=st(a,"DataView"),Qo=st(a,"Promise"),Xo=st(a,"Set"),ti="[object Map]",ni="[object Promise]",ri="[object Set]",ei="[object WeakMap]",oi="[object DataView]",ii=rt(Yo),ui=rt(Kr),ai=rt(Qo),ci=rt(Xo),fi=rt(lt),si=g;(Yo&&si(new Yo(new ArrayBuffer(1)))!=oi||Kr&&si(new Kr)!=ti||Qo&&si(Qo.resolve())!=ni||Xo&&si(new Xo)!=ri||lt&&si(new lt)!=ei)&&(si=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ri;case fi:return ei}return n});var li=si,pi=Object.prototype.hasOwnProperty,vi=a.Uint8Array;function hi(t){var n=new t.constructor(t.byteLength);return new vi(n).set(new vi(t)),n}var di=/\w*$/,yi=c?c.prototype:void 0,gi=yi?yi.valueOf:void 0;function _i(t,n){var r=n?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Mi="[object Float64Array]",Ri="[object Int8Array]",Wi="[object Int16Array]",Bi="[object Int32Array]",Pi="[object Uint8Array]",zi="[object Uint8ClampedArray]",Ci="[object Uint16Array]",Li="[object Uint32Array]";function Ti(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var Di=_r&&_r.isMap,Ui=Di?hr(Di):function(t){return _(t)&&"[object Map]"==li(t)},Ni=_r&&_r.isSet,Fi=Ni?hr(Ni):function(t){return _(t)&&"[object Set]"==li(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,r,e,o,i){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=o?r(t,e,o,i):r(t)),void 0!==u)return u;if(!z(t))return t;var s=O(t);if(s){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var l=li(t),p=l==$i||"[object GeneratorFunction]"==l;if(pr(t))return No(t,a);if(l==Ki||l==qi||p&&!o){if(u=c||p?{}:Ti(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Co(u,t))}else{if(!Vi[l])return o?t:{};u=function(t,n,r){var e,o=t.constructor;switch(n){case ki:return hi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var r=n?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Si:case Mi:case Ri:case Wi:case Bi:case Pi:case zi:case Ci:case Li:return _i(t,r);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return e=t,gi?Object(gi.call(e)):{}}}(t,l,a)}}i||(i=new zo);var v=i.get(t);if(v)return v;i.set(t,u),Fi(t)?t.forEach((function(e){u.add(Zi(e,n,r,e,t,i))})):Ui(t)&&t.forEach((function(e,o){u.set(o,Zi(e,n,r,o,t,i))}));var h=s?void 0:(f?c?Jo:Ho:c?Rr:kr)(t);return Zt(h||t,(function(e,o){h&&(e=t[o=e]),$n(u,o,Zi(e,n,r,o,t,i))})),u}function Gi(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Hi(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ji(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Qi=2;function Xi(t,n,r,e,o,i){var u=r&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),s=i.get(n);if(f&&s)return f==n&&s==t;var l=-1,p=!0,v=r&Qi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++l<a;){var h=t[l],d=n[l];if(e)var y=u?e(d,h,l,n,t,i):e(h,d,l,t,n,i);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!Hi(n,(function(t,n){if(!Ji(v,n)&&(h===t||o(h,t,r,e,i)))return v.push(n)}))){p=!1;break}}else if(h!==d&&!o(h,d,r,e,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",su="[object Set]",lu="[object String]",pu="[object Symbol]",vu="[object ArrayBuffer]",hu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,o,i){var u=O(t),a=O(n),c=u?ju:li(t),f=a?ju:li(n),s=(c=c==mu?wu:c)==wu,l=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new zo),u||mr(t)?Xi(t,n,r,e,o,i):function(t,n,r,e,o,i,u){switch(r){case hu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case vu:return!(t.byteLength!=n.byteLength||!i(new vi(t),new vi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case lu:return t==n+"";case au:var a=tu;case su:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var s=Xi(a(t),a(n),e,o,i,u);return u.delete(t),s;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,o,i);if(!(r&bu)){var v=s&&xu.call(t,"__wrapped__"),h=l&&xu.call(n,"__wrapped__");if(v||h){var d=v?t.value():t,y=h?n.value():n;return i||(i=new zo),o(d,y,r,e,i)}}return!!p&&(i||(i=new zo),function(t,n,r,e,o,i){var u=r&gu,a=Ho(t),c=a.length;if(c!=Ho(n).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in n:_u.call(n,s)))return!1}var l=i.get(t),p=i.get(n);if(l&&p)return l==n&&p==t;var v=!0;i.set(t,n),i.set(n,t);for(var h=u;++f<c;){var d=t[s=a[f]],y=n[s];if(e)var g=u?e(y,d,s,n,t,i):e(d,y,s,t,n,i);if(!(void 0===g?d===y||o(d,y,r,e,i):g)){v=!1;break}h||(h="constructor"==s)}if(v&&!h){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(v=!1)}return i.delete(t),i.delete(n),v}(t,n,r,e,o,i))}(t,n,r,e,Ou,o))}var Au=1,Eu=2;function ku(t,n,r,e){var o=r.length,i=o,u=!e;if(null==t)return!i;for(t=Object(t);o--;){var a=r[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=r[o])[0],f=t[c],s=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var l=new zo;if(e)var p=e(f,s,c,t,n,l);if(!(void 0===p?Ou(s,f,Au|Eu,e,l):p))return!1}}return!0}function Iu(t){return t==t&&!z(t)}function Su(t){for(var n=kr(t),r=n.length;r--;){var e=n[r],o=t[e];n[r]=[e,o,Iu(o)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||ku(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,o=(n=Xr(n,t)).length,i=!1;++e<o;){var u=ne(n[e]);if(!(i=null!=t&&r(t,u)))break;t=t[u]}return i||++e!=o?i:!!(o=null==t?0:t.length)&&Jn(o)&&ln(u,o)&&(O(t)||ar(t))}function Pu(t,n){return null!=t&&Bu(t,n,Wu)}var zu=1,Cu=2;function Lu(t,n){return Lr(t)&&Iu(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Pu(r,t):Ou(n,e,zu|Cu)}}function Tu(t){return function(n){return null==n?void 0:n[t]}}function Du(t){return Lr(t)?Tu(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Lu(t[0],t[1]):Ru(t):Du(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var o=r[e],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,r,e){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var o=-1,i=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===r(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,kr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var o=r.length,i=n?o:-1,u=Object(r);(n?i--:++i<o)&&!1!==e(u[i],i,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,o,i){n(e,t,r(t),i)})),e}function Hu(t,n){return function(r,e){var o=O(r)?Fu:Gu,i=n?n():{};return o(r,t,Uu(e),i)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Dn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Dn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,o,i,u,a,c,f=0,s=!1,l=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(n){var r=e,i=o;return e=o=void 0,f=n,u=t.apply(i,r)}function h(t){var r=t-c;return void 0===c||r>=n||r<0||l&&t-f>=i}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return l?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=o=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),s?v(t):u}(c);if(l)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,z(r)&&(s=!!r.leading,i=(l="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Qn(n[0],n[1],o)&&(e=1);++r<e;)for(var i=n[r],u=Rr(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(void 0===s||Fn(s,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function sa(t){return Kn(t,Rr(t))}function la(t,n,r,e,o){t!==n&&$u(n,(function(i,u){if(o||(o=new zo),z(i))!function(t,n,r,e,o,i,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var s=i?i(a,c,r+"",t,n,u):void 0,l=void 0===s;if(l){var p=O(c),v=!p&&pr(c),h=!p&&!v&&mr(c);s=c,p||v||h?O(a)?s=a:ca(a)?s=Wt(a):v?(l=!1,s=No(c,!0)):h?(l=!1,s=_i(c,!0)):s=[]:be(c)||ar(c)?(s=a,ar(a)?s=sa(a):z(a)&&!Y(a)||(s=Ti(c))):l=!1}l&&(u.set(c,s),o(s,c,e,i,u),u.delete(c)),aa(t,r,s)}}(t,n,u,r,la,e,o);else{var a=e?e(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,o,i){return z(t)&&z(n)&&(i.set(n,t),la(t,n,void 0,pa,i),i.delete(n)),t}var va=Xn((function(t,n,r,e){la(t,n,r,e)})),ha=Gn((function(t){return t.push(void 0,pa),_t(va,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,o=null==t?0:t.length;++e<o;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,hr(r))),e?(i=_a,u=!1):n.length>=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o<a;){var s=t[o],l=null==r?s:r(s);if(s=e||0!==s?s:0,u&&l==l){for(var p=f;p--;)if(n[p]===l)continue t;c.push(s)}else i(n,l,e)||c.push(s)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var o=t.length,i=e?o:-1;(e?i--:++i<o)&&n(t[i],i,t););return r?Ee(t,e?0:i,e?i+1:o):Ee(t,e?i+1:0,e?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Ra(t,n){return t&&Ma(t,n,kr)}var Wa=Vu(Ra,!0);function Ba(t,n){return(O(t)?Sa:Wa)(t,ka(n))}function Pa(t){return function(n){var r=li(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var za=Pa(kr),Ca=Pa(Rr),La=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Qr(t))&&Da.test(t)?t.replace(Ta,La):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,o){return r=!!n(t,e,o)})),r}function Ka(t){return t?Po(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,o){n(t,e,o)&&r.push(t)})),r}function Za(t){return function(n,r,e){var o=Object(n);if(!Yn(n)){var i=Uu(r);n=kr(n),r=function(t){return i(o[t],t,o)}}var u=t(n,r,e);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Qa(e+o,0):Xa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=So("floor");function uc(t){return se((function(n){var r=n.length,e=r,o=Rt.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(i=n[e]),c="wrapper"==a?kt(i):void 0;u=c&&Ct(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==i.length&&Ct(i)?u[a]():u.thru(i)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var o=0,i=r?n[o].apply(this,t):e;++o<r;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var sc=Object.prototype.hasOwnProperty,lc=Hu((function(t,n,r){sc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,kr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var s=t[u];u&&n&&(s=x(s,hr(n))),c=Ec(s.length,c),a[u]=!r&&(n||o>=120&&s.length>=120)?new Gi(u&&s):void 0}s=t[0];var l=-1,p=a[0];t:for(;++l<o&&f.length<c;){var v=s[l],h=n?n(v):v;if(v=r||0!==v?v:0,!(p?Ji(p,h):e(f,h,r))){for(u=i;--u;){var d=a[u];if(!(d?Ji(d,h):e(t[u],h,r)))continue t}p&&p.push(h),f.push(v)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,Ic);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?kc(r,Uu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,Ic);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?kc(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,o,i){n(e,r(t),o,i)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,Pc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),zc=Object.prototype,Cc=zc.hasOwnProperty,Lc=zc.toString,Tc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Lc.call(n)),Cc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Dc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Dc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++e]=o?_t(n,t,r):Uc(t,n,r)})),i})),qc=_r&&_r.isArrayBuffer,$c=qc?hr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?hr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?hr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Ao((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Ao((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=vc(cf),sf=vc((function(t,n){return t<=n}));function lf(t,n,r){for(var e=-1,o=t.length;++e<o;){var i=t[e],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=i}return c}function pf(t,n){for(var r,e=-1,o=t.length;++e<o;){var i=n(t[e]);void 0!==i&&(r=void 0===r?i:r+i)}return r}function vf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var hf=Xn((function(t,n,r){la(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=kr(n),o=fc(n,e),i=!(z(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(o,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(i||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,ie([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=li(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return ln(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Dc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=se((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Jo(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!z(t))return t;for(var o=-1,i=(n=Xr(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=ne(n[o]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var s=a[c];void 0===(f=e?e(s,c,a):void 0)&&(f=z(s)?s:ln(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,r){for(var e=-1,o=n.length,i={};++e<o;){var u=n[e],a=re(t,u);r(a,u)&&Ef(i,Xr(u,t),a)}return i}function If(t,n){if(null==t)return{};var r=x(Jo(t),(function(t){return[t]}));return n=Uu(n),kf(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t<n||f&&r&&o&&!e&&!i||a&&r&&o||!u&&o||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,hr(Uu));var o=ec(t,(function(t,r,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(o,(function(t,n){return function(t,n,r){for(var e=-1,o=t.criteria,i=n.criteria,u=o.length,a=r.length;++e<u;){var c=Sf(o[e],i[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return se((function(n){return n=x(n,hr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Gn,Pf=Math.min,zf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Gn((function(e){for(var o=-1,i=Pf(e.length,r);++o<i;)e[o]=n[o].call(this,e[o]);return _t(t,this,e)}))})),Cf=Rf(qa),Lf=Rf(Hi),Tf=9007199254740991,Df=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Tf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function ts(t){return Se(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var ns=Math.ceil;function rs(t,n){var r=(n=void 0===n?" ":I(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,ns(t/ts(n)));return Se(n)?ke(Fe(e),0,t).join(""):e.slice(0,t)}var es=Math.ceil,os=Math.floor,is=/^\s+/,us=a.parseInt,as=Gn((function(t,n){return Dn(t,32,void 0,n,hn(n,cn(as)))}));as.placeholder={};var cs=Gn((function(t,n){return Dn(t,64,void 0,n,hn(n,cn(cs)))}));cs.placeholder={};var fs=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ss=se((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,r){return Pu(t,r)}))}(t,n)}));function ls(t,n,r,e){for(var o=r-1,i=t.length;++o<i;)if(e(t[o],n))return o;return-1}var ps=Array.prototype.splice;function vs(t,n,r,e){var o=e?ls:Jt,i=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,hr(r)));++i<u;)for(var c=0,f=n[i],s=r?r(f):f;(c=o(a,s,c,e))>-1;)a!==t&&ps.call(a,c,1),ps.call(t,c,1);return t}function hs(t,n){return t&&t.length&&n&&n.length?vs(t,n):t}var ds=Gn(hs),ys=Array.prototype.splice;function gs(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;ln(o)?ys.call(t,o,1):xf(t,o)}}return t}var _s=se((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gs(t,x(n,(function(t){return ln(t,r)?+t:t})).sort(Sf)),e})),bs=Math.floor,ms=Math.random;function js(t,n){return t+bs(ms()*(n-t+1))}var ws=parseFloat,xs=Math.min,Os=Math.random,As=Math.ceil,Es=Math.max;function ks(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=Es(As((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var Is=ks(),Ss=ks(!0),Ms=se((function(t,n){return Dn(t,256,void 0,void 0,void 0,n)}));function Rs(t,n,r,e,o){return o(t,(function(t,o,i){r=e?(e=!1,t):n(r,t,o,i)})),r}function Ws(t,n,r,e){var o=null==t?0:t.length;for(e&&o&&(r=t[--o]);o--;)r=n(r,t[o],o,t);return r}var Bs=Array.prototype.reverse;function Ps(t){return null==t?t:Bs.call(t)}var zs=So("round");function Cs(t){var n=t.length;return n?t[js(0,n-1)]:void 0}function Ls(t){return Cs(xc(t))}function Ts(t,n){var r=-1,e=t.length,o=e-1;for(n=void 0===n?e:n;++r<n;){var i=js(r,o),u=t[i];t[i]=t[r],t[r]=u}return t.length=n,t}function Ds(t,n){return Ts(Wt(t),Po(n,0,t.length))}function Us(t,n){var r=xc(t);return Ts(r,Po(n,0,r.length))}function Ns(t){return Ts(Wt(t))}function Fs(t){return Ts(xc(t))}var qs=Ao((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $s(t,n){var r;return Zu(t,(function(t,e,o){return!(r=n(t,e,o))})),!!r}var Ks=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vs=4294967294,Zs=Math.floor,Gs=Math.min;function Hs(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var s=Zs((o+i)/2),l=r(t[s]),p=void 0!==l,v=null===l,h=l==l,d=m(l);if(u)var y=e||h;else y=f?h&&(e||p):a?h&&p&&(e||!v):c?h&&p&&!v&&(e||!d):!v&&!d&&(e?l<=n:l<n);y?o=s+1:i=s}return Gs(i,Vs)}function Js(t,n,r){var e=0,o=null==t?e:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;e<o;){var i=e+o>>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u<n)?e=i+1:o=i}return o}return Hs(t,n,V,r)}function Ys(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Qs=Math.max,Xs=Ao((function(t,n,r){return t+(r?" ":"")+$e(n)})),tl=S((function(t,n){return t-n}),0),nl=Object.prototype,rl=nl.hasOwnProperty;function el(t,n,r,e){return void 0===t||Fn(t,nl[r])&&!rl.call(e,r)?n:t}var ol={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function il(t){return"\\"+ol[t]}var ul=/<%=([\s\S]+?)%>/g,al={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ul,variable:"",imports:{_:{escape:Ua}}},cl=/\b__p \+= '';/g,fl=/\b(__p \+=) '' \+/g,sl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ll=/[()=,{}\[\]\/\s]/,pl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vl=/($^)/,hl=/['\n\r\u2028\u2029\\]/g,dl=Object.prototype.hasOwnProperty;function yl(t,n){return n(t)}var gl=4294967295,_l=Math.min;function bl(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ml(){return bl(this.__wrapped__,this.__actions__)}function jl(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function wl(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xl=/^\s+/,Ol=/\w*$/,Al=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),El=/&(?:amp|lt|gt|quot|#39);/g,kl=RegExp(El.source),Il=Xo&&1/nu(new Xo([,-0]))[1]==1/0?function(t){return new Xo(t)}:Et,Sl=200;function Ml(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Sl){var f=n?null:Il(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++e<i;){var s=t[e],l=n?n(s):s;if(s=r||0!==s?s:0,u&&l==l){for(var p=c.length;p--;)if(c[p]===l)continue t;n&&c.push(l),a.push(s)}else o(c,l,r)||(c!==a&&c.push(l),a.push(s))}return a}var Rl=Gn((function(t){return Ml(ce(t,1,ca,!0))})),Wl=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ml(ce(t,1,ca,!0),Uu(n))})),Bl=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ml(ce(t,1,ca,!0),void 0,n)})),Pl=0,zl=Math.max;function Cl(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=zl(t.length,n),!0})),rr(n,(function(n){return x(t,Tu(n))}))}function Ll(t,n){if(!t||!t.length)return[];var r=Cl(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Tl(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Dl=Ao((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Ul=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Nl=se((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,o=function(n){return oe(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&ln(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:yl,args:[o],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fl(t,n,r){var e=t.length;if(e<2)return e?Ml(t[0]):[];for(var o=-1,i=Array(e);++o<e;)for(var u=t[o],a=-1;++a<e;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,r));return Ml(ce(i,1),n,r)}var ql=Gn((function(t){return Fl(Fo(t,ca))})),$l=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fl(Fo(t,ca),Uu(n))})),Kl=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fl(Fo(t,ca),void 0,n)})),Vl=Gn(Cl);function Zl(t,n,r){for(var e=-1,o=t.length,i=n.length,u={};++e<o;){var a=e<i?n[e]:void 0;r(u,t[e],a)}return u}var Gl,Hl,Jl=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Ll(t,r)})),Yl={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Bo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(Wo(e/n));o<e;)u[i++]=Ee(t,o,o+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,o=[];++n<r;){var i=t[n];i&&(o[e++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return ie(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=o),function(t,n,r,e){var o=t.length;for((r=K(r))<0&&(r=-r>o?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var o=t[n];e[o[0]]=o[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ac(e+o,0)),Jt(t,n,o)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e;return void 0!==r&&(o=(o=K(r))<0?ef(e+o,0):of(o,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,o):Gt(t,Ht,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:ds,pullAll:hs,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?vs(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?vs(t,n,void 0,r):t},pullAt:_s,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,o=[],i=t.length;for(n=Uu(n);++e<i;){var u=t[e];n(u,e,t)&&(r.push(u),o.push(e))}return gs(t,o),r},reverse:Ps,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Js(t,n)},sortedIndexBy:function(t,n,r){return Hs(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Js(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Js(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hs(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Js(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Ys(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Ys(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rl,unionBy:Wl,unionWith:Bl,uniq:function(t){return t&&t.length?Ml(t):[]},uniqBy:function(t,n){return t&&t.length?Ml(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ml(t,void 0,n):[]},unzip:Cl,unzipWith:Ll,without:Ul,xor:ql,xorBy:$l,xorWith:Kl,zip:Vl,zipObject:function(t,n){return Zl(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zl(t||[],n||[],Ef)},zipWith:Jl},Ql={countBy:Yu,each:Ia,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(oc(t,n),1)},flatMapDeep:function(t,n){return ce(oc(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(oc(t,n),r)},forEach:Ia,forEachRight:Ba,groupBy:lc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var o=t.length;return r<0&&(r=Oc(o+r,0)),jc(t)?r<=o&&t.indexOf(n,r)>-1:!!o&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fs,reduce:function(t,n,r){var e=O(t)?Ve:Rs,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?Ws:Rs,o=arguments.length<3;return e(t,Uu(n),r,o,Wa)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Cs:Ls)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Ds:Us)(t,n)},shuffle:function(t){return(O(t)?Ns:Fs)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?ts(t):t.length;var n=li(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Hi:$s;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Ks},Xl=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:zf,partial:as,partialRight:cs,rearg:Ms,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Qs(K(n),0),Gn((function(r){var e=r[n],o=ke(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return z(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return as(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,kr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=li(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,ku(t,n,Su(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:z,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==li(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:sf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:sa,toSafeInteger:function(t){return t?Po(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?lf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?lf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?lf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?lf(t,Uu(n),cf):void 0},multiply:_f,round:zs,subtract:tl,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Sr,assignIn:Wr,assignInWith:Br,assignWith:Pr,at:le,create:function(t,n){var r=dt(t);return null==n?r:Co(r,n)},defaults:ua,defaultsDeep:ha,entries:za,entriesIn:Ca,extend:Wr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,ka(n),Rr)},forInRight:function(t,n){return null==t?t:Ma(t,ka(n),Rr)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Ra(t,ka(n))},functions:function(t){return null==t?[]:fc(t,kr(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:Pu,invert:Pc,invertBy:Tc,invoke:Nc,keys:kr,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ss,pickBy:If,result:function(t,n,r){var e=-1,o=(n=Xr(n,t)).length;for(o||(o=1,t=void 0);++e<o;){var i=null==t?void 0:t[ne(n[e])];void 0===i&&(e=o,i=r),t=Y(i)?i.call(t):i}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:za,toPairsIn:Ca,transform:function(t,n,r){var e=O(t),o=e||pr(t)||mr(t);if(n=Uu(n),null==r){var i=t&&t.constructor;r=o?e?new i:[]:z(t)&&Y(i)?dt(pe(t)):{}}return(o?Zt:Ku)(t,(function(t,e,o){return n(r,t,e,o)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Tl(t,n,ka(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Tl(t,n,ka(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},op={at:Nl,chain:Ro,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:zt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:yl,args:[Ps],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(Ps)},tap:function(t,n){return n(t),t},thru:yl,toIterator:function(){return this},toJSON:ml,value:ml,valueOf:ml,wrapperChain:function(){return Ro(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=I(n);var e=t.length,o=r=void 0===r?e:Po(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rs(os(o),r)+t+rs(es(o),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e<n?t+rs(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e<n?rs(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),us(Qr(t).replace(is,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:qs,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=I(n))&&Se(t)?ke(Fe(t),0,r):t.split(n,r):[]},startCase:Xs,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Po(K(r),0,t.length),n=I(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=al.imports._.templateSettings||al;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Br({},n,e,el);var o,i,u=Br({},n.imports,e.imports,el),a=kr(u),c=wc(u,a),f=0,s=n.interpolate||vl,l="__p += '",p=RegExp((n.escape||vl).source+"|"+s.source+"|"+(s===ul?pl:vl).source+"|"+(n.evaluate||vl).source+"|$","g"),v=dl.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),l+=t.slice(f,c).replace(hl,il),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(i=!0,l+="';\n"+a+";\n__p += '"),e&&(l+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),l+="';\n";var h=dl.call(n,"variable")&&n.variable;if(h){if(ll.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";l=(i?l.replace(cl,""):l).replace(fl,"$1").replace(sl,"$1;"),l="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var d=je((function(){return Function(a,v+"return "+l).apply(void 0,c)}));if(d.source=l,me(d))throw d;return d},templateSettings:al,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return P(t);if(!t||!(n=I(n)))return t;var e=Fe(t),o=Fe(n);return ke(e,wl(e,o),jl(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,0,jl(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xl,"");if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,wl(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(z(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?I(n.omission):e}var i=(t=Qr(t)).length;if(Se(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-ts(e);if(a<1)return e;var c=u?ke(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Xc(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=RegExp(o.source,Qr(Ol.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,void 0===l?a:l)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&kl.test(t)?t.replace(El,Al):t},upperCase:Dl,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var o=t[e];if(_t(o[0],this,r))return _t(o[1],this,r)}}))},conforms:function(t){return function(t){var n=kr(t);return function(r){return Nu(r,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Ru(Zi(t,1))},matchesProperty:function(t,n){return Lu(t,Zi(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Cf,overSome:Lf,property:Du,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:Is,rangeRight:Ss,stubArray:qo,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gl,e=_l(t,gl);n=ka(n),t-=gl;for(var o=rr(e,n);++r<t;)n(r);return o},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Yr(Qr(t)))},uniqueId:function(t){var n=++Pl;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,sp=4294967295,lp=Array.prototype,pp=Object.prototype.hasOwnProperty,vp=c?c.iterator:void 0,hp=Math.max,dp=Math.min,yp=(Hl=gf,function(t,n,r){if(null==r){var e=z(n),o=e&&kr(n),i=o&&o.length&&fc(n,o);(i?i.length:e)||(r=n,n=t,t=this)}return Hl(t,n,r)});zt.after=tp.after,zt.ary=tp.ary,zt.assign=ep.assign,zt.assignIn=ep.assignIn,zt.assignInWith=ep.assignInWith,zt.assignWith=ep.assignWith,zt.at=ep.at,zt.before=tp.before,zt.bind=tp.bind,zt.bindAll=up.bindAll,zt.bindKey=tp.bindKey,zt.castArray=np.castArray,zt.chain=op.chain,zt.chunk=Yl.chunk,zt.compact=Yl.compact,zt.concat=Yl.concat,zt.cond=up.cond,zt.conforms=up.conforms,zt.constant=up.constant,zt.countBy=Ql.countBy,zt.create=ep.create,zt.curry=tp.curry,zt.curryRight=tp.curryRight,zt.debounce=tp.debounce,zt.defaults=ep.defaults,zt.defaultsDeep=ep.defaultsDeep,zt.defer=tp.defer,zt.delay=tp.delay,zt.difference=Yl.difference,zt.differenceBy=Yl.differenceBy,zt.differenceWith=Yl.differenceWith,zt.drop=Yl.drop,zt.dropRight=Yl.dropRight,zt.dropRightWhile=Yl.dropRightWhile,zt.dropWhile=Yl.dropWhile,zt.fill=Yl.fill,zt.filter=Ql.filter,zt.flatMap=Ql.flatMap,zt.flatMapDeep=Ql.flatMapDeep,zt.flatMapDepth=Ql.flatMapDepth,zt.flatten=Yl.flatten,zt.flattenDeep=Yl.flattenDeep,zt.flattenDepth=Yl.flattenDepth,zt.flip=tp.flip,zt.flow=up.flow,zt.flowRight=up.flowRight,zt.fromPairs=Yl.fromPairs,zt.functions=ep.functions,zt.functionsIn=ep.functionsIn,zt.groupBy=Ql.groupBy,zt.initial=Yl.initial,zt.intersection=Yl.intersection,zt.intersectionBy=Yl.intersectionBy,zt.intersectionWith=Yl.intersectionWith,zt.invert=ep.invert,zt.invertBy=ep.invertBy,zt.invokeMap=Ql.invokeMap,zt.iteratee=up.iteratee,zt.keyBy=Ql.keyBy,zt.keys=kr,zt.keysIn=ep.keysIn,zt.map=Ql.map,zt.mapKeys=ep.mapKeys,zt.mapValues=ep.mapValues,zt.matches=up.matches,zt.matchesProperty=up.matchesProperty,zt.memoize=tp.memoize,zt.merge=ep.merge,zt.mergeWith=ep.mergeWith,zt.method=up.method,zt.methodOf=up.methodOf,zt.mixin=yp,zt.negate=bf,zt.nthArg=up.nthArg,zt.omit=ep.omit,zt.omitBy=ep.omitBy,zt.once=tp.once,zt.orderBy=Ql.orderBy,zt.over=up.over,zt.overArgs=tp.overArgs,zt.overEvery=up.overEvery,zt.overSome=up.overSome,zt.partial=tp.partial,zt.partialRight=tp.partialRight,zt.partition=Ql.partition,zt.pick=ep.pick,zt.pickBy=ep.pickBy,zt.property=up.property,zt.propertyOf=up.propertyOf,zt.pull=Yl.pull,zt.pullAll=Yl.pullAll,zt.pullAllBy=Yl.pullAllBy,zt.pullAllWith=Yl.pullAllWith,zt.pullAt=Yl.pullAt,zt.range=up.range,zt.rangeRight=up.rangeRight,zt.rearg=tp.rearg,zt.reject=Ql.reject,zt.remove=Yl.remove,zt.rest=tp.rest,zt.reverse=Yl.reverse,zt.sampleSize=Ql.sampleSize,zt.set=ep.set,zt.setWith=ep.setWith,zt.shuffle=Ql.shuffle,zt.slice=Yl.slice,zt.sortBy=Ql.sortBy,zt.sortedUniq=Yl.sortedUniq,zt.sortedUniqBy=Yl.sortedUniqBy,zt.split=ip.split,zt.spread=tp.spread,zt.tail=Yl.tail,zt.take=Yl.take,zt.takeRight=Yl.takeRight,zt.takeRightWhile=Yl.takeRightWhile,zt.takeWhile=Yl.takeWhile,zt.tap=op.tap,zt.throttle=tp.throttle,zt.thru=yl,zt.toArray=np.toArray,zt.toPairs=ep.toPairs,zt.toPairsIn=ep.toPairsIn,zt.toPath=up.toPath,zt.toPlainObject=np.toPlainObject,zt.transform=ep.transform,zt.unary=tp.unary,zt.union=Yl.union,zt.unionBy=Yl.unionBy,zt.unionWith=Yl.unionWith,zt.uniq=Yl.uniq,zt.uniqBy=Yl.uniqBy,zt.uniqWith=Yl.uniqWith,zt.unset=ep.unset,zt.unzip=Yl.unzip,zt.unzipWith=Yl.unzipWith,zt.update=ep.update,zt.updateWith=ep.updateWith,zt.values=ep.values,zt.valuesIn=ep.valuesIn,zt.without=Yl.without,zt.words=ip.words,zt.wrap=tp.wrap,zt.xor=Yl.xor,zt.xorBy=Yl.xorBy,zt.xorWith=Yl.xorWith,zt.zip=Yl.zip,zt.zipObject=Yl.zipObject,zt.zipObjectDeep=Yl.zipObjectDeep,zt.zipWith=Yl.zipWith,zt.entries=ep.toPairs,zt.entriesIn=ep.toPairsIn,zt.extend=ep.assignIn,zt.extendWith=ep.assignInWith,yp(zt,zt),zt.add=rp.add,zt.attempt=up.attempt,zt.camelCase=ip.camelCase,zt.capitalize=ip.capitalize,zt.ceil=rp.ceil,zt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Po(N(t),n,r)},zt.clone=np.clone,zt.cloneDeep=np.cloneDeep,zt.cloneDeepWith=np.cloneDeepWith,zt.cloneWith=np.cloneWith,zt.conformsTo=np.conformsTo,zt.deburr=ip.deburr,zt.defaultTo=up.defaultTo,zt.divide=rp.divide,zt.endsWith=ip.endsWith,zt.eq=np.eq,zt.escape=ip.escape,zt.escapeRegExp=ip.escapeRegExp,zt.every=Ql.every,zt.find=Ql.find,zt.findIndex=Yl.findIndex,zt.findKey=ep.findKey,zt.findLast=Ql.findLast,zt.findLastIndex=Yl.findLastIndex,zt.findLastKey=ep.findLastKey,zt.floor=rp.floor,zt.forEach=Ql.forEach,zt.forEachRight=Ql.forEachRight,zt.forIn=ep.forIn,zt.forInRight=ep.forInRight,zt.forOwn=ep.forOwn,zt.forOwnRight=ep.forOwnRight,zt.get=ep.get,zt.gt=np.gt,zt.gte=np.gte,zt.has=ep.has,zt.hasIn=ep.hasIn,zt.head=Yl.head,zt.identity=V,zt.includes=Ql.includes,zt.indexOf=Yl.indexOf,zt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},zt.invoke=ep.invoke,zt.isArguments=np.isArguments,zt.isArray=O,zt.isArrayBuffer=np.isArrayBuffer,zt.isArrayLike=np.isArrayLike,zt.isArrayLikeObject=np.isArrayLikeObject,zt.isBoolean=np.isBoolean,zt.isBuffer=np.isBuffer,zt.isDate=np.isDate,zt.isElement=np.isElement,zt.isEmpty=np.isEmpty,zt.isEqual=np.isEqual,zt.isEqualWith=np.isEqualWith,zt.isError=np.isError,zt.isFinite=np.isFinite,zt.isFunction=np.isFunction,zt.isInteger=np.isInteger,zt.isLength=np.isLength,zt.isMap=np.isMap,zt.isMatch=np.isMatch,zt.isMatchWith=np.isMatchWith,zt.isNaN=np.isNaN,zt.isNative=np.isNative,zt.isNil=np.isNil,zt.isNull=np.isNull,zt.isNumber=np.isNumber,zt.isObject=z,zt.isObjectLike=np.isObjectLike,zt.isPlainObject=np.isPlainObject,zt.isRegExp=np.isRegExp,zt.isSafeInteger=np.isSafeInteger,zt.isSet=np.isSet,zt.isString=np.isString,zt.isSymbol=np.isSymbol,zt.isTypedArray=np.isTypedArray,zt.isUndefined=np.isUndefined,zt.isWeakMap=np.isWeakMap,zt.isWeakSet=np.isWeakSet,zt.join=Yl.join,zt.kebabCase=ip.kebabCase,zt.last=wa,zt.lastIndexOf=Yl.lastIndexOf,zt.lowerCase=ip.lowerCase,zt.lowerFirst=ip.lowerFirst,zt.lt=np.lt,zt.lte=np.lte,zt.max=rp.max,zt.maxBy=rp.maxBy,zt.mean=rp.mean,zt.meanBy=rp.meanBy,zt.min=rp.min,zt.minBy=rp.minBy,zt.stubArray=up.stubArray,zt.stubFalse=up.stubFalse,zt.stubObject=up.stubObject,zt.stubString=up.stubString,zt.stubTrue=up.stubTrue,zt.multiply=rp.multiply,zt.nth=Yl.nth,zt.noop=up.noop,zt.now=Xl,zt.pad=ip.pad,zt.padEnd=ip.padEnd,zt.padStart=ip.padStart,zt.parseInt=ip.parseInt,zt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Os();return xs(t+o*(n-t+ws("1e-"+((o+"").length-1))),n)}return js(t,n)},zt.reduce=Ql.reduce,zt.reduceRight=Ql.reduceRight,zt.repeat=ip.repeat,zt.replace=ip.replace,zt.result=ep.result,zt.round=rp.round,zt.sample=Ql.sample,zt.size=Ql.size,zt.snakeCase=ip.snakeCase,zt.some=Ql.some,zt.sortedIndex=Yl.sortedIndex,zt.sortedIndexBy=Yl.sortedIndexBy,zt.sortedIndexOf=Yl.sortedIndexOf,zt.sortedLastIndex=Yl.sortedLastIndex,zt.sortedLastIndexBy=Yl.sortedLastIndexBy,zt.sortedLastIndexOf=Yl.sortedLastIndexOf,zt.startCase=ip.startCase,zt.startsWith=ip.startsWith,zt.subtract=rp.subtract,zt.sum=rp.sum,zt.sumBy=rp.sumBy,zt.template=ip.template,zt.times=up.times,zt.toFinite=np.toFinite,zt.toInteger=K,zt.toLength=np.toLength,zt.toLower=ip.toLower,zt.toNumber=np.toNumber,zt.toSafeInteger=np.toSafeInteger,zt.toString=np.toString,zt.toUpper=ip.toUpper,zt.trim=ip.trim,zt.trimEnd=ip.trimEnd,zt.trimStart=ip.trimStart,zt.truncate=ip.truncate,zt.unescape=ip.unescape,zt.uniqueId=up.uniqueId,zt.upperCase=ip.upperCase,zt.upperFirst=ip.upperFirst,zt.each=Ql.forEach,zt.eachRight=Ql.forEachRight,zt.first=Yl.head,yp(zt,(Gl={},Ku(zt,(function(t,n){pp.call(zt.prototype,n)||(Gl[n]=t)})),Gl),{chain:!1}),zt.VERSION="4.17.21",(zt.templateSettings=ip.templateSettings).imports._=zt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){zt[t].placeholder=zt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,sp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(sp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=zt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(zt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),s=function(t){var n=o.apply(zt,ie([t],u));return e&&l?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var l=this.__chain__,p=!!this.__actions__.length,v=i&&!l,h=a&&!p;if(!i&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:yl,args:[s],thisArg:void 0}),new Rt(d,l)}return v&&h?t.apply(this,u):(d=this.thru(s),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=lp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);zt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=zt[n];if(r){var e=r.name+"";pp.call(It,e)||(It[e]=[]),It[e].push({name:n,func:r})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e<o;){var i=r[e],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=e?a:u-1,s=this.__iteratees__,l=s.length,p=0,v=fp(c,this.__takeCount__);if(!r||!e&&o==c&&v==c)return bl(t,this.__actions__);var h=[];t:for(;c--&&p<v;){for(var d=-1,y=t[f+=n];++d<l;){var g=s[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}h[p++]=y}return h},zt.prototype.at=op.at,zt.prototype.chain=op.wrapperChain,zt.prototype.commit=op.commit,zt.prototype.next=op.next,zt.prototype.plant=op.plant,zt.prototype.reverse=op.reverse,zt.prototype.toJSON=zt.prototype.valueOf=zt.prototype.value=op.value,zt.prototype.first=zt.prototype.head,vp&&(zt.prototype[vp]=op.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)n.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const s=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),l=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,s),style:l}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Sp(t)),o=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5337],{6825:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>l,assets:()=>s,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>f,toc:()=>p});var e=r(5735),o=r(7355),i=r(5474),u=r(4614);const a={},c="usePrevious",f={id:"react/hooks/usePrevious",title:"usePrevious",description:"\uc774\uc804 \ub80c\ub354\ub9c1\uc5d0\uc11c \uc778\uc218\uc758 \uac12\uc744 \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/usePrevious.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/usePrevious",permalink:"/modern-kit/docs/react/hooks/usePrevious",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"usePreservedState",permalink:"/modern-kit/docs/react/hooks/usePreservedState"},next:{title:"useResizeObserver",permalink:"/modern-kit/docs/react/hooks/useResizeObserver"}},s={},l=()=>{const t={button:"button",div:"div",...(0,o.a)()},[n,r]=(0,u.useState)(0),a=(0,i.D9)(n);return(0,e.jsxs)(t.div,{children:[(0,e.jsxs)(t.div,{children:["Current Count is - ",n]}),(0,e.jsxs)(t.div,{children:["Previous Count is - ",a]}),(0,e.jsx)(t.button,{onClick:()=>{r(n+1)},children:"Increment"})]})},p=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function v(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"useprevious",children:"usePrevious"}),"\n",(0,e.jsx)(n.p,{children:"\uc774\uc804 \ub80c\ub354\ub9c1\uc5d0\uc11c \uc778\uc218\uc758 \uac12\uc744 \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"const usePrevious: <T>(value: T) => T;\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useState } from 'react';\nimport { usePrevious } from '@modern-kit/react';\n\nconst Example = () => {\n const [count, setCount] = useState(0);\n const previousCount = usePrevious(count);\n\n const onIncrementCount = () => {\n setCount(count + 1);\n };\n\n return (\n <div>\n <div>Current Count is - {count}</div>\n <div>Previous Count is - {previousCount}</div>\n <button onClick={onIncrementCount}>Increment</button>\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(l,{})]})}function h(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(v,{...t})}):v(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Mp,df:()=>xp,iP:()=>Bp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0,v=Object.prototype.toString,h="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:h:y&&y in Object(t)?function(t){var n=s.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=l.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return v.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var o;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(o=r),void 0!==e){if(void 0===o)return e;"string"==typeof r||"string"==typeof e?(r=I(r),e=I(e)):(r=w(r),e=w(e)),o=t(r,e)}return o}}var M=S((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function P(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function z(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var C=NaN,L=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,D=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return C;if(z(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=z(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=P(t);var r=T.test(t);return r||D.test(t)?U(t.slice(2),r?2:8):L.test(t)?C:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!z(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!z(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function st(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var lt=st(a,"WeakMap"),pt=lt&&new lt,vt=pt?function(t,n){return pt.set(t,n),t}:V,ht=Object.create,dt=function(){function t(){}return function(n){if(!z(n))return{};if(ht)return ht(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return z(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var o=-1,i=t.length,u=r.length,a=-1,c=n.length,f=bt(i-u,0),s=Array(c+f),l=!e;++a<c;)s[a]=n[a];for(;++o<u;)(l||o<i)&&(s[r[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}var jt=Math.max;function wt(t,n,r,e){for(var o=-1,i=t.length,u=-1,a=r.length,c=-1,f=n.length,s=jt(i-a,0),l=Array(s+f),p=!e;++o<s;)l[o]=t[o];for(var v=o;++c<f;)l[v+c]=n[c];for(;++u<a;)(p||o<i)&&(l[v+r[u]]=t[o++]);return l}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=It[n],e=St.call(It,n)?r.length:0;e--;){var o=r[e],i=o.func;if(null==i||i==t)return o.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var Pt=Object.prototype.hasOwnProperty;function zt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(Pt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Ct(t){var n=Mt(t),r=zt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=kt(r);return!!e&&t===e[0]}zt.prototype=xt.prototype,zt.prototype.constructor=zt;var Lt=Date.now;function Tt(t){var n=0,r=0;return function(){var e=Lt(),o=16-(e-r);if(r=e,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(vt),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var o=t.length,i=r+(e?1:-1);e?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var s=n&en;n|=s?on:un,(n&=~(s?un:on))&rn||(n&=~(tn|nn));var l=[t,n,o,s?i:void 0,s?u:void 0,s?void 0:i,s?void 0:u,a,c,f],p=r.apply(void 0,l);return Ct(t)&&Dt(p,l),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,sn=/^(?:0|[1-9]\d*)$/;function ln(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&sn.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,vn="__lodash_placeholder__";function hn(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r];u!==n&&u!==vn||(t[r]=vn,i[o++]=r)}return i}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,o,i,u,c,f,s){var l=n&bn,p=n&dn,v=n&yn,h=n&(gn|_n),d=n&mn,y=v?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(h)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,o,h)),i&&(b=wt(b,i,u,h)),_-=w,h&&_<s){var x=hn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,s-_)}var O=p?r:this,A=v?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),o=Wt(t);e--;){var i=n[e];t[e]=ln(i,r)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),l&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Mn=Math.min,Rn="Expected a function",Wn=1,Bn=2,Pn=8,zn=16,Cn=32,Ln=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var s=e?e.length:0;if(s||(n&=~(Cn|Ln),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),s-=o?o.length:0,n&Ln){var l=e,p=o;e=o=void 0}var v=f?void 0:kt(t),h=[t,n,r,e,o,l,p,i,u,c];if(v&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|In),u=e==In&&r==kn||e==In&&r==Sn&&t[7].length<=n[8]||e==(In|Sn)&&n[7].length<=n[8]&&r==kn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?hn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?hn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&In&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(h,v),t=h[0],n=h[1],r=h[2],e=h[3],o=h[4],!(c=h[9]=void 0===h[9]?f?0:t.length:Tn(h[9]-s,0))&&n&(Pn|zn)&&(n&=~(Pn|zn)),n&&n!=Wn)d=n==Pn||n==zn?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var s=i<3&&u[0]!==f&&u[i-1]!==f?[]:hn(u,f);return(i-=s.length)<r?an(t,n,jn,o.placeholder,void 0,u,s,void 0,void 0,r-i):_t(this&&this!==a&&this instanceof o?e:t,this,u)}}(t,n,c):n!=Cn&&n!=(Wn|Cn)||o.length?jn.apply(void 0,h):function(t,n,r,e){var o=n&wn,i=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,s=e.length,l=Array(s+c),p=this&&this!==a&&this instanceof n?i:t;++f<s;)l[f]=e[f];for(;c--;)l[f++]=arguments[++u];return _t(p,o?r:this,l)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,o=yt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((v?vt:Dt)(d,h),t,n)}function Un(t,n,r){return n=r?void 0:n,Dn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var o=!r;r||(r={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),o?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Vn(e.length-n,0),u=Array(i);++o<i;)u[o]=e[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=e[o];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!z(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&ln(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Qn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var or=Object.prototype,ir=or.hasOwnProperty,ur=or.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&ir.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,sr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,lr=sr&&sr.exports===fr?a.Buffer:void 0,pr=(lr?lr.isBuffer:void 0)||cr,vr={};function hr(t){return function(n){return t(n)}}vr["[object Float32Array]"]=vr["[object Float64Array]"]=vr["[object Int8Array]"]=vr["[object Int16Array]"]=vr["[object Int32Array]"]=vr["[object Uint8Array]"]=vr["[object Uint8ClampedArray]"]=vr["[object Uint16Array]"]=vr["[object Uint32Array]"]=!0,vr["[object Arguments]"]=vr["[object Array]"]=vr["[object ArrayBuffer]"]=vr["[object Boolean]"]=vr["[object DataView]"]=vr["[object Date]"]=vr["[object Error]"]=vr["[object Function]"]=vr["[object Map]"]=vr["[object Number]"]=vr["[object Object]"]=vr["[object RegExp]"]=vr["[object Set]"]=vr["[object String]"]=vr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&i.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hl){}}(),br=_r&&_r.isTypedArray,mr=br?hr(br):function(t){return _(t)&&Jn(t.length)&&!!vr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),o=!r&&!e&&pr(t),i=!r&&!e&&!o&&mr(t),u=r||e||o||i,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ln(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function kr(t){return Yn(t)?wr(t):Er(t)}var Ir=Object.prototype.hasOwnProperty,Sr=Xn((function(t,n){if(nr(n)||Yn(n))Kn(n,kr(n),t);else for(var r in n)Ir.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Rr(t){return Yn(t)?wr(t,!0):function(t){if(!z(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Kn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Kn(n,Rr(n),t,e)})),Pr=Xn((function(t,n,r,e){Kn(n,kr(n),t,e)})),zr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function Lr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Cr.test(t)||!zr.test(t)||null!=n&&t in Object(n)}var Tr=st(Object,"create"),Dr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Tr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Dr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Tr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Tr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=st(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,e);return r.cache=i.set(o,u)||i,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,o){n.push(e?o.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":I(t)}function Xr(t,n){return O(t)?t:Lr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function oe(t,n){for(var r=-1,e=n.length,o=Array(e),i=null==t;++r<e;)o[r]=i?void 0:ee(t,n[r]);return o}function ie(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,o){var i=-1,u=t.length;for(r||(r=ae),o||(o=[]);++i<u;){var a=t[i];n>0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function se(t){return Vt(Zn(t,void 0,fe),t+"")}var le=se(oe),pe=xr(Object.getPrototypeOf,Object),ve="[object Object]",he=Function.prototype,de=Object.prototype,ye=he.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=ve)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=hn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=se((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=hn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e<o;)i[e]=t[e+n];return i}function ke(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var Ie=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return Ie.test(t)}var Me="\\ud800-\\udfff",Re="["+Me+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",Pe="[^"+Me+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="(?:"+We+"|"+Be+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Le+"(?:\\u200d(?:"+[Pe,ze,Ce].join("|")+")"+Te+Le+")*",Ue="(?:"+[Pe+We+"?",We,ze,Ce,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+De,"g");function Fe(t){return Se(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?ke(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o<i;)r=n(r,t[o],o,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",ro="a-z\\xdf-\\xf6\\xf8-\\xff",eo="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+ro+"]",fo="[^"+to+oo+uo+no+ro+eo+"]",so="(?:\\ud83c[\\udde6-\\uddff]){2}",lo="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+eo+"]",vo="(?:"+co+"|"+fo+")",ho="(?:"+po+"|"+fo+")",yo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",go="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",so,lo].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,so,lo].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+yo+"(?="+[io,po,"$"].join("|")+")",ho+"+"+go+"(?="+[io,po+vo,"$"].join("|")+")",po+"?"+vo+"+"+yo,po+"+"+go,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Ve(xo(Ye(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Io(K(r),292))&&ko(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Mo=So("ceil");function Ro(t){var n=zt(t);return n.__chain__=!0,n}var Wo=Math.ceil,Bo=Math.max;function Po(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zo(t){var n=this.__data__=new $r(t);this.size=n.size}function Co(t,n){return t&&Kn(n,kr(n),t)}zo.prototype.clear=function(){this.__data__=new $r,this.size=0},zo.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zo.prototype.get=function(t){return this.__data__.get(t)},zo.prototype.has=function(t){return this.__data__.has(t)},zo.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Lo="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Lo&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Lo?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var u=t[r];n(u,r,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ie(n,Vo(t)),t=pe(t);return n}:qo;function Go(t,n,r){var e=n(t);return O(t)?e:ie(e,r(t))}function Ho(t){return Go(t,kr,Vo)}function Jo(t){return Go(t,Rr,Zo)}var Yo=st(a,"DataView"),Qo=st(a,"Promise"),Xo=st(a,"Set"),ti="[object Map]",ni="[object Promise]",ri="[object Set]",ei="[object WeakMap]",oi="[object DataView]",ii=rt(Yo),ui=rt(Kr),ai=rt(Qo),ci=rt(Xo),fi=rt(lt),si=g;(Yo&&si(new Yo(new ArrayBuffer(1)))!=oi||Kr&&si(new Kr)!=ti||Qo&&si(Qo.resolve())!=ni||Xo&&si(new Xo)!=ri||lt&&si(new lt)!=ei)&&(si=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ri;case fi:return ei}return n});var li=si,pi=Object.prototype.hasOwnProperty,vi=a.Uint8Array;function hi(t){var n=new t.constructor(t.byteLength);return new vi(n).set(new vi(t)),n}var di=/\w*$/,yi=c?c.prototype:void 0,gi=yi?yi.valueOf:void 0;function _i(t,n){var r=n?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Mi="[object Float64Array]",Ri="[object Int8Array]",Wi="[object Int16Array]",Bi="[object Int32Array]",Pi="[object Uint8Array]",zi="[object Uint8ClampedArray]",Ci="[object Uint16Array]",Li="[object Uint32Array]";function Ti(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var Di=_r&&_r.isMap,Ui=Di?hr(Di):function(t){return _(t)&&"[object Map]"==li(t)},Ni=_r&&_r.isSet,Fi=Ni?hr(Ni):function(t){return _(t)&&"[object Set]"==li(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,r,e,o,i){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=o?r(t,e,o,i):r(t)),void 0!==u)return u;if(!z(t))return t;var s=O(t);if(s){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var l=li(t),p=l==$i||"[object GeneratorFunction]"==l;if(pr(t))return No(t,a);if(l==Ki||l==qi||p&&!o){if(u=c||p?{}:Ti(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,Rr(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Co(u,t))}else{if(!Vi[l])return o?t:{};u=function(t,n,r){var e,o=t.constructor;switch(n){case ki:return hi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var r=n?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Si:case Mi:case Ri:case Wi:case Bi:case Pi:case zi:case Ci:case Li:return _i(t,r);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return e=t,gi?Object(gi.call(e)):{}}}(t,l,a)}}i||(i=new zo);var v=i.get(t);if(v)return v;i.set(t,u),Fi(t)?t.forEach((function(e){u.add(Zi(e,n,r,e,t,i))})):Ui(t)&&t.forEach((function(e,o){u.set(o,Zi(e,n,r,o,t,i))}));var h=s?void 0:(f?c?Jo:Ho:c?Rr:kr)(t);return Zt(h||t,(function(e,o){h&&(e=t[o=e]),$n(u,o,Zi(e,n,r,o,t,i))})),u}function Gi(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Hi(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Ji(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Qi=2;function Xi(t,n,r,e,o,i){var u=r&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),s=i.get(n);if(f&&s)return f==n&&s==t;var l=-1,p=!0,v=r&Qi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++l<a;){var h=t[l],d=n[l];if(e)var y=u?e(d,h,l,n,t,i):e(h,d,l,t,n,i);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!Hi(n,(function(t,n){if(!Ji(v,n)&&(h===t||o(h,t,r,e,i)))return v.push(n)}))){p=!1;break}}else if(h!==d&&!o(h,d,r,e,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",su="[object Set]",lu="[object String]",pu="[object Symbol]",vu="[object ArrayBuffer]",hu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,o,i){var u=O(t),a=O(n),c=u?ju:li(t),f=a?ju:li(n),s=(c=c==mu?wu:c)==wu,l=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new zo),u||mr(t)?Xi(t,n,r,e,o,i):function(t,n,r,e,o,i,u){switch(r){case hu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case vu:return!(t.byteLength!=n.byteLength||!i(new vi(t),new vi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case lu:return t==n+"";case au:var a=tu;case su:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var s=Xi(a(t),a(n),e,o,i,u);return u.delete(t),s;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,o,i);if(!(r&bu)){var v=s&&xu.call(t,"__wrapped__"),h=l&&xu.call(n,"__wrapped__");if(v||h){var d=v?t.value():t,y=h?n.value():n;return i||(i=new zo),o(d,y,r,e,i)}}return!!p&&(i||(i=new zo),function(t,n,r,e,o,i){var u=r&gu,a=Ho(t),c=a.length;if(c!=Ho(n).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in n:_u.call(n,s)))return!1}var l=i.get(t),p=i.get(n);if(l&&p)return l==n&&p==t;var v=!0;i.set(t,n),i.set(n,t);for(var h=u;++f<c;){var d=t[s=a[f]],y=n[s];if(e)var g=u?e(y,d,s,n,t,i):e(d,y,s,t,n,i);if(!(void 0===g?d===y||o(d,y,r,e,i):g)){v=!1;break}h||(h="constructor"==s)}if(v&&!h){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(v=!1)}return i.delete(t),i.delete(n),v}(t,n,r,e,o,i))}(t,n,r,e,Ou,o))}var Au=1,Eu=2;function ku(t,n,r,e){var o=r.length,i=o,u=!e;if(null==t)return!i;for(t=Object(t);o--;){var a=r[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=r[o])[0],f=t[c],s=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var l=new zo;if(e)var p=e(f,s,c,t,n,l);if(!(void 0===p?Ou(s,f,Au|Eu,e,l):p))return!1}}return!0}function Iu(t){return t==t&&!z(t)}function Su(t){for(var n=kr(t),r=n.length;r--;){var e=n[r],o=t[e];n[r]=[e,o,Iu(o)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Su(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||ku(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,o=(n=Xr(n,t)).length,i=!1;++e<o;){var u=ne(n[e]);if(!(i=null!=t&&r(t,u)))break;t=t[u]}return i||++e!=o?i:!!(o=null==t?0:t.length)&&Jn(o)&&ln(u,o)&&(O(t)||ar(t))}function Pu(t,n){return null!=t&&Bu(t,n,Wu)}var zu=1,Cu=2;function Lu(t,n){return Lr(t)&&Iu(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Pu(r,t):Ou(n,e,zu|Cu)}}function Tu(t){return function(n){return null==n?void 0:n[t]}}function Du(t){return Lr(t)?Tu(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Lu(t[0],t[1]):Ru(t):Du(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var o=r[e],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,r,e){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var o=-1,i=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===r(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,kr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var o=r.length,i=n?o:-1,u=Object(r);(n?i--:++i<o)&&!1!==e(u[i],i,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,o,i){n(e,t,r(t),i)})),e}function Hu(t,n){return function(r,e){var o=O(r)?Fu:Gu,i=n?n():{};return o(r,t,Uu(e),i)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Dn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Dn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,o,i,u,a,c,f=0,s=!1,l=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(n){var r=e,i=o;return e=o=void 0,f=n,u=t.apply(i,r)}function h(t){var r=t-c;return void 0===c||r>=n||r<0||l&&t-f>=i}function d(){var t=ta();if(h(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return l?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?v(t):(e=o=void 0,u)}function g(){var t=ta(),r=h(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),s?v(t):u}(c);if(l)return clearTimeout(a),a=setTimeout(d,n),v(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,z(r)&&(s=!!r.leading,i=(l="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Qn(n[0],n[1],o)&&(e=1);++r<e;)for(var i=n[r],u=Rr(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(void 0===s||Fn(s,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function sa(t){return Kn(t,Rr(t))}function la(t,n,r,e,o){t!==n&&$u(n,(function(i,u){if(o||(o=new zo),z(i))!function(t,n,r,e,o,i,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var s=i?i(a,c,r+"",t,n,u):void 0,l=void 0===s;if(l){var p=O(c),v=!p&&pr(c),h=!p&&!v&&mr(c);s=c,p||v||h?O(a)?s=a:ca(a)?s=Wt(a):v?(l=!1,s=No(c,!0)):h?(l=!1,s=_i(c,!0)):s=[]:be(c)||ar(c)?(s=a,ar(a)?s=sa(a):z(a)&&!Y(a)||(s=Ti(c))):l=!1}l&&(u.set(c,s),o(s,c,e,i,u),u.delete(c)),aa(t,r,s)}}(t,n,u,r,la,e,o);else{var a=e?e(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,o,i){return z(t)&&z(n)&&(i.set(n,t),la(t,n,void 0,pa,i),i.delete(n)),t}var va=Xn((function(t,n,r,e){la(t,n,r,e)})),ha=Gn((function(t){return t.push(void 0,pa),_t(va,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,o=null==t?0:t.length;++e<o;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,hr(r))),e?(i=_a,u=!1):n.length>=ba&&(i=Ji,u=!1,n=new Gi(n));t:for(;++o<a;){var s=t[o],l=null==r?s:r(s);if(s=e||0!==s?s:0,u&&l==l){for(var p=f;p--;)if(n[p]===l)continue t;c.push(s)}else i(n,l,e)||c.push(s)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var o=t.length,i=e?o:-1;(e?i--:++i<o)&&n(t[i],i,t););return r?Ee(t,e?0:i,e?i+1:o):Ee(t,e?i+1:0,e?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Ra(t,n){return t&&Ma(t,n,kr)}var Wa=Vu(Ra,!0);function Ba(t,n){return(O(t)?Sa:Wa)(t,ka(n))}function Pa(t){return function(n){var r=li(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var za=Pa(kr),Ca=Pa(Rr),La=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Qr(t))&&Da.test(t)?t.replace(Ta,La):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,o){return r=!!n(t,e,o)})),r}function Ka(t){return t?Po(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,o){n(t,e,o)&&r.push(t)})),r}function Za(t){return function(n,r,e){var o=Object(n);if(!Yn(n)){var i=Uu(r);n=kr(n),r=function(t){return i(o[t],t,o)}}var u=t(n,r,e);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Qa(e+o,0):Xa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=So("floor");function uc(t){return se((function(n){var r=n.length,e=r,o=Rt.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Mt(i))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(i=n[e]),c="wrapper"==a?kt(i):void 0;u=c&&Ct(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==i.length&&Ct(i)?u[a]():u.thru(i)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var o=0,i=r?n[o].apply(this,t):e;++o<r;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var sc=Object.prototype.hasOwnProperty,lc=Hu((function(t,n,r){sc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function vc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var hc=vc(pc),dc=vc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,kr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var s=t[u];u&&n&&(s=x(s,hr(n))),c=Ec(s.length,c),a[u]=!r&&(n||o>=120&&s.length>=120)?new Gi(u&&s):void 0}s=t[0];var l=-1,p=a[0];t:for(;++l<o&&f.length<c;){var v=s[l],h=n?n(v):v;if(v=r||0!==v?v:0,!(p?Ji(p,h):e(f,h,r))){for(u=i;--u;){var d=a[u];if(!(d?Ji(d,h):e(t[u],h,r)))continue t}p&&p.push(h),f.push(v)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,Ic);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?kc(r,Uu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,Ic);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?kc(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,o,i){n(e,r(t),o,i)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,Pc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),zc=Object.prototype,Cc=zc.hasOwnProperty,Lc=zc.toString,Tc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Lc.call(n)),Cc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Dc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Dc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++e]=o?_t(n,t,r):Uc(t,n,r)})),i})),qc=_r&&_r.isArrayBuffer,$c=qc?hr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?hr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?hr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Ao((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Ao((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=vc(cf),sf=vc((function(t,n){return t<=n}));function lf(t,n,r){for(var e=-1,o=t.length;++e<o;){var i=t[e],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=i}return c}function pf(t,n){for(var r,e=-1,o=t.length;++e<o;){var i=n(t[e]);void 0!==i&&(r=void 0===r?i:r+i)}return r}function vf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var hf=Xn((function(t,n,r){la(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=kr(n),o=fc(n,e),i=!(z(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(o,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(i||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,ie([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=li(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return ln(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Dc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=se((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Jo(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!z(t))return t;for(var o=-1,i=(n=Xr(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=ne(n[o]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var s=a[c];void 0===(f=e?e(s,c,a):void 0)&&(f=z(s)?s:ln(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,r){for(var e=-1,o=n.length,i={};++e<o;){var u=n[e],a=re(t,u);r(a,u)&&Ef(i,Xr(u,t),a)}return i}function If(t,n){if(null==t)return{};var r=x(Jo(t),(function(t){return[t]}));return n=Uu(n),kf(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t<n||f&&r&&o&&!e&&!i||a&&r&&o||!u&&o||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,hr(Uu));var o=ec(t,(function(t,r,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(o,(function(t,n){return function(t,n,r){for(var e=-1,o=t.criteria,i=n.criteria,u=o.length,a=r.length;++e<u;){var c=Sf(o[e],i[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return se((function(n){return n=x(n,hr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Gn,Pf=Math.min,zf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],hr(Uu)):x(ce(n,1),hr(Uu))).length;return Gn((function(e){for(var o=-1,i=Pf(e.length,r);++o<i;)e[o]=n[o].call(this,e[o]);return _t(t,this,e)}))})),Cf=Rf(qa),Lf=Rf(Hi),Tf=9007199254740991,Df=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Tf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function ts(t){return Se(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var ns=Math.ceil;function rs(t,n){var r=(n=void 0===n?" ":I(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,ns(t/ts(n)));return Se(n)?ke(Fe(e),0,t).join(""):e.slice(0,t)}var es=Math.ceil,os=Math.floor,is=/^\s+/,us=a.parseInt,as=Gn((function(t,n){return Dn(t,32,void 0,n,hn(n,cn(as)))}));as.placeholder={};var cs=Gn((function(t,n){return Dn(t,64,void 0,n,hn(n,cn(cs)))}));cs.placeholder={};var fs=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ss=se((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,r){return Pu(t,r)}))}(t,n)}));function ls(t,n,r,e){for(var o=r-1,i=t.length;++o<i;)if(e(t[o],n))return o;return-1}var ps=Array.prototype.splice;function vs(t,n,r,e){var o=e?ls:Jt,i=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,hr(r)));++i<u;)for(var c=0,f=n[i],s=r?r(f):f;(c=o(a,s,c,e))>-1;)a!==t&&ps.call(a,c,1),ps.call(t,c,1);return t}function hs(t,n){return t&&t.length&&n&&n.length?vs(t,n):t}var ds=Gn(hs),ys=Array.prototype.splice;function gs(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;ln(o)?ys.call(t,o,1):xf(t,o)}}return t}var _s=se((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gs(t,x(n,(function(t){return ln(t,r)?+t:t})).sort(Sf)),e})),bs=Math.floor,ms=Math.random;function js(t,n){return t+bs(ms()*(n-t+1))}var ws=parseFloat,xs=Math.min,Os=Math.random,As=Math.ceil,Es=Math.max;function ks(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=Es(As((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var Is=ks(),Ss=ks(!0),Ms=se((function(t,n){return Dn(t,256,void 0,void 0,void 0,n)}));function Rs(t,n,r,e,o){return o(t,(function(t,o,i){r=e?(e=!1,t):n(r,t,o,i)})),r}function Ws(t,n,r,e){var o=null==t?0:t.length;for(e&&o&&(r=t[--o]);o--;)r=n(r,t[o],o,t);return r}var Bs=Array.prototype.reverse;function Ps(t){return null==t?t:Bs.call(t)}var zs=So("round");function Cs(t){var n=t.length;return n?t[js(0,n-1)]:void 0}function Ls(t){return Cs(xc(t))}function Ts(t,n){var r=-1,e=t.length,o=e-1;for(n=void 0===n?e:n;++r<n;){var i=js(r,o),u=t[i];t[i]=t[r],t[r]=u}return t.length=n,t}function Ds(t,n){return Ts(Wt(t),Po(n,0,t.length))}function Us(t,n){var r=xc(t);return Ts(r,Po(n,0,r.length))}function Ns(t){return Ts(Wt(t))}function Fs(t){return Ts(xc(t))}var qs=Ao((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $s(t,n){var r;return Zu(t,(function(t,e,o){return!(r=n(t,e,o))})),!!r}var Ks=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vs=4294967294,Zs=Math.floor,Gs=Math.min;function Hs(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var s=Zs((o+i)/2),l=r(t[s]),p=void 0!==l,v=null===l,h=l==l,d=m(l);if(u)var y=e||h;else y=f?h&&(e||p):a?h&&p&&(e||!v):c?h&&p&&!v&&(e||!d):!v&&!d&&(e?l<=n:l<n);y?o=s+1:i=s}return Gs(i,Vs)}function Js(t,n,r){var e=0,o=null==t?e:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;e<o;){var i=e+o>>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u<n)?e=i+1:o=i}return o}return Hs(t,n,V,r)}function Ys(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Qs=Math.max,Xs=Ao((function(t,n,r){return t+(r?" ":"")+$e(n)})),tl=S((function(t,n){return t-n}),0),nl=Object.prototype,rl=nl.hasOwnProperty;function el(t,n,r,e){return void 0===t||Fn(t,nl[r])&&!rl.call(e,r)?n:t}var ol={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function il(t){return"\\"+ol[t]}var ul=/<%=([\s\S]+?)%>/g,al={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ul,variable:"",imports:{_:{escape:Ua}}},cl=/\b__p \+= '';/g,fl=/\b(__p \+=) '' \+/g,sl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ll=/[()=,{}\[\]\/\s]/,pl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vl=/($^)/,hl=/['\n\r\u2028\u2029\\]/g,dl=Object.prototype.hasOwnProperty;function yl(t,n){return n(t)}var gl=4294967295,_l=Math.min;function bl(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ml(){return bl(this.__wrapped__,this.__actions__)}function jl(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function wl(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xl=/^\s+/,Ol=/\w*$/,Al=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),El=/&(?:amp|lt|gt|quot|#39);/g,kl=RegExp(El.source),Il=Xo&&1/nu(new Xo([,-0]))[1]==1/0?function(t){return new Xo(t)}:Et,Sl=200;function Ml(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Sl){var f=n?null:Il(t);if(f)return nu(f);u=!1,o=Ji,c=new Gi}else c=n?[]:a;t:for(;++e<i;){var s=t[e],l=n?n(s):s;if(s=r||0!==s?s:0,u&&l==l){for(var p=c.length;p--;)if(c[p]===l)continue t;n&&c.push(l),a.push(s)}else o(c,l,r)||(c!==a&&c.push(l),a.push(s))}return a}var Rl=Gn((function(t){return Ml(ce(t,1,ca,!0))})),Wl=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ml(ce(t,1,ca,!0),Uu(n))})),Bl=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ml(ce(t,1,ca,!0),void 0,n)})),Pl=0,zl=Math.max;function Cl(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=zl(t.length,n),!0})),rr(n,(function(n){return x(t,Tu(n))}))}function Ll(t,n){if(!t||!t.length)return[];var r=Cl(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Tl(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Dl=Ao((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Ul=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Nl=se((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,o=function(n){return oe(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&ln(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:yl,args:[o],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fl(t,n,r){var e=t.length;if(e<2)return e?Ml(t[0]):[];for(var o=-1,i=Array(e);++o<e;)for(var u=t[o],a=-1;++a<e;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,r));return Ml(ce(i,1),n,r)}var ql=Gn((function(t){return Fl(Fo(t,ca))})),$l=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fl(Fo(t,ca),Uu(n))})),Kl=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fl(Fo(t,ca),void 0,n)})),Vl=Gn(Cl);function Zl(t,n,r){for(var e=-1,o=t.length,i=n.length,u={};++e<o;){var a=e<i?n[e]:void 0;r(u,t[e],a)}return u}var Gl,Hl,Jl=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Ll(t,r)})),Yl={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Bo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(Wo(e/n));o<e;)u[i++]=Ee(t,o,o+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,o=[];++n<r;){var i=t[n];i&&(o[e++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return ie(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=o),function(t,n,r,e){var o=t.length;for((r=K(r))<0&&(r=-r>o?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var o=t[n];e[o[0]]=o[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ac(e+o,0)),Jt(t,n,o)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Sc,intersectionBy:Mc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e;return void 0!==r&&(o=(o=K(r))<0?ef(e+o,0):of(o,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,o):Gt(t,Ht,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:ds,pullAll:hs,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?vs(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?vs(t,n,void 0,r):t},pullAt:_s,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,o=[],i=t.length;for(n=Uu(n);++e<i;){var u=t[e];n(u,e,t)&&(r.push(u),o.push(e))}return gs(t,o),r},reverse:Ps,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Js(t,n)},sortedIndexBy:function(t,n,r){return Hs(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Js(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Js(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hs(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Js(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Ys(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Ys(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rl,unionBy:Wl,unionWith:Bl,uniq:function(t){return t&&t.length?Ml(t):[]},uniqBy:function(t,n){return t&&t.length?Ml(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ml(t,void 0,n):[]},unzip:Cl,unzipWith:Ll,without:Ul,xor:ql,xorBy:$l,xorWith:Kl,zip:Vl,zipObject:function(t,n){return Zl(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zl(t||[],n||[],Ef)},zipWith:Jl},Ql={countBy:Yu,each:Ia,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(oc(t,n),1)},flatMapDeep:function(t,n){return ce(oc(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(oc(t,n),r)},forEach:Ia,forEachRight:Ba,groupBy:lc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var o=t.length;return r<0&&(r=Oc(o+r,0)),jc(t)?r<=o&&t.indexOf(n,r)>-1:!!o&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fs,reduce:function(t,n,r){var e=O(t)?Ve:Rs,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?Ws:Rs,o=arguments.length<3;return e(t,Uu(n),r,o,Wa)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Cs:Ls)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Ds:Us)(t,n)},shuffle:function(t){return(O(t)?Ns:Fs)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?ts(t):t.length;var n=li(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Hi:$s;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Ks},Xl=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:zf,partial:as,partialRight:cs,rearg:Ms,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Qs(K(n),0),Gn((function(r){var e=r[n],o=ke(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return z(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return as(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,kr(n))},eq:Fn,gt:hc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=li(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,ku(t,n,Su(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:z,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==li(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:sf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:sa,toSafeInteger:function(t){return t?Po(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Mo,divide:Aa,floor:ic,max:function(t){return t&&t.length?lf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?lf(t,Uu(n),pc):void 0},mean:function(t){return vf(t,V)},meanBy:function(t,n){return vf(t,Uu(n))},min:function(t){return t&&t.length?lf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?lf(t,Uu(n),cf):void 0},multiply:_f,round:zs,subtract:tl,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Sr,assignIn:Wr,assignInWith:Br,assignWith:Pr,at:le,create:function(t,n){var r=dt(t);return null==n?r:Co(r,n)},defaults:ua,defaultsDeep:ha,entries:za,entriesIn:Ca,extend:Wr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,ka(n),Rr)},forInRight:function(t,n){return null==t?t:Ma(t,ka(n),Rr)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Ra(t,ka(n))},functions:function(t){return null==t?[]:fc(t,kr(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:Pu,invert:Pc,invertBy:Tc,invoke:Nc,keys:kr,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:hf,mergeWith:va,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ss,pickBy:If,result:function(t,n,r){var e=-1,o=(n=Xr(n,t)).length;for(o||(o=1,t=void 0);++e<o;){var i=null==t?void 0:t[ne(n[e])];void 0===i&&(e=o,i=r),t=Y(i)?i.call(t):i}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:za,toPairsIn:Ca,transform:function(t,n,r){var e=O(t),o=e||pr(t)||mr(t);if(n=Uu(n),null==r){var i=t&&t.constructor;r=o?e?new i:[]:z(t)&&Y(i)?dt(pe(t)):{}}return(o?Zt:Ku)(t,(function(t,e,o){return n(r,t,e,o)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Tl(t,n,ka(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Tl(t,n,ka(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},op={at:Nl,chain:Ro,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:zt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:yl,args:[Ps],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(Ps)},tap:function(t,n){return n(t),t},thru:yl,toIterator:function(){return this},toJSON:ml,value:ml,valueOf:ml,wrapperChain:function(){return Ro(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=I(n);var e=t.length,o=r=void 0===r?e:Po(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rs(os(o),r)+t+rs(es(o),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e<n?t+rs(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?ts(t):0;return n&&e<n?rs(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),us(Qr(t).replace(is,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:qs,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=I(n))&&Se(t)?ke(Fe(t),0,r):t.split(n,r):[]},startCase:Xs,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Po(K(r),0,t.length),n=I(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=al.imports._.templateSettings||al;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Br({},n,e,el);var o,i,u=Br({},n.imports,e.imports,el),a=kr(u),c=wc(u,a),f=0,s=n.interpolate||vl,l="__p += '",p=RegExp((n.escape||vl).source+"|"+s.source+"|"+(s===ul?pl:vl).source+"|"+(n.evaluate||vl).source+"|$","g"),v=dl.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),l+=t.slice(f,c).replace(hl,il),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(i=!0,l+="';\n"+a+";\n__p += '"),e&&(l+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),l+="';\n";var h=dl.call(n,"variable")&&n.variable;if(h){if(ll.test(h))throw new Error("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";l=(i?l.replace(cl,""):l).replace(fl,"$1").replace(sl,"$1;"),l="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var d=je((function(){return Function(a,v+"return "+l).apply(void 0,c)}));if(d.source=l,me(d))throw d;return d},templateSettings:al,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return P(t);if(!t||!(n=I(n)))return t;var e=Fe(t),o=Fe(n);return ke(e,wl(e,o),jl(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,0,jl(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xl,"");if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,wl(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(z(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?I(n.omission):e}var i=(t=Qr(t)).length;if(Se(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-ts(e);if(a<1)return e;var c=u?ke(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Xc(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=RegExp(o.source,Qr(Ol.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,void 0===l?a:l)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&kl.test(t)?t.replace(El,Al):t},upperCase:Dl,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var o=t[e];if(_t(o[0],this,r))return _t(o[1],this,r)}}))},conforms:function(t){return function(t){var n=kr(t);return function(r){return Nu(r,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Ru(Zi(t,1))},matchesProperty:function(t,n){return Lu(t,Zi(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Cf,overSome:Lf,property:Du,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:Is,rangeRight:Ss,stubArray:qo,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gl,e=_l(t,gl);n=ka(n),t-=gl;for(var o=rr(e,n);++r<t;)n(r);return o},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Yr(Qr(t)))},uniqueId:function(t){var n=++Pl;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,sp=4294967295,lp=Array.prototype,pp=Object.prototype.hasOwnProperty,vp=c?c.iterator:void 0,hp=Math.max,dp=Math.min,yp=(Hl=gf,function(t,n,r){if(null==r){var e=z(n),o=e&&kr(n),i=o&&o.length&&fc(n,o);(i?i.length:e)||(r=n,n=t,t=this)}return Hl(t,n,r)});zt.after=tp.after,zt.ary=tp.ary,zt.assign=ep.assign,zt.assignIn=ep.assignIn,zt.assignInWith=ep.assignInWith,zt.assignWith=ep.assignWith,zt.at=ep.at,zt.before=tp.before,zt.bind=tp.bind,zt.bindAll=up.bindAll,zt.bindKey=tp.bindKey,zt.castArray=np.castArray,zt.chain=op.chain,zt.chunk=Yl.chunk,zt.compact=Yl.compact,zt.concat=Yl.concat,zt.cond=up.cond,zt.conforms=up.conforms,zt.constant=up.constant,zt.countBy=Ql.countBy,zt.create=ep.create,zt.curry=tp.curry,zt.curryRight=tp.curryRight,zt.debounce=tp.debounce,zt.defaults=ep.defaults,zt.defaultsDeep=ep.defaultsDeep,zt.defer=tp.defer,zt.delay=tp.delay,zt.difference=Yl.difference,zt.differenceBy=Yl.differenceBy,zt.differenceWith=Yl.differenceWith,zt.drop=Yl.drop,zt.dropRight=Yl.dropRight,zt.dropRightWhile=Yl.dropRightWhile,zt.dropWhile=Yl.dropWhile,zt.fill=Yl.fill,zt.filter=Ql.filter,zt.flatMap=Ql.flatMap,zt.flatMapDeep=Ql.flatMapDeep,zt.flatMapDepth=Ql.flatMapDepth,zt.flatten=Yl.flatten,zt.flattenDeep=Yl.flattenDeep,zt.flattenDepth=Yl.flattenDepth,zt.flip=tp.flip,zt.flow=up.flow,zt.flowRight=up.flowRight,zt.fromPairs=Yl.fromPairs,zt.functions=ep.functions,zt.functionsIn=ep.functionsIn,zt.groupBy=Ql.groupBy,zt.initial=Yl.initial,zt.intersection=Yl.intersection,zt.intersectionBy=Yl.intersectionBy,zt.intersectionWith=Yl.intersectionWith,zt.invert=ep.invert,zt.invertBy=ep.invertBy,zt.invokeMap=Ql.invokeMap,zt.iteratee=up.iteratee,zt.keyBy=Ql.keyBy,zt.keys=kr,zt.keysIn=ep.keysIn,zt.map=Ql.map,zt.mapKeys=ep.mapKeys,zt.mapValues=ep.mapValues,zt.matches=up.matches,zt.matchesProperty=up.matchesProperty,zt.memoize=tp.memoize,zt.merge=ep.merge,zt.mergeWith=ep.mergeWith,zt.method=up.method,zt.methodOf=up.methodOf,zt.mixin=yp,zt.negate=bf,zt.nthArg=up.nthArg,zt.omit=ep.omit,zt.omitBy=ep.omitBy,zt.once=tp.once,zt.orderBy=Ql.orderBy,zt.over=up.over,zt.overArgs=tp.overArgs,zt.overEvery=up.overEvery,zt.overSome=up.overSome,zt.partial=tp.partial,zt.partialRight=tp.partialRight,zt.partition=Ql.partition,zt.pick=ep.pick,zt.pickBy=ep.pickBy,zt.property=up.property,zt.propertyOf=up.propertyOf,zt.pull=Yl.pull,zt.pullAll=Yl.pullAll,zt.pullAllBy=Yl.pullAllBy,zt.pullAllWith=Yl.pullAllWith,zt.pullAt=Yl.pullAt,zt.range=up.range,zt.rangeRight=up.rangeRight,zt.rearg=tp.rearg,zt.reject=Ql.reject,zt.remove=Yl.remove,zt.rest=tp.rest,zt.reverse=Yl.reverse,zt.sampleSize=Ql.sampleSize,zt.set=ep.set,zt.setWith=ep.setWith,zt.shuffle=Ql.shuffle,zt.slice=Yl.slice,zt.sortBy=Ql.sortBy,zt.sortedUniq=Yl.sortedUniq,zt.sortedUniqBy=Yl.sortedUniqBy,zt.split=ip.split,zt.spread=tp.spread,zt.tail=Yl.tail,zt.take=Yl.take,zt.takeRight=Yl.takeRight,zt.takeRightWhile=Yl.takeRightWhile,zt.takeWhile=Yl.takeWhile,zt.tap=op.tap,zt.throttle=tp.throttle,zt.thru=yl,zt.toArray=np.toArray,zt.toPairs=ep.toPairs,zt.toPairsIn=ep.toPairsIn,zt.toPath=up.toPath,zt.toPlainObject=np.toPlainObject,zt.transform=ep.transform,zt.unary=tp.unary,zt.union=Yl.union,zt.unionBy=Yl.unionBy,zt.unionWith=Yl.unionWith,zt.uniq=Yl.uniq,zt.uniqBy=Yl.uniqBy,zt.uniqWith=Yl.uniqWith,zt.unset=ep.unset,zt.unzip=Yl.unzip,zt.unzipWith=Yl.unzipWith,zt.update=ep.update,zt.updateWith=ep.updateWith,zt.values=ep.values,zt.valuesIn=ep.valuesIn,zt.without=Yl.without,zt.words=ip.words,zt.wrap=tp.wrap,zt.xor=Yl.xor,zt.xorBy=Yl.xorBy,zt.xorWith=Yl.xorWith,zt.zip=Yl.zip,zt.zipObject=Yl.zipObject,zt.zipObjectDeep=Yl.zipObjectDeep,zt.zipWith=Yl.zipWith,zt.entries=ep.toPairs,zt.entriesIn=ep.toPairsIn,zt.extend=ep.assignIn,zt.extendWith=ep.assignInWith,yp(zt,zt),zt.add=rp.add,zt.attempt=up.attempt,zt.camelCase=ip.camelCase,zt.capitalize=ip.capitalize,zt.ceil=rp.ceil,zt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Po(N(t),n,r)},zt.clone=np.clone,zt.cloneDeep=np.cloneDeep,zt.cloneDeepWith=np.cloneDeepWith,zt.cloneWith=np.cloneWith,zt.conformsTo=np.conformsTo,zt.deburr=ip.deburr,zt.defaultTo=up.defaultTo,zt.divide=rp.divide,zt.endsWith=ip.endsWith,zt.eq=np.eq,zt.escape=ip.escape,zt.escapeRegExp=ip.escapeRegExp,zt.every=Ql.every,zt.find=Ql.find,zt.findIndex=Yl.findIndex,zt.findKey=ep.findKey,zt.findLast=Ql.findLast,zt.findLastIndex=Yl.findLastIndex,zt.findLastKey=ep.findLastKey,zt.floor=rp.floor,zt.forEach=Ql.forEach,zt.forEachRight=Ql.forEachRight,zt.forIn=ep.forIn,zt.forInRight=ep.forInRight,zt.forOwn=ep.forOwn,zt.forOwnRight=ep.forOwnRight,zt.get=ep.get,zt.gt=np.gt,zt.gte=np.gte,zt.has=ep.has,zt.hasIn=ep.hasIn,zt.head=Yl.head,zt.identity=V,zt.includes=Ql.includes,zt.indexOf=Yl.indexOf,zt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},zt.invoke=ep.invoke,zt.isArguments=np.isArguments,zt.isArray=O,zt.isArrayBuffer=np.isArrayBuffer,zt.isArrayLike=np.isArrayLike,zt.isArrayLikeObject=np.isArrayLikeObject,zt.isBoolean=np.isBoolean,zt.isBuffer=np.isBuffer,zt.isDate=np.isDate,zt.isElement=np.isElement,zt.isEmpty=np.isEmpty,zt.isEqual=np.isEqual,zt.isEqualWith=np.isEqualWith,zt.isError=np.isError,zt.isFinite=np.isFinite,zt.isFunction=np.isFunction,zt.isInteger=np.isInteger,zt.isLength=np.isLength,zt.isMap=np.isMap,zt.isMatch=np.isMatch,zt.isMatchWith=np.isMatchWith,zt.isNaN=np.isNaN,zt.isNative=np.isNative,zt.isNil=np.isNil,zt.isNull=np.isNull,zt.isNumber=np.isNumber,zt.isObject=z,zt.isObjectLike=np.isObjectLike,zt.isPlainObject=np.isPlainObject,zt.isRegExp=np.isRegExp,zt.isSafeInteger=np.isSafeInteger,zt.isSet=np.isSet,zt.isString=np.isString,zt.isSymbol=np.isSymbol,zt.isTypedArray=np.isTypedArray,zt.isUndefined=np.isUndefined,zt.isWeakMap=np.isWeakMap,zt.isWeakSet=np.isWeakSet,zt.join=Yl.join,zt.kebabCase=ip.kebabCase,zt.last=wa,zt.lastIndexOf=Yl.lastIndexOf,zt.lowerCase=ip.lowerCase,zt.lowerFirst=ip.lowerFirst,zt.lt=np.lt,zt.lte=np.lte,zt.max=rp.max,zt.maxBy=rp.maxBy,zt.mean=rp.mean,zt.meanBy=rp.meanBy,zt.min=rp.min,zt.minBy=rp.minBy,zt.stubArray=up.stubArray,zt.stubFalse=up.stubFalse,zt.stubObject=up.stubObject,zt.stubString=up.stubString,zt.stubTrue=up.stubTrue,zt.multiply=rp.multiply,zt.nth=Yl.nth,zt.noop=up.noop,zt.now=Xl,zt.pad=ip.pad,zt.padEnd=ip.padEnd,zt.padStart=ip.padStart,zt.parseInt=ip.parseInt,zt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Os();return xs(t+o*(n-t+ws("1e-"+((o+"").length-1))),n)}return js(t,n)},zt.reduce=Ql.reduce,zt.reduceRight=Ql.reduceRight,zt.repeat=ip.repeat,zt.replace=ip.replace,zt.result=ep.result,zt.round=rp.round,zt.sample=Ql.sample,zt.size=Ql.size,zt.snakeCase=ip.snakeCase,zt.some=Ql.some,zt.sortedIndex=Yl.sortedIndex,zt.sortedIndexBy=Yl.sortedIndexBy,zt.sortedIndexOf=Yl.sortedIndexOf,zt.sortedLastIndex=Yl.sortedLastIndex,zt.sortedLastIndexBy=Yl.sortedLastIndexBy,zt.sortedLastIndexOf=Yl.sortedLastIndexOf,zt.startCase=ip.startCase,zt.startsWith=ip.startsWith,zt.subtract=rp.subtract,zt.sum=rp.sum,zt.sumBy=rp.sumBy,zt.template=ip.template,zt.times=up.times,zt.toFinite=np.toFinite,zt.toInteger=K,zt.toLength=np.toLength,zt.toLower=ip.toLower,zt.toNumber=np.toNumber,zt.toSafeInteger=np.toSafeInteger,zt.toString=np.toString,zt.toUpper=ip.toUpper,zt.trim=ip.trim,zt.trimEnd=ip.trimEnd,zt.trimStart=ip.trimStart,zt.truncate=ip.truncate,zt.unescape=ip.unescape,zt.uniqueId=up.uniqueId,zt.upperCase=ip.upperCase,zt.upperFirst=ip.upperFirst,zt.each=Ql.forEach,zt.eachRight=Ql.forEachRight,zt.first=Yl.head,yp(zt,(Gl={},Ku(zt,(function(t,n){pp.call(zt.prototype,n)||(Gl[n]=t)})),Gl),{chain:!1}),zt.VERSION="4.17.21",(zt.templateSettings=ip.templateSettings).imports._=zt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){zt[t].placeholder=zt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:hp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,sp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(sp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=zt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(zt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),s=function(t){var n=o.apply(zt,ie([t],u));return e&&l?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var l=this.__chain__,p=!!this.__actions__.length,v=i&&!l,h=a&&!p;if(!i&&f){n=h?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:yl,args:[s],thisArg:void 0}),new Rt(d,l)}return v&&h?t.apply(this,u):(d=this.thru(s),v?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=lp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);zt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=zt[n];if(r){var e=r.name+"";pp.call(It,e)||(It[e]=[]),It[e].push({name:n,func:r})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e<o;){var i=r[e],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=e?a:u-1,s=this.__iteratees__,l=s.length,p=0,v=fp(c,this.__takeCount__);if(!r||!e&&o==c&&v==c)return bl(t,this.__actions__);var h=[];t:for(;c--&&p<v;){for(var d=-1,y=t[f+=n];++d<l;){var g=s[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}h[p++]=y}return h},zt.prototype.at=op.at,zt.prototype.chain=op.wrapperChain,zt.prototype.commit=op.commit,zt.prototype.next=op.next,zt.prototype.plant=op.plant,zt.prototype.reverse=op.reverse,zt.prototype.toJSON=zt.prototype.valueOf=zt.prototype.value=op.value,zt.prototype.first=zt.prototype.head,vp&&(zt.prototype[vp]=op.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)n.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const s=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),l=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,s),style:l}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Sp(t)),o=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file diff --git a/assets/js/9e9c0b32.47b248a8.js b/assets/js/9e9c0b32.e98ba881.js similarity index 97% rename from assets/js/9e9c0b32.47b248a8.js rename to assets/js/9e9c0b32.e98ba881.js index ebec100df..7efa73365 100644 --- a/assets/js/9e9c0b32.47b248a8.js +++ b/assets/js/9e9c0b32.e98ba881.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7167],{3162:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var i=e(5735),s=e(7355);const o={},r="isFunction",c={id:"utils/validator/isFuntion",title:"isFunction",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 \ud568\uc218\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 Function\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isFuntion.md",sourceDirName:"utils/validator",slug:"/utils/validator/isFuntion",permalink:"/modern-kit/docs/utils/validator/isFuntion",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty"},next:{title:"isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish"}},a={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(n){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...n.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"isfunction",children:"isFunction"}),"\n",(0,i.jsxs)(t.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(t.code,{children:"\ud568\uc218"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 ",(0,i.jsx)(t.code,{children:"Function"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isFunction: (arg: unknown) => arg is Function\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { isFunction } from '@modern-kit/utils';\n\nfunction example() {}\n\nisFunction(() => {}); // true\nisFunction(example); // true\n\nisFunction('123'); // false\nisFunction(123); // false\nisFunction({}); // false\nisFunction([]); // false\n"})})]})}function d(n={}){const{wrapper:t}={...(0,s.a)(),...n.components};return t?(0,i.jsx)(t,{...n,children:(0,i.jsx)(u,{...n})}):u(n)}},7355:(n,t,e)=>{e.d(t,{Z:()=>c,a:()=>r});var i=e(4614);const s={},o=i.createContext(s);function r(n){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof n?n(t):{...t,...n}}),[t,n])}function c(n){let t;return t=n.disableParentContext?"function"==typeof n.components?n.components(s):n.components||s:r(n.components),i.createElement(o.Provider,{value:t},n.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7167],{2422:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var i=e(5735),s=e(7355);const o={},r="isFunction",c={id:"utils/validator/isFuntion",title:"isFunction",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 \ud568\uc218\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 Function\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isFuntion.md",sourceDirName:"utils/validator",slug:"/utils/validator/isFuntion",permalink:"/modern-kit/docs/utils/validator/isFuntion",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"hasProperty",permalink:"/modern-kit/docs/utils/validator/hasProperty"},next:{title:"isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish"}},a={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(n){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...n.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"isfunction",children:"isFunction"}),"\n",(0,i.jsxs)(t.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(t.code,{children:"\ud568\uc218"}),"\uc778\uc9c0 \uac80\uc0ac\ud558\uace0, \ub9de\ub2e4\uba74 \uc778\uc790\uc758 \ud0c0\uc785\uc744 ",(0,i.jsx)(t.code,{children:"Function"}),"\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isFunction: (arg: unknown) => arg is Function\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { isFunction } from '@modern-kit/utils';\n\nfunction example() {}\n\nisFunction(() => {}); // true\nisFunction(example); // true\n\nisFunction('123'); // false\nisFunction(123); // false\nisFunction({}); // false\nisFunction([]); // false\n"})})]})}function d(n={}){const{wrapper:t}={...(0,s.a)(),...n.components};return t?(0,i.jsx)(t,{...n,children:(0,i.jsx)(u,{...n})}):u(n)}},7355:(n,t,e)=>{e.d(t,{Z:()=>c,a:()=>r});var i=e(4614);const s={},o=i.createContext(s);function r(n){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof n?n(t):{...t,...n}}),[t,n])}function c(n){let t;return t=n.disableParentContext?"function"==typeof n.components?n.components(s):n.components||s:r(n.components),i.createElement(o.Provider,{value:t},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/9ea35591.add0bc54.js b/assets/js/9ea35591.342d471a.js similarity index 97% rename from assets/js/9ea35591.add0bc54.js rename to assets/js/9ea35591.342d471a.js index f991d9b38..1119fba7d 100644 --- a/assets/js/9ea35591.add0bc54.js +++ b/assets/js/9ea35591.342d471a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5539],{7734:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>d,frontMatter:()=>l,metadata:()=>r,toc:()=>a});var i=s(5735),n=s(7355);const l={},o="isNotNullish",r={id:"utils/validator/isNotNullish",title:"isNotNullish",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 null \ub610\ub294 undefined\uac00 \uc544\ub2cc\uc9c0 \uac80\uc0ac\ud558\uace0, \uc544\ub2c8\ub77c\uba74 \uc8fc\uc5b4\uc9c4 \uc778\uc790 \ud0c0\uc785 \uadf8\ub300\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNotNullish.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isFunction",permalink:"/modern-kit/docs/utils/validator/isFuntion"},next:{title:"isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish"}},u={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function c(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,n.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"isnotnullish",children:"isNotNullish"}),"\n",(0,i.jsxs)(t.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(t.code,{children:"null"})," \ub610\ub294 ",(0,i.jsx)(t.code,{children:"undefined"}),"\uac00 \uc544\ub2cc\uc9c0 \uac80\uc0ac\ud558\uace0, \uc544\ub2c8\ub77c\uba74 \uc8fc\uc5b4\uc9c4 \uc778\uc790 \ud0c0\uc785 \uadf8\ub300\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNotNullish: <T>(val: T | null | undefined) => val is T\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { isNotNullish } from '@modern-kit/utils';\n\nisNotNullish(1); // true\nisNotNullish(false); // true\nisNotNullish(\"str\"); // true\nisNotNullish({}); // true\n\nisNotNullish(undefined); // false\nisNotNullish(null); // false\n"})})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},7355:(e,t,s)=>{s.d(t,{Z:()=>r,a:()=>o});var i=s(4614);const n={},l=i.createContext(n);function o(e){const t=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),i.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5539],{4576:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>d,frontMatter:()=>l,metadata:()=>r,toc:()=>a});var i=s(5735),n=s(7355);const l={},o="isNotNullish",r={id:"utils/validator/isNotNullish",title:"isNotNullish",description:"\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 null \ub610\ub294 undefined\uac00 \uc544\ub2cc\uc9c0 \uac80\uc0ac\ud558\uace0, \uc544\ub2c8\ub77c\uba74 \uc8fc\uc5b4\uc9c4 \uc778\uc790 \ud0c0\uc785 \uadf8\ub300\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/validator/isNotNullish.md",sourceDirName:"utils/validator",slug:"/utils/validator/isNotNullish",permalink:"/modern-kit/docs/utils/validator/isNotNullish",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isFunction",permalink:"/modern-kit/docs/utils/validator/isFuntion"},next:{title:"isNullish",permalink:"/modern-kit/docs/utils/validator/isNullish"}},u={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function c(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,n.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"isnotnullish",children:"isNotNullish"}),"\n",(0,i.jsxs)(t.p,{children:["\uc8fc\uc5b4\uc9c4 \uc778\uc790\uac00 ",(0,i.jsx)(t.code,{children:"null"})," \ub610\ub294 ",(0,i.jsx)(t.code,{children:"undefined"}),"\uac00 \uc544\ub2cc\uc9c0 \uac80\uc0ac\ud558\uace0, \uc544\ub2c8\ub77c\uba74 \uc8fc\uc5b4\uc9c4 \uc778\uc790 \ud0c0\uc785 \uadf8\ub300\ub85c \uc881\ud600\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",metastring:'title="typescript"',children:"const isNotNullish: <T>(val: T | null | undefined) => val is T\n"})}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"import { isNotNullish } from '@modern-kit/utils';\n\nisNotNullish(1); // true\nisNotNullish(false); // true\nisNotNullish(\"str\"); // true\nisNotNullish({}); // true\n\nisNotNullish(undefined); // false\nisNotNullish(null); // false\n"})})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},7355:(e,t,s)=>{s.d(t,{Z:()=>r,a:()=>o});var i=s(4614);const n={},l=i.createContext(n);function o(e){const t=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),i.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.f0380fb0.js b/assets/js/a7bd4aaa.6d161f41.js similarity index 81% rename from assets/js/a7bd4aaa.f0380fb0.js rename to assets/js/a7bd4aaa.6d161f41.js index d0e578272..ed9290f37 100644 --- a/assets/js/a7bd4aaa.f0380fb0.js +++ b/assets/js/a7bd4aaa.6d161f41.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8518],{8230:(n,s,e)=>{e.r(s),e.d(s,{default:()=>l});e(4614);var r=e(5839),o=e(5930),t=e(9947),c=e(9048),i=e(8516),u=e(5735);function a(n){const{version:s}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Z,{version:s.version,tag:(0,o.os)(s.pluginId,s.version)}),(0,u.jsx)(r.d,{children:s.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function d(n){const{version:s,route:e}=n;return(0,u.jsx)(r.FG,{className:s.className,children:(0,u.jsx)(t.q,{version:s,children:(0,c.H)(e.routes)})})}function l(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(d,{...n})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8518],{2513:(n,s,e)=>{e.r(s),e.d(s,{default:()=>l});e(4614);var r=e(9603),o=e(4798),t=e(4631),c=e(2251),i=e(5035),u=e(5735);function a(n){const{version:s}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Z,{version:s.version,tag:(0,o.os)(s.pluginId,s.version)}),(0,u.jsx)(r.d,{children:s.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function d(n){const{version:s,route:e}=n;return(0,u.jsx)(r.FG,{className:s.className,children:(0,u.jsx)(t.q,{version:s,children:(0,c.H)(e.routes)})})}function l(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(d,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.3faf2a80.js b/assets/js/a94703ab.3faf2a80.js deleted file mode 100644 index c710cbd19..000000000 --- a/assets/js/a94703ab.3faf2a80.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4368],{8438:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(4614),o=n(7475),i=n(5839),s=n(8349),l=n(2039),r=n(9550),c=n(5958),d=n(806),u=n(9008);const m={backToTopButton:"backToTopButton_Rlhp",backToTopButtonShow:"backToTopButtonShow_aTAr"};var b=n(5735);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.S)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(9557),x=n(3366),f=n(8514),j=n(4859),k=n(3622);function _(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v={collapseSidebarButton:"collapseSidebarButton_m0jk",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_R6G4"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",v.collapseSidebarButton),onClick:t,children:(0,b.jsx)(_,{className:v.collapseSidebarButtonIcon})})}var C=n(7357),S=n(7487);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var Z=n(5179),B=n(2213),y=n(9990),A=n(7992);function L(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),k=function(e){const t=(0,A.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),_=(0,l._F)(t,i),v=(0,B.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,Z.u)({initialState:()=>!!h&&(!_&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:_,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&f&&C(!0)}),[h,T,c,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(y.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":_}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":v?"page":void 0,"aria-expanded":h?!g:void 0,href:h?k??"#":k,...d,children:m}),x&&h&&(0,b.jsx)(L,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var E=n(717),H=n(2019);const R={menuExternalLink:"menuExternalLink_exdC"};function M(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(y.Z,{className:(0,o.Z)("menu__link",!x&&R.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_KRdm"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(M,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),U={menu:"menu__k6S",menuWithAnnouncementBar:"menuWithAnnouncementBar_XqdJ"};function z(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",U.menu,l&&U.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const q="sidebar_q99a",G="sidebarWithHideableNavbar_typZ",J="sidebarHidden_Jj7f",K="sidebarLogo_SinT";function Y(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(q,s&&G,i&&J),children:[s&&(0,b.jsx)(k.Z,{tabIndex:-1,className:K}),(0,b.jsx)(z,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const X=a.memo(Y);var O=n(7274),Q=n(2469);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,Q.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(O.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(X,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton_wUhn",expandButtonIcon:"expandButtonIcon_JDR9"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.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,c.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,children:(0,b.jsx)(_,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_xEx4",docSidebarContainerHidden:"docSidebarContainerHidden_r4ww",sidebarViewport:"sidebarViewport_pIE7"};function se(e){let{children:t}=e;const n=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,r&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const re={docMainContainer:"docMainContainer_UXq6",docMainContainerEnhanced:"docMainContainerEnhanced_MVkk",docItemWrapperEnhanced:"docItemWrapperEnhanced_GtWP"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,o.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_noKF",docsWrapper:"docsWrapper_pTvi"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ce,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(5112);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},5112:(e,t,n)=>{n.d(t,{Z:()=>l});n(4614);var a=n(7475),o=n(5958),i=n(1616),s=n(5735);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.71571068.js b/assets/js/a94703ab.71571068.js new file mode 100644 index 000000000..92cdcdce4 --- /dev/null +++ b/assets/js/a94703ab.71571068.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4368],{6211:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(4614),o=n(605),i=n(9603),s=n(1329),l=n(7746),r=n(7728),c=n(3583),d=n(9481),u=n(1853);const m={backToTopButton:"backToTopButton_b_x_",backToTopButtonShow:"backToTopButtonShow_vlYG"};var b=n(5735);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.S)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(6660),x=n(2381),f=n(3181),j=n(8057),_=n(3747);function k(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v={collapseSidebarButton:"collapseSidebarButton_WVpo",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_FWai"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",v.collapseSidebarButton),onClick:t,children:(0,b.jsx)(k,{className:v.collapseSidebarButtonIcon})})}var C=n(7288),S=n(183);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var Z=n(8134),B=n(6239),L=n(3497),y=n(7638);function A(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){const t=(0,y.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),k=(0,l._F)(t,i),v=(0,B.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,Z.u)({initialState:()=>!!h&&(!k&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:k,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&f&&C(!0)}),[h,T,c,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(L.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":v?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!g:void 0,href:h?_??"#":_,...d,children:m}),x&&h&&(0,b.jsx)(A,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var E=n(4010),H=n(4071);const M={menuExternalLink:"menuExternalLink_Rqiv"};function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(L.Z,{className:(0,o.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_tRnk"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),z={menu:"menu_dQRd",menuWithAnnouncementBar:"menuWithAnnouncementBar_L_NT"};function Y(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",z.menu,l&&z.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const U="sidebar_RtCh",G="sidebarWithHideableNavbar_ZDLN",Q="sidebarHidden_QS0J",q="sidebarLogo_kQ8M";function J(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(U,s&&G,i&&Q),children:[s&&(0,b.jsx)(_.Z,{tabIndex:-1,className:q}),(0,b.jsx)(Y,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const K=a.memo(J);var O=n(1168),X=n(1875);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,X.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(O.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(K,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton__lvM",expandButtonIcon:"expandButtonIcon_eZyW"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.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,c.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,children:(0,b.jsx)(k,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_iuFB",docSidebarContainerHidden:"docSidebarContainerHidden_P1vC",sidebarViewport:"sidebarViewport_GfZz"};function se(e){let{children:t}=e;const n=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,r&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const re={docMainContainer:"docMainContainer_Z4BZ",docMainContainerEnhanced:"docMainContainerEnhanced_aprl",docItemWrapperEnhanced:"docItemWrapperEnhanced_oubY"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,o.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_f4mf",docsWrapper:"docsWrapper_q2p5"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ce,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(2593);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},2593:(e,t,n)=>{n.d(t,{Z:()=>l});n(4614);var a=n(605),o=n(3583),i=n(9290),s=n(5735);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/abb91cfa.9586e7ad.js b/assets/js/abb91cfa.cdbe5e6f.js similarity index 98% rename from assets/js/abb91cfa.9586e7ad.js rename to assets/js/abb91cfa.cdbe5e6f.js index e31f4ab11..90ef7f9ef 100644 --- a/assets/js/abb91cfa.9586e7ad.js +++ b/assets/js/abb91cfa.cdbe5e6f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3980],{4432:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>s,metadata:()=>a,toc:()=>m});var t=r(5735),o=r(7355);const s={},i="formatPhoneNumber",a={id:"utils/string/formatPhoneNumber",title:"formatPhoneNumber",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \uc804\ud654 \ubc88\ud638 \ud3ec\ub9f7\uc73c\ub85c -(hyphen)\uc744 \ub123\uc5b4\uc11c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/formatPhoneNumber.md",sourceDirName:"utils/string",slug:"/utils/string/formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas"},next:{title:"removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters"}},c={},m=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"formatphonenumber",children:"formatPhoneNumber"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"\ubb38\uc790\uc5f4"}),"\uc744 \uc785\ub825\ud558\uba74 ",(0,t.jsx)(n.code,{children:"\uc804\ud654 \ubc88\ud638 \ud3ec\ub9f7"}),"\uc73c\ub85c ",(0,t.jsx)(n.code,{children:"-(hyphen)"}),"\uc744 \ub123\uc5b4\uc11c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const formatPhoneNumber: (value: string) => string\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { formatPhoneNumber } from '@modern-kit/utils';\n\nconst phoneNumber0 = formatPhoneNumber('03112345678'); // '031-1234-5678'\nconst phoneNumber1 = formatPhoneNumber('01012345678'); // '010-1234-5678'\nconst phoneNumber2 = formatPhoneNumber('021231234'); // '02-123-1234'\nconst phoneNumber2 = formatPhoneNumber('(02)12351234'); // '02-1235-1234'\nconst phoneNumber3 = formatPhoneNumber('12334788'); // '1233-4788'\n"})}),"\n",(0,t.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84",children:"\ub300\ud55c\ubbfc\uad6d\uc758 \uc804\ud654\ubc88\ud638 \uccb4\uacc4"})})]})}function h(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>i});var t=r(4614);const o={},s=t.createContext(o);function i(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3980],{6297:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>s,metadata:()=>a,toc:()=>m});var t=r(5735),o=r(7355);const s={},i="formatPhoneNumber",a={id:"utils/string/formatPhoneNumber",title:"formatPhoneNumber",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \uc804\ud654 \ubc88\ud638 \ud3ec\ub9f7\uc73c\ub85c -(hyphen)\uc744 \ub123\uc5b4\uc11c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/formatPhoneNumber.md",sourceDirName:"utils/string",slug:"/utils/string/formatPhoneNumber",permalink:"/modern-kit/docs/utils/string/formatPhoneNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas"},next:{title:"removeSpecialCharacters",permalink:"/modern-kit/docs/utils/string/removeSpecialCharacters"}},c={},m=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"formatphonenumber",children:"formatPhoneNumber"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"\ubb38\uc790\uc5f4"}),"\uc744 \uc785\ub825\ud558\uba74 ",(0,t.jsx)(n.code,{children:"\uc804\ud654 \ubc88\ud638 \ud3ec\ub9f7"}),"\uc73c\ub85c ",(0,t.jsx)(n.code,{children:"-(hyphen)"}),"\uc744 \ub123\uc5b4\uc11c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const formatPhoneNumber: (value: string) => string\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { formatPhoneNumber } from '@modern-kit/utils';\n\nconst phoneNumber0 = formatPhoneNumber('03112345678'); // '031-1234-5678'\nconst phoneNumber1 = formatPhoneNumber('01012345678'); // '010-1234-5678'\nconst phoneNumber2 = formatPhoneNumber('021231234'); // '02-123-1234'\nconst phoneNumber2 = formatPhoneNumber('(02)12351234'); // '02-1235-1234'\nconst phoneNumber3 = formatPhoneNumber('12334788'); // '1233-4788'\n"})}),"\n",(0,t.jsx)(n.h2,{id:"note",children:"Note"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84",children:"\ub300\ud55c\ubbfc\uad6d\uc758 \uc804\ud654\ubc88\ud638 \uccb4\uacc4"})})]})}function h(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>a,a:()=>i});var t=r(4614);const o={},s=t.createContext(o);function i(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ad000c78.f9915459.js b/assets/js/ad000c78.16ee366b.js similarity index 97% rename from assets/js/ad000c78.f9915459.js rename to assets/js/ad000c78.16ee366b.js index c7ccea186..bf275f0a3 100644 --- a/assets/js/ad000c78.f9915459.js +++ b/assets/js/ad000c78.16ee366b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9128],{2658:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var i=t(5735),s=t(7355);const r={},c="isClient",o={id:"utils/device/isClient",title:"isClient",description:"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 \ud074\ub77c\uc774\uc5b8\ud2b8(\ube0c\ub77c\uc6b0\uc800)\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isClient.md",sourceDirName:"utils/device",slug:"/utils/device/isClient",permalink:"/modern-kit/docs/utils/device/isClient",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getOS",permalink:"/modern-kit/docs/utils/device/getOS"},next:{title:"isMobile",permalink:"/modern-kit/docs/utils/device/isMobile"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"isclient",children:"isClient"}),"\n",(0,i.jsxs)(n.p,{children:["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 ",(0,i.jsx)(n.code,{children:"\ud074\ub77c\uc774\uc5b8\ud2b8(\ube0c\ub77c\uc6b0\uc800)"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"true"}),"\ub97c \ubc18\ud658 \ud560 \uacbd\uc6b0 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const isClient: () => boolean\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { isClient } from '@modern-kit/utils';\n\nif (isClient()) {\n /* \ube0c\ub77c\uc6b0\uc800 \ud658\uacbd\uc774 \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>c});var i=t(4614);const s={},r=i.createContext(s);function c(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9128],{7961:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var i=t(5735),s=t(7355);const r={},c="isClient",o={id:"utils/device/isClient",title:"isClient",description:"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 \ud074\ub77c\uc774\uc5b8\ud2b8(\ube0c\ub77c\uc6b0\uc800)\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isClient.md",sourceDirName:"utils/device",slug:"/utils/device/isClient",permalink:"/modern-kit/docs/utils/device/isClient",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getOS",permalink:"/modern-kit/docs/utils/device/getOS"},next:{title:"isMobile",permalink:"/modern-kit/docs/utils/device/isMobile"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"isclient",children:"isClient"}),"\n",(0,i.jsxs)(n.p,{children:["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 ",(0,i.jsx)(n.code,{children:"\ud074\ub77c\uc774\uc5b8\ud2b8(\ube0c\ub77c\uc6b0\uc800)"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"true"}),"\ub97c \ubc18\ud658 \ud560 \uacbd\uc6b0 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const isClient: () => boolean\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { isClient } from '@modern-kit/utils';\n\nif (isClient()) {\n /* \ube0c\ub77c\uc6b0\uc800 \ud658\uacbd\uc774 \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>c});var i=t(4614);const s={},r=i.createContext(s);function c(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/28b092ea.6cbbd1ca.js b/assets/js/af3a3cdc.5f6de8ed.js similarity index 62% rename from assets/js/28b092ea.6cbbd1ca.js rename to assets/js/af3a3cdc.5f6de8ed.js index d2e9c40f4..96d84be48 100644 --- a/assets/js/28b092ea.6cbbd1ca.js +++ b/assets/js/af3a3cdc.5f6de8ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8374],{3769:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9263],{3769:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/b35b1276.3d87df6e.js b/assets/js/b35b1276.d8222f5a.js similarity index 99% rename from assets/js/b35b1276.3d87df6e.js rename to assets/js/b35b1276.d8222f5a.js index 57f208574..9d8605df9 100644 --- a/assets/js/b35b1276.3d87df6e.js +++ b/assets/js/b35b1276.d8222f5a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1813],{6754:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>p,assets:()=>l,contentTitle:()=>c,default:()=>v,frontMatter:()=>a,metadata:()=>f,toc:()=>s});var e=r(5735),o=r(7355),i=r(4614),u=r(5474);const a={},c="When",f={id:"react/components/When",title:"When",description:"condition prop\uc774 true\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud558\uace0, false\uba74 \ub80c\ub354\ub9c1\ud558\uc9c0 \uc54a\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/When.mdx",sourceDirName:"react/components",slug:"/react/components/When",permalink:"/modern-kit/docs/react/components/When",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Portal",permalink:"/modern-kit/docs/react/components/Portal"},next:{title:"useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback"}},l={},s=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}],p=()=>{const t={button:"button",h1:"h1",...(0,o.a)()},[n,r]=(0,i.useState)(!1);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.button,{onClick:()=>r(!n),children:"Toggle Button"}),(0,e.jsx)(u.nA,{condition:n,children:(0,e.jsx)(t.h1,{children:"Render"})})]})};function h(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"when",children:"When"}),"\n",(0,e.jsxs)(n.p,{children:["condition prop\uc774 ",(0,e.jsx)(n.code,{children:"true"}),"\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud558\uace0, ",(0,e.jsx)(n.code,{children:"false"}),"\uba74 \ub80c\ub354\ub9c1\ud558\uc9c0 \uc54a\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:["condition prop\uc73c\ub85c ",(0,e.jsx)(n.code,{children:"boolean\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218"}),"\ub3c4 \ud5c8\uc6a9\ub429\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"type Condition = boolean | ((...args: any[]) => boolean);\n\ninterface WhenProps {\n condition: Condition;\n}\n\nconst When: ({ children, condition }: PropsWithChildren<WhenProps>) => JSX.Element | null\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { When } from '@modern-kit/react';\nconst Example = () => {\n const [state, setState] = useState(false);\n\n return (\n <>\n <button onClick={() => setState(!state)}>Toggle Button</button>\n\n <When condition={state}>\n <h1>Render</h1>\n </When>\n </>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(p,{})]})}function v(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(h,{...t})}):h(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Mp,ac:()=>Wp,df:()=>xp,iP:()=>Bp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Rp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=s.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var o;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(o=r),void 0!==e){if(void 0===o)return e;"string"==typeof r||"string"==typeof e?(r=I(r),e=I(e)):(r=w(r),e=w(e)),o=t(r,e)}return o}}var W=S((function(t,n){return t+n}),0),M=/\s/;function R(t){for(var n=t.length;n--&&M.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,R(t)+1).replace(B,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var C=NaN,L=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,D=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return C;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=T.test(t);return r||D.test(t)?U(t.slice(2),r?2:8):L.test(t)?C:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",J="[object GeneratorFunction]",H="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==J||n==Z||n==H}var X,Q=a["__core-js_shared__"],tt=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var o=-1,i=t.length,u=r.length,a=-1,c=n.length,f=bt(i-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++o<u;)(s||o<i)&&(l[r[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}var jt=Math.max;function wt(t,n,r,e){for(var o=-1,i=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(i-a,0),s=Array(l+f),p=!e;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||o<i)&&(s[h+r[u]]=t[o++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Wt(t){for(var n=t.name+"",r=It[n],e=St.call(It,n)?r.length:0;e--;){var o=r[e],i=o.func;if(null==i||i==t)return o.name}return n}function Mt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Rt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Mt(t.__wrapped__,t.__chain__);return n.__actions__=Rt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Mt.prototype=dt(xt.prototype),Mt.prototype.constructor=Mt;var zt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Mt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Mt(t)}function Ct(t){var n=Wt(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=kt(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Lt=Date.now;function Tt(t){var n=0,r=0;return function(){var e=Lt(),o=16-(e-r);if(r=e,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var o=t.length,i=r+(e?1:-1);e?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Jt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Jt,r)}function Yt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Xt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Qt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Xt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,o,l?i:void 0,l?u:void 0,l?void 0:i,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Ct(t)&&Dt(p,s),p.placeholder=e,Qt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,i[o++]=r)}return i}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,o,i,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,o,v)),i&&(b=wt(b,i,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),o=Rt(t);e--;){var i=n[e];t[e]=sn(i,r)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Wn=Math.min,Mn="Expected a function",Rn=1,Bn=2,zn=8,Pn=16,Cn=32,Ln=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Mn);var l=e?e.length:0;if(l||(n&=~(Cn|Ln),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),l-=o?o.length:0,n&Ln){var s=e,p=o;e=o=void 0}var h=f?void 0:kt(t),v=[t,n,r,e,o,s,p,i,u,c];if(h&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|In),u=e==In&&r==kn||e==In&&r==Sn&&t[7].length<=n[8]||e==(In|Sn)&&n[7].length<=n[8]&&r==kn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&In&&(t[8]=null==t[8]?n[8]:Wn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],o=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Tn(v[9]-l,0))&&n&(zn|Pn)&&(n&=~(zn|Pn)),n&&n!=Rn)d=n==zn||n==Pn?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var l=i<3&&u[0]!==f&&u[i-1]!==f?[]:vn(u,f);return(i-=l.length)<r?an(t,n,jn,o.placeholder,void 0,u,l,void 0,void 0,r-i):_t(this&&this!==a&&this instanceof o?e:t,this,u)}}(t,n,c):n!=Cn&&n!=(Rn|Cn)||o.length?jn.apply(void 0,v):function(t,n,r,e){var o=n&wn,i=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?i:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,o?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,o=yt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(e?r:this,arguments)}}(t,n,r);return Qt((h?ht:Dt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Dn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var o=!r;r||(r={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),o?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Vn(e.length-n,0),u=Array(i);++o<i;)u[o]=e[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=e[o];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Jn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Jn}function Yn(t){return null!=t&&Hn(t.length)&&!Y(t)}function Xn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Qn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Xn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var or=Object.prototype,ir=or.hasOwnProperty,ur=or.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&ir.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&i.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Js){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Hn(t.length)&&!!hr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),o=!r&&!e&&pr(t),i=!r&&!e&&!o&&mr(t),u=r||e||o||i,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function kr(t){return Yn(t)?wr(t):Er(t)}var Ir=Object.prototype.hasOwnProperty,Sr=Qn((function(t,n){if(nr(n)||Yn(n))Kn(n,kr(n),t);else for(var r in n)Ir.call(n,r)&&$n(t,r,n[r])})),Wr=Object.prototype.hasOwnProperty;function Mr(t){return Yn(t)?wr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Wr.call(t,e))&&r.push(e);return r}(t)}var Rr=Qn((function(t,n){Kn(n,Mr(n),t)})),Br=Qn((function(t,n,r,e){Kn(n,Mr(n),t,e)})),zr=Qn((function(t,n,r,e){Kn(n,kr(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function Lr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Cr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Tr=lt(Object,"create"),Dr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Tr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Dr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Tr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Tr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,e);return r.cache=i.set(o,u)||i,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Jr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Jr,(function(t,r,e,o){n.push(e?o.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Xr(t){return null==t?"":I(t)}function Qr(t,n){return O(t)?t:Lr(t,n)?[t]:Yr(Xr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Qr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function oe(t,n){for(var r=-1,e=n.length,o=Array(e),i=null==t;++r<e;)o[r]=i?void 0:ee(t,n[r]);return o}function ie(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,o){var i=-1,u=t.length;for(r||(r=ae),o||(o=[]);++i<u;){var a=t[i];n>0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(oe),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=vn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=vn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e<o;)i[e]=t[e+n];return i}function ke(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var Ie=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return Ie.test(t)}var We="\\ud800-\\udfff",Me="["+We+"]",Re="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+We+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="(?:"+Re+"|"+Be+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Le+"(?:\\u200d(?:"+[ze,Pe,Ce].join("|")+")"+Te+Le+")*",Ue="(?:"+[ze+Re+"?",Re,Pe,Ce,Me].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+De,"g");function Fe(t){return Se(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Xr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?ke(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Xr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o<i;)r=n(r,t[o],o,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Xr(t))&&t.replace(Je,Ge).replace(He,"")}var Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",ro="a-z\\xdf-\\xf6\\xf8-\\xff",eo="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+ro+"]",fo="[^"+to+oo+uo+no+ro+eo+"]",lo="(?:\\ud83c[\\udde6-\\uddff]){2}",so="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+eo+"]",ho="(?:"+co+"|"+fo+")",vo="(?:"+po+"|"+fo+")",yo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",go="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",lo,so].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,lo,so].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+yo+"(?="+[io,po,"$"].join("|")+")",vo+"+"+go+"(?="+[io,po+ho,"$"].join("|")+")",po+"?"+ho+"+"+yo,po+"+"+go,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,r){return t=Xr(t),void 0===(n=r?void 0:n)?function(t){return Qe.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Xe)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Ve(xo(Ye(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Io(K(r),292))&&ko(t)){var e=(Xr(t)+"e").split("e");return+((e=(Xr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Wo=So("ceil");function Mo(t){var n=Pt(t);return n.__chain__=!0,n}var Ro=Math.ceil,Bo=Math.max;function zo(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Po(t){var n=this.__data__=new $r(t);this.size=n.size}function Co(t,n){return t&&Kn(n,kr(n),t)}Po.prototype.clear=function(){this.__data__=new $r,this.size=0},Po.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Po.prototype.get=function(t){return this.__data__.get(t)},Po.prototype.has=function(t){return this.__data__.has(t)},Po.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Lo="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Lo&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Lo?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var u=t[r];n(u,r,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ie(n,Vo(t)),t=pe(t);return n}:qo;function Go(t,n,r){var e=n(t);return O(t)?e:ie(e,r(t))}function Jo(t){return Go(t,kr,Vo)}function Ho(t){return Go(t,Mr,Zo)}var Yo=lt(a,"DataView"),Xo=lt(a,"Promise"),Qo=lt(a,"Set"),ti="[object Map]",ni="[object Promise]",ri="[object Set]",ei="[object WeakMap]",oi="[object DataView]",ii=rt(Yo),ui=rt(Kr),ai=rt(Xo),ci=rt(Qo),fi=rt(st),li=g;(Yo&&li(new Yo(new ArrayBuffer(1)))!=oi||Kr&&li(new Kr)!=ti||Xo&&li(Xo.resolve())!=ni||Qo&&li(new Qo)!=ri||st&&li(new st)!=ei)&&(li=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ri;case fi:return ei}return n});var si=li,pi=Object.prototype.hasOwnProperty,hi=a.Uint8Array;function vi(t){var n=new t.constructor(t.byteLength);return new hi(n).set(new hi(t)),n}var di=/\w*$/,yi=c?c.prototype:void 0,gi=yi?yi.valueOf:void 0;function _i(t,n){var r=n?vi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Wi="[object Float64Array]",Mi="[object Int8Array]",Ri="[object Int16Array]",Bi="[object Int32Array]",zi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ci="[object Uint16Array]",Li="[object Uint32Array]";function Ti(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var Di=_r&&_r.isMap,Ui=Di?vr(Di):function(t){return _(t)&&"[object Map]"==si(t)},Ni=_r&&_r.isSet,Fi=Ni?vr(Ni):function(t){return _(t)&&"[object Set]"==si(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,r,e,o,i){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=o?r(t,e,o,i):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Rt(t,u)}else{var s=si(t),p=s==$i||"[object GeneratorFunction]"==s;if(pr(t))return No(t,a);if(s==Ki||s==qi||p&&!o){if(u=c||p?{}:Ti(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,Mr(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Co(u,t))}else{if(!Vi[s])return o?t:{};u=function(t,n,r){var e,o=t.constructor;switch(n){case ki:return vi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var r=n?vi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Si:case Wi:case Mi:case Ri:case Bi:case zi:case Pi:case Ci:case Li:return _i(t,r);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return e=t,gi?Object(gi.call(e)):{}}}(t,s,a)}}i||(i=new Po);var h=i.get(t);if(h)return h;i.set(t,u),Fi(t)?t.forEach((function(e){u.add(Zi(e,n,r,e,t,i))})):Ui(t)&&t.forEach((function(e,o){u.set(o,Zi(e,n,r,o,t,i))}));var v=l?void 0:(f?c?Ho:Jo:c?Mr:kr)(t);return Zt(v||t,(function(e,o){v&&(e=t[o=e]),$n(u,o,Zi(e,n,r,o,t,i))})),u}function Gi(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ji(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Hi(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Xi=2;function Qi(t,n,r,e,o,i){var u=r&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),l=i.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Xi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,i):e(v,d,s,t,n,i);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ji(n,(function(t,n){if(!Hi(h,n)&&(v===t||o(v,t,r,e,i)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!o(v,d,r,e,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,o,i){var u=O(t),a=O(n),c=u?ju:si(t),f=a?ju:si(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return i||(i=new Po),u||mr(t)?Qi(t,n,r,e,o,i):function(t,n,r,e,o,i,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!i(new hi(t),new hi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Qi(a(t),a(n),e,o,i,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,o,i);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return i||(i=new Po),o(d,y,r,e,i)}}return!!p&&(i||(i=new Po),function(t,n,r,e,o,i){var u=r&gu,a=Jo(t),c=a.length;if(c!=Jo(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=i.get(t),p=i.get(n);if(s&&p)return s==n&&p==t;var h=!0;i.set(t,n),i.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,i):e(d,y,l,t,n,i);if(!(void 0===g?d===y||o(d,y,r,e,i):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(t),i.delete(n),h}(t,n,r,e,o,i))}(t,n,r,e,Ou,o))}var Au=1,Eu=2;function ku(t,n,r,e){var o=r.length,i=o,u=!e;if(null==t)return!i;for(t=Object(t);o--;){var a=r[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=r[o])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Po;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function Iu(t){return t==t&&!P(t)}function Su(t){for(var n=kr(t),r=n.length;r--;){var e=n[r],o=t[e];n[r]=[e,o,Iu(o)]}return n}function Wu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Mu(t){var n=Su(t);return 1==n.length&&n[0][2]?Wu(n[0][0],n[0][1]):function(r){return r===t||ku(r,t,n)}}function Ru(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,o=(n=Qr(n,t)).length,i=!1;++e<o;){var u=ne(n[e]);if(!(i=null!=t&&r(t,u)))break;t=t[u]}return i||++e!=o?i:!!(o=null==t?0:t.length)&&Hn(o)&&sn(u,o)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Ru)}var Pu=1,Cu=2;function Lu(t,n){return Lr(t)&&Iu(n)?Wu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Pu|Cu)}}function Tu(t){return function(n){return null==n?void 0:n[t]}}function Du(t){return Lr(t)?Tu(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Lu(t[0],t[1]):Mu(t):Du(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var o=r[e],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,r,e){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var o=-1,i=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===r(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,kr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var o=r.length,i=n?o:-1,u=Object(r);(n?i--:++i<o)&&!1!==e(u[i],i,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,o,i){n(e,t,r(t),i)})),e}function Ju(t,n){return function(r,e){var o=O(r)?Fu:Gu,i=n?n():{};return o(r,t,Uu(e),i)}}var Hu=Object.prototype.hasOwnProperty,Yu=Ju((function(t,n,r){Hu.call(t,r)?++t[r]:Nn(t,r,1)}));function Xu(t,n,r){var e=Dn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}function Qu(t,n,r){var e=Dn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}Xu.placeholder={},Qu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,o,i,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,i=o;return e=o=void 0,f=n,u=t.apply(i,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=i}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=o=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,i=(s="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Xn(n[0],n[1],o)&&(e=1);++r<e;)for(var i=n[r],u=Mr(i),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Mr(t))}function sa(t,n,r,e,o){t!==n&&$u(n,(function(i,u){if(o||(o=new Po),P(i))!function(t,n,r,e,o,i,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=i?i(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Rt(a):h?(s=!1,l=No(c,!0)):v?(s=!1,l=_i(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Ti(c))):s=!1}s&&(u.set(c,l),o(l,c,e,i,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,o);else{var a=e?e(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),Mr)}function pa(t,n,r,e,o,i){return P(t)&&P(n)&&(i.set(n,t),sa(t,n,void 0,pa,i),i.delete(n)),t}var ha=Qn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,o=null==t?0:t.length;++e<o;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(i=_a,u=!1):n.length>=ba&&(i=Hi,u=!1,n=new Gi(n));t:for(;++o<a;){var l=t[o],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else i(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var o=t.length,i=e?o:-1;(e?i--:++i<o)&&n(t[i],i,t););return r?Ee(t,e?0:i,e?i+1:o):Ee(t,e?i+1:0,e?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Wa=qu(!0);function Ma(t,n){return t&&Wa(t,n,kr)}var Ra=Vu(Ma,!0);function Ba(t,n){return(O(t)?Sa:Ra)(t,ka(n))}function za(t){return function(n){var r=si(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=za(kr),Ca=za(Mr),La=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Xr(t))&&Da.test(t)?t.replace(Ta,La):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,o){return r=!!n(t,e,o)})),r}function Ka(t){return t?zo(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,o){n(t,e,o)&&r.push(t)})),r}function Za(t){return function(n,r,e){var o=Object(n);if(!Yn(n)){var i=Uu(r);n=kr(n),r=function(t){return i(o[t],t,o)}}var u=t(n,r,e);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ja(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ha=Za(Ja);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Xa=Math.max,Qa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Xa(e+o,0):Qa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=So("floor");function uc(t){return le((function(n){var r=n.length,e=r,o=Mt.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Wt(i))var u=new Mt([],!0)}for(e=u?e:r;++e<r;){var a=Wt(i=n[e]),c="wrapper"==a?kt(i):void 0;u=c&&Ct(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Wt(c[0])].apply(u,c[3]):1==i.length&&Ct(i)?u[a]():u.thru(i)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var o=0,i=r?n[o].apply(this,t):e;++o<r;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Ju((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,kr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ec(l.length,c),a[u]=!r&&(n||o>=120&&l.length>=120)?new Gi(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<o&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Hi(p,v):e(f,v,r))){for(u=i;--u;){var d=a[u];if(!(d?Hi(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Wc=Gn((function(t){var n=wa(t),r=x(t,Ic);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?kc(r,Uu(n)):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,Ic);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?kc(r,void 0,n):[]}));function Rc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,o,i){n(e,r(t),o,i)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Rc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),Pc=Object.prototype,Cc=Pc.hasOwnProperty,Lc=Pc.toString,Tc=Rc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Lc.call(n)),Cc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Dc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Dc(t,n=Qr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++e]=o?_t(n,t,r):Uc(t,n,r)})),i})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Jc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=Q?Y:cr,Xc=_r&&_r.isRegExp,Qc=Xc?vr(Xc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Ao((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Ju((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Ao((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,o=t.length;++e<o;){var i=t[e],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=i}return c}function pf(t,n){for(var r,e=-1,o=t.length;++e<o;){var i=n(t[e]);void 0!==i&&(r=void 0===r?i:r+i)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Qn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=kr(n),o=fc(n,e),i=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(o,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(i||n){var r=t(this.__wrapped__);return(r.__actions__=Rt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,ie([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Rt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=si(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Dc(t,n=Qr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Qr(n,t),e||(e=n.length>1),n})),Kn(t,Ho(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!P(t))return t;for(var o=-1,i=(n=Qr(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=ne(n[o]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,r){for(var e=-1,o=n.length,i={};++e<o;){var u=n[e],a=re(t,u);r(a,u)&&Ef(i,Qr(u,t),a)}return i}function If(t,n){if(null==t)return{};var r=x(Ho(t),(function(t){return[t]}));return n=Uu(n),kf(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t<n||f&&r&&o&&!e&&!i||a&&r&&o||!u&&o||!c)return-1}return 0}function Wf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Uu));var o=ec(t,(function(t,r,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(o,(function(t,n){return function(t,n,r){for(var e=-1,o=t.criteria,i=n.criteria,u=o.length,a=r.length;++e<u;){var c=Sf(o[e],i[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Mf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Rf=Mf(x),Bf=Gn,zf=Math.min,Pf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var o=-1,i=zf(e.length,r);++o<i;)e[o]=n[o].call(this,e[o]);return _t(t,this,e)}))})),Cf=Mf(qa),Lf=Mf(Ji),Tf=9007199254740991,Df=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Tf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Jf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Yf=Hf+Jf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Hf+Jf+")*",Xf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Qf=RegExp(Kf+"(?="+Kf+")|"+Xf+Yf,"g");function tl(t){return Se(t)?function(t){for(var n=Qf.lastIndex=0;Qf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":I(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Se(n)?ke(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,ol=Math.floor,il=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Dn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Dn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Ju((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var o=r-1,i=t.length;++o<i;)if(e(t[o],n))return o;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var o=e?sl:Ht,i=-1,u=n.length,a=t;for(t===n&&(n=Rt(n)),r&&(a=x(t,vr(r)));++i<u;)for(var c=0,f=n[i],l=r?r(f):f;(c=o(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;sn(o)?yl.call(t,o,1):xf(t,o)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Sf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function kl(t){return function(n,r,e){return e&&"number"!=typeof e&&Xn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=El(Al((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var Il=kl(),Sl=kl(!0),Wl=le((function(t,n){return Dn(t,256,void 0,void 0,void 0,n)}));function Ml(t,n,r,e,o){return o(t,(function(t,o,i){r=e?(e=!1,t):n(r,t,o,i)})),r}function Rl(t,n,r,e){var o=null==t?0:t.length;for(e&&o&&(r=t[--o]);o--;)r=n(r,t[o],o,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Pl=So("round");function Cl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Ll(t){return Cl(xc(t))}function Tl(t,n){var r=-1,e=t.length,o=e-1;for(n=void 0===n?e:n;++r<n;){var i=jl(r,o),u=t[i];t[i]=t[r],t[r]=u}return t.length=n,t}function Dl(t,n){return Tl(Rt(t),zo(n,0,t.length))}function Ul(t,n){var r=xc(t);return Tl(r,zo(n,0,r.length))}function Nl(t){return Tl(Rt(t))}function Fl(t){return Tl(xc(t))}var ql=Ao((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,o){return!(r=n(t,e,o))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Xn(t,n[0],n[1])?n=[]:r>2&&Xn(n[0],n[1],n[2])&&(n=[n[0]]),Wf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Jl(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var l=Zl((o+i)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?o=l+1:i=l}return Gl(i,Vl)}function Hl(t,n,r){var e=0,o=null==t?e:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;e<o;){var i=e+o>>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u<n)?e=i+1:o=i}return o}return Jl(t,n,V,r)}function Yl(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Xl=Math.max,Ql=Ao((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var os={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function is(t){return"\\"+os[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,ks=RegExp(Es.source),Is=Qo&&1/nu(new Qo([,-0]))[1]==1/0?function(t){return new Qo(t)}:Et,Ss=200;function Ws(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Ss){var f=n?null:Is(t);if(f)return nu(f);u=!1,o=Hi,c=new Gi}else c=n?[]:a;t:for(;++e<i;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else o(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Ms=Gn((function(t){return Ws(ce(t,1,ca,!0))})),Rs=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ws(ce(t,1,ca,!0),Uu(n))})),Bs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ws(ce(t,1,ca,!0),void 0,n)})),zs=0,Ps=Math.max;function Cs(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Tu(n))}))}function Ls(t,n){if(!t||!t.length)return[];var r=Cs(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ts(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ds=Ao((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,o=function(n){return oe(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[o],thisArg:void 0}),new Mt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ws(t[0]):[];for(var o=-1,i=Array(e);++o<e;)for(var u=t[o],a=-1;++a<e;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,r));return Ws(ce(i,1),n,r)}var qs=Gn((function(t){return Fs(Fo(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Fo(t,ca),Uu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Fo(t,ca),void 0,n)})),Vs=Gn(Cs);function Zs(t,n,r){for(var e=-1,o=t.length,i=n.length,u={};++e<o;){var a=e<i?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Js,Hs=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Ls(t,r)})),Ys={chunk:function(t,n,r){n=(r?Xn(t,n,r):void 0===n)?1:Bo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(Ro(e/n));o<e;)u[i++]=Ee(t,o,o+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,o=[];++n<r;){var i=t[n];i&&(o[e++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return ie(O(r)?Rt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Xn(t,n,r)&&(r=0,e=o),function(t,n,r,e){var o=t.length;for((r=K(r))<0&&(r=-r>o?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ja,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var o=t[n];e[o[0]]=o[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ac(e+o,0)),Ht(t,n,o)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Sc,intersectionBy:Wc,intersectionWith:Mc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e;return void 0!==r&&(o=(o=K(r))<0?ef(e+o,0):of(o,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,o):Gt(t,Jt,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,o=[],i=t.length;for(n=Uu(n);++e<i;){var u=t[e];n(u,e,t)&&(r.push(u),o.push(e))}return gl(t,o),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Xn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Jl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Jl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Ms,unionBy:Rs,unionWith:Bs,uniq:function(t){return t&&t.length?Ws(t):[]},uniqBy:function(t,n){return t&&t.length?Ws(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ws(t,void 0,n):[]},unzip:Cs,unzipWith:Ls,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Hs},Xs={countBy:Yu,each:Ia,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Xn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(oc(t,n),1)},flatMapDeep:function(t,n){return ce(oc(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(oc(t,n),r)},forEach:Ia,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var o=t.length;return r<0&&(r=Oc(o+r,0)),jc(t)?r<=o&&t.indexOf(n,r)>-1:!!o&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Wf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Ml,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?Rl:Ml,o=arguments.length<3;return e(t,Uu(n),r,o,Ra)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Cl:Ll)(t)},sampleSize:function(t,n,r){return n=(r?Xn(t,n,r):void 0===n)?1:K(n),(O(t)?Dl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=si(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Ji:$l;return r&&Xn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Qs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Xu,curryRight:Qu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Wl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Xl(K(n),0),Gn((function(r){var e=r[n],o=ke(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,kr(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=si(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Jc,isLength:Hn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,ku(t,n,Su(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Qc,isSafeInteger:function(t){return Jc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==si(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?zo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Xr},rp={add:W,ceil:Wo,divide:Aa,floor:ic,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Sr,assignIn:Rr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Co(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:Ca,extend:Rr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Ma)},forIn:function(t,n){return null==t?t:$u(t,ka(n),Mr)},forInRight:function(t,n){return null==t?t:Wa(t,ka(n),Mr)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Ma(t,ka(n))},functions:function(t){return null==t?[]:fc(t,kr(t))},functionsIn:function(t){return null==t?[]:fc(t,Mr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Tc,invoke:Nc,keys:kr,keysIn:Mr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ll,pickBy:If,result:function(t,n,r){var e=-1,o=(n=Qr(n,t)).length;for(o||(o=1,t=void 0);++e<o;){var i=null==t?void 0:t[ne(n[e])];void 0===i&&(e=o,i=r),t=Y(i)?i.call(t):i}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:Pa,toPairsIn:Ca,transform:function(t,n,r){var e=O(t),o=e||pr(t)||mr(t);if(n=Uu(n),null==r){var i=t&&t.constructor;r=o?e?new i:[]:P(t)&&Y(i)?dt(pe(t)):{}}return(o?Zt:Ku)(t,(function(t,e,o){return n(r,t,e,o)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ts(t,n,ka(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ts(t,n,ka(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Mr(t))}},op={at:Ns,chain:Mo,commit:function(){return new Mt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Mt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mo(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Xr(t),n=I(n);var e=t.length,o=r=void 0===r?e:zo(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Xr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rl(ol(o),r)+t+rl(el(o),r)},padEnd:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Xr(t).replace(il,""),n||0)},repeat:function(t,n,r){return n=(r?Xn(t,n,r):void 0===n)?1:K(n),Uf(Xr(t),n)},replace:function(){var t=arguments,n=Xr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Xn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Xr(t))&&("string"==typeof n||null!=n&&!Qc(n))&&!(n=I(n))&&Se(t)?ke(Fe(t),0,r):t.split(n,r):[]},startCase:Ql,startsWith:function(t,n,r){return t=Xr(t),r=null==r?0:zo(K(r),0,t.length),n=I(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Xn(t,n,r)&&(n=void 0),t=Xr(t),n=Br({},n,e,es);var o,i,u=Br({},n.imports,e.imports,es),a=kr(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,is),r&&(o=!0,s+="' +\n__e("+r+") +\n'"),a&&(i=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Xr(t).toLowerCase()},toUpper:function(t){return Xr(t).toUpperCase()},trim:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return z(t);if(!t||!(n=I(n)))return t;var e=Fe(t),o=Fe(n);return ke(e,ws(e,o),js(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return t.slice(0,R(t)+1);if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?I(n.omission):e}var i=(t=Xr(t)).length;if(Se(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-tl(e);if(a<1)return e;var c=u?ke(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Qc(o)){if(t.slice(a).search(o)){var f,l=c;for(o.global||(o=RegExp(o.source,Xr(Os.exec(o))+"g")),o.lastIndex=0;f=o.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Xr(t))&&ks.test(t)?t.replace(Es,As):t},upperCase:Ds,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var o=t[e];if(_t(o[0],this,r))return _t(o[1],this,r)}}))},conforms:function(t){return function(t){var n=kr(t);return function(r){return Nu(r,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Mu(Zi(t,1))},matchesProperty:function(t,n){return Lu(t,Zi(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Rf,overEvery:Cf,overSome:Lf,property:Du,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:Il,rangeRight:Sl,stubArray:qo,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=ka(n),t-=gs;for(var o=rr(e,n);++r<t;)n(r);return o},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Rt(Yr(Xr(t)))},uniqueId:function(t){var n=++zs;return Xr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Js=gf,function(t,n,r){if(null==r){var e=P(n),o=e&&kr(n),i=o&&o.length&&fc(n,o);(i?i.length:e)||(r=n,n=t,t=this)}return Js(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=op.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Xs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Xs.filter,Pt.flatMap=Xs.flatMap,Pt.flatMapDeep=Xs.flatMapDeep,Pt.flatMapDepth=Xs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Xs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Xs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Xs.keyBy,Pt.keys=kr,Pt.keysIn=ep.keysIn,Pt.map=Xs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Xs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Xs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Xs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Xs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Xs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Xs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=ip.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=op.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=ip.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=ip.camelCase,Pt.capitalize=ip.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),zo(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=ip.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=ip.endsWith,Pt.eq=np.eq,Pt.escape=ip.escape,Pt.escapeRegExp=ip.escapeRegExp,Pt.every=Xs.every,Pt.find=Xs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Xs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Xs.forEach,Pt.forEachRight=Xs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=V,Pt.includes=Xs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=ip.kebabCase,Pt.last=wa,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=ip.lowerCase,Pt.lowerFirst=ip.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Qs,Pt.pad=ip.pad,Pt.padEnd=ip.padEnd,Pt.padStart=ip.padStart,Pt.parseInt=ip.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Xn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Ol();return xl(t+o*(n-t+wl("1e-"+((o+"").length-1))),n)}return jl(t,n)},Pt.reduce=Xs.reduce,Pt.reduceRight=Xs.reduceRight,Pt.repeat=ip.repeat,Pt.replace=ip.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Xs.sample,Pt.size=Xs.size,Pt.snakeCase=ip.snakeCase,Pt.some=Xs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=ip.startCase,Pt.startsWith=ip.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=ip.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=K,Pt.toLength=np.toLength,Pt.toLower=ip.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=ip.toUpper,Pt.trim=ip.trim,Pt.trimEnd=ip.trimEnd,Pt.trimStart=ip.trimStart,Pt.truncate=ip.truncate,Pt.unescape=ip.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=ip.upperCase,Pt.upperFirst=ip.upperFirst,Pt.each=Xs.forEach,Pt.eachRight=Xs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Ku(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=ip.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=Pt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=o.apply(Pt,ie([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=i&&!s,v=a&&!p;if(!i&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Mt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(It,e)||(It[e]=[]),It[e].push({name:n,func:r})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Rt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Rt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Rt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e<o;){var i=r[e],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&o==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=op.at,Pt.prototype.chain=op.wrapperChain,Pt.prototype.commit=op.commit,Pt.prototype.next=op.next,Pt.prototype.plant=op.plant,Pt.prototype.reverse=op.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=op.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=op.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)n.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Wp=t=>{const[n,r]=(0,e.useState)(Sp(t)),o=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Mp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Rp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1813],{1213:(t,n,r)=>{r.r(n),r.d(n,{Example:()=>s,assets:()=>l,contentTitle:()=>c,default:()=>v,frontMatter:()=>a,metadata:()=>f,toc:()=>p});var e=r(5735),o=r(7355),i=r(4614),u=r(5474);const a={},c="When",f={id:"react/components/When",title:"When",description:"condition prop\uc774 true\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud558\uace0, false\uba74 \ub80c\ub354\ub9c1\ud558\uc9c0 \uc54a\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/When.mdx",sourceDirName:"react/components",slug:"/react/components/When",permalink:"/modern-kit/docs/react/components/When",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Portal",permalink:"/modern-kit/docs/react/components/Portal"},next:{title:"useAsyncPreservedCallback",permalink:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback"}},l={},s=()=>{const t={button:"button",h1:"h1",...(0,o.a)()},[n,r]=(0,i.useState)(!1);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.button,{onClick:()=>r(!n),children:"Toggle Button"}),(0,e.jsx)(u.nA,{condition:n,children:(0,e.jsx)(t.h1,{children:"Render"})})]})},p=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function h(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"when",children:"When"}),"\n",(0,e.jsxs)(n.p,{children:["condition prop\uc774 ",(0,e.jsx)(n.code,{children:"true"}),"\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud558\uace0, ",(0,e.jsx)(n.code,{children:"false"}),"\uba74 \ub80c\ub354\ub9c1\ud558\uc9c0 \uc54a\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsxs)(n.p,{children:["condition prop\uc73c\ub85c ",(0,e.jsx)(n.code,{children:"boolean\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218"}),"\ub3c4 \ud5c8\uc6a9\ub429\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"type Condition = boolean | ((...args: any[]) => boolean);\n\ninterface WhenProps {\n condition: Condition;\n}\n\nconst When: ({ children, condition }: PropsWithChildren<WhenProps>) => JSX.Element | null\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { When } from '@modern-kit/react';\nconst Example = () => {\n const [state, setState] = useState(false);\n\n return (\n <>\n <button onClick={() => setState(!state)}>Toggle Button</button>\n\n <When condition={state}>\n <h1>Render</h1>\n </When>\n </>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(s,{})]})}function v(t={}){const{wrapper:n}={...(0,o.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(h,{...t})}):h(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const o={},i=e.createContext(o);function u(t){const n=e.useContext(i);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:u(t.components),e.createElement(i.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Mp,ac:()=>Wp,df:()=>xp,iP:()=>Bp,nA:()=>Ip,uM:()=>bp,wY:()=>Op,yU:()=>Rp});var e=r(4614),o=r(5735),i=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=i||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var o=s.call(t);return e&&(n?t[p]=r:delete t[p]),o}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,k=E?E.toString:void 0;function I(t){if("string"==typeof t)return t;if(O(t))return x(t,I)+"";if(m(t))return k?k.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function S(t,n){return function(r,e){var o;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(o=r),void 0!==e){if(void 0===o)return e;"string"==typeof r||"string"==typeof e?(r=I(r),e=I(e)):(r=w(r),e=w(e)),o=t(r,e)}return o}}var W=S((function(t,n){return t+n}),0),M=/\s/;function R(t){for(var n=t.length;n--&&M.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,R(t)+1).replace(B,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var C=NaN,L=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,D=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return C;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=T.test(t);return r||D.test(t)?U(t.slice(2),r?2:8):L.test(t)?C:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",J="[object GeneratorFunction]",H="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==J||n==Z||n==H}var X,Q=a["__core-js_shared__"],tt=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,ot=Function.prototype,it=Object.prototype,ut=ot.toString,at=it.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var o=-1,i=t.length,u=r.length,a=-1,c=n.length,f=bt(i-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++o<u;)(s||o<i)&&(l[r[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}var jt=Math.max;function wt(t,n,r,e){for(var o=-1,i=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(i-a,0),s=Array(l+f),p=!e;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||o<i)&&(s[h+r[u]]=t[o++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var kt=pt?function(t){return pt.get(t)}:Et,It={},St=Object.prototype.hasOwnProperty;function Wt(t){for(var n=t.name+"",r=It[n],e=St.call(It,n)?r.length:0;e--;){var o=r[e],i=o.func;if(null==i||i==t)return o.name}return n}function Mt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Rt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Mt(t.__wrapped__,t.__chain__);return n.__actions__=Rt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Mt.prototype=dt(xt.prototype),Mt.prototype.constructor=Mt;var zt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Mt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Mt(t)}function Ct(t){var n=Wt(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=kt(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Lt=Date.now;function Tt(t){var n=0,r=0;return function(){var e=Lt(),o=16-(e-r);if(r=e,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Dt=Tt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Tt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var o=t.length,i=r+(e?1:-1);e?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function Jt(t){return t!=t}function Ht(t,n,r){return n==n?function(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Jt,r)}function Yt(t,n){return!(null==t||!t.length)&&Ht(t,n,0)>-1}var Xt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Qt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Xt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,o,i,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,o,l?i:void 0,l?u:void 0,l?void 0:i,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Ct(t)&&Dt(p,s),p.placeholder=e,Qt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,i[o++]=r)}return i}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,o,i,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,o,v)),i&&(b=wt(b,i,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),o=Rt(t);e--;){var i=n[e];t[e]=sn(i,r)?o[i]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,kn=8,In=128,Sn=256,Wn=Math.min,Mn="Expected a function",Rn=1,Bn=2,zn=8,Pn=16,Cn=32,Ln=64,Tn=Math.max;function Dn(t,n,r,e,o,i,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Mn);var l=e?e.length:0;if(l||(n&=~(Cn|Ln),e=o=void 0),u=void 0===u?u:Tn(K(u),0),c=void 0===c?c:K(c),l-=o?o.length:0,n&Ln){var s=e,p=o;e=o=void 0}var h=f?void 0:kt(t),v=[t,n,r,e,o,s,p,i,u,c];if(h&&function(t,n){var r=t[1],e=n[1],o=r|e,i=o<(On|An|In),u=e==In&&r==kn||e==In&&r==Sn&&t[7].length<=n[8]||e==(In|Sn)&&n[7].length<=n[8]&&r==kn;if(!i&&!u)return t;e&On&&(t[2]=n[2],o|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&In&&(t[8]=null==t[8]?n[8]:Wn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=o}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],o=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Tn(v[9]-l,0))&&n&(zn|Pn)&&(n&=~(zn|Pn)),n&&n!=Rn)d=n==zn||n==Pn?function(t,n,r){var e=yt(t);return function o(){for(var i=arguments.length,u=Array(i),c=i,f=cn(o);c--;)u[c]=arguments[c];var l=i<3&&u[0]!==f&&u[i-1]!==f?[]:vn(u,f);return(i-=l.length)<r?an(t,n,jn,o.placeholder,void 0,u,l,void 0,void 0,r-i):_t(this&&this!==a&&this instanceof o?e:t,this,u)}}(t,n,c):n!=Cn&&n!=(Rn|Cn)||o.length?jn.apply(void 0,v):function(t,n,r,e){var o=n&wn,i=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?i:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,o?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,o=yt(t);return function n(){return(this&&this!==a&&this instanceof n?o:t).apply(e?r:this,arguments)}}(t,n,r);return Qt((h?ht:Dt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Dn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var o=!r;r||(r={});for(var i=-1,u=n.length;++i<u;){var a=n[i],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),o?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=Vn(e.length-n,0),u=Array(i);++o<i;)u[o]=e[n+o];o=-1;for(var a=Array(n+1);++o<n;)a[o]=e[o];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Jn=9007199254740991;function Hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Jn}function Yn(t){return null!=t&&Hn(t.length)&&!Y(t)}function Xn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Qn(t){return Gn((function(n,r){var e=-1,o=r.length,i=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&Xn(r[0],r[1],u)&&(i=o<3?void 0:i,o=1),n=Object(n);++e<o;){var a=r[e];a&&t(n,a,e,i)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var or=Object.prototype,ir=or.hasOwnProperty,ur=or.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&ir.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&i.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Js){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Hn(t.length)&&!!hr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),o=!r&&!e&&pr(t),i=!r&&!e&&!o&&mr(t),u=r||e||o||i,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function kr(t){return Yn(t)?wr(t):Er(t)}var Ir=Object.prototype.hasOwnProperty,Sr=Qn((function(t,n){if(nr(n)||Yn(n))Kn(n,kr(n),t);else for(var r in n)Ir.call(n,r)&&$n(t,r,n[r])})),Wr=Object.prototype.hasOwnProperty;function Mr(t){return Yn(t)?wr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Wr.call(t,e))&&r.push(e);return r}(t)}var Rr=Qn((function(t,n){Kn(n,Mr(n),t)})),Br=Qn((function(t,n,r,e){Kn(n,Mr(n),t,e)})),zr=Qn((function(t,n,r,e){Kn(n,kr(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cr=/^\w*$/;function Lr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Cr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Tr=lt(Object,"create"),Dr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Tr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Dr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Tr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Tr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,e);return r.cache=i.set(o,u)||i,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Jr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Jr,(function(t,r,e,o){n.push(e?o.replace(Hr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Xr(t){return null==t?"":I(t)}function Qr(t,n){return O(t)?t:Lr(t,n)?[t]:Yr(Xr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Qr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function oe(t,n){for(var r=-1,e=n.length,o=Array(e),i=null==t;++r<e;)o[r]=i?void 0:ee(t,n[r]);return o}function ie(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,o){var i=-1,u=t.length;for(r||(r=ae),o||(o=[]);++i<u;){var a=t[i];n>0&&r(a)?n>1?ce(a,n-1,r,e,o):ie(o,a):e||(o[o.length]=a)}return o}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(oe),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var o=vn(r,cn(xe));e|=32}return Dn(t,e,n,r,o)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var o=vn(r,cn(Ae));e|=32}return Dn(n,e,t,r,o)}));function Ee(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e<o;)i[e]=t[e+n];return i}function ke(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var Ie=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Se(t){return Ie.test(t)}var We="\\ud800-\\udfff",Me="["+We+"]",Re="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+We+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="(?:"+Re+"|"+Be+")?",Te="[\\ufe0e\\ufe0f]?",De=Te+Le+"(?:\\u200d(?:"+[ze,Pe,Ce].join("|")+")"+Te+Le+")*",Ue="(?:"+[ze+Re+"?",Re,Pe,Ce,Me].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+De,"g");function Fe(t){return Se(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Se(n=Xr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),o=r?ke(r,1).join(""):n.slice(1);return e[t]()+o}}var $e=qe("toUpperCase");function Ke(t){return $e(Xr(t).toLowerCase())}function Ve(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o<i;)r=n(r,t[o],o,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Xr(t))&&t.replace(Je,Ge).replace(He,"")}var Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,to="\\ud800-\\udfff",no="\\u2700-\\u27bf",ro="a-z\\xdf-\\xf6\\xf8-\\xff",eo="A-Z\\xc0-\\xd6\\xd8-\\xde",oo="\\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",io="["+oo+"]",uo="\\d+",ao="["+no+"]",co="["+ro+"]",fo="[^"+to+oo+uo+no+ro+eo+"]",lo="(?:\\ud83c[\\udde6-\\uddff]){2}",so="[\\ud800-\\udbff][\\udc00-\\udfff]",po="["+eo+"]",ho="(?:"+co+"|"+fo+")",vo="(?:"+po+"|"+fo+")",yo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",go="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_o="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bo="[\\ufe0e\\ufe0f]?",mo=bo+_o+"(?:\\u200d(?:"+["[^"+to+"]",lo,so].join("|")+")"+bo+_o+")*",jo="(?:"+[ao,lo,so].join("|")+")"+mo,wo=RegExp([po+"?"+co+"+"+yo+"(?="+[io,po,"$"].join("|")+")",vo+"+"+go+"(?="+[io,po+ho,"$"].join("|")+")",po+"?"+ho+"+"+yo,po+"+"+go,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",uo,jo].join("|"),"g");function xo(t,n,r){return t=Xr(t),void 0===(n=r?void 0:n)?function(t){return Qe.test(t)}(t)?function(t){return t.match(wo)||[]}(t):function(t){return t.match(Xe)||[]}(t):t.match(n)||[]}var Oo=RegExp("['\u2019]","g");function Ao(t){return function(n){return Ve(xo(Ye(n).replace(Oo,"")),t,"")}}var Eo=Ao((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),ko=a.isFinite,Io=Math.min;function So(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Io(K(r),292))&&ko(t)){var e=(Xr(t)+"e").split("e");return+((e=(Xr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Wo=So("ceil");function Mo(t){var n=Pt(t);return n.__chain__=!0,n}var Ro=Math.ceil,Bo=Math.max;function zo(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Po(t){var n=this.__data__=new $r(t);this.size=n.size}function Co(t,n){return t&&Kn(n,kr(n),t)}Po.prototype.clear=function(){this.__data__=new $r,this.size=0},Po.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Po.prototype.get=function(t){return this.__data__.get(t)},Po.prototype.has=function(t){return this.__data__.has(t)},Po.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Lo="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Lo&&"object"==typeof module&&module&&!module.nodeType&&module,Do=To&&To.exports===Lo?a.Buffer:void 0,Uo=Do?Do.allocUnsafe:void 0;function No(t,n){if(n)return t.slice();var r=t.length,e=Uo?Uo(r):new t.constructor(r);return t.copy(e),e}function Fo(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var u=t[r];n(u,r,t)&&(i[o++]=u)}return i}function qo(){return[]}var $o=Object.prototype.propertyIsEnumerable,Ko=Object.getOwnPropertySymbols,Vo=Ko?function(t){return null==t?[]:(t=Object(t),Fo(Ko(t),(function(n){return $o.call(t,n)})))}:qo,Zo=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)ie(n,Vo(t)),t=pe(t);return n}:qo;function Go(t,n,r){var e=n(t);return O(t)?e:ie(e,r(t))}function Jo(t){return Go(t,kr,Vo)}function Ho(t){return Go(t,Mr,Zo)}var Yo=lt(a,"DataView"),Xo=lt(a,"Promise"),Qo=lt(a,"Set"),ti="[object Map]",ni="[object Promise]",ri="[object Set]",ei="[object WeakMap]",oi="[object DataView]",ii=rt(Yo),ui=rt(Kr),ai=rt(Xo),ci=rt(Qo),fi=rt(st),li=g;(Yo&&li(new Yo(new ArrayBuffer(1)))!=oi||Kr&&li(new Kr)!=ti||Xo&&li(Xo.resolve())!=ni||Qo&&li(new Qo)!=ri||st&&li(new st)!=ei)&&(li=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case ii:return oi;case ui:return ti;case ai:return ni;case ci:return ri;case fi:return ei}return n});var si=li,pi=Object.prototype.hasOwnProperty,hi=a.Uint8Array;function vi(t){var n=new t.constructor(t.byteLength);return new hi(n).set(new hi(t)),n}var di=/\w*$/,yi=c?c.prototype:void 0,gi=yi?yi.valueOf:void 0;function _i(t,n){var r=n?vi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bi="[object Boolean]",mi="[object Date]",ji="[object Map]",wi="[object Number]",xi="[object RegExp]",Oi="[object Set]",Ai="[object String]",Ei="[object Symbol]",ki="[object ArrayBuffer]",Ii="[object DataView]",Si="[object Float32Array]",Wi="[object Float64Array]",Mi="[object Int8Array]",Ri="[object Int16Array]",Bi="[object Int32Array]",zi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ci="[object Uint16Array]",Li="[object Uint32Array]";function Ti(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var Di=_r&&_r.isMap,Ui=Di?vr(Di):function(t){return _(t)&&"[object Map]"==si(t)},Ni=_r&&_r.isSet,Fi=Ni?vr(Ni):function(t){return _(t)&&"[object Set]"==si(t)},qi="[object Arguments]",$i="[object Function]",Ki="[object Object]",Vi={};function Zi(t,n,r,e,o,i){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=o?r(t,e,o,i):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&pi.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Rt(t,u)}else{var s=si(t),p=s==$i||"[object GeneratorFunction]"==s;if(pr(t))return No(t,a);if(s==Ki||s==qi||p&&!o){if(u=c||p?{}:Ti(t),!a)return c?function(t,n){return Kn(t,Zo(t),n)}(t,function(t,n){return t&&Kn(n,Mr(n),t)}(u,t)):function(t,n){return Kn(t,Vo(t),n)}(t,Co(u,t))}else{if(!Vi[s])return o?t:{};u=function(t,n,r){var e,o=t.constructor;switch(n){case ki:return vi(t);case bi:case mi:return new o(+t);case Ii:return function(t,n){var r=n?vi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Si:case Wi:case Mi:case Ri:case Bi:case zi:case Pi:case Ci:case Li:return _i(t,r);case ji:return new o;case wi:case Ai:return new o(t);case xi:return function(t){var n=new t.constructor(t.source,di.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oi:return new o;case Ei:return e=t,gi?Object(gi.call(e)):{}}}(t,s,a)}}i||(i=new Po);var h=i.get(t);if(h)return h;i.set(t,u),Fi(t)?t.forEach((function(e){u.add(Zi(e,n,r,e,t,i))})):Ui(t)&&t.forEach((function(e,o){u.set(o,Zi(e,n,r,o,t,i))}));var v=l?void 0:(f?c?Ho:Jo:c?Mr:kr)(t);return Zt(v||t,(function(e,o){v&&(e=t[o=e]),$n(u,o,Zi(e,n,r,o,t,i))})),u}function Gi(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ji(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Hi(t,n){return t.has(n)}Vi[qi]=Vi["[object Array]"]=Vi["[object ArrayBuffer]"]=Vi["[object DataView]"]=Vi["[object Boolean]"]=Vi["[object Date]"]=Vi["[object Float32Array]"]=Vi["[object Float64Array]"]=Vi["[object Int8Array]"]=Vi["[object Int16Array]"]=Vi["[object Int32Array]"]=Vi["[object Map]"]=Vi["[object Number]"]=Vi[Ki]=Vi["[object RegExp]"]=Vi["[object Set]"]=Vi["[object String]"]=Vi["[object Symbol]"]=Vi["[object Uint8Array]"]=Vi["[object Uint8ClampedArray]"]=Vi["[object Uint16Array]"]=Vi["[object Uint32Array]"]=!0,Vi["[object Error]"]=Vi[$i]=Vi["[object WeakMap]"]=!1,Gi.prototype.add=Gi.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Gi.prototype.has=function(t){return this.__data__.has(t)};var Yi=1,Xi=2;function Qi(t,n,r,e,o,i){var u=r&Yi,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),l=i.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Xi?new Gi:void 0;for(i.set(t,n),i.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,i):e(v,d,s,t,n,i);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ji(n,(function(t,n){if(!Hi(h,n)&&(v===t||o(v,t,r,e,i)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!o(v,d,r,e,i)){p=!1;break}}return i.delete(t),i.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,ou="[object Boolean]",iu="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,o){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,o,i){var u=O(t),a=O(n),c=u?ju:si(t),f=a?ju:si(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return i||(i=new Po),u||mr(t)?Qi(t,n,r,e,o,i):function(t,n,r,e,o,i,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!i(new hi(t),new hi(n)));case ou:case iu:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Qi(a(t),a(n),e,o,i,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,o,i);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return i||(i=new Po),o(d,y,r,e,i)}}return!!p&&(i||(i=new Po),function(t,n,r,e,o,i){var u=r&gu,a=Jo(t),c=a.length;if(c!=Jo(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=i.get(t),p=i.get(n);if(s&&p)return s==n&&p==t;var h=!0;i.set(t,n),i.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,i):e(d,y,l,t,n,i);if(!(void 0===g?d===y||o(d,y,r,e,i):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(t),i.delete(n),h}(t,n,r,e,o,i))}(t,n,r,e,Ou,o))}var Au=1,Eu=2;function ku(t,n,r,e){var o=r.length,i=o,u=!e;if(null==t)return!i;for(t=Object(t);o--;){var a=r[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var c=(a=r[o])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Po;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function Iu(t){return t==t&&!P(t)}function Su(t){for(var n=kr(t),r=n.length;r--;){var e=n[r],o=t[e];n[r]=[e,o,Iu(o)]}return n}function Wu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Mu(t){var n=Su(t);return 1==n.length&&n[0][2]?Wu(n[0][0],n[0][1]):function(r){return r===t||ku(r,t,n)}}function Ru(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,o=(n=Qr(n,t)).length,i=!1;++e<o;){var u=ne(n[e]);if(!(i=null!=t&&r(t,u)))break;t=t[u]}return i||++e!=o?i:!!(o=null==t?0:t.length)&&Hn(o)&&sn(u,o)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Ru)}var Pu=1,Cu=2;function Lu(t,n){return Lr(t)&&Iu(n)?Wu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Pu|Cu)}}function Tu(t){return function(n){return null==n?void 0:n[t]}}function Du(t){return Lr(t)?Tu(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Lu(t[0],t[1]):Mu(t):Du(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var o=r[e],i=n[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Fu(t,n,r,e){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var o=-1,i=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++o];if(!1===r(i[c],c,i))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,kr)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var o=r.length,i=n?o:-1,u=Object(r);(n?i--:++i<o)&&!1!==e(u[i],i,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,o,i){n(e,t,r(t),i)})),e}function Ju(t,n){return function(r,e){var o=O(r)?Fu:Gu,i=n?n():{};return o(r,t,Uu(e),i)}}var Hu=Object.prototype.hasOwnProperty,Yu=Ju((function(t,n,r){Hu.call(t,r)?++t[r]:Nn(t,r,1)}));function Xu(t,n,r){var e=Dn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}function Qu(t,n,r){var e=Dn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}Xu.placeholder={},Qu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,o,i,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,i=o;return e=o=void 0,f=n,u=t.apply(i,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=i}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=o=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,o=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,i=(s="maxWait"in r)?na(N(r.maxWait)||0,n):i,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=o=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var oa=Object.prototype,ia=oa.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,o=e>2?n[2]:void 0;for(o&&Xn(n[0],n[1],o)&&(e=1);++r<e;)for(var i=n[r],u=Mr(i),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,oa[f])&&!ia.call(t,f))&&(t[f]=i[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Mr(t))}function sa(t,n,r,e,o){t!==n&&$u(n,(function(i,u){if(o||(o=new Po),P(i))!function(t,n,r,e,o,i,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=i?i(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Rt(a):h?(s=!1,l=No(c,!0)):v?(s=!1,l=_i(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Ti(c))):s=!1}s&&(u.set(c,l),o(l,c,e,i,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,o);else{var a=e?e(fa(t,u),i,u+"",t,n,o):void 0;void 0===a&&(a=i),aa(t,u,a)}}),Mr)}function pa(t,n,r,e,o,i){return P(t)&&P(n)&&(i.set(n,t),sa(t,n,void 0,pa,i),i.delete(n)),t}var ha=Qn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,o=null==t?0:t.length;++e<o;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var o=-1,i=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(i=_a,u=!1):n.length>=ba&&(i=Hi,u=!1,n=new Gi(n));t:for(;++o<a;){var l=t[o],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else i(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=S((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var o=t.length,i=e?o:-1;(e?i--:++i<o)&&n(t[i],i,t););return r?Ee(t,e?0:i,e?i+1:o):Ee(t,e?i+1:0,e?o:i)}function ka(t){return"function"==typeof t?t:V}function Ia(t,n){return(O(t)?Zt:Zu)(t,ka(n))}function Sa(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Wa=qu(!0);function Ma(t,n){return t&&Wa(t,n,kr)}var Ra=Vu(Ma,!0);function Ba(t,n){return(O(t)?Sa:Ra)(t,ka(n))}function za(t){return function(n){var r=si(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=za(kr),Ca=za(Mr),La=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ta=/[&<>"']/g,Da=RegExp(Ta.source);function Ua(t){return(t=Xr(t))&&Da.test(t)?t.replace(Ta,La):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,o){return r=!!n(t,e,o)})),r}function Ka(t){return t?zo(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,o){n(t,e,o)&&r.push(t)})),r}function Za(t){return function(n,r,e){var o=Object(n);if(!Yn(n)){var i=Uu(r);n=kr(n),r=function(t){return i(o[t],t,o)}}var u=t(n,r,e);return u>-1?o[i?n[u]:u]:void 0}}var Ga=Math.max;function Ja(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ga(e+o,0)),Gt(t,Uu(n),o)}var Ha=Za(Ja);function Ya(t,n,r){var e;return r(t,(function(t,r,o){if(n(t,r,o))return e=r,!1})),e}var Xa=Math.max,Qa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e-1;return void 0!==r&&(o=K(r),o=r<0?Xa(e+o,0):Qa(o,e-1)),Gt(t,Uu(n),o,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,o,i){e[++r]=n(t,o,i)})),e}function oc(t,n){return(O(t)?x:ec)(t,Uu(n))}var ic=So("floor");function uc(t){return le((function(n){var r=n.length,e=r,o=Mt.prototype.thru;for(t&&n.reverse();e--;){var i=n[e];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!u&&"wrapper"==Wt(i))var u=new Mt([],!0)}for(e=u?e:r;++e<r;){var a=Wt(i=n[e]),c="wrapper"==a?kt(i):void 0;u=c&&Ct(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Wt(c[0])].apply(u,c[3]):1==i.length&&Ct(i)?u[a]():u.thru(i)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var o=0,i=r?n[o].apply(this,t):e;++o<r;)i=n[o].call(this,i);return i}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Fo(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Ju((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,kr(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function kc(t,n,r){for(var e=r?_a:Yt,o=t[0].length,i=t.length,u=i,a=Array(i),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ec(l.length,c),a[u]=!r&&(n||o>=120&&l.length>=120)?new Gi(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<o&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Hi(p,v):e(f,v,r))){for(u=i;--u;){var d=a[u];if(!(d?Hi(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function Ic(t){return ca(t)?t:[]}var Sc=Gn((function(t){var n=x(t,Ic);return n.length&&n[0]===t[0]?kc(n):[]})),Wc=Gn((function(t){var n=wa(t),r=x(t,Ic);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?kc(r,Uu(n)):[]})),Mc=Gn((function(t){var n=wa(t),r=x(t,Ic);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?kc(r,void 0,n):[]}));function Rc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,o,i){n(e,r(t),o,i)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Rc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(V)),Pc=Object.prototype,Cc=Pc.hasOwnProperty,Lc=Pc.toString,Tc=Rc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Lc.call(n)),Cc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Dc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Dc(t,n=Qr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,o="function"==typeof n,i=Yn(t)?Array(t.length):[];return Zu(t,(function(t){i[++e]=o?_t(n,t,r):Uc(t,n,r)})),i})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Jc(t){return"number"==typeof t&&t==K(t)}function Hc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=Q?Y:cr,Xc=_r&&_r.isRegExp,Qc=Xc?vr(Xc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Ao((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Ju((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Ao((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,o=t.length;++e<o;){var i=t[e],u=n(i);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=i}return c}function pf(t,n){for(var r,e=-1,o=t.length;++e<o;){var i=n(t[e]);void 0!==i&&(r=void 0===r?i:r+i)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Qn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=kr(n),o=fc(n,e),i=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(o,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(i||n){var r=t(this.__wrapped__);return(r.__actions__=Rt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,ie([this.value()],arguments))})})),t}var _f=S((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Rt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=si(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Dc(t,n=Qr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Qr(n,t),e||(e=n.length>1),n})),Kn(t,Ho(t),r),e&&(r=Zi(r,7,Of));for(var o=n.length;o--;)xf(r,n[o]);return r}));function Ef(t,n,r,e){if(!P(t))return t;for(var o=-1,i=(n=Qr(n,t)).length,u=i-1,a=t;null!=a&&++o<i;){var c=ne(n[o]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[o+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function kf(t,n,r){for(var e=-1,o=n.length,i={};++e<o;){var u=n[e],a=re(t,u);r(a,u)&&Ef(i,Qr(u,t),a)}return i}function If(t,n){if(null==t)return{};var r=x(Ho(t),(function(t){return[t]}));return n=Uu(n),kf(t,r,(function(t,r){return n(t,r[0])}))}function Sf(t,n){if(t!==n){var r=void 0!==t,e=null===t,o=t==t,i=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!i&&t>n||i&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!o)return 1;if(!e&&!i&&!f&&t<n||f&&r&&o&&!e&&!i||a&&r&&o||!u&&o||!c)return-1}return 0}function Wf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Uu));var o=ec(t,(function(t,r,o){var i=x(n,(function(n){return n(t)}));return{criteria:i,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(o,(function(t,n){return function(t,n,r){for(var e=-1,o=t.criteria,i=n.criteria,u=o.length,a=r.length;++e<u;){var c=Sf(o[e],i[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Mf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Rf=Mf(x),Bf=Gn,zf=Math.min,Pf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var o=-1,i=zf(e.length,r);++o<i;)e[o]=n[o].call(this,e[o]);return _t(t,this,e)}))})),Cf=Mf(qa),Lf=Mf(Ji),Tf=9007199254740991,Df=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Tf)return r;do{n%2&&(r+=t),(n=Df(n/2))&&(t+=t)}while(n);return r}var Nf=Tu("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Jf="(?:"+$f+"|"+Kf+")?",Hf="[\\ufe0e\\ufe0f]?",Yf=Hf+Jf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Hf+Jf+")*",Xf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Qf=RegExp(Kf+"(?="+Kf+")|"+Xf+Yf,"g");function tl(t){return Se(t)?function(t){for(var n=Qf.lastIndex=0;Qf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":I(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Se(n)?ke(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,ol=Math.floor,il=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Dn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Dn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Ju((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return kf(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var o=r-1,i=t.length;++o<i;)if(e(t[o],n))return o;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var o=e?sl:Ht,i=-1,u=n.length,a=t;for(t===n&&(n=Rt(n)),r&&(a=x(t,vr(r)));++i<u;)for(var c=0,f=n[i],l=r?r(f):f;(c=o(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var o=n[r];if(r==e||o!==i){var i=o;sn(o)?yl.call(t,o,1):xf(t,o)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=oe(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Sf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function kl(t){return function(n,r,e){return e&&"number"!=typeof e&&Xn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var o=-1,i=El(Al((n-t)/(r||1)),0),u=Array(i);i--;)u[e?i:++o]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var Il=kl(),Sl=kl(!0),Wl=le((function(t,n){return Dn(t,256,void 0,void 0,void 0,n)}));function Ml(t,n,r,e,o){return o(t,(function(t,o,i){r=e?(e=!1,t):n(r,t,o,i)})),r}function Rl(t,n,r,e){var o=null==t?0:t.length;for(e&&o&&(r=t[--o]);o--;)r=n(r,t[o],o,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Pl=So("round");function Cl(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Ll(t){return Cl(xc(t))}function Tl(t,n){var r=-1,e=t.length,o=e-1;for(n=void 0===n?e:n;++r<n;){var i=jl(r,o),u=t[i];t[i]=t[r],t[r]=u}return t.length=n,t}function Dl(t,n){return Tl(Rt(t),zo(n,0,t.length))}function Ul(t,n){var r=xc(t);return Tl(r,zo(n,0,r.length))}function Nl(t){return Tl(Rt(t))}function Fl(t){return Tl(xc(t))}var ql=Ao((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,o){return!(r=n(t,e,o))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Xn(t,n[0],n[1])?n=[]:r>2&&Xn(n[0],n[1],n[2])&&(n=[n[0]]),Wf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Jl(t,n,r,e){var o=0,i=null==t?0:t.length;if(0===i)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;o<i;){var l=Zl((o+i)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?o=l+1:i=l}return Gl(i,Vl)}function Hl(t,n,r){var e=0,o=null==t?e:t.length;if("number"==typeof n&&n==n&&o<=2147483647){for(;e<o;){var i=e+o>>>1,u=t[i];null!==u&&!m(u)&&(r?u<=n:u<n)?e=i+1:o=i}return o}return Jl(t,n,V,r)}function Yl(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;i[o++]=0===u?0:u}}return i}var Xl=Math.max,Ql=Ao((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=S((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var os={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function is(t){return"\\"+os[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,ie([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Ht(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Ht(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,ks=RegExp(Es.source),Is=Qo&&1/nu(new Qo([,-0]))[1]==1/0?function(t){return new Qo(t)}:Et,Ss=200;function Ws(t,n,r){var e=-1,o=Yt,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=_a;else if(i>=Ss){var f=n?null:Is(t);if(f)return nu(f);u=!1,o=Hi,c=new Gi}else c=n?[]:a;t:for(;++e<i;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else o(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Ms=Gn((function(t){return Ws(ce(t,1,ca,!0))})),Rs=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ws(ce(t,1,ca,!0),Uu(n))})),Bs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ws(ce(t,1,ca,!0),void 0,n)})),zs=0,Ps=Math.max;function Cs(t){if(!t||!t.length)return[];var n=0;return t=Fo(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Tu(n))}))}function Ls(t,n){if(!t||!t.length)return[];var r=Cs(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ts(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ds=Ao((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,o=function(n){return oe(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[o],thisArg:void 0}),new Mt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(o)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ws(t[0]):[];for(var o=-1,i=Array(e);++o<e;)for(var u=t[o],a=-1;++a<e;)a!=o&&(i[o]=ma(i[o]||u,t[a],n,r));return Ws(ce(i,1),n,r)}var qs=Gn((function(t){return Fs(Fo(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Fo(t,ca),Uu(n))})),Ks=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Fo(t,ca),void 0,n)})),Vs=Gn(Cs);function Zs(t,n,r){for(var e=-1,o=t.length,i=n.length,u={};++e<o;){var a=e<i?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Js,Hs=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Ls(t,r)})),Ys={chunk:function(t,n,r){n=(r?Xn(t,n,r):void 0===n)?1:Bo(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var o=0,i=0,u=Array(Ro(e/n));o<e;)u[i++]=Ee(t,o,o+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,o=[];++n<r;){var i=t[n];i&&(o[e++]=i)}return o},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return ie(O(r)?Rt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&Xn(t,n,r)&&(r=0,e=o),function(t,n,r,e){var o=t.length;for((r=K(r))<0&&(r=-r>o?0:o+r),(e=void 0===e||e>o?o:K(e))<0&&(e+=o),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ja,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var o=t[n];e[o[0]]=o[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=null==r?0:K(r);return o<0&&(o=Ac(e+o,0)),Ht(t,n,o)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Sc,intersectionBy:Wc,intersectionWith:Mc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var o=e;return void 0!==r&&(o=(o=K(r))<0?ef(e+o,0):of(o,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,o):Gt(t,Jt,o,!0)},nth:function(t,n){return t&&t.length?wf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,o=[],i=t.length;for(n=Uu(n);++e<i;){var u=t[e];n(u,e,t)&&(r.push(u),o.push(e))}return gl(t,o),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Xn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Hl(t,n)},sortedIndexBy:function(t,n,r){return Jl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Hl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Hl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Jl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Hl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Ms,unionBy:Rs,unionWith:Bs,uniq:function(t){return t&&t.length?Ws(t):[]},uniqBy:function(t,n){return t&&t.length?Ws(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ws(t,void 0,n):[]},unzip:Cs,unzipWith:Ls,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Hs},Xs={countBy:Yu,each:Ia,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Xn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Fo:Va)(t,Uu(n))},find:Ha,findLast:nc,flatMap:function(t,n){return ce(oc(t,n),1)},flatMapDeep:function(t,n){return ce(oc(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(oc(t,n),r)},forEach:Ia,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var o=t.length;return r<0&&(r=Oc(o+r,0)),jc(t)?r<=o&&t.indexOf(n,r)>-1:!!o&&Ht(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:oc,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Wf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Ml,o=arguments.length<3;return e(t,Uu(n),r,o,Zu)},reduceRight:function(t,n,r){var e=O(t)?Rl:Ml,o=arguments.length<3;return e(t,Uu(n),r,o,Ra)},reject:function(t,n){return(O(t)?Fo:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Cl:Ll)(t)},sampleSize:function(t,n,r){return n=(r?Xn(t,n,r):void 0===n)?1:K(n),(O(t)?Dl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=si(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Ji:$l;return r&&Xn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Qs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Xu,curryRight:Qu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Dn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Wl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Xl(K(n),0),Gn((function(r){var e=r[n],o=ke(r,0,n);return e&&ie(o,e),_t(t,this,o)}))},throttle:function(t,n,r){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),ea(t,n,{leading:e,maxWait:n,trailing:o})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(ka(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zi(t,4)},cloneDeep:function(t){return Zi(t,5)},cloneDeepWith:function(t,n){return Zi(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zi(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,kr(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=si(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Jc,isLength:Hn,isMap:Ui,isMatch:function(t,n){return t===n||ku(t,n,Su(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,ku(t,n,Su(n),r)},isNaN:function(t){return Hc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Hc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Qc,isSafeInteger:function(t){return Jc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fi,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==si(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?zo(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Xr},rp={add:W,ceil:Wo,divide:Aa,floor:ic,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Sr,assignIn:Rr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Co(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:Ca,extend:Rr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Ma)},forIn:function(t,n){return null==t?t:$u(t,ka(n),Mr)},forInRight:function(t,n){return null==t?t:Wa(t,ka(n),Mr)},forOwn:function(t,n){return t&&Ku(t,ka(n))},forOwnRight:function(t,n){return t&&Ma(t,ka(n))},functions:function(t){return null==t?[]:fc(t,kr(t))},functionsIn:function(t){return null==t?[]:fc(t,Mr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Tc,invoke:Nc,keys:kr,keysIn:Mr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,n(t,e,o),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,o){Nn(r,e,n(t,e,o))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return If(t,bf(Uu(n)))},pick:ll,pickBy:If,result:function(t,n,r){var e=-1,o=(n=Qr(n,t)).length;for(o||(o=1,t=void 0);++e<o;){var i=null==t?void 0:t[ne(n[e])];void 0===i&&(e=o,i=r),t=Y(i)?i.call(t):i}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:Pa,toPairsIn:Ca,transform:function(t,n,r){var e=O(t),o=e||pr(t)||mr(t);if(n=Uu(n),null==r){var i=t&&t.constructor;r=o?e?new i:[]:P(t)&&Y(i)?dt(pe(t)):{}}return(o?Zt:Ku)(t,(function(t,e,o){return n(r,t,e,o)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ts(t,n,ka(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ts(t,n,ka(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Mr(t))}},op={at:Ns,chain:Mo,commit:function(){return new Mt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?o.__wrapped__=e:n=e;var o=e;r=r.__wrapped__}return o.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Mt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mo(this)}},ip={camelCase:Eo,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Xr(t),n=I(n);var e=t.length,o=r=void 0===r?e:zo(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,o)==n},escape:Ua,escapeRegExp:function(t){return(t=Xr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var o=(n-e)/2;return rl(ol(o),r)+t+rl(el(o),r)},padEnd:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Xr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Xr(t).replace(il,""),n||0)},repeat:function(t,n,r){return n=(r?Xn(t,n,r):void 0===n)?1:K(n),Uf(Xr(t),n)},replace:function(){var t=arguments,n=Xr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Xn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Xr(t))&&("string"==typeof n||null!=n&&!Qc(n))&&!(n=I(n))&&Se(t)?ke(Fe(t),0,r):t.split(n,r):[]},startCase:Ql,startsWith:function(t,n,r){return t=Xr(t),r=null==r?0:zo(K(r),0,t.length),n=I(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Xn(t,n,r)&&(n=void 0),t=Xr(t),n=Br({},n,e,es);var o,i,u=Br({},n.imports,e.imports,es),a=kr(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,is),r&&(o=!0,s+="' +\n__e("+r+") +\n'"),a&&(i=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Xr(t).toLowerCase()},toUpper:function(t){return Xr(t).toUpperCase()},trim:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return z(t);if(!t||!(n=I(n)))return t;var e=Fe(t),o=Fe(n);return ke(e,ws(e,o),js(e,o)+1).join("")},trimEnd:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return t.slice(0,R(t)+1);if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Xr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=I(n)))return t;var e=Fe(t);return ke(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var o="separator"in n?n.separator:o;r="length"in n?K(n.length):r,e="omission"in n?I(n.omission):e}var i=(t=Xr(t)).length;if(Se(t)){var u=Fe(t);i=u.length}if(r>=i)return t;var a=r-tl(e);if(a<1)return e;var c=u?ke(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+e;if(u&&(a+=c.length-a),Qc(o)){if(t.slice(a).search(o)){var f,l=c;for(o.global||(o=RegExp(o.source,Xr(Os.exec(o))+"g")),o.lastIndex=0;f=o.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(I(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Xr(t))&&ks.test(t)?t.replace(Es,As):t},upperCase:Ds,upperFirst:$e,words:xo},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var o=t[e];if(_t(o[0],this,r))return _t(o[1],this,r)}}))},conforms:function(t){return function(t){var n=kr(t);return function(r){return Nu(r,t,n)}}(Zi(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zi(t,1))},matches:function(t){return Mu(Zi(t,1))},matchesProperty:function(t,n){return Lu(t,Zi(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=K(t),Gn((function(n){return wf(n,t)}))},over:Rf,overEvery:Cf,overSome:Lf,property:Du,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:Il,rangeRight:Sl,stubArray:qo,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=ka(n),t-=gs;for(var o=rr(e,n);++r<t;)n(r);return o},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Rt(Yr(Xr(t)))},uniqueId:function(t){var n=++zs;return Xr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Js=gf,function(t,n,r){if(null==r){var e=P(n),o=e&&kr(n),i=o&&o.length&&fc(n,o);(i?i.length:e)||(r=n,n=t,t=this)}return Js(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=op.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Xs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Xs.filter,Pt.flatMap=Xs.flatMap,Pt.flatMapDeep=Xs.flatMapDeep,Pt.flatMapDepth=Xs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Xs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Xs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Xs.keyBy,Pt.keys=kr,Pt.keysIn=ep.keysIn,Pt.map=Xs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Xs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Xs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Xs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Xs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Xs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Xs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=ip.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=op.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=ip.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=ip.camelCase,Pt.capitalize=ip.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),zo(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=ip.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=ip.endsWith,Pt.eq=np.eq,Pt.escape=ip.escape,Pt.escapeRegExp=ip.escapeRegExp,Pt.every=Xs.every,Pt.find=Xs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Xs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Xs.forEach,Pt.forEachRight=Xs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=V,Pt.includes=Xs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=ip.kebabCase,Pt.last=wa,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=ip.lowerCase,Pt.lowerFirst=ip.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Qs,Pt.pad=ip.pad,Pt.padEnd=ip.padEnd,Pt.padStart=ip.padStart,Pt.parseInt=ip.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Xn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var o=Ol();return xl(t+o*(n-t+wl("1e-"+((o+"").length-1))),n)}return jl(t,n)},Pt.reduce=Xs.reduce,Pt.reduceRight=Xs.reduceRight,Pt.repeat=ip.repeat,Pt.replace=ip.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Xs.sample,Pt.size=Xs.size,Pt.snakeCase=ip.snakeCase,Pt.some=Xs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=ip.startCase,Pt.startsWith=ip.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=ip.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=K,Pt.toLength=np.toLength,Pt.toLower=ip.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=ip.toUpper,Pt.trim=ip.trim,Pt.trimEnd=ip.trimEnd,Pt.trimStart=ip.trimStart,Pt.truncate=ip.truncate,Pt.unescape=ip.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=ip.upperCase,Pt.upperFirst=ip.upperFirst,Pt.each=Xs.forEach,Pt.eachRight=Xs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Ku(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=ip.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),o=Pt[e?"take"+("last"==n?"Right":""):n],i=e||/^find/.test(n);o&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=o.apply(Pt,ie([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=i&&!s,v=a&&!p;if(!i&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Mt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var o=this.value();return n.apply(O(o)?o:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(It,e)||(It[e]=[]),It[e].push({name:n,func:r})}})),It[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Rt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Rt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Rt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,o=r?t.length:0,i=function(t,n,r){for(var e=-1,o=r.length;++e<o;){var i=r[e],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&o==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=op.at,Pt.prototype.chain=op.wrapperChain,Pt.prototype.commit=op.commit,Pt.prototype.next=op.next,Pt.prototype.plant=op.plant,Pt.prototype.reverse=op.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=op.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=op.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const o=gp(t),i=(0,e.useMemo)((()=>ea(o,n,r)),[o,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>i.cancel())),i},bp=({children:t,capture:n,wait:r,options:o})=>{const i=e.Children.only(t),u=_p(((...t)=>{const r=null==i?void 0:i.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,o);return(0,e.cloneElement)(i,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)n.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:o=0,rootMargin:i="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:i,threshold:o});return n.observe(t),()=>{n.unobserve(t)}}),[r,o,i,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:i,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:i,root:u,rootMargin:a});return(0,o.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:i,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},i)),[i]);return(0,o.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),kp=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const Ip=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,o.jsx)(e.Fragment,{children:t}):null},Sp=t=>!!Ep()&&window.matchMedia(t).matches,Wp=t=>{const[n,r]=(0,e.useState)(Sp(t)),o=(0,e.useCallback)((()=>{r(Sp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)}),[t,o]),{isMatch:n}},Mp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Rp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),o=(0,e.useRef)(null),i=gp(t),u=(0,e.useCallback)((([t])=>{t&&(i(t),r(t.contentRect))}),[i]);return(0,e.useEffect)((()=>{const t=o.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:o,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[o,i]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{i({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return kp((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),o}}}]); \ No newline at end of file diff --git a/assets/js/b3bf5b56.1ed1a261.js b/assets/js/b3bf5b56.79bcfc0b.js similarity index 98% rename from assets/js/b3bf5b56.1ed1a261.js rename to assets/js/b3bf5b56.79bcfc0b.js index 239734b19..a29e1ef4e 100644 --- a/assets/js/b3bf5b56.1ed1a261.js +++ b/assets/js/b3bf5b56.79bcfc0b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1175],{6627:(t,n,r)=>{r.r(n),r.d(n,{DebounceExample:()=>h,DefaultExample:()=>p,assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>f,toc:()=>s});var e=r(5735),i=r(7355),o=r(5474),u=r(4614);const a={},c="useWindowSize",f={id:"react/hooks/useWindowSize",title:"useWindowSize",description:"\ud604\uc7ac \ube0c\ub77c\uc6b0\uc800 \ucc3d\uc758 \ub108\ube44\uc640 \ub192\uc774 \uc815\ubcf4\ub97c \ucd94\uc801\ud558\uace0, \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4. \ub610\ud55c, \ubd88 \ud544\uc694\ud55c \ud638\ucd9c\uc744 \ubc29\uc9c0\ud558\uae30\uc704\ud55c debounce \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useWindowSize.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo"},next:{title:"abRandom",permalink:"/modern-kit/docs/utils/common/abRandom"}},l={},s=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Debounce",id:"debounce",level:3}],p=()=>{const t={br:"br",div:"div",...(0,i.a)()},n=(0,o.iP)(),r=(0,u.useMemo)((()=>({width:"100%",background:"#439966",fontSize:"2rem",color:"#fff"})),[]);return(0,e.jsxs)(t.div,{style:r,children:["\ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),"width: ",n.width,"px ",(0,e.jsx)(t.br,{}),"height: ",n.height,"px"]})},h=()=>{const t={br:"br",div:"div",...(0,i.a)()},n=(0,o.iP)({isDebounce:!0,wait:300}),r=(0,u.useMemo)((()=>({width:"100%",background:"#0067A3",fontSize:"2rem",color:"#fff"})),[]);return(0,e.jsxs)(t.div,{style:r,children:["\ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),"width: ",n.width,"px ",(0,e.jsx)(t.br,{}),"height: ",n.height,"px"]})};function v(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"usewindowsize",children:"useWindowSize"}),"\n",(0,e.jsxs)(n.p,{children:["\ud604\uc7ac \ube0c\ub77c\uc6b0\uc800 \ucc3d\uc758 \ub108\ube44\uc640 \ub192\uc774 \uc815\ubcf4\ub97c \ucd94\uc801\ud558\uace0, \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4. \ub610\ud55c, \ubd88 \ud544\uc694\ud55c \ud638\ucd9c\uc744 \ubc29\uc9c0\ud558\uae30\uc704\ud55c ",(0,e.jsx)(n.code,{children:"debounce"})," \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface Size {\n width: number | null;\n height: number | null;\n}\n\ninterface useWindowSizeProps {\n isDebounce?: boolean; // debounce options, default: false\n wait?: number; // debounce delay time, default: 300\n}\n\nconst useWindowSize: (options?: useWindowSizeProps) => Size\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useWindowSize } from '@modern-kit/react';\n\nconst Example = () => {\n const windowSize = useWindowSize();\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n background: '#439966', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n <div style={boxStyle}>\n \ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. <br />\n width: {windowSize.width}px <br />\n height: {windowSize.height}px\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(p,{}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h3,{id:"debounce",children:"Debounce"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useWindowSize } from '@modern-kit/react';\n\nconst DebounceExample = () => {\n const windowSize = useWindowSize({ isDebounce: true, wait: 300 });\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n background: '#0067A3', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n <div style={boxStyle}>\n \ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. <br />\n width: {windowSize.width}px <br />\n height: {windowSize.height}px\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(h,{}),"\n",(0,e.jsx)("br",{})]})}function d(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(v,{...t})}):v(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Wp,ac:()=>Mp,df:()=>xp,iP:()=>Rp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>zp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var w=NaN;function j(t){return"number"==typeof t?t:m(t)?w:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,S=c?c.prototype:void 0,E=S?S.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return E?E.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function I(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=j(r),e=j(e)),i=t(r,e)}return i}}var M=I((function(t,n){return t+n}),0),W=/\s/;function z(t){for(var n=t.length;n--&&W.test(t.charAt(n)););return n}var R=/^\s+/;function B(t){return t?t.slice(0,z(t)+1).replace(R,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var L=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return L;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=B(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?L:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var wt=Math.max;function jt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=wt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function St(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Et=pt?function(t){return pt.get(t)}:St,kt={},It=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=kt[n],e=It.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Wt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function zt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Rt(t){if(t instanceof At)return t.clone();var n=new Wt(t.__wrapped__,t.__chain__);return n.__actions__=zt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Wt.prototype=dt(xt.prototype),Wt.prototype.constructor=Wt;var Bt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Wt)return t;if(Bt.call(t,"__wrapped__"))return Rt(t)}return new Wt(t)}function Lt(t){var n=Mt(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Et(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Lt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function wn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var w=cn(g),j=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,w);if(e&&(b=mt(b,e,i,v)),o&&(b=jt(b,o,u,v)),_-=j,v&&_<l){var x=vn(b,w);return an(t,n,wn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=zt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var jn=1,xn="__lodash_placeholder__",On=1,An=2,Sn=4,En=8,kn=128,In=256,Mn=Math.min,Wn="Expected a function",zn=1,Rn=2,Bn=8,Pn=16,Ln=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Rn;if(!f&&"function"!=typeof t)throw new TypeError(Wn);var l=e?e.length:0;if(l||(n&=~(Ln|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:Et(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==En||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==En;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:Sn);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?jt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(Bn|Pn)&&(n&=~(Bn|Pn)),n&&n!=zn)d=n==Bn||n==Pn?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,wn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Ln&&n!=(zn|Ln)||i.length?wn.apply(void 0,v):function(t,n,r,e){var i=n&jn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hs){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Jn(t.length)&&!!hr[g(t)]},wr=Object.prototype.hasOwnProperty;function jr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!wr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Sr(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Er(t){return Yn(t)?jr(t):Sr(t)}var kr=Object.prototype.hasOwnProperty,Ir=Xn((function(t,n){if(nr(n)||Yn(n))Kn(n,Er(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Wr(t){return Yn(t)?jr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var zr=Xn((function(t,n){Kn(n,Wr(n),t)})),Rr=Xn((function(t,n,r,e){Kn(n,Wr(n),t,e)})),Br=Xn((function(t,n,r,e){Kn(n,Er(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Lr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,i){n.push(e?i.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var we=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function je(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Se(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ee(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Se(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Me="\\ud800-\\udfff",We="["+Me+"]",ze="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Re="\\ud83c[\\udffb-\\udfff]",Be="[^"+Me+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+ze+"|"+Re+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[Be,Pe,Le].join("|")+")"+De+Ce+")*",Ue="(?:"+[Be+ze+"?",ze,Pe,Le,We].join("|")+")",Ne=RegExp(Re+"(?="+Re+")|"+Ue+Te,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ee(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,wi=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+yi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function ji(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(wi)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(ji(Ye(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Si=a.isFinite,Ei=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Ei(K(r),292))&&Si(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Ii=ki("ceil");function Mi(t){var n=Pt(t);return n.__chain__=!0,n}var Wi=Math.ceil,zi=Math.max;function Ri(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Bi(t){var n=this.__data__=new $r(t);this.size=n.size}function Pi(t,n){return t&&Kn(n,Er(n),t)}Bi.prototype.clear=function(){this.__data__=new $r,this.size=0},Bi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Bi.prototype.get=function(t){return this.__data__.get(t)},Bi.prototype.has=function(t){return this.__data__.has(t)},Bi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Li="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Li&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Li?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Er,Ki)}function Hi(t){return Zi(t,Wr,Vi)}var Ji=lt(a,"DataView"),Yi=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Ji),oo=rt(Kr),uo=rt(Yi),ao=rt(Qi),co=rt(st),fo=g;(Ji&&fo(new Ji(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Yi&&fo(Yi.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",wo="[object Map]",jo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",So="[object Symbol]",Eo="[object ArrayBuffer]",ko="[object DataView]",Io="[object Float32Array]",Mo="[object Float64Array]",Wo="[object Int8Array]",zo="[object Int16Array]",Ro="[object Int32Array]",Bo="[object Uint8Array]",Po="[object Uint8ClampedArray]",Lo="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?vr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return zt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Wr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Pi(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Eo:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Io:case Mo:case Wo:case zo:case Ro:case Bo:case Po:case Lo:case Co:return _o(t,r);case wo:return new i;case jo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case So:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new Bi);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Hi:Gi:c?Wr:Er)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ho(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Jo(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Yo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Yo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ho(n,(function(t,n){if(!Jo(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",wu="[object Array]",ju="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?wu:lo(t),f=a?wu:lo(n),l=(c=c==mu?ju:c)==ju,s=(f=f==mu?ju:f)==ju,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new Bi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return o||(o=new Bi),i(d,y,r,e,o)}}return!!p&&(o||(o=new Bi),function(t,n,r,e,i,o){var u=r&gu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Su=2;function Eu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Bi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Su,e,s):p))return!1}}return!0}function ku(t){return t==t&&!P(t)}function Iu(t){for(var n=Er(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Wu(t){var n=Iu(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||Eu(r,t,n)}}function zu(t,n){return null!=t&&n in Object(t)}function Ru(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Jn(i)&&sn(u,i)&&(O(t)||ar(t))}function Bu(t,n){return null!=t&&Ru(t,n,zu)}var Pu=1,Lu=2;function Cu(t,n){return Cr(t)&&ku(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Bu(r,t):Ou(n,e,Pu|Lu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Wu(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Er)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Hu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Uu(e),o)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Wr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Wr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new Bi),P(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=zt(a):h?(s=!1,l=Ui(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Wr)}function pa(t,n,r,e,i,o){return P(t)&&P(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Jo,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var wa=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function ja(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=ja(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=ja(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=I((function(t,n){return t/n}),1);function Sa(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Se(t,e?0:o,e?o+1:i):Se(t,e?o+1:0,e?i:o)}function Ea(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ea(n))}function Ia(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Wa(t,n){return t&&Ma(t,n,Er)}var za=Vu(Wa,!0);function Ra(t,n){return(O(t)?Ia:za)(t,Ea(n))}function Ba(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=Ba(Er),La=Ba(Wr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?Ri(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Yn(n)){var o=Uu(r);n=Er(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Uu(n),i)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Wt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==Mt(o))var u=new Wt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(o=n[e]),c="wrapper"==a?Et(o):void 0;u=c&&Lt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==o.length&&Lt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function wc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function jc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:jc(t,Er(t))}var Oc=Math.max,Ac=Math.max,Sc=Math.min;function Ec(t,n,r){for(var e=r?_a:Yt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Sc(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Jo(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Jo(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Ic=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ec(n):[]})),Mc=Gn((function(t){var n=ja(t),r=x(t,kc);return n===ja(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ec(r,Uu(n)):[]})),Wc=Gn((function(t){var n=ja(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ec(r,void 0,n):[]}));function zc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Rc=Object.prototype.toString,Bc=zc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Rc.call(n)),t[n]=r}),qt(V)),Pc=Object.prototype,Lc=Pc.hasOwnProperty,Cc=Pc.toString,Dc=zc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Lc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Se(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(ja(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Yn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Er(n),i=fc(n,e),o=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=zt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=I((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function wf(t){if(!t)return[];if(Yn(t))return wc(t)?Fe(t):zt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function jf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(ja(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Hi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Sf(t,n,r,e){if(!P(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Ef(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Sf(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Hi(t),(function(t){return[t]}));return n=Uu(n),Ef(t,r,(function(t,r){return n(t,r[0])}))}function If(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=If(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Wf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var zf=Wf(x),Rf=Gn,Bf=Math.min,Pf=Rf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var i=-1,o=Bf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Lf=Wf(qa),Cf=Wf(Ho),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function tl(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Ie(n)?Ee(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Ef(t,n,(function(n,r){return Bu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Jt,o=-1,u=n.length,a=t;for(t===n&&(n=zt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(If)),e})),bl=Math.floor,ml=Math.random;function wl(t,n){return t+bl(ml()*(n-t+1))}var jl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,Sl=Math.max;function El(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=Sl(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=El(),Il=El(!0),Ml=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Wl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function zl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Rl=Array.prototype.reverse;function Bl(t){return null==t?t:Rl.call(t)}var Pl=ki("round");function Ll(t){var n=t.length;return n?t[wl(0,n-1)]:void 0}function Cl(t){return Ll(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=wl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(zt(t),Ri(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Ri(n,0,r.length))}function Nl(t){return Dl(zt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Gl(o,Vl)}function Jl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Hl(t,n,V,r)}function Yl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=I((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function ws(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function js(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ss=/&(?:amp|lt|gt|quot|#39);/g,Es=RegExp(Ss.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:St,Is=200;function Ms(t,n,r){var e=-1,i=Yt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Is){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Jo,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Ws=Gn((function(t){return Ms(ce(t,1,ca,!0))})),zs=Gn((function(t){var n=ja(t);return ca(n)&&(n=void 0),Ms(ce(t,1,ca,!0),Uu(n))})),Rs=Gn((function(t){var n=ja(t);return n="function"==typeof n?n:void 0,Ms(ce(t,1,ca,!0),void 0,n)})),Bs=0,Ps=Math.max;function Ls(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ls(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Sf(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Wt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ms(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ms(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ni(t,ca))})),$s=Gn((function(t){var n=ja(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Ks=Gn((function(t){var n=ja(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Vs=Gn(Ls);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Ys={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:zi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Wi(e/n));i<e;)u[o++]=Se(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?zt(r):[r],ce(n,1))},difference:wa,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Jt(t,n,i)},initial:function(t){return null!=t&&t.length?Se(t,0,-1):[]},intersection:Ic,intersectionBy:Mc,intersectionWith:Wc,join:function(t,n){return null==t?"":tf.call(t,n)},last:ja,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Ht,i,!0)},nth:function(t,n){return t&&t.length?jf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:Bl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Se(t,n,r)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,r){return Hl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Jl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Jl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Se(t,1,n):[]},take:function(t,n,r){return t&&t.length?Se(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Sa(t,Uu(n)):[]},union:Ws,unionBy:zs,unionWith:Rs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ls,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Sf)},zipWith:Js},Qs={countBy:Yu,each:ka,eachRight:Ra,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ra,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),wc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Wl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?zl:Wl,i=arguments.length<3;return e(t,Uu(n),r,i,za)},reject:function(t,n){return(O(t)?Ni:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ll:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return wc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Sr(t).length},some:function(t,n,r){var e=O(t)?Ho:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:je,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return je(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(K(n),0),Gn((function(r){var e=r[n],i=Ee(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ea(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Er(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Sr(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Uo,isMatch:function(t,n){return t===n||Eu(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Eu(t,n,Iu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:wc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:wf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Ri(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Ii,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:zr,assignInWith:Rr,assignWith:Br,at:se,create:function(t,n){var r=dt(t);return null==n?r:Pi(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:La,extend:zr,extendWith:Rr,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Wa)},forIn:function(t,n){return null==t?t:$u(t,Ea(n),Wr)},forInRight:function(t,n){return null==t?t:Ma(t,Ea(n),Wr)},forOwn:function(t,n){return t&&Ku(t,Ea(n))},forOwnRight:function(t,n){return t&&Wa(t,Ea(n))},functions:function(t){return null==t?[]:fc(t,Er(t))},functionsIn:function(t){return null==t?[]:fc(t,Wr(t))},get:ee,has:function(t,n){return null!=t&&Ru(t,n,gc)},hasIn:Bu,invert:Bc,invertBy:Dc,invoke:Nc,keys:Er,keysIn:Wr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=Y(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Sf(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Sf(t,n,r,e)},toPairs:Pa,toPairsIn:La,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:P(t)&&Y(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ea(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ea(r),e)},values:xc,valuesIn:function(t){return null==t?[]:jc(t,Wr(t))}},ip={at:Ns,chain:Mi,commit:function(){return new Wt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=wf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Rt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[Bl],thisArg:void 0}),new Wt(n,this.__chain__)}return this.thru(Bl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mi(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Ri(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Ee(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Ri(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Rr({},n,e,es);var i,o,u=Rr({},n.imports,e.imports,es),a=Er(u),c=jc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=we((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return B(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ee(e,js(e,i),ws(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,z(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,0,ws(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,js(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Ie(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ee(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Es.test(t)?t.replace(Ss,As):t},upperCase:Ts,upperFirst:$e,words:ji},up={attempt:we,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Er(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Wu(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:St,nthArg:function(t){return t=K(t),Gn((function(n){return jf(n,t)}))},over:zf,overEvery:Lf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Il,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ea(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:zt(Yr(Qr(t)))},uniqueId:function(t){var n=++Bs;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Hs=gf,function(t,n,r){if(null==r){var e=P(n),i=e&&Er(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Hs(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=ip.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Qs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Qs.filter,Pt.flatMap=Qs.flatMap,Pt.flatMapDeep=Qs.flatMapDeep,Pt.flatMapDepth=Qs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Qs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Qs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Qs.keyBy,Pt.keys=Er,Pt.keysIn=ep.keysIn,Pt.map=Qs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Qs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Qs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Qs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Qs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Qs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Qs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=op.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=ip.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=op.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=op.camelCase,Pt.capitalize=op.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Ri(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=op.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=op.endsWith,Pt.eq=np.eq,Pt.escape=op.escape,Pt.escapeRegExp=op.escapeRegExp,Pt.every=Qs.every,Pt.find=Qs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Qs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Qs.forEach,Pt.forEachRight=Qs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=V,Pt.includes=Qs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=op.kebabCase,Pt.last=ja,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=op.lowerCase,Pt.lowerFirst=op.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Xs,Pt.pad=op.pad,Pt.padEnd=op.padEnd,Pt.padStart=op.padStart,Pt.parseInt=op.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+jl("1e-"+((i+"").length-1))),n)}return wl(t,n)},Pt.reduce=Qs.reduce,Pt.reduceRight=Qs.reduceRight,Pt.repeat=op.repeat,Pt.replace=op.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Qs.sample,Pt.size=Qs.size,Pt.snakeCase=op.snakeCase,Pt.some=Qs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=op.startCase,Pt.startsWith=op.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=op.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=K,Pt.toLength=np.toLength,Pt.toLower=op.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=op.toUpper,Pt.trim=op.trim,Pt.trimEnd=op.trimEnd,Pt.trimStart=op.trimStart,Pt.truncate=op.truncate,Pt.unescape=op.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=op.upperCase,Pt.upperFirst=op.upperFirst,Pt.each=Qs.forEach,Pt.eachRight=Qs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Ku(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=op.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Pt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Pt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Wt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[wn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=zt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=zt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=zt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=ip.at,Pt.prototype.chain=ip.wrapperChain,Pt.prototype.commit=ip.commit,Pt.prototype.next=ip.next,Pt.prototype.plant=ip.plant,Pt.prototype.reverse=ip.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=ip.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const wp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},jp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=wp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:jp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=wp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:jp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Sp=()=>!Ap(),Ep=Sp()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Sp()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Ip(t)),i=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Wp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},zp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Rp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ep((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1175],{4037:(t,n,r)=>{r.r(n),r.d(n,{DebounceExample:()=>p,DefaultExample:()=>s,assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>f,toc:()=>h});var e=r(5735),i=r(7355),o=r(5474),u=r(4614);const a={},c="useWindowSize",f={id:"react/hooks/useWindowSize",title:"useWindowSize",description:"\ud604\uc7ac \ube0c\ub77c\uc6b0\uc800 \ucc3d\uc758 \ub108\ube44\uc640 \ub192\uc774 \uc815\ubcf4\ub97c \ucd94\uc801\ud558\uace0, \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4. \ub610\ud55c, \ubd88 \ud544\uc694\ud55c \ud638\ucd9c\uc744 \ubc29\uc9c0\ud558\uae30\uc704\ud55c debounce \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useWindowSize.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useWindowSize",permalink:"/modern-kit/docs/react/hooks/useWindowSize",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useWindowScrollTo",permalink:"/modern-kit/docs/react/hooks/useWindowScrollTo"},next:{title:"abRandom",permalink:"/modern-kit/docs/utils/common/abRandom"}},l={},s=()=>{const t={br:"br",div:"div",...(0,i.a)()},n=(0,o.iP)(),r=(0,u.useMemo)((()=>({width:"100%",background:"#439966",fontSize:"2rem",color:"#fff"})),[]);return(0,e.jsxs)(t.div,{style:r,children:["\ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),"width: ",n.width,"px ",(0,e.jsx)(t.br,{}),"height: ",n.height,"px"]})},p=()=>{const t={br:"br",div:"div",...(0,i.a)()},n=(0,o.iP)({isDebounce:!0,wait:300}),r=(0,u.useMemo)((()=>({width:"100%",background:"#0067A3",fontSize:"2rem",color:"#fff"})),[]);return(0,e.jsxs)(t.div,{style:r,children:["\ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. ",(0,e.jsx)(t.br,{}),"width: ",n.width,"px ",(0,e.jsx)(t.br,{}),"height: ",n.height,"px"]})},h=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Debounce",id:"debounce",level:3}];function v(t){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"usewindowsize",children:"useWindowSize"}),"\n",(0,e.jsxs)(n.p,{children:["\ud604\uc7ac \ube0c\ub77c\uc6b0\uc800 \ucc3d\uc758 \ub108\ube44\uc640 \ub192\uc774 \uc815\ubcf4\ub97c \ucd94\uc801\ud558\uace0, \ubc18\ud658\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4. \ub610\ud55c, \ubd88 \ud544\uc694\ud55c \ud638\ucd9c\uc744 \ubc29\uc9c0\ud558\uae30\uc704\ud55c ",(0,e.jsx)(n.code,{children:"debounce"})," \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface Size {\n width: number | null;\n height: number | null;\n}\n\ninterface useWindowSizeProps {\n isDebounce?: boolean; // debounce options, default: false\n wait?: number; // debounce delay time, default: 300\n}\n\nconst useWindowSize: (options?: useWindowSizeProps) => Size\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useWindowSize } from '@modern-kit/react';\n\nconst Example = () => {\n const windowSize = useWindowSize();\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n background: '#439966', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n <div style={boxStyle}>\n \ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. <br />\n width: {windowSize.width}px <br />\n height: {windowSize.height}px\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(s,{}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h3,{id:"debounce",children:"Debounce"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { useWindowSize } from '@modern-kit/react';\n\nconst DebounceExample = () => {\n const windowSize = useWindowSize({ isDebounce: true, wait: 300 });\n const boxStyle = useMemo(() => {\n return {\n width: '100%', \n background: '#0067A3', \n fontSize: '2rem',\n color: '#fff',\n }\n }, []);\n\n return (\n <div style={boxStyle}>\n \ube0c\ub77c\uc6b0\uc800 \ud06c\uae30\ub97c \uc904\uc5ec\ubcf4\uc138\uc694. <br />\n width: {windowSize.width}px <br />\n height: {windowSize.height}px\n </div>\n );\n};\n"})}),"\n","\n",(0,e.jsx)(p,{}),"\n",(0,e.jsx)("br",{})]})}function d(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(v,{...t})}):v(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Wp,ac:()=>Mp,df:()=>xp,iP:()=>Rp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>zp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var w=NaN;function j(t){return"number"==typeof t?t:m(t)?w:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,S=c?c.prototype:void 0,E=S?S.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return E?E.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function I(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=j(r),e=j(e)),i=t(r,e)}return i}}var M=I((function(t,n){return t+n}),0),W=/\s/;function z(t){for(var n=t.length;n--&&W.test(t.charAt(n)););return n}var R=/^\s+/;function B(t){return t?t.slice(0,z(t)+1).replace(R,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var L=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return L;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=B(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?L:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function K(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function V(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:V,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var wt=Math.max;function jt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=wt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function St(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var Et=pt?function(t){return pt.get(t)}:St,kt={},It=Object.prototype.hasOwnProperty;function Mt(t){for(var n=t.name+"",r=kt[n],e=It.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Wt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function zt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Rt(t){if(t instanceof At)return t.clone();var n=new Wt(t.__wrapped__,t.__chain__);return n.__actions__=zt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Wt.prototype=dt(xt.prototype),Wt.prototype.constructor=Wt;var Bt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Wt)return t;if(Bt.call(t,"__wrapped__"))return Rt(t)}return new Wt(t)}function Lt(t){var n=Mt(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=Et(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Kt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:V,Vt=Dt(Kt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Vt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Lt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function wn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var w=cn(g),j=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,w);if(e&&(b=mt(b,e,i,v)),o&&(b=jt(b,o,u,v)),_-=j,v&&_<l){var x=vn(b,w);return an(t,n,wn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=zt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var jn=1,xn="__lodash_placeholder__",On=1,An=2,Sn=4,En=8,kn=128,In=256,Mn=Math.min,Wn="Expected a function",zn=1,Rn=2,Bn=8,Pn=16,Ln=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Rn;if(!f&&"function"!=typeof t)throw new TypeError(Wn);var l=e?e.length:0;if(l||(n&=~(Ln|Cn),e=i=void 0),u=void 0===u?u:Dn(K(u),0),c=void 0===c?c:K(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:Et(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==En||e==kn&&r==In&&t[7].length<=n[8]||e==(kn|In)&&n[7].length<=n[8]&&r==En;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:Sn);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?jt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Mn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(Bn|Pn)&&(n&=~(Bn|Pn)),n&&n!=zn)d=n==Bn||n==Pn?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,wn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Ln&&n!=(zn|Ln)||i.length?wn.apply(void 0,v):function(t,n,r,e){var i=n&jn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Kn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Vn=Math.max;function Zn(t,n,r){return n=Vn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Vn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Vt(Zn(t,n,V),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hs){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Jn(t.length)&&!!hr[g(t)]},wr=Object.prototype.hasOwnProperty;function jr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!wr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Sr(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Er(t){return Yn(t)?jr(t):Sr(t)}var kr=Object.prototype.hasOwnProperty,Ir=Xn((function(t,n){if(nr(n)||Yn(n))Kn(n,Er(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Mr=Object.prototype.hasOwnProperty;function Wr(t){return Yn(t)?jr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Mr.call(t,e))&&r.push(e);return r}(t)}var zr=Xn((function(t,n){Kn(n,Wr(n),t)})),Rr=Xn((function(t,n,r,e){Kn(n,Wr(n),t,e)})),Br=Xn((function(t,n,r,e){Kn(n,Er(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Lr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Kr=lt(a,"Map");function Vr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Kr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Vr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Vr(this,t).get(t)},Zr.prototype.has=function(t){return Vr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Vr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,i){n.push(e?i.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Vt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var we=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function je(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Se(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ee(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Se(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ie(t){return ke.test(t)}var Me="\\ud800-\\udfff",We="["+Me+"]",ze="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Re="\\ud83c[\\udffb-\\udfff]",Be="[^"+Me+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+ze+"|"+Re+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[Be,Pe,Le].join("|")+")"+De+Ce+")*",Ue="(?:"+[Be+ze+"?",ze,Pe,Le,We].join("|")+")",Ne=RegExp(Re+"(?="+Re+")|"+Ue+Te,"g");function Fe(t){return Ie(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Ie(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ee(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ke(t){return $e(Qr(t).toLowerCase())}function Ve(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,wi=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+yi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function ji(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(wi)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ve(ji(Ye(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ke(n):n)})),Si=a.isFinite,Ei=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Ei(K(r),292))&&Si(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Ii=ki("ceil");function Mi(t){var n=Pt(t);return n.__chain__=!0,n}var Wi=Math.ceil,zi=Math.max;function Ri(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function Bi(t){var n=this.__data__=new $r(t);this.size=n.size}function Pi(t,n){return t&&Kn(n,Er(n),t)}Bi.prototype.clear=function(){this.__data__=new $r,this.size=0},Bi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},Bi.prototype.get=function(t){return this.__data__.get(t)},Bi.prototype.has=function(t){return this.__data__.has(t)},Bi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Kr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Li="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Li&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Li?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Ki=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Vi=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Ki(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Er,Ki)}function Hi(t){return Zi(t,Wr,Vi)}var Ji=lt(a,"DataView"),Yi=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Ji),oo=rt(Kr),uo=rt(Yi),ao=rt(Qi),co=rt(st),fo=g;(Ji&&fo(new Ji(new ArrayBuffer(1)))!=eo||Kr&&fo(new Kr)!=Xi||Yi&&fo(Yi.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",wo="[object Map]",jo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",So="[object Symbol]",Eo="[object ArrayBuffer]",ko="[object DataView]",Io="[object Float32Array]",Mo="[object Float64Array]",Wo="[object Int8Array]",zo="[object Int16Array]",Ro="[object Int32Array]",Bo="[object Uint8Array]",Po="[object Uint8ClampedArray]",Lo="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?vr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Ko="[object Object]",Vo={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return zt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Ko||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Kn(t,Vi(t),n)}(t,function(t,n){return t&&Kn(n,Wr(n),t)}(u,t)):function(t,n){return Kn(t,Ki(t),n)}(t,Pi(u,t))}else{if(!Vo[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Eo:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Io:case Mo:case Wo:case zo:case Ro:case Bo:case Po:case Lo:case Co:return _o(t,r);case wo:return new i;case jo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case So:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new Bi);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Hi:Gi:c?Wr:Er)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ho(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Jo(t,n){return t.has(n)}Vo[qo]=Vo["[object Array]"]=Vo["[object ArrayBuffer]"]=Vo["[object DataView]"]=Vo["[object Boolean]"]=Vo["[object Date]"]=Vo["[object Float32Array]"]=Vo["[object Float64Array]"]=Vo["[object Int8Array]"]=Vo["[object Int16Array]"]=Vo["[object Int32Array]"]=Vo["[object Map]"]=Vo["[object Number]"]=Vo[Ko]=Vo["[object RegExp]"]=Vo["[object Set]"]=Vo["[object String]"]=Vo["[object Symbol]"]=Vo["[object Uint8Array]"]=Vo["[object Uint8ClampedArray]"]=Vo["[object Uint16Array]"]=Vo["[object Uint32Array]"]=!0,Vo["[object Error]"]=Vo[$o]=Vo["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Yo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Yo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ho(n,(function(t,n){if(!Jo(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",wu="[object Array]",ju="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?wu:lo(t),f=a?wu:lo(n),l=(c=c==mu?ju:c)==ju,s=(f=f==mu?ju:f)==ju,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new Bi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return o||(o=new Bi),i(d,y,r,e,o)}}return!!p&&(o||(o=new Bi),function(t,n,r,e,i,o){var u=r&gu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Su=2;function Eu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new Bi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Su,e,s):p))return!1}}return!0}function ku(t){return t==t&&!P(t)}function Iu(t){for(var n=Er(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Mu(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Wu(t){var n=Iu(t);return 1==n.length&&n[0][2]?Mu(n[0][0],n[0][1]):function(r){return r===t||Eu(r,t,n)}}function zu(t,n){return null!=t&&n in Object(t)}function Ru(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Jn(i)&&sn(u,i)&&(O(t)||ar(t))}function Bu(t,n){return null!=t&&Ru(t,n,zu)}var Pu=1,Lu=2;function Cu(t,n){return Cr(t)&&ku(n)?Mu(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?Bu(r,t):Ou(n,e,Pu|Lu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?V:"object"==typeof t?O(t)?Cu(t[0],t[1]):Wu(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Ku(t,n){return t&&$u(t,n,Er)}function Vu(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Vu(Ku);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Hu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Uu(e),o)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Wr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Kn(t,Wr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new Bi),P(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=zt(a):h?(s=!1,l=Ui(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Wr)}function pa(t,n,r,e,i,o){return P(t)&&P(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Jo,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var wa=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function ja(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=ja(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=ja(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=I((function(t,n){return t/n}),1);function Sa(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Se(t,e?0:o,e?o+1:i):Se(t,e?o+1:0,e?i:o)}function Ea(t){return"function"==typeof t?t:V}function ka(t,n){return(O(t)?Zt:Zu)(t,Ea(n))}function Ia(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Ma=qu(!0);function Wa(t,n){return t&&Ma(t,n,Er)}var za=Vu(Wa,!0);function Ra(t,n){return(O(t)?Ia:za)(t,Ea(n))}function Ba(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=Ba(Er),La=Ba(Wr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Ka(t){return t?Ri(K(t),0,4294967295):0}function Va(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Yn(n)){var o=Uu(r);n=Er(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Uu(n),i)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=K(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Wt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==Mt(o))var u=new Wt([],!0)}for(e=u?e:r;++e<r;){var a=Mt(o=n[e]),c="wrapper"==a?Et(o):void 0;u=c&&Lt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[Mt(c[0])].apply(u,c[3]):1==o.length&&Lt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function wc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function jc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:jc(t,Er(t))}var Oc=Math.max,Ac=Math.max,Sc=Math.min;function Ec(t,n,r){for(var e=r?_a:Yt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Sc(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Jo(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Jo(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Ic=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ec(n):[]})),Mc=Gn((function(t){var n=ja(t),r=x(t,kc);return n===ja(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ec(r,Uu(n)):[]})),Wc=Gn((function(t){var n=ja(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ec(r,void 0,n):[]}));function zc(t,n){return function(r,e){return function(t,n,r,e){return Ku(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Rc=Object.prototype.toString,Bc=zc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Rc.call(n)),t[n]=r}),qt(V)),Pc=Object.prototype,Lc=Pc.hasOwnProperty,Cc=Pc.toString,Dc=zc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Lc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Se(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(ja(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Yn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Kc=_r&&_r.isDate,Vc=Kc?vr(Kc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==K(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Er(n),i=fc(n,e),o=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=zt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=I((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function wf(t){if(!t)return[];if(Yn(t))return wc(t)?Fe(t):zt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function jf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(ja(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Kn(t,Hi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Sf(t,n,r,e){if(!P(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function Ef(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Sf(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Hi(t),(function(t){return[t]}));return n=Uu(n),Ef(t,r,(function(t,r){return n(t,r[0])}))}function If(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Mf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[V];var e=-1;n=x(n,vr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=If(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Wf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var zf=Wf(x),Rf=Gn,Bf=Math.min,Pf=Rf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var i=-1,o=Bf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Lf=Wf(qa),Cf=Wf(Ho),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Kf="\\ud83c[\\udffb-\\udfff]",Vf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Kf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Vf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Vf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Kf+"(?="+Kf+")|"+Qf+Yf,"g");function tl(t){return Ie(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Ie(n)?Ee(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return Ef(t,n,(function(n,r){return Bu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Jt,o=-1,u=n.length,a=t;for(t===n&&(n=zt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(If)),e})),bl=Math.floor,ml=Math.random;function wl(t,n){return t+bl(ml()*(n-t+1))}var jl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,Sl=Math.max;function El(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=Sl(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=El(),Il=El(!0),Ml=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Wl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function zl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Rl=Array.prototype.reverse;function Bl(t){return null==t?t:Rl.call(t)}var Pl=ki("round");function Ll(t){var n=t.length;return n?t[wl(0,n-1)]:void 0}function Cl(t){return Ll(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=wl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(zt(t),Ri(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Ri(n,0,r.length))}function Nl(t){return Dl(zt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Kl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Mf(t,ce(n,1),[])})),Vl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Gl(o,Vl)}function Jl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Hl(t,n,V,r)}function Yl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=I((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ve(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function ws(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function js(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ss=/&(?:amp|lt|gt|quot|#39);/g,Es=RegExp(Ss.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:St,Is=200;function Ms(t,n,r){var e=-1,i=Yt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Is){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Jo,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Ws=Gn((function(t){return Ms(ce(t,1,ca,!0))})),zs=Gn((function(t){var n=ja(t);return ca(n)&&(n=void 0),Ms(ce(t,1,ca,!0),Uu(n))})),Rs=Gn((function(t){var n=ja(t);return n="function"==typeof n?n:void 0,Ms(ce(t,1,ca,!0),void 0,n)})),Bs=0,Ps=Math.max;function Ls(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ls(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Sf(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Wt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ms(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ms(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ni(t,ca))})),$s=Gn((function(t){var n=ja(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Ks=Gn((function(t){var n=ja(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Vs=Gn(Ls);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Ys={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:zi(K(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Wi(e/n));i<e;)u[o++]=Se(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?zt(r):[r],ce(n,1))},difference:wa,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,(n=r||void 0===n?1:K(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,0,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=K(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:K(e))<0&&(e+=i),e=r>e?0:Ka(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:K(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:K(r);return i<0&&(i=Ac(e+i,0)),Jt(t,n,i)},initial:function(t){return null!=t&&t.length?Se(t,0,-1):[]},intersection:Ic,intersectionBy:Mc,intersectionWith:Wc,join:function(t,n){return null==t?"":tf.call(t,n)},last:ja,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=K(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Ht,i,!0)},nth:function(t,n){return t&&t.length?jf(t,K(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:Bl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:K(n),r=void 0===r?e:K(r)),Se(t,n,r)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,r){return Hl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Jl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Jl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Se(t,1,n):[]},take:function(t,n,r){return t&&t.length?Se(t,0,(n=r||void 0===n?1:K(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Se(t,(n=e-(n=r||void 0===n?1:K(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Sa(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Sa(t,Uu(n)):[]},union:Ws,unionBy:zs,unionWith:Rs,uniq:function(t){return t&&t.length?Ms(t):[]},uniqBy:function(t,n){return t&&t.length?Ms(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ms(t,void 0,n):[]},unzip:Ls,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Ks,zip:Vs,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Sf)},zipWith:Js},Qs={countBy:Yu,each:ka,eachRight:Ra,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Va)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:K(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ra,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?K(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),wc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Mf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ve:Wl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?zl:Wl,i=arguments.length<3;return e(t,Uu(n),r,i,za)},reject:function(t,n){return(O(t)?Ni:Va)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ll:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return wc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Sr(t).length},some:function(t,n,r){var e=O(t)?Ho:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Kl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=K(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:je,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return je(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Ml,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:K(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(K(n),0),Gn((function(r){var e=r[n],i=Ee(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ea(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Er(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Vc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Sr(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Uo,isMatch:function(t,n){return t===n||Eu(t,n,Iu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Eu(t,n,Iu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:wc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:wf,toFinite:$,toInteger:K,toLength:Ka,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Ri(K(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:M,ceil:Ii,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,V,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,V)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,V,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,V):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Ir,assignIn:zr,assignInWith:Rr,assignWith:Br,at:se,create:function(t,n){var r=dt(t);return null==n?r:Pi(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:La,extend:zr,extendWith:Rr,findKey:function(t,n){return Ya(t,Uu(n),Ku)},findLastKey:function(t,n){return Ya(t,Uu(n),Wa)},forIn:function(t,n){return null==t?t:$u(t,Ea(n),Wr)},forInRight:function(t,n){return null==t?t:Ma(t,Ea(n),Wr)},forOwn:function(t,n){return t&&Ku(t,Ea(n))},forOwnRight:function(t,n){return t&&Wa(t,Ea(n))},functions:function(t){return null==t?[]:fc(t,Er(t))},functionsIn:function(t){return null==t?[]:fc(t,Wr(t))},get:ee,has:function(t,n){return null!=t&&Ru(t,n,gc)},hasIn:Bu,invert:Bc,invertBy:Dc,invoke:Nc,keys:Er,keysIn:Wr,mapKeys:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Ku(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=Y(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Sf(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Sf(t,n,r,e)},toPairs:Pa,toPairsIn:La,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:P(t)&&Y(o)?dt(pe(t)):{}}return(i?Zt:Ku)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ea(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ea(r),e)},values:xc,valuesIn:function(t){return null==t?[]:jc(t,Wr(t))}},ip={at:Ns,chain:Mi,commit:function(){return new Wt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=wf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Rt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[Bl],thisArg:void 0}),new Wt(n,this.__chain__)}return this.thru(Bl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Mi(this)}},op={camelCase:Ai,capitalize:Ke,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Ri(K(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=K(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:K(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Ie(t)?Ee(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Ri(K(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Rr({},n,e,es);var i,o,u=Rr({},n.imports,e.imports,es),a=Er(u),c=jc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=we((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return B(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ee(e,js(e,i),ws(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,z(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,0,ws(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ee(e,js(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var i="separator"in n?n.separator:i;r="length"in n?K(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Ie(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ee(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Es.test(t)?t.replace(Ss,As):t},upperCase:Ts,upperFirst:$e,words:ji},up={attempt:we,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Er(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:V,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Wu(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:St,nthArg:function(t){return t=K(t),Gn((function(n){return jf(n,t)}))},over:zf,overEvery:Lf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Il,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=K(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ea(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:zt(Yr(Qr(t)))},uniqueId:function(t){var n=++Bs;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Hs=gf,function(t,n,r){if(null==r){var e=P(n),i=e&&Er(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Hs(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=ip.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Qs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Qs.filter,Pt.flatMap=Qs.flatMap,Pt.flatMapDeep=Qs.flatMapDeep,Pt.flatMapDepth=Qs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Qs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Qs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Qs.keyBy,Pt.keys=Er,Pt.keysIn=ep.keysIn,Pt.map=Qs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Qs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Qs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Qs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Qs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Qs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Qs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=op.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=ip.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=op.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=op.camelCase,Pt.capitalize=op.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Ri(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=op.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=op.endsWith,Pt.eq=np.eq,Pt.escape=op.escape,Pt.escapeRegExp=op.escapeRegExp,Pt.every=Qs.every,Pt.find=Qs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Qs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Qs.forEach,Pt.forEachRight=Qs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=V,Pt.includes=Qs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=op.kebabCase,Pt.last=ja,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=op.lowerCase,Pt.lowerFirst=op.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Xs,Pt.pad=op.pad,Pt.padEnd=op.padEnd,Pt.padStart=op.padStart,Pt.parseInt=op.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+jl("1e-"+((i+"").length-1))),n)}return wl(t,n)},Pt.reduce=Qs.reduce,Pt.reduceRight=Qs.reduceRight,Pt.repeat=op.repeat,Pt.replace=op.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Qs.sample,Pt.size=Qs.size,Pt.snakeCase=op.snakeCase,Pt.some=Qs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=op.startCase,Pt.startsWith=op.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=op.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=K,Pt.toLength=np.toLength,Pt.toLower=op.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=op.toUpper,Pt.trim=op.trim,Pt.trimEnd=op.trimEnd,Pt.trimStart=op.trimStart,Pt.truncate=op.truncate,Pt.unescape=op.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=op.upperCase,Pt.upperFirst=op.upperFirst,Pt.each=Qs.forEach,Pt.eachRight=Qs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Ku(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=op.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(K(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(V)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=K(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=K(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Ku(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Pt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Pt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Wt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Ku(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[wn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=zt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=zt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=zt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=ip.at,Pt.prototype.chain=ip.wrapperChain,Pt.prototype.commit=ip.commit,Pt.prototype.next=ip.next,Pt.prototype.plant=ip.plant,Pt.prototype.reverse=ip.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=ip.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const wp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},jp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=wp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:jp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=wp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:jp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Sp=()=>!Ap(),Ep=Sp()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Ip=t=>!!Sp()&&window.matchMedia(t).matches,Mp=t=>{const[n,r]=(0,e.useState)(Ip(t)),i=(0,e.useCallback)((()=>{r(Ip(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Wp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},zp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Rp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ep((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file diff --git a/assets/js/b7504c90.12c7b0aa.js b/assets/js/b7504c90.12c7b0aa.js deleted file mode 100644 index 3ba450063..000000000 --- a/assets/js/b7504c90.12c7b0aa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6911],{369:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>u,default:()=>d,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var r=t(5735),c=t(7355);const s={},u="countSubstringOccurrences",i={id:"utils/string/countSubstringOccurrences",title:"countSubstringOccurrences",description:"\ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud558\uc704 \ubb38\uc790\uc5f4\uc774 \uc5bc\ub9c8\ub098 \ubc18\ubcf5 \ub4f1\uc7a5\ud588\ub294\uc9c0 \ud69f\uc218\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/countSubstringOccurrences.md",sourceDirName:"utils/string",slug:"/utils/string/countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"pick",permalink:"/modern-kit/docs/utils/object/pick"},next:{title:"extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber"}},o={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"countsubstringoccurrences",children:"countSubstringOccurrences"}),"\n",(0,r.jsx)(n.p,{children:"\ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud558\uc704 \ubb38\uc790\uc5f4\uc774 \uc5bc\ub9c8\ub098 \ubc18\ubcf5 \ub4f1\uc7a5\ud588\ub294\uc9c0 \ud69f\uc218\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const countSubstringOccurrences: (source: string, target: string) => number\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { countSubstringOccurrences } from '@modern-kit/utils';\n\nconst str = 'apple banana apple grapes apple';\nconst count1 = countSubstringOccurrences(str, 'apple'); // 3\nconst count2 = countSubstringOccurrences(str, 'apple banana'); // 1\n"})})]})}function d(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>u});var r=t(4614);const c={},s=r.createContext(c);function u(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:u(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b7504c90.d31e4eef.js b/assets/js/b7504c90.d31e4eef.js new file mode 100644 index 000000000..c293d3eb1 --- /dev/null +++ b/assets/js/b7504c90.d31e4eef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6911],{3885:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>u,default:()=>d,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var r=t(5735),c=t(7355);const s={},u="countSubstringOccurrences",i={id:"utils/string/countSubstringOccurrences",title:"countSubstringOccurrences",description:"\ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud558\uc704 \ubb38\uc790\uc5f4\uc774 \uc5bc\ub9c8\ub098 \ubc18\ubcf5 \ub4f1\uc7a5\ud588\ub294\uc9c0 \ud69f\uc218\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/countSubstringOccurrences.md",sourceDirName:"utils/string",slug:"/utils/string/countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"pick",permalink:"/modern-kit/docs/utils/object/pick"},next:{title:"extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber"}},o={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,c.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"countsubstringoccurrences",children:"countSubstringOccurrences"}),"\n",(0,r.jsx)(n.p,{children:"\ubb38\uc790\uc5f4\uc5d0\uc11c \ud2b9\uc815 \ud558\uc704 \ubb38\uc790\uc5f4\uc774 \uc5bc\ub9c8\ub098 \ubc18\ubcf5 \ub4f1\uc7a5\ud588\ub294\uc9c0 \ud69f\uc218\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const countSubstringOccurrences: (source: string, target: string) => number\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { countSubstringOccurrences } from '@modern-kit/utils';\n\nconst str = 'apple banana apple grapes apple';\nconst count1 = countSubstringOccurrences(str, 'apple'); // 3\nconst count2 = countSubstringOccurrences(str, 'apple banana'); // 1\n"})})]})}function d(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>u});var r=t(4614);const c={},s=r.createContext(c);function u(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:u(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bac0f70c.ab715d6d.js b/assets/js/bac0f70c.09a19076.js similarity index 97% rename from assets/js/bac0f70c.ab715d6d.js rename to assets/js/bac0f70c.09a19076.js index 20ba6b27c..2ef1d2bdd 100644 --- a/assets/js/bac0f70c.ab715d6d.js +++ b/assets/js/bac0f70c.09a19076.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7893],{1704:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>o,toc:()=>u});var n=r(5735),s=r(7355);const c={},i="extractNumber",o={id:"utils/string/extractNumber",title:"extractNumber",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/extractNumber.md",sourceDirName:"utils/string",slug:"/utils/string/extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences"},next:{title:"formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas"}},a={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"extractnumber",children:"extractNumber"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"\ubb38\uc790\uc5f4"}),"\uc744 \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const extractNumber: (value: string) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { extractNumber } from '@modern-kit/utils';\n\nconst str1 = extractNumber('abc123sd45'); // '12345'\nconst str2 = extractNumber('1 23 sd 4 5'); // '12345'\nconst str3 = extractNumber('\ud83e\udd72'); // ''\nconst str4 = extractNumber(' '); // ''\n"})})]})}function d(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>i});var n=r(4614);const s={},c=n.createContext(s);function i(e){const t=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7893],{6751:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>o,toc:()=>u});var n=r(5735),s=r(7355);const c={},i="extractNumber",o={id:"utils/string/extractNumber",title:"extractNumber",description:"\ubb38\uc790\uc5f4\uc744 \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/string/extractNumber.md",sourceDirName:"utils/string",slug:"/utils/string/extractNumber",permalink:"/modern-kit/docs/utils/string/extractNumber",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"countSubstringOccurrences",permalink:"/modern-kit/docs/utils/string/countSubstringOccurrences"},next:{title:"formatNumberWithCommas",permalink:"/modern-kit/docs/utils/string/formatNumberWithCommas"}},a={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"extractnumber",children:"extractNumber"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"\ubb38\uc790\uc5f4"}),"\uc744 \uc785\ub825\ud558\uba74 \uc22b\uc790\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \ubb38\uc790\ub97c \uc81c\uac70\ud55c \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"const extractNumber: (value: string) => string\n"})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-ts",children:"import { extractNumber } from '@modern-kit/utils';\n\nconst str1 = extractNumber('abc123sd45'); // '12345'\nconst str2 = extractNumber('1 23 sd 4 5'); // '12345'\nconst str3 = extractNumber('\ud83e\udd72'); // ''\nconst str4 = extractNumber(' '); // ''\n"})})]})}function d(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},7355:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>i});var n=r(4614);const s={},c=n.createContext(s);function i(e){const t=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bf0dbc92.233bfc66.js b/assets/js/bf0dbc92.233bfc66.js deleted file mode 100644 index 63af8cf73..000000000 --- a/assets/js/bf0dbc92.233bfc66.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8067],{6037:(t,n,r)=>{r.r(n),r.d(n,{assets:()=>f,contentTitle:()=>a,default:()=>p,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),i=r(7355),o=r(5474);const u={},a="InView",c={id:"react/components/InView",title:"InView",description:"Viewport\uc5d0 \ub178\ucd9c\ub420 \ub54c props\ub85c \ub118\uaca8\uc8fc\ub294 action \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/InView.mdx",sourceDirName:"react/components",slug:"/react/components/InView",permalink:"/modern-kit/docs/react/components/InView",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper"},next:{title:"LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage"}},f={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Example",id:"example",level:2}];function s(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"inview",children:"InView"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub420 \ub54c props\ub85c \ub118\uaca8\uc8fc\ub294 ",(0,e.jsx)(n.code,{children:"action"})," \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface UseIntersectionObserverProps {\n action: (entry: IntersectionObserverEntry) => void;\n calledOnce?: boolean;\n threshold?: number | number[];\n root?: Document | Element | null;\n rootMargin?: string;\n}\n\ntype InViewProps = React.ComponentProps<'div'> & UseIntersectionObserverProps;\n\nconst InView: React.ForwardRefExoticComponent<\n Omit<React.PropsWithChildren<InViewProps>, 'ref'> &\n React.RefAttributes<HTMLDivElement>\n>;\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { InView } from '@modern-kit/react';\n\nconst Example = () => {\n const onAction = () => {\n /* action */\n }\n\n return (\n <div>\n {/* ... */}\n <InView action={onAction} calledOnce>Box1</InView>\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,e.jsxs)("div",{style:{maxWidth:"500px",height:"500px",overflow:"scroll",background:"#f1f3f5"},children:[(0,e.jsx)("div",{style:{width:"100%",height:"600px",textAlign:"center",fontSize:"2rem"},children:"\uc2a4\ud06c\ub864 \ud574\uc8fc\uc138\uc694."}),(0,e.jsx)(o.df,{style:{width:"100%",height:"300px",background:"#c0392B",color:"white",textAlign:"center",fontSize:"21px"},action:()=>console.log("action callback(1)"),calledOnce:!0,children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{children:"Box1"}),(0,e.jsx)("p",{children:"\ube0c\ub77c\uc6b0\uc800 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc744 \ud655\uc778\ud574\uc8fc\uc138\uc694."}),(0,e.jsx)("p",{children:"action \ucf5c\ubc31 \ud568\uc218\uac00 \ucd5c\ucd08 1\ud68c\ub9cc \ud638\ucd9c\ub429\ub2c8\ub2e4."}),(0,e.jsx)("p",{children:"calledOnce: true"})]})}),(0,e.jsx)("div",{style:{width:"100%",height:"100px"}}),(0,e.jsx)(o.df,{style:{width:"100%",height:"300px",background:"#89a5ea",color:"white",textAlign:"center",fontSize:"21px"},action:()=>console.log("action callback(2)"),children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{children:"Box2"}),(0,e.jsx)("p",{children:"\ube0c\ub77c\uc6b0\uc800 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc744 \ud655\uc778\ud574\uc8fc\uc138\uc694."}),(0,e.jsx)("p",{children:"action \ucf5c\ubc31 \ud568\uc218\uac00 \uc5ec\ub7ec \ubc88 \ud638\ucd9c\ub429\ub2c8\ub2e4."}),(0,e.jsx)("p",{children:"calledOnce: false"})]})}),(0,e.jsx)("div",{style:{width:"100%",height:"600px",textAlign:"center"}})]})]})}function p(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(s,{...t})}):s(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Sp,df:()=>xp,iP:()=>Bp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,I=E?E.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return I?I.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function M(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var S=M((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var L=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return L;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?L:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function V(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function K(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:K,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var It=pt?function(t){return pt.get(t)}:Et,kt={},Mt=Object.prototype.hasOwnProperty;function St(t){for(var n=t.name+"",r=kt[n],e=Mt.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var zt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Lt(t){var n=St(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=It(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Vt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:K,Kt=Dt(Vt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Kt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Lt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,v)),o&&(b=wt(b,o,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,In=8,kn=128,Mn=256,Sn=Math.min,Rn="Expected a function",Wn=1,Bn=2,zn=8,Pn=16,Ln=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Ln|Cn),e=i=void 0),u=void 0===u?u:Dn(V(u),0),c=void 0===c?c:V(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:It(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==In||e==kn&&r==Mn&&t[7].length<=n[8]||e==(kn|Mn)&&n[7].length<=n[8]&&r==In;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Sn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(zn|Pn)&&(n&=~(zn|Pn)),n&&n!=Wn)d=n==zn||n==Pn?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Ln&&n!=(Wn|Ln)||i.length?jn.apply(void 0,v):function(t,n,r,e){var i=n&wn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Vn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Kn=Math.max;function Zn(t,n,r){return n=Kn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Kn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Kt(Zn(t,n,K),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hs){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Jn(t.length)&&!!hr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Ir(t){return Yn(t)?wr(t):Er(t)}var kr=Object.prototype.hasOwnProperty,Mr=Xn((function(t,n){if(nr(n)||Yn(n))Vn(n,Ir(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Sr=Object.prototype.hasOwnProperty;function Rr(t){return Yn(t)?wr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Sr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Vn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Vn(n,Rr(n),t,e)})),zr=Xn((function(t,n,r,e){Vn(n,Ir(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Lr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Vr=lt(a,"Map");function Kr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Vr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Kr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Kr(this,t).get(t)},Zr.prototype.has=function(t){return Kr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Kr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,i){n.push(e?i.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Kt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=V(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ee(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ie(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Me(t){return ke.test(t)}var Se="\\ud800-\\udfff",Re="["+Se+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+Be+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[ze,Pe,Le].join("|")+")"+De+Ce+")*",Ue="(?:"+[ze+We+"?",We,Pe,Le,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+Te,"g");function Fe(t){return Me(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Me(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ie(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ve(t){return $e(Qr(t).toLowerCase())}function Ke(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+yi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ke(wi(Ye(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ve(n):n)})),Ei=a.isFinite,Ii=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Ii(V(r),292))&&Ei(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Mi=ki("ceil");function Si(t){var n=Pt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function Bi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zi(t){var n=this.__data__=new $r(t);this.size=n.size}function Pi(t,n){return t&&Vn(n,Ir(n),t)}zi.prototype.clear=function(){this.__data__=new $r,this.size=0},zi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zi.prototype.get=function(t){return this.__data__.get(t)},zi.prototype.has=function(t){return this.__data__.has(t)},zi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Vr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Li="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Li&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Li?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Vi=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Ki=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Vi(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Ir,Vi)}function Hi(t){return Zi(t,Rr,Ki)}var Ji=lt(a,"DataView"),Yi=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Ji),oo=rt(Vr),uo=rt(Yi),ao=rt(Qi),co=rt(st),fo=g;(Ji&&fo(new Ji(new ArrayBuffer(1)))!=eo||Vr&&fo(new Vr)!=Xi||Yi&&fo(Yi.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Eo="[object Symbol]",Io="[object ArrayBuffer]",ko="[object DataView]",Mo="[object Float32Array]",So="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",Bo="[object Int32Array]",zo="[object Uint8Array]",Po="[object Uint8ClampedArray]",Lo="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?vr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Vo="[object Object]",Ko={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Vo||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Vn(t,Ki(t),n)}(t,function(t,n){return t&&Vn(n,Rr(n),t)}(u,t)):function(t,n){return Vn(t,Vi(t),n)}(t,Pi(u,t))}else{if(!Ko[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Io:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Mo:case So:case Ro:case Wo:case Bo:case zo:case Po:case Lo:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Eo:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new zi);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Hi:Gi:c?Rr:Ir)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ho(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Jo(t,n){return t.has(n)}Ko[qo]=Ko["[object Array]"]=Ko["[object ArrayBuffer]"]=Ko["[object DataView]"]=Ko["[object Boolean]"]=Ko["[object Date]"]=Ko["[object Float32Array]"]=Ko["[object Float64Array]"]=Ko["[object Int8Array]"]=Ko["[object Int16Array]"]=Ko["[object Int32Array]"]=Ko["[object Map]"]=Ko["[object Number]"]=Ko[Vo]=Ko["[object RegExp]"]=Ko["[object Set]"]=Ko["[object String]"]=Ko["[object Symbol]"]=Ko["[object Uint8Array]"]=Ko["[object Uint8ClampedArray]"]=Ko["[object Uint16Array]"]=Ko["[object Uint32Array]"]=!0,Ko["[object Error]"]=Ko[$o]=Ko["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Yo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Yo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ho(n,(function(t,n){if(!Jo(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new zi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return o||(o=new zi),i(d,y,r,e,o)}}return!!p&&(o||(o=new zi),function(t,n,r,e,i,o){var u=r&gu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Eu=2;function Iu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!P(t)}function Mu(t){for(var n=Ir(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Su(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Mu(t);return 1==n.length&&n[0][2]?Su(n[0][0],n[0][1]):function(r){return r===t||Iu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Jn(i)&&sn(u,i)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Wu)}var Pu=1,Lu=2;function Cu(t,n){return Cr(t)&&ku(n)?Su(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Pu|Lu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?K:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Vu(t,n){return t&&$u(t,n,Ir)}function Ku(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Ku(Vu);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Hu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Uu(e),o)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Vn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new zi),P(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Wt(a):h?(s=!1,l=Ui(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return P(t)&&P(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Jo,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=M((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ee(t,e?0:o,e?o+1:i):Ee(t,e?o+1:0,e?i:o)}function Ia(t){return"function"==typeof t?t:K}function ka(t,n){return(O(t)?Zt:Zu)(t,Ia(n))}function Ma(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Sa=qu(!0);function Ra(t,n){return t&&Sa(t,n,Ir)}var Wa=Ku(Ra,!0);function Ba(t,n){return(O(t)?Ma:Wa)(t,Ia(n))}function za(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=za(Ir),La=za(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Va(t){return t?Bi(V(t),0,4294967295):0}function Ka(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Yn(n)){var o=Uu(r);n=Ir(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:V(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Uu(n),i)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=V(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==St(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=St(o=n[e]),c="wrapper"==a?It(o):void 0;u=c&&Lt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[St(c[0])].apply(u,c[3]):1==o.length&&Lt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Ir(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Ic(t,n,r){for(var e=r?_a:Yt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ec(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Jo(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Jo(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Mc=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ic(n):[]})),Sc=Gn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ic(r,Uu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ic(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Vu(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(K)),Pc=Object.prototype,Lc=Pc.hasOwnProperty,Cc=Pc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Lc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Yn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Vc=_r&&_r.isDate,Kc=Vc?vr(Vc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==V(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Ir(n),i=fc(n,e),o=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=M((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Vn(t,Hi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Ef(t,n,r,e){if(!P(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function If(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Ef(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Hi(t),(function(t){return[t]}));return n=Uu(n),If(t,r,(function(t,r){return n(t,r[0])}))}function Mf(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Sf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[K];var e=-1;n=x(n,vr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=Mf(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Gn,zf=Math.min,Pf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var i=-1,o=zf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Lf=Rf(qa),Cf=Rf(Ho),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vf="\\ud83c[\\udffb-\\udfff]",Kf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Vf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Kf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Kf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Vf+"(?="+Vf+")|"+Qf+Yf,"g");function tl(t){return Me(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Me(n)?Ie(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return If(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Jt,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Mf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function Il(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=El(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=Il(),Ml=Il(!0),Sl=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Pl=ki("round");function Ll(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Ll(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),Bi(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Bi(n,0,r.length))}function Nl(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Vl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Sf(t,ce(n,1),[])})),Kl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Gl(o,Kl)}function Jl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Hl(t,n,K,r)}function Yl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=M((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ke(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,Is=RegExp(Es.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:Et,Ms=200;function Ss(t,n,r){var e=-1,i=Yt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Ms){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Jo,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Gn((function(t){return Ss(ce(t,1,ca,!0))})),Ws=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ss(ce(t,1,ca,!0),Uu(n))})),Bs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ss(ce(t,1,ca,!0),void 0,n)})),zs=0,Ps=Math.max;function Ls(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ls(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ss(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ss(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ni(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Vs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Ks=Gn(Ls);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Ys={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wi(V(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ee(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:V(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:V(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=V(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:V(e))<0&&(e+=i),e=r>e?0:Va(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:V(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:V(r);return i<0&&(i=Ac(e+i,0)),Jt(t,n,i)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Mc,intersectionBy:Sc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=V(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Ht,i,!0)},nth:function(t,n){return t&&t.length?wf(t,V(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:V(n),r=void 0===r?e:V(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,r){return Hl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Jl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Jl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:V(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:V(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rs,unionBy:Ws,unionWith:Bs,uniq:function(t){return t&&t.length?Ss(t):[]},uniqBy:function(t,n){return t&&t.length?Ss(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ss(t,void 0,n):[]},unzip:Ls,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Vs,zip:Ks,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Js},Qs={countBy:Yu,each:ka,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Ka)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:V(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?V(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Sf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ke:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ni:Ka)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ll:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:V(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Ho:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Vl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=V(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Sl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:V(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(V(n),0),Gn((function(r){var e=r[n],i=Ie(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ia(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Ir(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Kc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Uo,isMatch:function(t,n){return t===n||Iu(t,n,Mu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Iu(t,n,Mu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:V,toLength:Va,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bi(V(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:S,ceil:Mi,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,K,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,K)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,K,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,K):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Mr,assignIn:Wr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Pi(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:La,extend:Wr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Vu)},findLastKey:function(t,n){return Ya(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ia(n),Rr)},forInRight:function(t,n){return null==t?t:Sa(t,Ia(n),Rr)},forOwn:function(t,n){return t&&Vu(t,Ia(n))},forOwnRight:function(t,n){return t&&Ra(t,Ia(n))},functions:function(t){return null==t?[]:fc(t,Ir(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Dc,invoke:Nc,keys:Ir,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Vu(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Vu(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=Y(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:Pa,toPairsIn:La,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:P(t)&&Y(o)?dt(pe(t)):{}}return(i?Zt:Vu)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ia(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ia(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Ns,chain:Si,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Si(this)}},op={camelCase:Ai,capitalize:Ve,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Bi(V(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:V(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Me(t)?Ie(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Bi(V(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Br({},n,e,es);var i,o,u=Br({},n.imports,e.imports,es),a=Ir(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return z(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ie(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ie(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ie(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var i="separator"in n?n.separator:i;r="length"in n?V(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Me(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ie(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Is.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Ir(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:K,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=V(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Lf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Ml,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=V(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ia(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Yr(Qr(t)))},uniqueId:function(t){var n=++zs;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Hs=gf,function(t,n,r){if(null==r){var e=P(n),i=e&&Ir(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Hs(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=ip.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Qs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Qs.filter,Pt.flatMap=Qs.flatMap,Pt.flatMapDeep=Qs.flatMapDeep,Pt.flatMapDepth=Qs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Qs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Qs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Qs.keyBy,Pt.keys=Ir,Pt.keysIn=ep.keysIn,Pt.map=Qs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Qs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Qs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Qs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Qs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Qs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Qs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=op.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=ip.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=op.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=op.camelCase,Pt.capitalize=op.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bi(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=op.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=op.endsWith,Pt.eq=np.eq,Pt.escape=op.escape,Pt.escapeRegExp=op.escapeRegExp,Pt.every=Qs.every,Pt.find=Qs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Qs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Qs.forEach,Pt.forEachRight=Qs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=K,Pt.includes=Qs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=op.kebabCase,Pt.last=wa,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=op.lowerCase,Pt.lowerFirst=op.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Xs,Pt.pad=op.pad,Pt.padEnd=op.padEnd,Pt.padStart=op.padStart,Pt.parseInt=op.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Pt.reduce=Qs.reduce,Pt.reduceRight=Qs.reduceRight,Pt.repeat=op.repeat,Pt.replace=op.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Qs.sample,Pt.size=Qs.size,Pt.snakeCase=op.snakeCase,Pt.some=Qs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=op.startCase,Pt.startsWith=op.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=op.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=V,Pt.toLength=np.toLength,Pt.toLower=op.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=op.toUpper,Pt.trim=op.trim,Pt.trimEnd=op.trimEnd,Pt.trimStart=op.trimStart,Pt.truncate=op.truncate,Pt.unescape=op.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=op.upperCase,Pt.upperFirst=op.upperFirst,Pt.each=Qs.forEach,Pt.eachRight=Qs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Vu(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=op.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(V(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(K)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=V(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=V(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Vu(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Pt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Pt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Rt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Vu(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=ip.at,Pt.prototype.chain=ip.wrapperChain,Pt.prototype.commit=ip.commit,Pt.prototype.next=ip.next,Pt.prototype.plant=ip.plant,Pt.prototype.reverse=ip.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=ip.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Ip=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Mp=t=>!!Ep()&&window.matchMedia(t).matches,Sp=t=>{const[n,r]=(0,e.useState)(Mp(t)),i=(0,e.useCallback)((()=>{r(Mp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ip((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file diff --git a/assets/js/bf0dbc92.95259944.js b/assets/js/bf0dbc92.95259944.js new file mode 100644 index 000000000..2c5049117 --- /dev/null +++ b/assets/js/bf0dbc92.95259944.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8067],{843:(t,n,r)=>{r.r(n),r.d(n,{assets:()=>f,contentTitle:()=>a,default:()=>p,frontMatter:()=>u,metadata:()=>c,toc:()=>l});var e=r(5735),i=r(7355),o=r(5474);const u={},a="InView",c={id:"react/components/InView",title:"InView",description:"Viewport\uc5d0 \ub178\ucd9c\ub420 \ub54c props\ub85c \ub118\uaca8\uc8fc\ub294 action \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.",source:"@site/docs/react/components/InView.mdx",sourceDirName:"react/components",slug:"/react/components/InView",permalink:"/modern-kit/docs/react/components/InView",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"DebounceWrapper",permalink:"/modern-kit/docs/react/components/DebounceWrapper"},next:{title:"LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage"}},f={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Example",id:"example",level:2}];function s(t){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,i.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(n.h1,{id:"inview",children:"InView"}),"\n",(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"Viewport"}),"\uc5d0 \ub178\ucd9c\ub420 \ub54c props\ub85c \ub118\uaca8\uc8fc\ub294 ",(0,e.jsx)(n.code,{children:"action"})," \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4."]}),"\n",(0,e.jsx)("br",{}),"\n",(0,e.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"interface UseIntersectionObserverProps {\n action: (entry: IntersectionObserverEntry) => void;\n calledOnce?: boolean;\n threshold?: number | number[];\n root?: Document | Element | null;\n rootMargin?: string;\n}\n\ntype InViewProps = React.ComponentProps<'div'> & UseIntersectionObserverProps;\n\nconst InView: React.ForwardRefExoticComponent<\n Omit<React.PropsWithChildren<InViewProps>, 'ref'> &\n React.RefAttributes<HTMLDivElement>\n>;\n"})}),"\n",(0,e.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,e.jsx)(n.pre,{children:(0,e.jsx)(n.code,{className:"language-tsx",children:"import { InView } from '@modern-kit/react';\n\nconst Example = () => {\n const onAction = () => {\n /* action */\n }\n\n return (\n <div>\n {/* ... */}\n <InView action={onAction} calledOnce>Box1</InView>\n </div>\n );\n}; \n"})}),"\n",(0,e.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,e.jsxs)("div",{style:{maxWidth:"500px",height:"500px",overflow:"scroll",background:"#f1f3f5"},children:[(0,e.jsx)("div",{style:{width:"100%",height:"600px",textAlign:"center",fontSize:"2rem"},children:"\uc2a4\ud06c\ub864 \ud574\uc8fc\uc138\uc694."}),(0,e.jsx)(o.df,{style:{width:"100%",height:"300px",background:"#c0392B",color:"white",textAlign:"center",fontSize:"21px"},action:()=>console.log("action callback(1)"),calledOnce:!0,children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{children:"Box1"}),(0,e.jsx)("p",{children:"\ube0c\ub77c\uc6b0\uc800 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc744 \ud655\uc778\ud574\uc8fc\uc138\uc694."}),(0,e.jsx)("p",{children:"action \ucf5c\ubc31 \ud568\uc218\uac00 \ucd5c\ucd08 1\ud68c\ub9cc \ud638\ucd9c\ub429\ub2c8\ub2e4."}),(0,e.jsx)("p",{children:"calledOnce: true"})]})}),(0,e.jsx)("div",{style:{width:"100%",height:"100px"}}),(0,e.jsx)(o.df,{style:{width:"100%",height:"300px",background:"#89a5ea",color:"white",textAlign:"center",fontSize:"21px"},action:()=>console.log("action callback(2)"),children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{children:"Box2"}),(0,e.jsx)("p",{children:"\ube0c\ub77c\uc6b0\uc800 \uac1c\ubc1c\uc790 \ub3c4\uad6c\uc758 \ucf58\uc194\uc744 \ud655\uc778\ud574\uc8fc\uc138\uc694."}),(0,e.jsx)("p",{children:"action \ucf5c\ubc31 \ud568\uc218\uac00 \uc5ec\ub7ec \ubc88 \ud638\ucd9c\ub429\ub2c8\ub2e4."}),(0,e.jsx)("p",{children:"calledOnce: false"})]})}),(0,e.jsx)("div",{style:{width:"100%",height:"600px",textAlign:"center"}})]})]})}function p(t={}){const{wrapper:n}={...(0,i.a)(),...t.components};return n?(0,e.jsx)(n,{...t,children:(0,e.jsx)(s,{...t})}):s(t)}},7355:(t,n,r)=>{r.d(n,{Z:()=>a,a:()=>u});var e=r(4614);const i={},o=e.createContext(i);function u(t){const n=e.useContext(o);return e.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function a(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:u(t.components),e.createElement(o.Provider,{value:n},t.children)}},5474:(t,n,r)=>{r.d(n,{D9:()=>Rp,ac:()=>Sp,df:()=>xp,iP:()=>Bp,nA:()=>kp,uM:()=>bp,wY:()=>Op,yU:()=>Wp});var e=r(4614),i=r(5735),o=(r(2832),"object"==typeof global&&global&&global.Object===Object&&global),u="object"==typeof self&&self&&self.Object===Object&&self,a=o||u||Function("return this")(),c=a.Symbol,f=Object.prototype,l=f.hasOwnProperty,s=f.toString,p=c?c.toStringTag:void 0,h=Object.prototype.toString,v="[object Null]",d="[object Undefined]",y=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?d:v:y&&y in Object(t)?function(t){var n=l.call(t,p),r=t[p];try{t[p]=void 0;var e=!0}catch(t){}var i=s.call(t);return e&&(n?t[p]=r:delete t[p]),i}(t):function(t){return h.call(t)}(t)}function _(t){return null!=t&&"object"==typeof t}var b="[object Symbol]";function m(t){return"symbol"==typeof t||_(t)&&g(t)==b}var j=NaN;function w(t){return"number"==typeof t?t:m(t)?j:+t}function x(t,n){for(var r=-1,e=null==t?0:t.length,i=Array(e);++r<e;)i[r]=n(t[r],r,t);return i}var O=Array.isArray,A=1/0,E=c?c.prototype:void 0,I=E?E.toString:void 0;function k(t){if("string"==typeof t)return t;if(O(t))return x(t,k)+"";if(m(t))return I?I.call(t):"";var n=t+"";return"0"==n&&1/t==-A?"-0":n}function M(t,n){return function(r,e){var i;if(void 0===r&&void 0===e)return n;if(void 0!==r&&(i=r),void 0!==e){if(void 0===i)return e;"string"==typeof r||"string"==typeof e?(r=k(r),e=k(e)):(r=w(r),e=w(e)),i=t(r,e)}return i}}var S=M((function(t,n){return t+n}),0),R=/\s/;function W(t){for(var n=t.length;n--&&R.test(t.charAt(n)););return n}var B=/^\s+/;function z(t){return t?t.slice(0,W(t)+1).replace(B,""):t}function P(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var L=NaN,C=/^[-+]0x[0-9a-f]+$/i,D=/^0b[01]+$/i,T=/^0o[0-7]+$/i,U=parseInt;function N(t){if("number"==typeof t)return t;if(m(t))return L;if(P(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=P(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=z(t);var r=D.test(t);return r||T.test(t)?U(t.slice(2),r?2:8):C.test(t)?L:+t}var F=1/0,q=17976931348623157e292;function $(t){return t?(t=N(t))===F||t===-F?(t<0?-1:1)*q:t==t?t:0:0===t?t:0}function V(t){var n=$(t),r=n%1;return n==n?r?n-r:n:0}function K(t){return t}var Z="[object AsyncFunction]",G="[object Function]",H="[object GeneratorFunction]",J="[object Proxy]";function Y(t){if(!P(t))return!1;var n=g(t);return n==G||n==H||n==Z||n==J}var Q,X=a["__core-js_shared__"],tt=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"",nt=Function.prototype.toString;function rt(t){if(null!=t){try{return nt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,it=Function.prototype,ot=Object.prototype,ut=it.toString,at=ot.hasOwnProperty,ct=RegExp("^"+ut.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ft(t){return!(!P(t)||function(t){return!!tt&&tt in t}(t))&&(Y(t)?ct:et).test(rt(t))}function lt(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return ft(r)?r:void 0}var st=lt(a,"WeakMap"),pt=st&&new st,ht=pt?function(t,n){return pt.set(t,n),t}:K,vt=Object.create,dt=function(){function t(){}return function(n){if(!P(n))return{};if(vt)return vt(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();function yt(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=dt(t.prototype),e=t.apply(r,n);return P(e)?e:r}}var gt=1;function _t(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}var bt=Math.max;function mt(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,c=n.length,f=bt(o-u,0),l=Array(c+f),s=!e;++a<c;)l[a]=n[a];for(;++i<u;)(s||i<o)&&(l[r[i]]=t[i]);for(;f--;)l[a++]=t[i++];return l}var jt=Math.max;function wt(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,c=-1,f=n.length,l=jt(o-a,0),s=Array(l+f),p=!e;++i<l;)s[i]=t[i];for(var h=i;++c<f;)s[h+c]=n[c];for(;++u<a;)(p||i<o)&&(s[h+r[u]]=t[i++]);return s}function xt(){}var Ot=4294967295;function At(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function Et(){}At.prototype=dt(xt.prototype),At.prototype.constructor=At;var It=pt?function(t){return pt.get(t)}:Et,kt={},Mt=Object.prototype.hasOwnProperty;function St(t){for(var n=t.name+"",r=kt[n],e=Mt.call(kt,n)?r.length:0;e--;){var i=r[e],o=i.func;if(null==o||o==t)return i.name}return n}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Wt(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}function Bt(t){if(t instanceof At)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=Wt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Rt.prototype=dt(xt.prototype),Rt.prototype.constructor=Rt;var zt=Object.prototype.hasOwnProperty;function Pt(t){if(_(t)&&!O(t)&&!(t instanceof At)){if(t instanceof Rt)return t;if(zt.call(t,"__wrapped__"))return Bt(t)}return new Rt(t)}function Lt(t){var n=St(t),r=Pt[n];if("function"!=typeof r||!(n in At.prototype))return!1;if(t===r)return!0;var e=It(r);return!!e&&t===e[0]}Pt.prototype=xt.prototype,Pt.prototype.constructor=Pt;var Ct=Date.now;function Dt(t){var n=0,r=0;return function(){var e=Ct(),i=16-(e-r);if(r=e,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var Tt=Dt(ht),Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function qt(t){return function(){return t}}var $t=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Vt=$t?function(t,n){return $t(t,"toString",{configurable:!0,enumerable:!1,value:qt(n),writable:!0})}:K,Kt=Dt(Vt);function Zt(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function Gt(t,n,r,e){for(var i=t.length,o=r+(e?1:-1);e?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Ht(t){return t!=t}function Jt(t,n,r){return n==n?function(t,n,r){for(var e=r-1,i=t.length;++e<i;)if(t[e]===n)return e;return-1}(t,n,r):Gt(t,Ht,r)}function Yt(t,n){return!(null==t||!t.length)&&Jt(t,n,0)>-1}var Qt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function Xt(t,n,r){var e=n+"";return Kt(t,function(t,n){var r=n.length;if(!r)return t;var e=r-1;return n[e]=(r>1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Zt(Qt,(function(r){var e="_."+r[0];n&r[1]&&!Yt(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Ut);return n?n[1].split(Nt):[]}(e),r)))}var tn=1,nn=2,rn=4,en=8,on=32,un=64;function an(t,n,r,e,i,o,u,a,c,f){var l=n&en;n|=l?on:un,(n&=~(l?un:on))&rn||(n&=~(tn|nn));var s=[t,n,i,l?o:void 0,l?u:void 0,l?void 0:o,l?void 0:u,a,c,f],p=r.apply(void 0,s);return Lt(t)&&Tt(p,s),p.placeholder=e,Xt(p,t,n)}function cn(t){return t.placeholder}var fn=9007199254740991,ln=/^(?:0|[1-9]\d*)$/;function sn(t,n){var r=typeof t;return!!(n=null==n?fn:n)&&("number"==r||"symbol"!=r&&ln.test(t))&&t>-1&&t%1==0&&t<n}var pn=Math.min,hn="__lodash_placeholder__";function vn(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r];u!==n&&u!==hn||(t[r]=hn,o[i++]=r)}return o}var dn=1,yn=2,gn=8,_n=16,bn=128,mn=512;function jn(t,n,r,e,i,o,u,c,f,l){var s=n&bn,p=n&dn,h=n&yn,v=n&(gn|_n),d=n&mn,y=h?void 0:yt(t);return function g(){for(var _=arguments.length,b=Array(_),m=_;m--;)b[m]=arguments[m];if(v)var j=cn(g),w=function(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}(b,j);if(e&&(b=mt(b,e,i,v)),o&&(b=wt(b,o,u,v)),_-=w,v&&_<l){var x=vn(b,j);return an(t,n,jn,g.placeholder,r,b,x,c,f,l-_)}var O=p?r:this,A=h?O[t]:t;return _=b.length,c?b=function(t,n){for(var r=t.length,e=pn(n.length,r),i=Wt(t);e--;){var o=n[e];t[e]=sn(o,r)?i[o]:void 0}return t}(b,c):d&&_>1&&b.reverse(),s&&f<_&&(b.length=f),this&&this!==a&&this instanceof g&&(A=y||yt(A)),A.apply(O,b)}}var wn=1,xn="__lodash_placeholder__",On=1,An=2,En=4,In=8,kn=128,Mn=256,Sn=Math.min,Rn="Expected a function",Wn=1,Bn=2,zn=8,Pn=16,Ln=32,Cn=64,Dn=Math.max;function Tn(t,n,r,e,i,o,u,c){var f=n&Bn;if(!f&&"function"!=typeof t)throw new TypeError(Rn);var l=e?e.length:0;if(l||(n&=~(Ln|Cn),e=i=void 0),u=void 0===u?u:Dn(V(u),0),c=void 0===c?c:V(c),l-=i?i.length:0,n&Cn){var s=e,p=i;e=i=void 0}var h=f?void 0:It(t),v=[t,n,r,e,i,s,p,o,u,c];if(h&&function(t,n){var r=t[1],e=n[1],i=r|e,o=i<(On|An|kn),u=e==kn&&r==In||e==kn&&r==Mn&&t[7].length<=n[8]||e==(kn|Mn)&&n[7].length<=n[8]&&r==In;if(!o&&!u)return t;e&On&&(t[2]=n[2],i|=r&On?0:En);var a=n[3];if(a){var c=t[3];t[3]=c?mt(c,a,n[4]):a,t[4]=c?vn(t[3],xn):n[4]}(a=n[5])&&(c=t[5],t[5]=c?wt(c,a,n[6]):a,t[6]=c?vn(t[5],xn):n[6]),(a=n[7])&&(t[7]=a),e&kn&&(t[8]=null==t[8]?n[8]:Sn(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(v,h),t=v[0],n=v[1],r=v[2],e=v[3],i=v[4],!(c=v[9]=void 0===v[9]?f?0:t.length:Dn(v[9]-l,0))&&n&(zn|Pn)&&(n&=~(zn|Pn)),n&&n!=Wn)d=n==zn||n==Pn?function(t,n,r){var e=yt(t);return function i(){for(var o=arguments.length,u=Array(o),c=o,f=cn(i);c--;)u[c]=arguments[c];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:vn(u,f);return(o-=l.length)<r?an(t,n,jn,i.placeholder,void 0,u,l,void 0,void 0,r-o):_t(this&&this!==a&&this instanceof i?e:t,this,u)}}(t,n,c):n!=Ln&&n!=(Wn|Ln)||i.length?jn.apply(void 0,v):function(t,n,r,e){var i=n&wn,o=yt(t);return function n(){for(var u=-1,c=arguments.length,f=-1,l=e.length,s=Array(l+c),p=this&&this!==a&&this instanceof n?o:t;++f<l;)s[f]=e[f];for(;c--;)s[f++]=arguments[++u];return _t(p,i?r:this,s)}}(t,n,r,e);else var d=function(t,n,r){var e=n>,i=yt(t);return function n(){return(this&&this!==a&&this instanceof n?i:t).apply(e?r:this,arguments)}}(t,n,r);return Xt((h?ht:Tt)(d,v),t,n)}function Un(t,n,r){return n=r?void 0:n,Tn(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function Nn(t,n,r){"__proto__"==n&&$t?$t(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function Fn(t,n){return t===n||t!=t&&n!=n}var qn=Object.prototype.hasOwnProperty;function $n(t,n,r){var e=t[n];qn.call(t,n)&&Fn(e,r)&&(void 0!==r||n in t)||Nn(t,n,r)}function Vn(t,n,r,e){var i=!r;r||(r={});for(var o=-1,u=n.length;++o<u;){var a=n[o],c=e?e(r[a],t[a],a,r,t):void 0;void 0===c&&(c=t[a]),i?Nn(r,a,c):$n(r,a,c)}return r}var Kn=Math.max;function Zn(t,n,r){return n=Kn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=Kn(e.length-n,0),u=Array(o);++i<o;)u[i]=e[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=e[i];return a[n]=r(u),_t(t,this,a)}}function Gn(t,n){return Kt(Zn(t,n,K),t+"")}var Hn=9007199254740991;function Jn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}function Yn(t){return null!=t&&Jn(t.length)&&!Y(t)}function Qn(t,n,r){if(!P(r))return!1;var e=typeof n;return!!("number"==e?Yn(r)&&sn(n,r.length):"string"==e&&n in r)&&Fn(r[n],t)}function Xn(t){return Gn((function(n,r){var e=-1,i=r.length,o=i>1?r[i-1]:void 0,u=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&Qn(r[0],r[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++e<i;){var a=r[e];a&&t(n,a,e,o)}return n}))}var tr=Object.prototype;function nr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||tr)}function rr(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function er(t){return _(t)&&"[object Arguments]"==g(t)}var ir=Object.prototype,or=ir.hasOwnProperty,ur=ir.propertyIsEnumerable,ar=er(function(){return arguments}())?er:function(t){return _(t)&&or.call(t,"callee")&&!ur.call(t,"callee")};function cr(){return!1}var fr="object"==typeof exports&&exports&&!exports.nodeType&&exports,lr=fr&&"object"==typeof module&&module&&!module.nodeType&&module,sr=lr&&lr.exports===fr?a.Buffer:void 0,pr=(sr?sr.isBuffer:void 0)||cr,hr={};function vr(t){return function(n){return t(n)}}hr["[object Float32Array]"]=hr["[object Float64Array]"]=hr["[object Int8Array]"]=hr["[object Int16Array]"]=hr["[object Int32Array]"]=hr["[object Uint8Array]"]=hr["[object Uint8ClampedArray]"]=hr["[object Uint16Array]"]=hr["[object Uint32Array]"]=!0,hr["[object Arguments]"]=hr["[object Array]"]=hr["[object ArrayBuffer]"]=hr["[object Boolean]"]=hr["[object DataView]"]=hr["[object Date]"]=hr["[object Error]"]=hr["[object Function]"]=hr["[object Map]"]=hr["[object Number]"]=hr["[object Object]"]=hr["[object RegExp]"]=hr["[object Set]"]=hr["[object String]"]=hr["[object WeakMap]"]=!1;var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,yr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=yr&&yr.exports===dr&&o.process,_r=function(){try{return yr&&yr.require&&yr.require("util").types||gr&&gr.binding&&gr.binding("util")}catch(Hs){}}(),br=_r&&_r.isTypedArray,mr=br?vr(br):function(t){return _(t)&&Jn(t.length)&&!!hr[g(t)]},jr=Object.prototype.hasOwnProperty;function wr(t,n){var r=O(t),e=!r&&ar(t),i=!r&&!e&&pr(t),o=!r&&!e&&!i&&mr(t),u=r||e||i||o,a=u?rr(t.length,String):[],c=a.length;for(var f in t)!n&&!jr.call(t,f)||u&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||sn(f,c))||a.push(f);return a}function xr(t,n){return function(r){return t(n(r))}}var Or=xr(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Er(t){if(!nr(t))return Or(t);var n=[];for(var r in Object(t))Ar.call(t,r)&&"constructor"!=r&&n.push(r);return n}function Ir(t){return Yn(t)?wr(t):Er(t)}var kr=Object.prototype.hasOwnProperty,Mr=Xn((function(t,n){if(nr(n)||Yn(n))Vn(n,Ir(n),t);else for(var r in n)kr.call(n,r)&&$n(t,r,n[r])})),Sr=Object.prototype.hasOwnProperty;function Rr(t){return Yn(t)?wr(t,!0):function(t){if(!P(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=nr(t),r=[];for(var e in t)("constructor"!=e||!n&&Sr.call(t,e))&&r.push(e);return r}(t)}var Wr=Xn((function(t,n){Vn(n,Rr(n),t)})),Br=Xn((function(t,n,r,e){Vn(n,Rr(n),t,e)})),zr=Xn((function(t,n,r,e){Vn(n,Ir(n),t,e)})),Pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function Cr(t,n){if(O(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!m(t))||Lr.test(t)||!Pr.test(t)||null!=n&&t in Object(n)}var Dr=lt(Object,"create"),Tr=Object.prototype.hasOwnProperty,Ur=Object.prototype.hasOwnProperty;function Nr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}function Fr(t,n){for(var r=t.length;r--;)if(Fn(t[r][0],n))return r;return-1}Nr.prototype.clear=function(){this.__data__=Dr?Dr(null):{},this.size=0},Nr.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Nr.prototype.get=function(t){var n=this.__data__;if(Dr){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Tr.call(n,t)?n[t]:void 0},Nr.prototype.has=function(t){var n=this.__data__;return Dr?void 0!==n[t]:Ur.call(n,t)},Nr.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Dr&&void 0===n?"__lodash_hash_undefined__":n,this};var qr=Array.prototype.splice;function $r(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(t){var n=this.__data__,r=Fr(n,t);return!(r<0||(r==n.length-1?n.pop():qr.call(n,r,1),--this.size,0))},$r.prototype.get=function(t){var n=this.__data__,r=Fr(n,t);return r<0?void 0:n[r][1]},$r.prototype.has=function(t){return Fr(this.__data__,t)>-1},$r.prototype.set=function(t,n){var r=this.__data__,e=Fr(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var Vr=lt(a,"Map");function Kr(t,n){var r,e,i=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?i["string"==typeof n?"string":"hash"]:i.map}function Zr(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Nr,map:new(Vr||$r),string:new Nr}},Zr.prototype.delete=function(t){var n=Kr(this,t).delete(t);return this.size-=n?1:0,n},Zr.prototype.get=function(t){return Kr(this,t).get(t)},Zr.prototype.has=function(t){return Kr(this,t).has(t)},Zr.prototype.set=function(t,n){var r=Kr(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};function Gr(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var e=arguments,i=n?n.apply(this,e):e[0],o=r.cache;if(o.has(i))return o.get(i);var u=t.apply(this,e);return r.cache=o.set(i,u)||o,u};return r.cache=new(Gr.Cache||Zr),r}Gr.Cache=Zr;var Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Jr=/\\(\\)?/g,Yr=function(t){var n=Gr((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(Hr,(function(t,r,e,i){n.push(e?i.replace(Jr,"$1"):r||t)})),n}),(function(t){return 500===r.size&&r.clear(),t})),r=n.cache;return n}();function Qr(t){return null==t?"":k(t)}function Xr(t,n){return O(t)?t:Cr(t,n)?[t]:Yr(Qr(t))}var te=1/0;function ne(t){if("string"==typeof t||m(t))return t;var n=t+"";return"0"==n&&1/t==-te?"-0":n}function re(t,n){for(var r=0,e=(n=Xr(n,t)).length;null!=t&&r<e;)t=t[ne(n[r++])];return r&&r==e?t:void 0}function ee(t,n,r){var e=null==t?void 0:re(t,n);return void 0===e?r:e}function ie(t,n){for(var r=-1,e=n.length,i=Array(e),o=null==t;++r<e;)i[r]=o?void 0:ee(t,n[r]);return i}function oe(t,n){for(var r=-1,e=n.length,i=t.length;++r<e;)t[i+r]=n[r];return t}var ue=c?c.isConcatSpreadable:void 0;function ae(t){return O(t)||ar(t)||!!(ue&&t&&t[ue])}function ce(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=ae),i||(i=[]);++o<u;){var a=t[o];n>0&&r(a)?n>1?ce(a,n-1,r,e,i):oe(i,a):e||(i[i.length]=a)}return i}function fe(t){return null!=t&&t.length?ce(t,1):[]}function le(t){return Kt(Zn(t,void 0,fe),t+"")}var se=le(ie),pe=xr(Object.getPrototypeOf,Object),he="[object Object]",ve=Function.prototype,de=Object.prototype,ye=ve.toString,ge=de.hasOwnProperty,_e=ye.call(Object);function be(t){if(!_(t)||g(t)!=he)return!1;var n=pe(t);if(null===n)return!0;var r=ge.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ye.call(r)==_e}function me(t){if(!_(t))return!1;var n=g(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!be(t)}var je=Gn((function(t,n){try{return _t(t,void 0,n)}catch(t){return me(t)?t:new Error(t)}}));function we(t,n){var r;if("function"!=typeof n)throw new TypeError("Expected a function");return t=V(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=void 0),r}}var xe=Gn((function(t,n,r){var e=1;if(r.length){var i=vn(r,cn(xe));e|=32}return Tn(t,e,n,r,i)}));xe.placeholder={};var Oe=le((function(t,n){return Zt(n,(function(n){n=ne(n),Nn(t,n,xe(t[n],t))})),t})),Ae=Gn((function(t,n,r){var e=3;if(r.length){var i=vn(r,cn(Ae));e|=32}return Tn(n,e,t,r,i)}));function Ee(t,n,r){var e=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e<i;)o[e]=t[e+n];return o}function Ie(t,n,r){var e=t.length;return r=void 0===r?e:r,!n&&r>=e?t:Ee(t,n,r)}Ae.placeholder={};var ke=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Me(t){return ke.test(t)}var Se="\\ud800-\\udfff",Re="["+Se+"]",We="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="(?:"+We+"|"+Be+")?",De="[\\ufe0e\\ufe0f]?",Te=De+Ce+"(?:\\u200d(?:"+[ze,Pe,Le].join("|")+")"+De+Ce+")*",Ue="(?:"+[ze+We+"?",We,Pe,Le,Re].join("|")+")",Ne=RegExp(Be+"(?="+Be+")|"+Ue+Te,"g");function Fe(t){return Me(t)?function(t){return t.match(Ne)||[]}(t):function(t){return t.split("")}(t)}function qe(t){return function(n){var r=Me(n=Qr(n))?Fe(n):void 0,e=r?r[0]:n.charAt(0),i=r?Ie(r,1).join(""):n.slice(1);return e[t]()+i}}var $e=qe("toUpperCase");function Ve(t){return $e(Qr(t).toLowerCase())}function Ke(t,n,r,e){var i=-1,o=null==t?0:t.length;for(e&&o&&(r=t[++i]);++i<o;)r=n(r,t[i],i,t);return r}function Ze(t){return function(n){return null==t?void 0:t[n]}}var Ge=Ze({"\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"}),He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function Ye(t){return(t=Qr(t))&&t.replace(He,Ge).replace(Je,"")}var Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ti="\\ud800-\\udfff",ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",ei="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\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",oi="["+ii+"]",ui="\\d+",ai="["+ni+"]",ci="["+ri+"]",fi="[^"+ti+ii+ui+ni+ri+ei+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+ei+"]",hi="(?:"+ci+"|"+fi+")",vi="(?:"+pi+"|"+fi+")",di="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",yi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",gi="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_i="[\\ufe0e\\ufe0f]?",bi=_i+gi+"(?:\\u200d(?:"+["[^"+ti+"]",li,si].join("|")+")"+_i+gi+")*",mi="(?:"+[ai,li,si].join("|")+")"+bi,ji=RegExp([pi+"?"+ci+"+"+di+"(?="+[oi,pi,"$"].join("|")+")",vi+"+"+yi+"(?="+[oi,pi+hi,"$"].join("|")+")",pi+"?"+hi+"+"+di,pi+"+"+yi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui,mi].join("|"),"g");function wi(t,n,r){return t=Qr(t),void 0===(n=r?void 0:n)?function(t){return Xe.test(t)}(t)?function(t){return t.match(ji)||[]}(t):function(t){return t.match(Qe)||[]}(t):t.match(n)||[]}var xi=RegExp("['\u2019]","g");function Oi(t){return function(n){return Ke(wi(Ye(n).replace(xi,"")),t,"")}}var Ai=Oi((function(t,n,r){return n=n.toLowerCase(),t+(r?Ve(n):n)})),Ei=a.isFinite,Ii=Math.min;function ki(t){var n=Math[t];return function(t,r){if(t=N(t),(r=null==r?0:Ii(V(r),292))&&Ei(t)){var e=(Qr(t)+"e").split("e");return+((e=(Qr(n(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return n(t)}}var Mi=ki("ceil");function Si(t){var n=Pt(t);return n.__chain__=!0,n}var Ri=Math.ceil,Wi=Math.max;function Bi(t,n,r){return t==t&&(void 0!==r&&(t=t<=r?t:r),void 0!==n&&(t=t>=n?t:n)),t}function zi(t){var n=this.__data__=new $r(t);this.size=n.size}function Pi(t,n){return t&&Vn(n,Ir(n),t)}zi.prototype.clear=function(){this.__data__=new $r,this.size=0},zi.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},zi.prototype.get=function(t){return this.__data__.get(t)},zi.prototype.has=function(t){return this.__data__.has(t)},zi.prototype.set=function(t,n){var r=this.__data__;if(r instanceof $r){var e=r.__data__;if(!Vr||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(t,n),this.size=r.size,this};var Li="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ci=Li&&"object"==typeof module&&module&&!module.nodeType&&module,Di=Ci&&Ci.exports===Li?a.Buffer:void 0,Ti=Di?Di.allocUnsafe:void 0;function Ui(t,n){if(n)return t.slice();var r=t.length,e=Ti?Ti(r):new t.constructor(r);return t.copy(e),e}function Ni(t,n){for(var r=-1,e=null==t?0:t.length,i=0,o=[];++r<e;){var u=t[r];n(u,r,t)&&(o[i++]=u)}return o}function Fi(){return[]}var qi=Object.prototype.propertyIsEnumerable,$i=Object.getOwnPropertySymbols,Vi=$i?function(t){return null==t?[]:(t=Object(t),Ni($i(t),(function(n){return qi.call(t,n)})))}:Fi,Ki=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)oe(n,Vi(t)),t=pe(t);return n}:Fi;function Zi(t,n,r){var e=n(t);return O(t)?e:oe(e,r(t))}function Gi(t){return Zi(t,Ir,Vi)}function Hi(t){return Zi(t,Rr,Ki)}var Ji=lt(a,"DataView"),Yi=lt(a,"Promise"),Qi=lt(a,"Set"),Xi="[object Map]",to="[object Promise]",no="[object Set]",ro="[object WeakMap]",eo="[object DataView]",io=rt(Ji),oo=rt(Vr),uo=rt(Yi),ao=rt(Qi),co=rt(st),fo=g;(Ji&&fo(new Ji(new ArrayBuffer(1)))!=eo||Vr&&fo(new Vr)!=Xi||Yi&&fo(Yi.resolve())!=to||Qi&&fo(new Qi)!=no||st&&fo(new st)!=ro)&&(fo=function(t){var n=g(t),r="[object Object]"==n?t.constructor:void 0,e=r?rt(r):"";if(e)switch(e){case io:return eo;case oo:return Xi;case uo:return to;case ao:return no;case co:return ro}return n});var lo=fo,so=Object.prototype.hasOwnProperty,po=a.Uint8Array;function ho(t){var n=new t.constructor(t.byteLength);return new po(n).set(new po(t)),n}var vo=/\w*$/,yo=c?c.prototype:void 0,go=yo?yo.valueOf:void 0;function _o(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var bo="[object Boolean]",mo="[object Date]",jo="[object Map]",wo="[object Number]",xo="[object RegExp]",Oo="[object Set]",Ao="[object String]",Eo="[object Symbol]",Io="[object ArrayBuffer]",ko="[object DataView]",Mo="[object Float32Array]",So="[object Float64Array]",Ro="[object Int8Array]",Wo="[object Int16Array]",Bo="[object Int32Array]",zo="[object Uint8Array]",Po="[object Uint8ClampedArray]",Lo="[object Uint16Array]",Co="[object Uint32Array]";function Do(t){return"function"!=typeof t.constructor||nr(t)?{}:dt(pe(t))}var To=_r&&_r.isMap,Uo=To?vr(To):function(t){return _(t)&&"[object Map]"==lo(t)},No=_r&&_r.isSet,Fo=No?vr(No):function(t){return _(t)&&"[object Set]"==lo(t)},qo="[object Arguments]",$o="[object Function]",Vo="[object Object]",Ko={};function Zo(t,n,r,e,i,o){var u,a=1&n,c=2&n,f=4&n;if(r&&(u=i?r(t,e,i,o):r(t)),void 0!==u)return u;if(!P(t))return t;var l=O(t);if(l){if(u=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&so.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!a)return Wt(t,u)}else{var s=lo(t),p=s==$o||"[object GeneratorFunction]"==s;if(pr(t))return Ui(t,a);if(s==Vo||s==qo||p&&!i){if(u=c||p?{}:Do(t),!a)return c?function(t,n){return Vn(t,Ki(t),n)}(t,function(t,n){return t&&Vn(n,Rr(n),t)}(u,t)):function(t,n){return Vn(t,Vi(t),n)}(t,Pi(u,t))}else{if(!Ko[s])return i?t:{};u=function(t,n,r){var e,i=t.constructor;switch(n){case Io:return ho(t);case bo:case mo:return new i(+t);case ko:return function(t,n){var r=n?ho(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Mo:case So:case Ro:case Wo:case Bo:case zo:case Po:case Lo:case Co:return _o(t,r);case jo:return new i;case wo:case Ao:return new i(t);case xo:return function(t){var n=new t.constructor(t.source,vo.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Oo:return new i;case Eo:return e=t,go?Object(go.call(e)):{}}}(t,s,a)}}o||(o=new zi);var h=o.get(t);if(h)return h;o.set(t,u),Fo(t)?t.forEach((function(e){u.add(Zo(e,n,r,e,t,o))})):Uo(t)&&t.forEach((function(e,i){u.set(i,Zo(e,n,r,i,t,o))}));var v=l?void 0:(f?c?Hi:Gi:c?Rr:Ir)(t);return Zt(v||t,(function(e,i){v&&(e=t[i=e]),$n(u,i,Zo(e,n,r,i,t,o))})),u}function Go(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new Zr;++n<r;)this.add(t[n])}function Ho(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function Jo(t,n){return t.has(n)}Ko[qo]=Ko["[object Array]"]=Ko["[object ArrayBuffer]"]=Ko["[object DataView]"]=Ko["[object Boolean]"]=Ko["[object Date]"]=Ko["[object Float32Array]"]=Ko["[object Float64Array]"]=Ko["[object Int8Array]"]=Ko["[object Int16Array]"]=Ko["[object Int32Array]"]=Ko["[object Map]"]=Ko["[object Number]"]=Ko[Vo]=Ko["[object RegExp]"]=Ko["[object Set]"]=Ko["[object String]"]=Ko["[object Symbol]"]=Ko["[object Uint8Array]"]=Ko["[object Uint8ClampedArray]"]=Ko["[object Uint16Array]"]=Ko["[object Uint32Array]"]=!0,Ko["[object Error]"]=Ko[$o]=Ko["[object WeakMap]"]=!1,Go.prototype.add=Go.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Go.prototype.has=function(t){return this.__data__.has(t)};var Yo=1,Qo=2;function Xo(t,n,r,e,i,o){var u=r&Yo,a=t.length,c=n.length;if(a!=c&&!(u&&c>a))return!1;var f=o.get(t),l=o.get(n);if(f&&l)return f==n&&l==t;var s=-1,p=!0,h=r&Qo?new Go:void 0;for(o.set(t,n),o.set(n,t);++s<a;){var v=t[s],d=n[s];if(e)var y=u?e(d,v,s,n,t,o):e(v,d,s,t,n,o);if(void 0!==y){if(y)continue;p=!1;break}if(h){if(!Ho(n,(function(t,n){if(!Jo(h,n)&&(v===t||i(v,t,r,e,o)))return h.push(n)}))){p=!1;break}}else if(v!==d&&!i(v,d,r,e,o)){p=!1;break}}return o.delete(t),o.delete(n),p}function tu(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function nu(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=t})),r}var ru=1,eu=2,iu="[object Boolean]",ou="[object Date]",uu="[object Error]",au="[object Map]",cu="[object Number]",fu="[object RegExp]",lu="[object Set]",su="[object String]",pu="[object Symbol]",hu="[object ArrayBuffer]",vu="[object DataView]",du=c?c.prototype:void 0,yu=du?du.valueOf:void 0,gu=1,_u=Object.prototype.hasOwnProperty,bu=1,mu="[object Arguments]",ju="[object Array]",wu="[object Object]",xu=Object.prototype.hasOwnProperty;function Ou(t,n,r,e,i){return t===n||(null==t||null==n||!_(t)&&!_(n)?t!=t&&n!=n:function(t,n,r,e,i,o){var u=O(t),a=O(n),c=u?ju:lo(t),f=a?ju:lo(n),l=(c=c==mu?wu:c)==wu,s=(f=f==mu?wu:f)==wu,p=c==f;if(p&&pr(t)){if(!pr(n))return!1;u=!0,l=!1}if(p&&!l)return o||(o=new zi),u||mr(t)?Xo(t,n,r,e,i,o):function(t,n,r,e,i,o,u){switch(r){case vu:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case hu:return!(t.byteLength!=n.byteLength||!o(new po(t),new po(n)));case iu:case ou:case cu:return Fn(+t,+n);case uu:return t.name==n.name&&t.message==n.message;case fu:case su:return t==n+"";case au:var a=tu;case lu:var c=e&ru;if(a||(a=nu),t.size!=n.size&&!c)return!1;var f=u.get(t);if(f)return f==n;e|=eu,u.set(t,n);var l=Xo(a(t),a(n),e,i,o,u);return u.delete(t),l;case pu:if(yu)return yu.call(t)==yu.call(n)}return!1}(t,n,c,r,e,i,o);if(!(r&bu)){var h=l&&xu.call(t,"__wrapped__"),v=s&&xu.call(n,"__wrapped__");if(h||v){var d=h?t.value():t,y=v?n.value():n;return o||(o=new zi),i(d,y,r,e,o)}}return!!p&&(o||(o=new zi),function(t,n,r,e,i,o){var u=r&gu,a=Gi(t),c=a.length;if(c!=Gi(n).length&&!u)return!1;for(var f=c;f--;){var l=a[f];if(!(u?l in n:_u.call(n,l)))return!1}var s=o.get(t),p=o.get(n);if(s&&p)return s==n&&p==t;var h=!0;o.set(t,n),o.set(n,t);for(var v=u;++f<c;){var d=t[l=a[f]],y=n[l];if(e)var g=u?e(y,d,l,n,t,o):e(d,y,l,t,n,o);if(!(void 0===g?d===y||i(d,y,r,e,o):g)){h=!1;break}v||(v="constructor"==l)}if(h&&!v){var _=t.constructor,b=n.constructor;_==b||!("constructor"in t)||!("constructor"in n)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(n),h}(t,n,r,e,i,o))}(t,n,r,e,Ou,i))}var Au=1,Eu=2;function Iu(t,n,r,e){var i=r.length,o=i,u=!e;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=r[i])[0],f=t[c],l=a[1];if(u&&a[2]){if(void 0===f&&!(c in t))return!1}else{var s=new zi;if(e)var p=e(f,l,c,t,n,s);if(!(void 0===p?Ou(l,f,Au|Eu,e,s):p))return!1}}return!0}function ku(t){return t==t&&!P(t)}function Mu(t){for(var n=Ir(t),r=n.length;r--;){var e=n[r],i=t[e];n[r]=[e,i,ku(i)]}return n}function Su(t,n){return function(r){return null!=r&&r[t]===n&&(void 0!==n||t in Object(r))}}function Ru(t){var n=Mu(t);return 1==n.length&&n[0][2]?Su(n[0][0],n[0][1]):function(r){return r===t||Iu(r,t,n)}}function Wu(t,n){return null!=t&&n in Object(t)}function Bu(t,n,r){for(var e=-1,i=(n=Xr(n,t)).length,o=!1;++e<i;){var u=ne(n[e]);if(!(o=null!=t&&r(t,u)))break;t=t[u]}return o||++e!=i?o:!!(i=null==t?0:t.length)&&Jn(i)&&sn(u,i)&&(O(t)||ar(t))}function zu(t,n){return null!=t&&Bu(t,n,Wu)}var Pu=1,Lu=2;function Cu(t,n){return Cr(t)&&ku(n)?Su(ne(t),n):function(r){var e=ee(r,t);return void 0===e&&e===n?zu(r,t):Ou(n,e,Pu|Lu)}}function Du(t){return function(n){return null==n?void 0:n[t]}}function Tu(t){return Cr(t)?Du(ne(t)):function(t){return function(n){return re(n,t)}}(t)}function Uu(t){return"function"==typeof t?t:null==t?K:"object"==typeof t?O(t)?Cu(t[0],t[1]):Ru(t):Tu(t)}function Nu(t,n,r){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var i=r[e],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Fu(t,n,r,e){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(e,u,r(u),t)}return e}function qu(t){return function(n,r,e){for(var i=-1,o=Object(n),u=e(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===r(o[c],c,o))break}return n}}var $u=qu();function Vu(t,n){return t&&$u(t,n,Ir)}function Ku(t,n){return function(r,e){if(null==r)return r;if(!Yn(r))return t(r,e);for(var i=r.length,o=n?i:-1,u=Object(r);(n?o--:++o<i)&&!1!==e(u[o],o,u););return r}}var Zu=Ku(Vu);function Gu(t,n,r,e){return Zu(t,(function(t,i,o){n(e,t,r(t),o)})),e}function Hu(t,n){return function(r,e){var i=O(r)?Fu:Gu,o=n?n():{};return i(r,t,Uu(e),o)}}var Ju=Object.prototype.hasOwnProperty,Yu=Hu((function(t,n,r){Ju.call(t,r)?++t[r]:Nn(t,r,1)}));function Qu(t,n,r){var e=Tn(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Qu.placeholder,e}function Xu(t,n,r){var e=Tn(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return e.placeholder=Xu.placeholder,e}Qu.placeholder={},Xu.placeholder={};var ta=function(){return a.Date.now()},na=Math.max,ra=Math.min;function ea(t,n,r){var e,i,o,u,a,c,f=0,l=!1,s=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(n){var r=e,o=i;return e=i=void 0,f=n,u=t.apply(o,r)}function v(t){var r=t-c;return void 0===c||r>=n||r<0||s&&t-f>=o}function d(){var t=ta();if(v(t))return y(t);a=setTimeout(d,function(t){var r=n-(t-c);return s?ra(r,o-(t-f)):r}(t))}function y(t){return a=void 0,p&&e?h(t):(e=i=void 0,u)}function g(){var t=ta(),r=v(t);if(e=arguments,i=this,c=t,r){if(void 0===a)return function(t){return f=t,a=setTimeout(d,n),l?h(t):u}(c);if(s)return clearTimeout(a),a=setTimeout(d,n),h(c)}return void 0===a&&(a=setTimeout(d,n)),u}return n=N(n)||0,P(r)&&(l=!!r.leading,o=(s="maxWait"in r)?na(N(r.maxWait)||0,n):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),f=0,e=c=i=a=void 0},g.flush=function(){return void 0===a?u:y(ta())},g}var ia=Object.prototype,oa=ia.hasOwnProperty,ua=Gn((function(t,n){t=Object(t);var r=-1,e=n.length,i=e>2?n[2]:void 0;for(i&&Qn(n[0],n[1],i)&&(e=1);++r<e;)for(var o=n[r],u=Rr(o),a=-1,c=u.length;++a<c;){var f=u[a],l=t[f];(void 0===l||Fn(l,ia[f])&&!oa.call(t,f))&&(t[f]=o[f])}return t}));function aa(t,n,r){(void 0!==r&&!Fn(t[n],r)||void 0===r&&!(n in t))&&Nn(t,n,r)}function ca(t){return _(t)&&Yn(t)}function fa(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function la(t){return Vn(t,Rr(t))}function sa(t,n,r,e,i){t!==n&&$u(n,(function(o,u){if(i||(i=new zi),P(o))!function(t,n,r,e,i,o,u){var a=fa(t,r),c=fa(n,r),f=u.get(c);if(f)aa(t,r,f);else{var l=o?o(a,c,r+"",t,n,u):void 0,s=void 0===l;if(s){var p=O(c),h=!p&&pr(c),v=!p&&!h&&mr(c);l=c,p||h||v?O(a)?l=a:ca(a)?l=Wt(a):h?(s=!1,l=Ui(c,!0)):v?(s=!1,l=_o(c,!0)):l=[]:be(c)||ar(c)?(l=a,ar(a)?l=la(a):P(a)&&!Y(a)||(l=Do(c))):s=!1}s&&(u.set(c,l),i(l,c,e,o,u),u.delete(c)),aa(t,r,l)}}(t,n,u,r,sa,e,i);else{var a=e?e(fa(t,u),o,u+"",t,n,i):void 0;void 0===a&&(a=o),aa(t,u,a)}}),Rr)}function pa(t,n,r,e,i,o){return P(t)&&P(n)&&(o.set(n,t),sa(t,n,void 0,pa,o),o.delete(n)),t}var ha=Xn((function(t,n,r,e){sa(t,n,r,e)})),va=Gn((function(t){return t.push(void 0,pa),_t(ha,void 0,t)}));function da(t,n,r){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,r)}),n)}var ya=Gn((function(t,n){return da(t,1,n)})),ga=Gn((function(t,n,r){return da(t,N(n)||0,r)}));function _a(t,n,r){for(var e=-1,i=null==t?0:t.length;++e<i;)if(r(n,t[e]))return!0;return!1}var ba=200;function ma(t,n,r,e){var i=-1,o=Yt,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;r&&(n=x(n,vr(r))),e?(o=_a,u=!1):n.length>=ba&&(o=Jo,u=!1,n=new Go(n));t:for(;++i<a;){var l=t[i],s=null==r?l:r(l);if(l=e||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(n[p]===s)continue t;c.push(l)}else o(n,s,e)||c.push(l)}return c}var ja=Gn((function(t,n){return ca(t)?ma(t,ce(n,1,ca,!0)):[]}));function wa(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}var xa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),Uu(r)):[]})),Oa=Gn((function(t,n){var r=wa(n);return ca(r)&&(r=void 0),ca(t)?ma(t,ce(n,1,ca,!0),void 0,r):[]})),Aa=M((function(t,n){return t/n}),1);function Ea(t,n,r,e){for(var i=t.length,o=e?i:-1;(e?o--:++o<i)&&n(t[o],o,t););return r?Ee(t,e?0:o,e?o+1:i):Ee(t,e?o+1:0,e?i:o)}function Ia(t){return"function"==typeof t?t:K}function ka(t,n){return(O(t)?Zt:Zu)(t,Ia(n))}function Ma(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}var Sa=qu(!0);function Ra(t,n){return t&&Sa(t,n,Ir)}var Wa=Ku(Ra,!0);function Ba(t,n){return(O(t)?Ma:Wa)(t,Ia(n))}function za(t){return function(n){var r=lo(n);return"[object Map]"==r?tu(n):"[object Set]"==r?function(t){var n=-1,r=Array(t.size);return t.forEach((function(t){r[++n]=[t,t]})),r}(n):function(t,n){return x(n,(function(n){return[n,t[n]]}))}(n,t(n))}}var Pa=za(Ir),La=za(Rr),Ca=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"}),Da=/[&<>"']/g,Ta=RegExp(Da.source);function Ua(t){return(t=Qr(t))&&Ta.test(t)?t.replace(Da,Ca):t}var Na=/[\\^$.*+?()[\]{}|]/g,Fa=RegExp(Na.source);function qa(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function $a(t,n){var r=!0;return Zu(t,(function(t,e,i){return r=!!n(t,e,i)})),r}function Va(t){return t?Bi(V(t),0,4294967295):0}function Ka(t,n){var r=[];return Zu(t,(function(t,e,i){n(t,e,i)&&r.push(t)})),r}function Za(t){return function(n,r,e){var i=Object(n);if(!Yn(n)){var o=Uu(r);n=Ir(n),r=function(t){return o(i[t],t,i)}}var u=t(n,r,e);return u>-1?i[o?n[u]:u]:void 0}}var Ga=Math.max;function Ha(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:V(r);return i<0&&(i=Ga(e+i,0)),Gt(t,Uu(n),i)}var Ja=Za(Ha);function Ya(t,n,r){var e;return r(t,(function(t,r,i){if(n(t,r,i))return e=r,!1})),e}var Qa=Math.max,Xa=Math.min;function tc(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e-1;return void 0!==r&&(i=V(r),i=r<0?Qa(e+i,0):Xa(i,e-1)),Gt(t,Uu(n),i,!0)}var nc=Za(tc);function rc(t){return t&&t.length?t[0]:void 0}function ec(t,n){var r=-1,e=Yn(t)?Array(t.length):[];return Zu(t,(function(t,i,o){e[++r]=n(t,i,o)})),e}function ic(t,n){return(O(t)?x:ec)(t,Uu(n))}var oc=ki("floor");function uc(t){return le((function(n){var r=n.length,e=r,i=Rt.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new TypeError("Expected a function");if(i&&!u&&"wrapper"==St(o))var u=new Rt([],!0)}for(e=u?e:r;++e<r;){var a=St(o=n[e]),c="wrapper"==a?It(o):void 0;u=c&&Lt(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?u[St(c[0])].apply(u,c[3]):1==o.length&&Lt(o)?u[a]():u.thru(o)}return function(){var t=arguments,e=t[0];if(u&&1==t.length&&O(e))return u.plant(e).value();for(var i=0,o=r?n[i].apply(this,t):e;++i<r;)o=n[i].call(this,o);return o}}))}var ac=uc(),cc=uc(!0);function fc(t,n){return Ni(n,(function(n){return Y(t[n])}))}var lc=Object.prototype.hasOwnProperty,sc=Hu((function(t,n,r){lc.call(t,r)?t[r].push(n):Nn(t,r,[n])}));function pc(t,n){return t>n}function hc(t){return function(n,r){return"string"==typeof n&&"string"==typeof r||(n=N(n),r=N(r)),t(n,r)}}var vc=hc(pc),dc=hc((function(t,n){return t>=n})),yc=Object.prototype.hasOwnProperty;function gc(t,n){return null!=t&&yc.call(t,n)}var _c=Math.max,bc=Math.min,mc="[object String]";function jc(t){return"string"==typeof t||!O(t)&&_(t)&&g(t)==mc}function wc(t,n){return x(n,(function(n){return t[n]}))}function xc(t){return null==t?[]:wc(t,Ir(t))}var Oc=Math.max,Ac=Math.max,Ec=Math.min;function Ic(t,n,r){for(var e=r?_a:Yt,i=t[0].length,o=t.length,u=o,a=Array(o),c=1/0,f=[];u--;){var l=t[u];u&&n&&(l=x(l,vr(n))),c=Ec(l.length,c),a[u]=!r&&(n||i>=120&&l.length>=120)?new Go(u&&l):void 0}l=t[0];var s=-1,p=a[0];t:for(;++s<i&&f.length<c;){var h=l[s],v=n?n(h):h;if(h=r||0!==h?h:0,!(p?Jo(p,v):e(f,v,r))){for(u=o;--u;){var d=a[u];if(!(d?Jo(d,v):e(t[u],v,r)))continue t}p&&p.push(v),f.push(h)}}return f}function kc(t){return ca(t)?t:[]}var Mc=Gn((function(t){var n=x(t,kc);return n.length&&n[0]===t[0]?Ic(n):[]})),Sc=Gn((function(t){var n=wa(t),r=x(t,kc);return n===wa(r)?n=void 0:r.pop(),r.length&&r[0]===t[0]?Ic(r,Uu(n)):[]})),Rc=Gn((function(t){var n=wa(t),r=x(t,kc);return(n="function"==typeof n?n:void 0)&&r.pop(),r.length&&r[0]===t[0]?Ic(r,void 0,n):[]}));function Wc(t,n){return function(r,e){return function(t,n,r,e){return Vu(t,(function(t,i,o){n(e,r(t),i,o)})),e}(r,t,n(e),{})}}var Bc=Object.prototype.toString,zc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Bc.call(n)),t[n]=r}),qt(K)),Pc=Object.prototype,Lc=Pc.hasOwnProperty,Cc=Pc.toString,Dc=Wc((function(t,n,r){null!=n&&"function"!=typeof n.toString&&(n=Cc.call(n)),Lc.call(t,n)?t[n].push(r):t[n]=[r]}),Uu);function Tc(t,n){return n.length<2?t:re(t,Ee(n,0,-1))}function Uc(t,n,r){var e=null==(t=Tc(t,n=Xr(n,t)))?t:t[ne(wa(n))];return null==e?void 0:_t(e,t,r)}var Nc=Gn(Uc),Fc=Gn((function(t,n,r){var e=-1,i="function"==typeof n,o=Yn(t)?Array(t.length):[];return Zu(t,(function(t){o[++e]=i?_t(n,t,r):Uc(t,n,r)})),o})),qc=_r&&_r.isArrayBuffer,$c=qc?vr(qc):function(t){return _(t)&&"[object ArrayBuffer]"==g(t)},Vc=_r&&_r.isDate,Kc=Vc?vr(Vc):function(t){return _(t)&&"[object Date]"==g(t)},Zc=Object.prototype.hasOwnProperty,Gc=a.isFinite;function Hc(t){return"number"==typeof t&&t==V(t)}function Jc(t){return"number"==typeof t||_(t)&&"[object Number]"==g(t)}var Yc=X?Y:cr,Qc=_r&&_r.isRegExp,Xc=Qc?vr(Qc):function(t){return _(t)&&"[object RegExp]"==g(t)},tf=Array.prototype.join,nf=Oi((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),rf=Hu((function(t,n,r){Nn(t,r,n)})),ef=Math.max,of=Math.min,uf=Oi((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),af=qe("toLowerCase");function cf(t,n){return t<n}var ff=hc(cf),lf=hc((function(t,n){return t<=n}));function sf(t,n,r){for(var e=-1,i=t.length;++e<i;){var o=t[e],u=n(o);if(null!=u&&(void 0===a?u==u&&!m(u):r(u,a)))var a=u,c=o}return c}function pf(t,n){for(var r,e=-1,i=t.length;++e<i;){var o=n(t[e]);void 0!==o&&(r=void 0===r?o:r+o)}return r}function hf(t,n){var r=null==t?0:t.length;return r?pf(t,n)/r:NaN}var vf=Xn((function(t,n,r){sa(t,n,r)})),df=Gn((function(t,n){return function(r){return Uc(r,t,n)}})),yf=Gn((function(t,n){return function(r){return Uc(t,r,n)}}));function gf(t,n,r){var e=Ir(n),i=fc(n,e),o=!(P(r)&&"chain"in r&&!r.chain),u=Y(t);return Zt(i,(function(r){var e=n[r];t[r]=e,u&&(t.prototype[r]=function(){var n=this.__chain__;if(o||n){var r=t(this.__wrapped__);return(r.__actions__=Wt(this.__actions__)).push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,oe([this.value()],arguments))})})),t}var _f=M((function(t,n){return t*n}),1);function bf(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}var mf=c?c.iterator:void 0;function jf(t){if(!t)return[];if(Yn(t))return jc(t)?Fe(t):Wt(t);if(mf&&t[mf])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[mf]());var n=lo(t);return("[object Map]"==n?tu:"[object Set]"==n?nu:xc)(t)}function wf(t,n){var r=t.length;if(r)return sn(n+=n<0?r:0,r)?t[n]:void 0}function xf(t,n){return null==(t=Tc(t,n=Xr(n,t)))||delete t[ne(wa(n))]}function Of(t){return be(t)?void 0:t}var Af=le((function(t,n){var r={};if(null==t)return r;var e=!1;n=x(n,(function(n){return n=Xr(n,t),e||(e=n.length>1),n})),Vn(t,Hi(t),r),e&&(r=Zo(r,7,Of));for(var i=n.length;i--;)xf(r,n[i]);return r}));function Ef(t,n,r,e){if(!P(t))return t;for(var i=-1,o=(n=Xr(n,t)).length,u=o-1,a=t;null!=a&&++i<o;){var c=ne(n[i]),f=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=u){var l=a[c];void 0===(f=e?e(l,c,a):void 0)&&(f=P(l)?l:sn(n[i+1])?[]:{})}$n(a,c,f),a=a[c]}return t}function If(t,n,r){for(var e=-1,i=n.length,o={};++e<i;){var u=n[e],a=re(t,u);r(a,u)&&Ef(o,Xr(u,t),a)}return o}function kf(t,n){if(null==t)return{};var r=x(Hi(t),(function(t){return[t]}));return n=Uu(n),If(t,r,(function(t,r){return n(t,r[0])}))}function Mf(t,n){if(t!==n){var r=void 0!==t,e=null===t,i=t==t,o=m(t),u=void 0!==n,a=null===n,c=n==n,f=m(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||e&&u&&c||!r&&c||!i)return 1;if(!e&&!o&&!f&&t<n||f&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!c)return-1}return 0}function Sf(t,n,r){n=n.length?x(n,(function(t){return O(t)?function(n){return re(n,1===t.length?t[0]:t)}:t})):[K];var e=-1;n=x(n,vr(Uu));var i=ec(t,(function(t,r,i){var o=x(n,(function(n){return n(t)}));return{criteria:o,index:++e,value:t}}));return function(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}(i,(function(t,n){return function(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e<u;){var c=Mf(i[e],o[e]);if(c)return e>=a?c:c*("desc"==r[e]?-1:1)}return t.index-n.index}(t,n,r)}))}function Rf(t){return le((function(n){return n=x(n,vr(Uu)),Gn((function(r){var e=this;return t(n,(function(t){return _t(t,e,r)}))}))}))}var Wf=Rf(x),Bf=Gn,zf=Math.min,Pf=Bf((function(t,n){var r=(n=1==n.length&&O(n[0])?x(n[0],vr(Uu)):x(ce(n,1),vr(Uu))).length;return Gn((function(e){for(var i=-1,o=zf(e.length,r);++i<o;)e[i]=n[i].call(this,e[i]);return _t(t,this,e)}))})),Lf=Rf(qa),Cf=Rf(Ho),Df=9007199254740991,Tf=Math.floor;function Uf(t,n){var r="";if(!t||n<1||n>Df)return r;do{n%2&&(r+=t),(n=Tf(n/2))&&(t+=t)}while(n);return r}var Nf=Du("length"),Ff="\\ud800-\\udfff",qf="["+Ff+"]",$f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vf="\\ud83c[\\udffb-\\udfff]",Kf="[^"+Ff+"]",Zf="(?:\\ud83c[\\udde6-\\uddff]){2}",Gf="[\\ud800-\\udbff][\\udc00-\\udfff]",Hf="(?:"+$f+"|"+Vf+")?",Jf="[\\ufe0e\\ufe0f]?",Yf=Jf+Hf+"(?:\\u200d(?:"+[Kf,Zf,Gf].join("|")+")"+Jf+Hf+")*",Qf="(?:"+[Kf+$f+"?",$f,Zf,Gf,qf].join("|")+")",Xf=RegExp(Vf+"(?="+Vf+")|"+Qf+Yf,"g");function tl(t){return Me(t)?function(t){for(var n=Xf.lastIndex=0;Xf.test(t);)++n;return n}(t):Nf(t)}var nl=Math.ceil;function rl(t,n){var r=(n=void 0===n?" ":k(n)).length;if(r<2)return r?Uf(n,t):n;var e=Uf(n,nl(t/tl(n)));return Me(n)?Ie(Fe(e),0,t).join(""):e.slice(0,t)}var el=Math.ceil,il=Math.floor,ol=/^\s+/,ul=a.parseInt,al=Gn((function(t,n){return Tn(t,32,void 0,n,vn(n,cn(al)))}));al.placeholder={};var cl=Gn((function(t,n){return Tn(t,64,void 0,n,vn(n,cn(cl)))}));cl.placeholder={};var fl=Hu((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]})),ll=le((function(t,n){return null==t?{}:function(t,n){return If(t,n,(function(n,r){return zu(t,r)}))}(t,n)}));function sl(t,n,r,e){for(var i=r-1,o=t.length;++i<o;)if(e(t[i],n))return i;return-1}var pl=Array.prototype.splice;function hl(t,n,r,e){var i=e?sl:Jt,o=-1,u=n.length,a=t;for(t===n&&(n=Wt(n)),r&&(a=x(t,vr(r)));++o<u;)for(var c=0,f=n[o],l=r?r(f):f;(c=i(a,l,c,e))>-1;)a!==t&&pl.call(a,c,1),pl.call(t,c,1);return t}function vl(t,n){return t&&t.length&&n&&n.length?hl(t,n):t}var dl=Gn(vl),yl=Array.prototype.splice;function gl(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;sn(i)?yl.call(t,i,1):xf(t,i)}}return t}var _l=le((function(t,n){var r=null==t?0:t.length,e=ie(t,n);return gl(t,x(n,(function(t){return sn(t,r)?+t:t})).sort(Mf)),e})),bl=Math.floor,ml=Math.random;function jl(t,n){return t+bl(ml()*(n-t+1))}var wl=parseFloat,xl=Math.min,Ol=Math.random,Al=Math.ceil,El=Math.max;function Il(t){return function(n,r,e){return e&&"number"!=typeof e&&Qn(n,r,e)&&(r=e=void 0),n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r,e){for(var i=-1,o=El(Al((n-t)/(r||1)),0),u=Array(o);o--;)u[e?o:++i]=t,t+=r;return u}(n,r,e=void 0===e?n<r?1:-1:$(e),t)}}var kl=Il(),Ml=Il(!0),Sl=le((function(t,n){return Tn(t,256,void 0,void 0,void 0,n)}));function Rl(t,n,r,e,i){return i(t,(function(t,i,o){r=e?(e=!1,t):n(r,t,i,o)})),r}function Wl(t,n,r,e){var i=null==t?0:t.length;for(e&&i&&(r=t[--i]);i--;)r=n(r,t[i],i,t);return r}var Bl=Array.prototype.reverse;function zl(t){return null==t?t:Bl.call(t)}var Pl=ki("round");function Ll(t){var n=t.length;return n?t[jl(0,n-1)]:void 0}function Cl(t){return Ll(xc(t))}function Dl(t,n){var r=-1,e=t.length,i=e-1;for(n=void 0===n?e:n;++r<n;){var o=jl(r,i),u=t[o];t[o]=t[r],t[r]=u}return t.length=n,t}function Tl(t,n){return Dl(Wt(t),Bi(n,0,t.length))}function Ul(t,n){var r=xc(t);return Dl(r,Bi(n,0,r.length))}function Nl(t){return Dl(Wt(t))}function Fl(t){return Dl(xc(t))}var ql=Oi((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));function $l(t,n){var r;return Zu(t,(function(t,e,i){return!(r=n(t,e,i))})),!!r}var Vl=Gn((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Qn(t,n[0],n[1])?n=[]:r>2&&Qn(n[0],n[1],n[2])&&(n=[n[0]]),Sf(t,ce(n,1),[])})),Kl=4294967294,Zl=Math.floor,Gl=Math.min;function Hl(t,n,r,e){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var u=(n=r(n))!=n,a=null===n,c=m(n),f=void 0===n;i<o;){var l=Zl((i+o)/2),s=r(t[l]),p=void 0!==s,h=null===s,v=s==s,d=m(s);if(u)var y=e||v;else y=f?v&&(e||p):a?v&&p&&(e||!h):c?v&&p&&!h&&(e||!d):!h&&!d&&(e?s<=n:s<n);y?i=l+1:o=l}return Gl(o,Kl)}function Jl(t,n,r){var e=0,i=null==t?e:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;e<i;){var o=e+i>>>1,u=t[o];null!==u&&!m(u)&&(r?u<=n:u<n)?e=o+1:i=o}return i}return Hl(t,n,K,r)}function Yl(t,n){for(var r=-1,e=t.length,i=0,o=[];++r<e;){var u=t[r],a=n?n(u):u;if(!r||!Fn(a,c)){var c=a;o[i++]=0===u?0:u}}return o}var Ql=Math.max,Xl=Oi((function(t,n,r){return t+(r?" ":"")+$e(n)})),ts=M((function(t,n){return t-n}),0),ns=Object.prototype,rs=ns.hasOwnProperty;function es(t,n,r,e){return void 0===t||Fn(t,ns[r])&&!rs.call(e,r)?n:t}var is={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function os(t){return"\\"+is[t]}var us=/<%=([\s\S]+?)%>/g,as={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:us,variable:"",imports:{_:{escape:Ua}}},cs=/\b__p \+= '';/g,fs=/\b(__p \+=) '' \+/g,ls=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ss=/[()=,{}\[\]\/\s]/,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hs=/($^)/,vs=/['\n\r\u2028\u2029\\]/g,ds=Object.prototype.hasOwnProperty;function ys(t,n){return n(t)}var gs=4294967295,_s=Math.min;function bs(t,n){var r=t;return r instanceof At&&(r=r.value()),Ke(n,(function(t,n){return n.func.apply(n.thisArg,oe([t],n.args))}),r)}function ms(){return bs(this.__wrapped__,this.__actions__)}function js(t,n){for(var r=t.length;r--&&Jt(n,t[r],0)>-1;);return r}function ws(t,n){for(var r=-1,e=t.length;++r<e&&Jt(n,t[r],0)>-1;);return r}var xs=/^\s+/,Os=/\w*$/,As=Ze({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Es=/&(?:amp|lt|gt|quot|#39);/g,Is=RegExp(Es.source),ks=Qi&&1/nu(new Qi([,-0]))[1]==1/0?function(t){return new Qi(t)}:Et,Ms=200;function Ss(t,n,r){var e=-1,i=Yt,o=t.length,u=!0,a=[],c=a;if(r)u=!1,i=_a;else if(o>=Ms){var f=n?null:ks(t);if(f)return nu(f);u=!1,i=Jo,c=new Go}else c=n?[]:a;t:for(;++e<o;){var l=t[e],s=n?n(l):l;if(l=r||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;n&&c.push(s),a.push(l)}else i(c,s,r)||(c!==a&&c.push(s),a.push(l))}return a}var Rs=Gn((function(t){return Ss(ce(t,1,ca,!0))})),Ws=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Ss(ce(t,1,ca,!0),Uu(n))})),Bs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Ss(ce(t,1,ca,!0),void 0,n)})),zs=0,Ps=Math.max;function Ls(t){if(!t||!t.length)return[];var n=0;return t=Ni(t,(function(t){if(ca(t))return n=Ps(t.length,n),!0})),rr(n,(function(n){return x(t,Du(n))}))}function Cs(t,n){if(!t||!t.length)return[];var r=Ls(t);return null==n?r:x(r,(function(t){return _t(n,void 0,t)}))}function Ds(t,n,r,e){return Ef(t,n,r(re(t,n)),e)}var Ts=Oi((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Us=Gn((function(t,n){return ca(t)?ma(t,n):[]})),Ns=le((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,i=function(n){return ie(n,t)};return!(n>1||this.__actions__.length)&&e instanceof At&&sn(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:ys,args:[i],thisArg:void 0}),new Rt(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));function Fs(t,n,r){var e=t.length;if(e<2)return e?Ss(t[0]):[];for(var i=-1,o=Array(e);++i<e;)for(var u=t[i],a=-1;++a<e;)a!=i&&(o[i]=ma(o[i]||u,t[a],n,r));return Ss(ce(o,1),n,r)}var qs=Gn((function(t){return Fs(Ni(t,ca))})),$s=Gn((function(t){var n=wa(t);return ca(n)&&(n=void 0),Fs(Ni(t,ca),Uu(n))})),Vs=Gn((function(t){var n=wa(t);return n="function"==typeof n?n:void 0,Fs(Ni(t,ca),void 0,n)})),Ks=Gn(Ls);function Zs(t,n,r){for(var e=-1,i=t.length,o=n.length,u={};++e<i;){var a=e<o?n[e]:void 0;r(u,t[e],a)}return u}var Gs,Hs,Js=Gn((function(t){var n=t.length,r=n>1?t[n-1]:void 0;return r="function"==typeof r?(t.pop(),r):void 0,Cs(t,r)})),Ys={chunk:function(t,n,r){n=(r?Qn(t,n,r):void 0===n)?1:Wi(V(n),0);var e=null==t?0:t.length;if(!e||n<1)return[];for(var i=0,o=0,u=Array(Ri(e/n));i<e;)u[o++]=Ee(t,i,i+=n);return u},compact:function(t){for(var n=-1,r=null==t?0:t.length,e=0,i=[];++n<r;){var o=t[n];o&&(i[e++]=o)}return i},concat:function(){var t=arguments.length;if(!t)return[];for(var n=Array(t-1),r=arguments[0],e=t;e--;)n[e-1]=arguments[e];return oe(O(r)?Wt(r):[r],ce(n,1))},difference:ja,differenceBy:xa,differenceWith:Oa,drop:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=r||void 0===n?1:V(n))<0?0:n,e):[]},dropRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,0,(n=e-(n=r||void 0===n?1:V(n)))<0?0:n):[]},dropRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0,!0):[]},dropWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!0):[]},fill:function(t,n,r,e){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Qn(t,n,r)&&(r=0,e=i),function(t,n,r,e){var i=t.length;for((r=V(r))<0&&(r=-r>i?0:i+r),(e=void 0===e||e>i?i:V(e))<0&&(e+=i),e=r>e?0:Va(e);r<e;)t[r++]=n;return t}(t,n,r,e)):[]},findIndex:Ha,findLastIndex:tc,first:rc,flatten:fe,flattenDeep:function(t){return null!=t&&t.length?ce(t,1/0):[]},flattenDepth:function(t,n){return null!=t&&t.length?ce(t,n=void 0===n?1:V(n)):[]},fromPairs:function(t){for(var n=-1,r=null==t?0:t.length,e={};++n<r;){var i=t[n];e[i[0]]=i[1]}return e},head:rc,indexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=null==r?0:V(r);return i<0&&(i=Ac(e+i,0)),Jt(t,n,i)},initial:function(t){return null!=t&&t.length?Ee(t,0,-1):[]},intersection:Mc,intersectionBy:Sc,intersectionWith:Rc,join:function(t,n){return null==t?"":tf.call(t,n)},last:wa,lastIndexOf:function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var i=e;return void 0!==r&&(i=(i=V(r))<0?ef(e+i,0):of(i,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,i):Gt(t,Ht,i,!0)},nth:function(t,n){return t&&t.length?wf(t,V(n)):void 0},pull:dl,pullAll:vl,pullAllBy:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,Uu(r)):t},pullAllWith:function(t,n,r){return t&&t.length&&n&&n.length?hl(t,n,void 0,r):t},pullAt:_l,remove:function(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Uu(n);++e<o;){var u=t[e];n(u,e,t)&&(r.push(u),i.push(e))}return gl(t,i),r},reverse:zl,slice:function(t,n,r){var e=null==t?0:t.length;return e?(r&&"number"!=typeof r&&Qn(t,n,r)?(n=0,r=e):(n=null==n?0:V(n),r=void 0===r?e:V(r)),Ee(t,n,r)):[]},sortedIndex:function(t,n){return Jl(t,n)},sortedIndexBy:function(t,n,r){return Hl(t,n,Uu(r))},sortedIndexOf:function(t,n){var r=null==t?0:t.length;if(r){var e=Jl(t,n);if(e<r&&Fn(t[e],n))return e}return-1},sortedLastIndex:function(t,n){return Jl(t,n,!0)},sortedLastIndexBy:function(t,n,r){return Hl(t,n,Uu(r),!0)},sortedLastIndexOf:function(t,n){if(null!=t&&t.length){var r=Jl(t,n,!0)-1;if(Fn(t[r],n))return r}return-1},sortedUniq:function(t){return t&&t.length?Yl(t):[]},sortedUniqBy:function(t,n){return t&&t.length?Yl(t,Uu(n)):[]},tail:function(t){var n=null==t?0:t.length;return n?Ee(t,1,n):[]},take:function(t,n,r){return t&&t.length?Ee(t,0,(n=r||void 0===n?1:V(n))<0?0:n):[]},takeRight:function(t,n,r){var e=null==t?0:t.length;return e?Ee(t,(n=e-(n=r||void 0===n?1:V(n)))<0?0:n,e):[]},takeRightWhile:function(t,n){return t&&t.length?Ea(t,Uu(n),!1,!0):[]},takeWhile:function(t,n){return t&&t.length?Ea(t,Uu(n)):[]},union:Rs,unionBy:Ws,unionWith:Bs,uniq:function(t){return t&&t.length?Ss(t):[]},uniqBy:function(t,n){return t&&t.length?Ss(t,Uu(n)):[]},uniqWith:function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Ss(t,void 0,n):[]},unzip:Ls,unzipWith:Cs,without:Us,xor:qs,xorBy:$s,xorWith:Vs,zip:Ks,zipObject:function(t,n){return Zs(t||[],n||[],$n)},zipObjectDeep:function(t,n){return Zs(t||[],n||[],Ef)},zipWith:Js},Qs={countBy:Yu,each:ka,eachRight:Ba,every:function(t,n,r){var e=O(t)?qa:$a;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},filter:function(t,n){return(O(t)?Ni:Ka)(t,Uu(n))},find:Ja,findLast:nc,flatMap:function(t,n){return ce(ic(t,n),1)},flatMapDeep:function(t,n){return ce(ic(t,n),1/0)},flatMapDepth:function(t,n,r){return r=void 0===r?1:V(r),ce(ic(t,n),r)},forEach:ka,forEachRight:Ba,groupBy:sc,includes:function(t,n,r,e){t=Yn(t)?t:xc(t),r=r&&!e?V(r):0;var i=t.length;return r<0&&(r=Oc(i+r,0)),jc(t)?r<=i&&t.indexOf(n,r)>-1:!!i&&Jt(t,n,r)>-1},invokeMap:Fc,keyBy:rf,map:ic,orderBy:function(t,n,r,e){return null==t?[]:(O(n)||(n=null==n?[]:[n]),O(r=e?void 0:r)||(r=null==r?[]:[r]),Sf(t,n,r))},partition:fl,reduce:function(t,n,r){var e=O(t)?Ke:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Zu)},reduceRight:function(t,n,r){var e=O(t)?Wl:Rl,i=arguments.length<3;return e(t,Uu(n),r,i,Wa)},reject:function(t,n){return(O(t)?Ni:Ka)(t,bf(Uu(n)))},sample:function(t){return(O(t)?Ll:Cl)(t)},sampleSize:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:V(n),(O(t)?Tl:Ul)(t,n)},shuffle:function(t){return(O(t)?Nl:Fl)(t)},size:function(t){if(null==t)return 0;if(Yn(t))return jc(t)?tl(t):t.length;var n=lo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Er(t).length},some:function(t,n,r){var e=O(t)?Ho:$l;return r&&Qn(t,n,r)&&(n=void 0),e(t,Uu(n))},sortBy:Vl},Xs=ta,tp={after:function(t,n){if("function"!=typeof n)throw new TypeError("Expected a function");return t=V(t),function(){if(--t<1)return n.apply(this,arguments)}},ary:Un,before:we,bind:xe,bindKey:Ae,curry:Qu,curryRight:Xu,debounce:ea,defer:ya,delay:ga,flip:function(t){return Tn(t,512)},memoize:Gr,negate:bf,once:function(t){return we(2,t)},overArgs:Pf,partial:al,partialRight:cl,rearg:Sl,rest:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return Gn(t,n=void 0===n?n:V(n))},spread:function(t,n){if("function"!=typeof t)throw new TypeError("Expected a function");return n=null==n?0:Ql(V(n),0),Gn((function(r){var e=r[n],i=Ie(r,0,n);return e&&oe(i,e),_t(t,this,i)}))},throttle:function(t,n,r){var e=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return P(r)&&(e="leading"in r?!!r.leading:e,i="trailing"in r?!!r.trailing:i),ea(t,n,{leading:e,maxWait:n,trailing:i})},unary:function(t){return Un(t,1)},wrap:function(t,n){return al(Ia(n),t)}},np={castArray:function(){if(!arguments.length)return[];var t=arguments[0];return O(t)?t:[t]},clone:function(t){return Zo(t,4)},cloneDeep:function(t){return Zo(t,5)},cloneDeepWith:function(t,n){return Zo(t,5,n="function"==typeof n?n:void 0)},cloneWith:function(t,n){return Zo(t,4,n="function"==typeof n?n:void 0)},conformsTo:function(t,n){return null==n||Nu(t,n,Ir(n))},eq:Fn,gt:vc,gte:dc,isArguments:ar,isArray:O,isArrayBuffer:$c,isArrayLike:Yn,isArrayLikeObject:ca,isBoolean:function(t){return!0===t||!1===t||_(t)&&"[object Boolean]"==g(t)},isBuffer:pr,isDate:Kc,isElement:function(t){return _(t)&&1===t.nodeType&&!be(t)},isEmpty:function(t){if(null==t)return!0;if(Yn(t)&&(O(t)||"string"==typeof t||"function"==typeof t.splice||pr(t)||mr(t)||ar(t)))return!t.length;var n=lo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(nr(t))return!Er(t).length;for(var r in t)if(Zc.call(t,r))return!1;return!0},isEqual:function(t,n){return Ou(t,n)},isEqualWith:function(t,n,r){var e=(r="function"==typeof r?r:void 0)?r(t,n):void 0;return void 0===e?Ou(t,n,void 0,r):!!e},isError:me,isFinite:function(t){return"number"==typeof t&&Gc(t)},isFunction:Y,isInteger:Hc,isLength:Jn,isMap:Uo,isMatch:function(t,n){return t===n||Iu(t,n,Mu(n))},isMatchWith:function(t,n,r){return r="function"==typeof r?r:void 0,Iu(t,n,Mu(n),r)},isNaN:function(t){return Jc(t)&&t!=+t},isNative:function(t){if(Yc(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ft(t)},isNil:function(t){return null==t},isNull:function(t){return null===t},isNumber:Jc,isObject:P,isObjectLike:_,isPlainObject:be,isRegExp:Xc,isSafeInteger:function(t){return Hc(t)&&t>=-9007199254740991&&t<=9007199254740991},isSet:Fo,isString:jc,isSymbol:m,isTypedArray:mr,isUndefined:function(t){return void 0===t},isWeakMap:function(t){return _(t)&&"[object WeakMap]"==lo(t)},isWeakSet:function(t){return _(t)&&"[object WeakSet]"==g(t)},lt:ff,lte:lf,toArray:jf,toFinite:$,toInteger:V,toLength:Va,toNumber:N,toPlainObject:la,toSafeInteger:function(t){return t?Bi(V(t),-9007199254740991,9007199254740991):0===t?t:0},toString:Qr},rp={add:S,ceil:Mi,divide:Aa,floor:oc,max:function(t){return t&&t.length?sf(t,K,pc):void 0},maxBy:function(t,n){return t&&t.length?sf(t,Uu(n),pc):void 0},mean:function(t){return hf(t,K)},meanBy:function(t,n){return hf(t,Uu(n))},min:function(t){return t&&t.length?sf(t,K,cf):void 0},minBy:function(t,n){return t&&t.length?sf(t,Uu(n),cf):void 0},multiply:_f,round:Pl,subtract:ts,sum:function(t){return t&&t.length?pf(t,K):0},sumBy:function(t,n){return t&&t.length?pf(t,Uu(n)):0}},ep={assign:Mr,assignIn:Wr,assignInWith:Br,assignWith:zr,at:se,create:function(t,n){var r=dt(t);return null==n?r:Pi(r,n)},defaults:ua,defaultsDeep:va,entries:Pa,entriesIn:La,extend:Wr,extendWith:Br,findKey:function(t,n){return Ya(t,Uu(n),Vu)},findLastKey:function(t,n){return Ya(t,Uu(n),Ra)},forIn:function(t,n){return null==t?t:$u(t,Ia(n),Rr)},forInRight:function(t,n){return null==t?t:Sa(t,Ia(n),Rr)},forOwn:function(t,n){return t&&Vu(t,Ia(n))},forOwnRight:function(t,n){return t&&Ra(t,Ia(n))},functions:function(t){return null==t?[]:fc(t,Ir(t))},functionsIn:function(t){return null==t?[]:fc(t,Rr(t))},get:ee,has:function(t,n){return null!=t&&Bu(t,n,gc)},hasIn:zu,invert:zc,invertBy:Dc,invoke:Nc,keys:Ir,keysIn:Rr,mapKeys:function(t,n){var r={};return n=Uu(n),Vu(t,(function(t,e,i){Nn(r,n(t,e,i),t)})),r},mapValues:function(t,n){var r={};return n=Uu(n),Vu(t,(function(t,e,i){Nn(r,e,n(t,e,i))})),r},merge:vf,mergeWith:ha,omit:Af,omitBy:function(t,n){return kf(t,bf(Uu(n)))},pick:ll,pickBy:kf,result:function(t,n,r){var e=-1,i=(n=Xr(n,t)).length;for(i||(i=1,t=void 0);++e<i;){var o=null==t?void 0:t[ne(n[e])];void 0===o&&(e=i,o=r),t=Y(o)?o.call(t):o}return t},set:function(t,n,r){return null==t?t:Ef(t,n,r)},setWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ef(t,n,r,e)},toPairs:Pa,toPairsIn:La,transform:function(t,n,r){var e=O(t),i=e||pr(t)||mr(t);if(n=Uu(n),null==r){var o=t&&t.constructor;r=i?e?new o:[]:P(t)&&Y(o)?dt(pe(t)):{}}return(i?Zt:Vu)(t,(function(t,e,i){return n(r,t,e,i)})),r},unset:function(t,n){return null==t||xf(t,n)},update:function(t,n,r){return null==t?t:Ds(t,n,Ia(r))},updateWith:function(t,n,r,e){return e="function"==typeof e?e:void 0,null==t?t:Ds(t,n,Ia(r),e)},values:xc,valuesIn:function(t){return null==t?[]:wc(t,Rr(t))}},ip={at:Ns,chain:Si,commit:function(){return new Rt(this.value(),this.__chain__)},lodash:Pt,next:function(){void 0===this.__values__&&(this.__values__=jf(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},plant:function(t){for(var n,r=this;r instanceof xt;){var e=Bt(r);e.__index__=0,e.__values__=void 0,n?i.__wrapped__=e:n=e;var i=e;r=r.__wrapped__}return i.__wrapped__=t,n},reverse:function(){var t=this.__wrapped__;if(t instanceof At){var n=t;return this.__actions__.length&&(n=new At(this)),(n=n.reverse()).__actions__.push({func:ys,args:[zl],thisArg:void 0}),new Rt(n,this.__chain__)}return this.thru(zl)},tap:function(t,n){return n(t),t},thru:ys,toIterator:function(){return this},toJSON:ms,value:ms,valueOf:ms,wrapperChain:function(){return Si(this)}},op={camelCase:Ai,capitalize:Ve,deburr:Ye,endsWith:function(t,n,r){t=Qr(t),n=k(n);var e=t.length,i=r=void 0===r?e:Bi(V(r),0,e);return(r-=n.length)>=0&&t.slice(r,i)==n},escape:Ua,escapeRegExp:function(t){return(t=Qr(t))&&Fa.test(t)?t.replace(Na,"\\$&"):t},kebabCase:nf,lowerCase:uf,lowerFirst:af,pad:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;if(!n||e>=n)return t;var i=(n-e)/2;return rl(il(i),r)+t+rl(el(i),r)},padEnd:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;return n&&e<n?t+rl(n-e,r):t},padStart:function(t,n,r){t=Qr(t);var e=(n=V(n))?tl(t):0;return n&&e<n?rl(n-e,r)+t:t},parseInt:function(t,n,r){return r||null==n?n=0:n&&(n=+n),ul(Qr(t).replace(ol,""),n||0)},repeat:function(t,n,r){return n=(r?Qn(t,n,r):void 0===n)?1:V(n),Uf(Qr(t),n)},replace:function(){var t=arguments,n=Qr(t[0]);return t.length<3?n:n.replace(t[1],t[2])},snakeCase:ql,split:function(t,n,r){return r&&"number"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),(r=void 0===r?4294967295:r>>>0)?(t=Qr(t))&&("string"==typeof n||null!=n&&!Xc(n))&&!(n=k(n))&&Me(t)?Ie(Fe(t),0,r):t.split(n,r):[]},startCase:Xl,startsWith:function(t,n,r){return t=Qr(t),r=null==r?0:Bi(V(r),0,t.length),n=k(n),t.slice(r,r+n.length)==n},template:function(t,n,r){var e=as.imports._.templateSettings||as;r&&Qn(t,n,r)&&(n=void 0),t=Qr(t),n=Br({},n,e,es);var i,o,u=Br({},n.imports,e.imports,es),a=Ir(u),c=wc(u,a),f=0,l=n.interpolate||hs,s="__p += '",p=RegExp((n.escape||hs).source+"|"+l.source+"|"+(l===us?ps:hs).source+"|"+(n.evaluate||hs).source+"|$","g"),h=ds.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+"\n":"";t.replace(p,(function(n,r,e,u,a,c){return e||(e=u),s+=t.slice(f,c).replace(vs,os),r&&(i=!0,s+="' +\n__e("+r+") +\n'"),a&&(o=!0,s+="';\n"+a+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),s+="';\n";var v=ds.call(n,"variable")&&n.variable;if(v){if(ss.test(v))throw new Error("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(o?s.replace(cs,""):s).replace(fs,"$1").replace(ls,"$1;"),s="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var d=je((function(){return Function(a,h+"return "+s).apply(void 0,c)}));if(d.source=s,me(d))throw d;return d},templateSettings:as,toLower:function(t){return Qr(t).toLowerCase()},toUpper:function(t){return Qr(t).toUpperCase()},trim:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return z(t);if(!t||!(n=k(n)))return t;var e=Fe(t),i=Fe(n);return Ie(e,ws(e,i),js(e,i)+1).join("")},trimEnd:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.slice(0,W(t)+1);if(!t||!(n=k(n)))return t;var e=Fe(t);return Ie(e,0,js(e,Fe(n))+1).join("")},trimStart:function(t,n,r){if((t=Qr(t))&&(r||void 0===n))return t.replace(xs,"");if(!t||!(n=k(n)))return t;var e=Fe(t);return Ie(e,ws(e,Fe(n))).join("")},truncate:function(t,n){var r=30,e="...";if(P(n)){var i="separator"in n?n.separator:i;r="length"in n?V(n.length):r,e="omission"in n?k(n.omission):e}var o=(t=Qr(t)).length;if(Me(t)){var u=Fe(t);o=u.length}if(r>=o)return t;var a=r-tl(e);if(a<1)return e;var c=u?Ie(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+e;if(u&&(a+=c.length-a),Xc(i)){if(t.slice(a).search(i)){var f,l=c;for(i.global||(i=RegExp(i.source,Qr(Os.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var s=f.index;c=c.slice(0,void 0===s?a:s)}}else if(t.indexOf(k(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},unescape:function(t){return(t=Qr(t))&&Is.test(t)?t.replace(Es,As):t},upperCase:Ts,upperFirst:$e,words:wi},up={attempt:je,bindAll:Oe,cond:function(t){var n=null==t?0:t.length,r=Uu;return t=n?x(t,(function(t){if("function"!=typeof t[1])throw new TypeError("Expected a function");return[r(t[0]),t[1]]})):[],Gn((function(r){for(var e=-1;++e<n;){var i=t[e];if(_t(i[0],this,r))return _t(i[1],this,r)}}))},conforms:function(t){return function(t){var n=Ir(t);return function(r){return Nu(r,t,n)}}(Zo(t,1))},constant:qt,defaultTo:function(t,n){return null==t||t!=t?n:t},flow:ac,flowRight:cc,identity:K,iteratee:function(t){return Uu("function"==typeof t?t:Zo(t,1))},matches:function(t){return Ru(Zo(t,1))},matchesProperty:function(t,n){return Cu(t,Zo(n,1))},method:df,methodOf:yf,mixin:gf,noop:Et,nthArg:function(t){return t=V(t),Gn((function(n){return wf(n,t)}))},over:Wf,overEvery:Lf,overSome:Cf,property:Tu,propertyOf:function(t){return function(n){return null==t?void 0:re(t,n)}},range:kl,rangeRight:Ml,stubArray:Fi,stubFalse:cr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(t,n){if((t=V(t))<1||t>9007199254740991)return[];var r=gs,e=_s(t,gs);n=Ia(n),t-=gs;for(var i=rr(e,n);++r<t;)n(r);return i},toPath:function(t){return O(t)?x(t,ne):m(t)?[t]:Wt(Yr(Qr(t)))},uniqueId:function(t){var n=++zs;return Qr(t)+n}},ap=Math.max,cp=Math.min,fp=Math.min,lp=4294967295,sp=Array.prototype,pp=Object.prototype.hasOwnProperty,hp=c?c.iterator:void 0,vp=Math.max,dp=Math.min,yp=(Hs=gf,function(t,n,r){if(null==r){var e=P(n),i=e&&Ir(n),o=i&&i.length&&fc(n,i);(o?o.length:e)||(r=n,n=t,t=this)}return Hs(t,n,r)});Pt.after=tp.after,Pt.ary=tp.ary,Pt.assign=ep.assign,Pt.assignIn=ep.assignIn,Pt.assignInWith=ep.assignInWith,Pt.assignWith=ep.assignWith,Pt.at=ep.at,Pt.before=tp.before,Pt.bind=tp.bind,Pt.bindAll=up.bindAll,Pt.bindKey=tp.bindKey,Pt.castArray=np.castArray,Pt.chain=ip.chain,Pt.chunk=Ys.chunk,Pt.compact=Ys.compact,Pt.concat=Ys.concat,Pt.cond=up.cond,Pt.conforms=up.conforms,Pt.constant=up.constant,Pt.countBy=Qs.countBy,Pt.create=ep.create,Pt.curry=tp.curry,Pt.curryRight=tp.curryRight,Pt.debounce=tp.debounce,Pt.defaults=ep.defaults,Pt.defaultsDeep=ep.defaultsDeep,Pt.defer=tp.defer,Pt.delay=tp.delay,Pt.difference=Ys.difference,Pt.differenceBy=Ys.differenceBy,Pt.differenceWith=Ys.differenceWith,Pt.drop=Ys.drop,Pt.dropRight=Ys.dropRight,Pt.dropRightWhile=Ys.dropRightWhile,Pt.dropWhile=Ys.dropWhile,Pt.fill=Ys.fill,Pt.filter=Qs.filter,Pt.flatMap=Qs.flatMap,Pt.flatMapDeep=Qs.flatMapDeep,Pt.flatMapDepth=Qs.flatMapDepth,Pt.flatten=Ys.flatten,Pt.flattenDeep=Ys.flattenDeep,Pt.flattenDepth=Ys.flattenDepth,Pt.flip=tp.flip,Pt.flow=up.flow,Pt.flowRight=up.flowRight,Pt.fromPairs=Ys.fromPairs,Pt.functions=ep.functions,Pt.functionsIn=ep.functionsIn,Pt.groupBy=Qs.groupBy,Pt.initial=Ys.initial,Pt.intersection=Ys.intersection,Pt.intersectionBy=Ys.intersectionBy,Pt.intersectionWith=Ys.intersectionWith,Pt.invert=ep.invert,Pt.invertBy=ep.invertBy,Pt.invokeMap=Qs.invokeMap,Pt.iteratee=up.iteratee,Pt.keyBy=Qs.keyBy,Pt.keys=Ir,Pt.keysIn=ep.keysIn,Pt.map=Qs.map,Pt.mapKeys=ep.mapKeys,Pt.mapValues=ep.mapValues,Pt.matches=up.matches,Pt.matchesProperty=up.matchesProperty,Pt.memoize=tp.memoize,Pt.merge=ep.merge,Pt.mergeWith=ep.mergeWith,Pt.method=up.method,Pt.methodOf=up.methodOf,Pt.mixin=yp,Pt.negate=bf,Pt.nthArg=up.nthArg,Pt.omit=ep.omit,Pt.omitBy=ep.omitBy,Pt.once=tp.once,Pt.orderBy=Qs.orderBy,Pt.over=up.over,Pt.overArgs=tp.overArgs,Pt.overEvery=up.overEvery,Pt.overSome=up.overSome,Pt.partial=tp.partial,Pt.partialRight=tp.partialRight,Pt.partition=Qs.partition,Pt.pick=ep.pick,Pt.pickBy=ep.pickBy,Pt.property=up.property,Pt.propertyOf=up.propertyOf,Pt.pull=Ys.pull,Pt.pullAll=Ys.pullAll,Pt.pullAllBy=Ys.pullAllBy,Pt.pullAllWith=Ys.pullAllWith,Pt.pullAt=Ys.pullAt,Pt.range=up.range,Pt.rangeRight=up.rangeRight,Pt.rearg=tp.rearg,Pt.reject=Qs.reject,Pt.remove=Ys.remove,Pt.rest=tp.rest,Pt.reverse=Ys.reverse,Pt.sampleSize=Qs.sampleSize,Pt.set=ep.set,Pt.setWith=ep.setWith,Pt.shuffle=Qs.shuffle,Pt.slice=Ys.slice,Pt.sortBy=Qs.sortBy,Pt.sortedUniq=Ys.sortedUniq,Pt.sortedUniqBy=Ys.sortedUniqBy,Pt.split=op.split,Pt.spread=tp.spread,Pt.tail=Ys.tail,Pt.take=Ys.take,Pt.takeRight=Ys.takeRight,Pt.takeRightWhile=Ys.takeRightWhile,Pt.takeWhile=Ys.takeWhile,Pt.tap=ip.tap,Pt.throttle=tp.throttle,Pt.thru=ys,Pt.toArray=np.toArray,Pt.toPairs=ep.toPairs,Pt.toPairsIn=ep.toPairsIn,Pt.toPath=up.toPath,Pt.toPlainObject=np.toPlainObject,Pt.transform=ep.transform,Pt.unary=tp.unary,Pt.union=Ys.union,Pt.unionBy=Ys.unionBy,Pt.unionWith=Ys.unionWith,Pt.uniq=Ys.uniq,Pt.uniqBy=Ys.uniqBy,Pt.uniqWith=Ys.uniqWith,Pt.unset=ep.unset,Pt.unzip=Ys.unzip,Pt.unzipWith=Ys.unzipWith,Pt.update=ep.update,Pt.updateWith=ep.updateWith,Pt.values=ep.values,Pt.valuesIn=ep.valuesIn,Pt.without=Ys.without,Pt.words=op.words,Pt.wrap=tp.wrap,Pt.xor=Ys.xor,Pt.xorBy=Ys.xorBy,Pt.xorWith=Ys.xorWith,Pt.zip=Ys.zip,Pt.zipObject=Ys.zipObject,Pt.zipObjectDeep=Ys.zipObjectDeep,Pt.zipWith=Ys.zipWith,Pt.entries=ep.toPairs,Pt.entriesIn=ep.toPairsIn,Pt.extend=ep.assignIn,Pt.extendWith=ep.assignInWith,yp(Pt,Pt),Pt.add=rp.add,Pt.attempt=up.attempt,Pt.camelCase=op.camelCase,Pt.capitalize=op.capitalize,Pt.ceil=rp.ceil,Pt.clamp=function(t,n,r){return void 0===r&&(r=n,n=void 0),void 0!==r&&(r=(r=N(r))==r?r:0),void 0!==n&&(n=(n=N(n))==n?n:0),Bi(N(t),n,r)},Pt.clone=np.clone,Pt.cloneDeep=np.cloneDeep,Pt.cloneDeepWith=np.cloneDeepWith,Pt.cloneWith=np.cloneWith,Pt.conformsTo=np.conformsTo,Pt.deburr=op.deburr,Pt.defaultTo=up.defaultTo,Pt.divide=rp.divide,Pt.endsWith=op.endsWith,Pt.eq=np.eq,Pt.escape=op.escape,Pt.escapeRegExp=op.escapeRegExp,Pt.every=Qs.every,Pt.find=Qs.find,Pt.findIndex=Ys.findIndex,Pt.findKey=ep.findKey,Pt.findLast=Qs.findLast,Pt.findLastIndex=Ys.findLastIndex,Pt.findLastKey=ep.findLastKey,Pt.floor=rp.floor,Pt.forEach=Qs.forEach,Pt.forEachRight=Qs.forEachRight,Pt.forIn=ep.forIn,Pt.forInRight=ep.forInRight,Pt.forOwn=ep.forOwn,Pt.forOwnRight=ep.forOwnRight,Pt.get=ep.get,Pt.gt=np.gt,Pt.gte=np.gte,Pt.has=ep.has,Pt.hasIn=ep.hasIn,Pt.head=Ys.head,Pt.identity=K,Pt.includes=Qs.includes,Pt.indexOf=Ys.indexOf,Pt.inRange=function(t,n,r){return n=$(n),void 0===r?(r=n,n=0):r=$(r),function(t,n,r){return t>=bc(n,r)&&t<_c(n,r)}(t=N(t),n,r)},Pt.invoke=ep.invoke,Pt.isArguments=np.isArguments,Pt.isArray=O,Pt.isArrayBuffer=np.isArrayBuffer,Pt.isArrayLike=np.isArrayLike,Pt.isArrayLikeObject=np.isArrayLikeObject,Pt.isBoolean=np.isBoolean,Pt.isBuffer=np.isBuffer,Pt.isDate=np.isDate,Pt.isElement=np.isElement,Pt.isEmpty=np.isEmpty,Pt.isEqual=np.isEqual,Pt.isEqualWith=np.isEqualWith,Pt.isError=np.isError,Pt.isFinite=np.isFinite,Pt.isFunction=np.isFunction,Pt.isInteger=np.isInteger,Pt.isLength=np.isLength,Pt.isMap=np.isMap,Pt.isMatch=np.isMatch,Pt.isMatchWith=np.isMatchWith,Pt.isNaN=np.isNaN,Pt.isNative=np.isNative,Pt.isNil=np.isNil,Pt.isNull=np.isNull,Pt.isNumber=np.isNumber,Pt.isObject=P,Pt.isObjectLike=np.isObjectLike,Pt.isPlainObject=np.isPlainObject,Pt.isRegExp=np.isRegExp,Pt.isSafeInteger=np.isSafeInteger,Pt.isSet=np.isSet,Pt.isString=np.isString,Pt.isSymbol=np.isSymbol,Pt.isTypedArray=np.isTypedArray,Pt.isUndefined=np.isUndefined,Pt.isWeakMap=np.isWeakMap,Pt.isWeakSet=np.isWeakSet,Pt.join=Ys.join,Pt.kebabCase=op.kebabCase,Pt.last=wa,Pt.lastIndexOf=Ys.lastIndexOf,Pt.lowerCase=op.lowerCase,Pt.lowerFirst=op.lowerFirst,Pt.lt=np.lt,Pt.lte=np.lte,Pt.max=rp.max,Pt.maxBy=rp.maxBy,Pt.mean=rp.mean,Pt.meanBy=rp.meanBy,Pt.min=rp.min,Pt.minBy=rp.minBy,Pt.stubArray=up.stubArray,Pt.stubFalse=up.stubFalse,Pt.stubObject=up.stubObject,Pt.stubString=up.stubString,Pt.stubTrue=up.stubTrue,Pt.multiply=rp.multiply,Pt.nth=Ys.nth,Pt.noop=up.noop,Pt.now=Xs,Pt.pad=op.pad,Pt.padEnd=op.padEnd,Pt.padStart=op.padStart,Pt.parseInt=op.parseInt,Pt.random=function(t,n,r){if(r&&"boolean"!=typeof r&&Qn(t,n,r)&&(n=r=void 0),void 0===r&&("boolean"==typeof n?(r=n,n=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=$(t),void 0===n?(n=t,t=0):n=$(n)),t>n){var e=t;t=n,n=e}if(r||t%1||n%1){var i=Ol();return xl(t+i*(n-t+wl("1e-"+((i+"").length-1))),n)}return jl(t,n)},Pt.reduce=Qs.reduce,Pt.reduceRight=Qs.reduceRight,Pt.repeat=op.repeat,Pt.replace=op.replace,Pt.result=ep.result,Pt.round=rp.round,Pt.sample=Qs.sample,Pt.size=Qs.size,Pt.snakeCase=op.snakeCase,Pt.some=Qs.some,Pt.sortedIndex=Ys.sortedIndex,Pt.sortedIndexBy=Ys.sortedIndexBy,Pt.sortedIndexOf=Ys.sortedIndexOf,Pt.sortedLastIndex=Ys.sortedLastIndex,Pt.sortedLastIndexBy=Ys.sortedLastIndexBy,Pt.sortedLastIndexOf=Ys.sortedLastIndexOf,Pt.startCase=op.startCase,Pt.startsWith=op.startsWith,Pt.subtract=rp.subtract,Pt.sum=rp.sum,Pt.sumBy=rp.sumBy,Pt.template=op.template,Pt.times=up.times,Pt.toFinite=np.toFinite,Pt.toInteger=V,Pt.toLength=np.toLength,Pt.toLower=op.toLower,Pt.toNumber=np.toNumber,Pt.toSafeInteger=np.toSafeInteger,Pt.toString=np.toString,Pt.toUpper=op.toUpper,Pt.trim=op.trim,Pt.trimEnd=op.trimEnd,Pt.trimStart=op.trimStart,Pt.truncate=op.truncate,Pt.unescape=op.unescape,Pt.uniqueId=up.uniqueId,Pt.upperCase=op.upperCase,Pt.upperFirst=op.upperFirst,Pt.each=Qs.forEach,Pt.eachRight=Qs.forEachRight,Pt.first=Ys.head,yp(Pt,(Gs={},Vu(Pt,(function(t,n){pp.call(Pt.prototype,n)||(Gs[n]=t)})),Gs),{chain:!1}),Pt.VERSION="4.17.21",(Pt.templateSettings=op.templateSettings).imports._=Pt,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Pt[t].placeholder=Pt})),Zt(["drop","take"],(function(t,n){At.prototype[t]=function(r){r=void 0===r?1:vp(V(r),0);var e=this.__filtered__&&!n?new At(this):this.clone();return e.__filtered__?e.__takeCount__=dp(r,e.__takeCount__):e.__views__.push({size:dp(r,lp),type:t+(e.__dir__<0?"Right":"")}),e},At.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Zt(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=1==r||3==r;At.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Uu(t),type:r}),n.__filtered__=n.__filtered__||e,n}})),Zt(["head","last"],(function(t,n){var r="take"+(n?"Right":"");At.prototype[t]=function(){return this[r](1).value()[0]}})),Zt(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");At.prototype[t]=function(){return this.__filtered__?new At(this):this[r](1)}})),At.prototype.compact=function(){return this.filter(K)},At.prototype.find=function(t){return this.filter(t).head()},At.prototype.findLast=function(t){return this.reverse().find(t)},At.prototype.invokeMap=Gn((function(t,n){return"function"==typeof t?new At(this):this.map((function(r){return Uc(r,t,n)}))})),At.prototype.reject=function(t){return this.filter(bf(Uu(t)))},At.prototype.slice=function(t,n){t=V(t);var r=this;return r.__filtered__&&(t>0||n<0)?new At(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),void 0!==n&&(r=(n=V(n))<0?r.dropRight(-n):r.take(n-t)),r)},At.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},At.prototype.toArray=function(){return this.take(lp)},Vu(At.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),i=Pt[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);i&&(Pt.prototype[n]=function(){var n=this.__wrapped__,u=e?[1]:arguments,a=n instanceof At,c=u[0],f=a||O(n),l=function(t){var n=i.apply(Pt,oe([t],u));return e&&s?n[0]:n};f&&r&&"function"==typeof c&&1!=c.length&&(a=f=!1);var s=this.__chain__,p=!!this.__actions__.length,h=o&&!s,v=a&&!p;if(!o&&f){n=v?n:new At(this);var d=t.apply(n,u);return d.__actions__.push({func:ys,args:[l],thisArg:void 0}),new Rt(d,s)}return h&&v?t.apply(this,u):(d=this.thru(l),h?e?d.value()[0]:d.value():d)})})),Zt(["pop","push","shift","sort","splice","unshift"],(function(t){var n=sp[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);Pt.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return n.apply(O(i)?i:[],t)}return this[r]((function(r){return n.apply(O(r)?r:[],t)}))}})),Vu(At.prototype,(function(t,n){var r=Pt[n];if(r){var e=r.name+"";pp.call(kt,e)||(kt[e]=[]),kt[e].push({name:n,func:r})}})),kt[jn(void 0,2).name]=[{name:"wrapper",func:void 0}],At.prototype.clone=function(){var t=new At(this.__wrapped__);return t.__actions__=Wt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wt(this.__views__),t},At.prototype.reverse=function(){if(this.__filtered__){var t=new At(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},At.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=O(t),e=n<0,i=r?t.length:0,o=function(t,n,r){for(var e=-1,i=r.length;++e<i;){var o=r[e],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=cp(n,t+u);break;case"takeRight":t=ap(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,a=o.end,c=a-u,f=e?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=fp(c,this.__takeCount__);if(!r||!e&&i==c&&h==c)return bs(t,this.__actions__);var v=[];t:for(;c--&&p<h;){for(var d=-1,y=t[f+=n];++d<s;){var g=l[d],_=g.iteratee,b=g.type,m=_(y);if(2==b)y=m;else if(!m){if(1==b)continue t;break t}}v[p++]=y}return v},Pt.prototype.at=ip.at,Pt.prototype.chain=ip.wrapperChain,Pt.prototype.commit=ip.commit,Pt.prototype.next=ip.next,Pt.prototype.plant=ip.plant,Pt.prototype.reverse=ip.reverse,Pt.prototype.toJSON=Pt.prototype.valueOf=Pt.prototype.value=ip.value,Pt.prototype.first=Pt.prototype.head,hp&&(Pt.prototype[hp]=ip.toIterator);const gp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),(0,e.useCallback)(((...t)=>n.current(...t)),[])},_p=(t,n,r={})=>{const i=gp(t),o=(0,e.useMemo)((()=>ea(i,n,r)),[i,n,r]);return(t=>{const n=gp(t);(0,e.useEffect)((()=>()=>n()),[n])})((()=>o.cancel())),o},bp=({children:t,capture:n,wait:r,options:i})=>{const o=e.Children.only(t),u=_p(((...t)=>{const r=null==o?void 0:o.props;if(r)return"function"==typeof r[n]?r[n](...t):void 0}),r,i);return(0,e.cloneElement)(o,{[n]:u})};function mp(t,n){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)n.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(r[e[i]]=t[e[i]])}return r}"function"==typeof SuppressedError&&SuppressedError;const jp=({action:t,calledOnce:n=!1,root:r=null,threshold:i=0,rootMargin:o="0px 0px 0px 0px"})=>{const u=(0,e.useRef)(null),a=gp(t),c=(0,e.useCallback)((([t],r)=>{if(t&&t.isIntersecting){const e=t.target;a&&a(t),n&&r.unobserve(e)}}),[a,n]);return(0,e.useEffect)((()=>{const t=u.current;if("undefined"==typeof IntersectionObserver)return;if(!t)return;const n=new IntersectionObserver(c,{root:r,rootMargin:o,threshold:i});return n.observe(t),()=>{n.unobserve(t)}}),[r,i,o,c]),u},wp=(...t)=>(0,e.useCallback)((n=>{t.forEach((t=>{"function"==typeof t?t(n):null!=t&&(t.current=n)}))}),[...t]),xp=(0,e.forwardRef)(((t,n)=>{const{action:r,calledOnce:e,threshold:o,root:u,rootMargin:a}=t,c=mp(t,["action","calledOnce","threshold","root","rootMargin"]),f=jp({action:r,calledOnce:e,threshold:o,root:u,rootMargin:a});return(0,i.jsx)("div",Object.assign({ref:wp(n,f)},c,{children:t.children}))})),Op=(0,e.forwardRef)(((t,n)=>{var{src:r,style:o,threshold:u,root:a,rootMargin:c}=t,f=mp(t,["src","style","threshold","root","rootMargin"]);const l=jp({action:t=>{t.target.src=r},calledOnce:!0,threshold:u,root:a,rootMargin:c}),s=(0,e.useMemo)((()=>Object.assign({display:"inline-block"},o)),[o]);return(0,i.jsx)("img",Object.assign({},f,{ref:wp(n,l),style:s}))}));"function"==typeof SuppressedError&&SuppressedError;const Ap=()=>"undefined"==typeof window&&"undefined"!=typeof global,Ep=()=>!Ap(),Ip=Ep()?e.useLayoutEffect:e.useEffect;(0,e.createContext)({parentPortalElement:null});const kp=({children:t,condition:n})=>{const r=(t=>"function"==typeof t?t():t)(n);return r?(0,i.jsx)(e.Fragment,{children:t}):null},Mp=t=>!!Ep()&&window.matchMedia(t).matches,Sp=t=>{const[n,r]=(0,e.useState)(Mp(t)),i=(0,e.useCallback)((()=>{r(Mp(t))}),[t]);return(0,e.useEffect)((()=>{const n=window.matchMedia(t);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)}),[t,i]),{isMatch:n}},Rp=t=>{const n=(0,e.useRef)(t);return(0,e.useEffect)((()=>{n.current=t}),[t]),n.current},Wp=t=>{const[n,r]=(0,e.useState)({bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}),i=(0,e.useRef)(null),o=gp(t),u=(0,e.useCallback)((([t])=>{t&&(o(t),r(t.contentRect))}),[o]);return(0,e.useEffect)((()=>{const t=i.current;if("undefined"==typeof ResizeObserver)return;if(!t)return;const n=new ResizeObserver(u);return n.observe(t),()=>{n.unobserve(t)}}),[u]),{ref:i,contentRect:n}},Bp=(t={})=>{const{isDebounce:n=!1,wait:r=300}=t,[i,o]=(0,e.useState)({width:null,height:null}),u=(0,e.useCallback)((()=>{o({width:window.innerWidth,height:window.innerHeight})}),[]),a=_p(u,r),c=(0,e.useMemo)((()=>n?a:u),[u,n,a]);return Ip((()=>(u(),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c)})),[]),i}}}]); \ No newline at end of file diff --git a/assets/js/cbca3a13.3da5171d.js b/assets/js/cbca3a13.3da5171d.js new file mode 100644 index 000000000..b87af9fe5 --- /dev/null +++ b/assets/js/cbca3a13.3da5171d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2777],{1969:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>m,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>a});var i=t(5735),o=t(7355);const s={},r="getUniqTime",c={id:"utils/common/getUniqTime",title:"getUniqTime",description:"\uae30\ubcf8\uc801\uc73c\ub85c new Date().getTime() \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc774\uc9c0\ub9cc, \ub3d9\uc77c \uc2dc\uac04\uc5d0 \uc5ec\ub7ec\ubc88 \ud638\ucd9c \ud560 \uacbd\uc6b0 \uc720\ub2c8\ud06c \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getUniqTime.md",sourceDirName:"utils/common",slug:"/utils/common/getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId"},next:{title:"getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize"}},m={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getuniqtime",children:"getUniqTime"}),"\n",(0,i.jsxs)(n.p,{children:["\uae30\ubcf8\uc801\uc73c\ub85c ",(0,i.jsx)(n.code,{children:"new Date().getTime()"})," \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc774\uc9c0\ub9cc, \ub3d9\uc77c \uc2dc\uac04\uc5d0 \uc5ec\ub7ec\ubc88 \ud638\ucd9c \ud560 \uacbd\uc6b0 \uc720\ub2c8\ud06c \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const getUniqTime: () => number\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { getUniqTime } from '@modern-kit/utils';\n\nconst uniqTime = getUniqTime();\n"})})]})}function l(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>r});var i=t(4614);const o={},s=i.createContext(o);function r(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/cbca3a13.d89a1c07.js b/assets/js/cbca3a13.d89a1c07.js deleted file mode 100644 index ae8cd3e04..000000000 --- a/assets/js/cbca3a13.d89a1c07.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2777],{205:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>m,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>a});var i=t(5735),o=t(7355);const s={},r="getUniqTime",c={id:"utils/common/getUniqTime",title:"getUniqTime",description:"\uae30\ubcf8\uc801\uc73c\ub85c new Date().getTime() \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc774\uc9c0\ub9cc, \ub3d9\uc77c \uc2dc\uac04\uc5d0 \uc5ec\ub7ec\ubc88 \ud638\ucd9c \ud560 \uacbd\uc6b0 \uc720\ub2c8\ud06c \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getUniqTime.md",sourceDirName:"utils/common",slug:"/utils/common/getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId"},next:{title:"getViewportSize",permalink:"/modern-kit/docs/utils/common/getViewportSize"}},m={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getuniqtime",children:"getUniqTime"}),"\n",(0,i.jsxs)(n.p,{children:["\uae30\ubcf8\uc801\uc73c\ub85c ",(0,i.jsx)(n.code,{children:"new Date().getTime()"})," \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc774\uc9c0\ub9cc, \ub3d9\uc77c \uc2dc\uac04\uc5d0 \uc5ec\ub7ec\ubc88 \ud638\ucd9c \ud560 \uacbd\uc6b0 \uc720\ub2c8\ud06c \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const getUniqTime: () => number\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { getUniqTime } from '@modern-kit/utils';\n\nconst uniqTime = getUniqTime();\n"})})]})}function l(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>r});var i=t(4614);const o={},s=i.createContext(o);function r(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/cdcab0ad.f62a2ba7.js b/assets/js/cdcab0ad.a322ecd1.js similarity index 98% rename from assets/js/cdcab0ad.f62a2ba7.js rename to assets/js/cdcab0ad.a322ecd1.js index 9eb4ab5dc..3420906bd 100644 --- a/assets/js/cdcab0ad.f62a2ba7.js +++ b/assets/js/cdcab0ad.a322ecd1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3470],{6910:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var r=t(5735),o=t(7355);const a={},l="Portal",c={id:"react/components/Portal",title:"Portal",description:"Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 React.createPortal\uc744 \uc0ac\uc6a9\ud574 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uacc4\uce35 \uad6c\uc870 \uc678\ubd80\uc758 DOM \ub178\ub4dc\uc5d0\uc11c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4.",source:"@site/docs/react/components/Portal.mdx",sourceDirName:"react/components",slug:"/react/components/Portal",permalink:"/modern-kit/docs/react/components/Portal",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage"},next:{title:"When",permalink:"/modern-kit/docs/react/components/When"}},s={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Container",id:"container",level:3},{value:"Nested",id:"nested",level:3}];function i(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"portal",children:"Portal"}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 ",(0,r.jsx)(n.code,{children:"React.createPortal"}),"\uc744 \uc0ac\uc6a9\ud574 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uacc4\uce35 \uad6c\uc870 \uc678\ubd80\uc758 DOM \ub178\ub4dc\uc5d0\uc11c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 \uae30\ubcf8\uc801\uc73c\ub85c ",(0,r.jsx)(n.code,{children:"document.body"}),"\uc5d0 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc Portal \ucef4\ud3ec\ub10c\ud2b8\uc758 ",(0,r.jsx)(n.code,{children:"containerRef"})," \ud504\ub85c\ud37c\ud2f0\ub97c \uc804\ub2ec\ud558\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c ",(0,r.jsx)(n.code,{children:"document.body"}),"\uac00 \uc544\ub2cc ",(0,r.jsx)(n.code,{children:"\ub2e4\ub978 DOM Element"}),"\uc5d0\uc11c \ub80c\ub354\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["\ub610\ud55c, ",(0,r.jsx)(n.code,{children:"\uc911\ucca9 \ud3ec\ud138 \uae30\ub2a5"}),"\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc5ec\ub7ec Portal \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc911\ucca9\ud558\uba74 ",(0,r.jsx)(n.code,{children:"\uc911\ucca9\ub41c Portal DOM \uacc4\uce35 \uad6c\uc870"}),"\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 ",(0,r.jsx)(n.code,{children:"Modal"}),", ",(0,r.jsx)(n.code,{children:"Dialog"}),", ",(0,r.jsx)(n.code,{children:"Tooltip"}),"\uacfc \uac19\uc740 \uae30\ub2a5\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud558\uae30\uc5d0 \uc774\uc0c1\uc801\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://react.dev/reference/react-dom/createPortal#rendering-a-modal-dialog-with-a-portal",children:"React CreatePortal"})," \ub2e4\uc74c \ubb38\uc11c\ub97c \ucc38\uace0\ud574\uc8fc\uc138\uc694."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"function Portal({\n children,\n containerRef,\n}: {\n children: React.ReactNode;\n containerRef?: React.RefObject<HTMLElement | null>;\n}): JSX.Element;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n return (\n <Portal>\n <p>Example Portal</p>\n </Portal>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"container",children:"Container"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n const ref = useRef<HTMLDivElement | null>(null);\n\n return (\n <div>\n <Portal containerRef={ref}>\n <p>Example Portal</p>\n </Portal>\n\n <div id=\"outer\" ref={ref} />\n </div>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"nested",children:"Nested"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n return (\n <Portal>\n <p>Default Portal</p>\n <Portal>\n <p>Nested Portal1</p>\n <Portal>\n <p>Nested Portal2</p>\n </Portal>\n </Portal>\n </Portal>\n );\n};\n"})})]})}function p(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>l});var r=t(4614);const o={},a=r.createContext(o);function l(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:l(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3470],{7948:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var r=t(5735),o=t(7355);const a={},l="Portal",c={id:"react/components/Portal",title:"Portal",description:"Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 React.createPortal\uc744 \uc0ac\uc6a9\ud574 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uacc4\uce35 \uad6c\uc870 \uc678\ubd80\uc758 DOM \ub178\ub4dc\uc5d0\uc11c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4.",source:"@site/docs/react/components/Portal.mdx",sourceDirName:"react/components",slug:"/react/components/Portal",permalink:"/modern-kit/docs/react/components/Portal",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"LazyImage",permalink:"/modern-kit/docs/react/components/LazyImage"},next:{title:"When",permalink:"/modern-kit/docs/react/components/When"}},s={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Default",id:"default",level:3},{value:"Container",id:"container",level:3},{value:"Nested",id:"nested",level:3}];function i(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"portal",children:"Portal"}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 ",(0,r.jsx)(n.code,{children:"React.createPortal"}),"\uc744 \uc0ac\uc6a9\ud574 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uacc4\uce35 \uad6c\uc870 \uc678\ubd80\uc758 DOM \ub178\ub4dc\uc5d0\uc11c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 \uae30\ubcf8\uc801\uc73c\ub85c ",(0,r.jsx)(n.code,{children:"document.body"}),"\uc5d0 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc Portal \ucef4\ud3ec\ub10c\ud2b8\uc758 ",(0,r.jsx)(n.code,{children:"containerRef"})," \ud504\ub85c\ud37c\ud2f0\ub97c \uc804\ub2ec\ud558\uba74 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub97c ",(0,r.jsx)(n.code,{children:"document.body"}),"\uac00 \uc544\ub2cc ",(0,r.jsx)(n.code,{children:"\ub2e4\ub978 DOM Element"}),"\uc5d0\uc11c \ub80c\ub354\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["\ub610\ud55c, ",(0,r.jsx)(n.code,{children:"\uc911\ucca9 \ud3ec\ud138 \uae30\ub2a5"}),"\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc5ec\ub7ec Portal \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc911\ucca9\ud558\uba74 ",(0,r.jsx)(n.code,{children:"\uc911\ucca9\ub41c Portal DOM \uacc4\uce35 \uad6c\uc870"}),"\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:["Portal \ucef4\ud3ec\ub10c\ud2b8\ub294 ",(0,r.jsx)(n.code,{children:"Modal"}),", ",(0,r.jsx)(n.code,{children:"Dialog"}),", ",(0,r.jsx)(n.code,{children:"Tooltip"}),"\uacfc \uac19\uc740 \uae30\ub2a5\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud558\uae30\uc5d0 \uc774\uc0c1\uc801\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"https://react.dev/reference/react-dom/createPortal#rendering-a-modal-dialog-with-a-portal",children:"React CreatePortal"})," \ub2e4\uc74c \ubb38\uc11c\ub97c \ucc38\uace0\ud574\uc8fc\uc138\uc694."]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"function Portal({\n children,\n containerRef,\n}: {\n children: React.ReactNode;\n containerRef?: React.RefObject<HTMLElement | null>;\n}): JSX.Element;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"default",children:"Default"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n return (\n <Portal>\n <p>Example Portal</p>\n </Portal>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"container",children:"Container"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n const ref = useRef<HTMLDivElement | null>(null);\n\n return (\n <div>\n <Portal containerRef={ref}>\n <p>Example Portal</p>\n </Portal>\n\n <div id=\"outer\" ref={ref} />\n </div>\n );\n};\n"})}),"\n",(0,r.jsx)(n.h3,{id:"nested",children:"Nested"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"import { Portal } from '@modern-kit/react'\n\nconst Example = () => {\n return (\n <Portal>\n <p>Default Portal</p>\n <Portal>\n <p>Nested Portal1</p>\n <Portal>\n <p>Nested Portal2</p>\n </Portal>\n </Portal>\n </Portal>\n );\n};\n"})})]})}function p(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>l});var r=t(4614);const o={},a=r.createContext(o);function l(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:l(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d272ecc5.64363140.js b/assets/js/d272ecc5.5c131d07.js similarity index 97% rename from assets/js/d272ecc5.64363140.js rename to assets/js/d272ecc5.5c131d07.js index ba003d3e2..3980a7d8f 100644 --- a/assets/js/d272ecc5.64363140.js +++ b/assets/js/d272ecc5.5c131d07.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5380],{8614:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>j,frontMatter:()=>c,metadata:()=>i,toc:()=>a});var s=n(5735),o=n(7355);const c={},r="objectKeys",i={id:"utils/object/objectKeys",title:"objectKeys",description:"Object.keys()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc key\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectKeys.md",sourceDirName:"utils/object",slug:"/utils/object/objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries"},next:{title:"objectValues",permalink:"/modern-kit/docs/utils/object/objectValues"}},l={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"objectkeys",children:"objectKeys"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"Object.keys()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc ",(0,s.jsx)(t.code,{children:"key"}),"\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.\n\ucc38\uace0\ub85c, symbol \ud504\ub85c\ud37c\ud2f0\ub294 \uc5f4\uac70\ud615\uc774 \uc544\ub2c8\uae30 \ub54c\ubb38\uc5d0 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectKeys: <T extends Record<ObjectKeys<T>, T[keyof T]>>(\n obj: T\n) => ObjectKeys<T>[];\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:'import { objectKeys } from \'@modern-kit/utils\';\n\nconst symbol = Symbol(\'d\');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: ("a" | "b" | "c")[]\n * value: ["a", "b", "c"]\n */\nconst keys = objectKeys(obj);\n'})}),"\n",(0,s.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/keys",children:"Object.keys()"})})]})}function j(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>r});var s=n(4614);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5380],{1415:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>j,frontMatter:()=>c,metadata:()=>i,toc:()=>a});var s=n(5735),o=n(7355);const c={},r="objectKeys",i={id:"utils/object/objectKeys",title:"objectKeys",description:"Object.keys()\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc key\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/objectKeys.md",sourceDirName:"utils/object",slug:"/utils/object/objectKeys",permalink:"/modern-kit/docs/utils/object/objectKeys",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries"},next:{title:"objectValues",permalink:"/modern-kit/docs/utils/object/objectValues"}},l={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2},{value:"Note",id:"note",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"objectkeys",children:"objectKeys"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"Object.keys()"}),"\uc640 \ub3d9\uc77c\ud558\uac8c \ub3d9\uc791\ud558\uc9c0\ub9cc ",(0,s.jsx)(t.code,{children:"key"}),"\ud0c0\uc785\uc744 \uc9c0\ucf1c\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.\n\ucc38\uace0\ub85c, symbol \ud504\ub85c\ud37c\ud2f0\ub294 \uc5f4\uac70\ud615\uc774 \uc544\ub2c8\uae30 \ub54c\ubb38\uc5d0 \uc81c\uc678\ub429\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<\n keyof T,\n symbol\n>;\n\nconst objectKeys: <T extends Record<ObjectKeys<T>, T[keyof T]>>(\n obj: T\n) => ObjectKeys<T>[];\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:'import { objectKeys } from \'@modern-kit/utils\';\n\nconst symbol = Symbol(\'d\');\nconst obj = {\n a: 1,\n b: 2,\n c: 3,\n [symbol]: 4,\n} as const;\n\n /**\n * type: ("a" | "b" | "c")[]\n * value: ["a", "b", "c"]\n */\nconst keys = objectKeys(obj);\n'})}),"\n",(0,s.jsx)(t.h2,{id:"note",children:"Note"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/keys",children:"Object.keys()"})})]})}function j(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>r});var s=n(4614);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d5af7a66.21887b54.js b/assets/js/d5af7a66.96763015.js similarity index 97% rename from assets/js/d5af7a66.21887b54.js rename to assets/js/d5af7a66.96763015.js index 00eecb55f..a48949559 100644 --- a/assets/js/d5af7a66.21887b54.js +++ b/assets/js/d5af7a66.96763015.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6002],{3801:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var s=n(5735),r=n(7355);const i={},o="isServer",c={id:"utils/device/isSever",title:"isServer",description:"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 \uc11c\ubc84(Node.js)\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isSever.md",sourceDirName:"utils/device",slug:"/utils/device/isSever",permalink:"/modern-kit/docs/utils/device/isSever",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isMobile",permalink:"/modern-kit/docs/utils/device/isMobile"},next:{title:"deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"isserver",children:"isServer"}),"\n",(0,s.jsxs)(t.p,{children:["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 ",(0,s.jsx)(t.code,{children:"\uc11c\ubc84(Node.js)"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"true"}),"\ub97c \ubc18\ud658 \ud560 \uacbd\uc6b0 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"const isServer: () => boolean\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:"import { isServer } from '@modern-kit/utils';\n\nif (isServer()) {\n /* Node.js \ud658\uacbd\uc774 \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>o});var s=n(4614);const r={},i=s.createContext(r);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6002],{5032:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var s=n(5735),r=n(7355);const i={},o="isServer",c={id:"utils/device/isSever",title:"isServer",description:"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 \uc11c\ubc84(Node.js)\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/isSever.md",sourceDirName:"utils/device",slug:"/utils/device/isSever",permalink:"/modern-kit/docs/utils/device/isSever",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"isMobile",permalink:"/modern-kit/docs/utils/device/isMobile"},next:{title:"deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties"}},d={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"isserver",children:"isServer"}),"\n",(0,s.jsxs)(t.p,{children:["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub7f0\ud0c0\uc784 \ud658\uacbd\uc774 ",(0,s.jsx)(t.code,{children:"\uc11c\ubc84(Node.js)"}),"\uc778\uc9c0 \ud655\uc778\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"true"}),"\ub97c \ubc18\ud658 \ud560 \uacbd\uc6b0 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud658\uacbd\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"const isServer: () => boolean\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-ts",children:"import { isServer } from '@modern-kit/utils';\n\nif (isServer()) {\n /* Node.js \ud658\uacbd\uc774 \ubcf4\uc7a5 */\n}\n"})})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},7355:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>o});var s=n(4614);const r={},i=s.createContext(r);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/dbd15680.0646a6c1.js b/assets/js/dbd15680.e54373be.js similarity index 97% rename from assets/js/dbd15680.0646a6c1.js rename to assets/js/dbd15680.e54373be.js index 7d1e0a8f0..2cdb972f3 100644 --- a/assets/js/dbd15680.0646a6c1.js +++ b/assets/js/dbd15680.e54373be.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7515],{6672:(n,e,o)=>{o.r(e),o.d(e,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var t=o(5735),r=o(7355);const s={},c="noop",i={id:"utils/common/noop",title:"noop",description:"\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, undefined\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/noop.md",sourceDirName:"utils/common",slug:"/utils/common/noop",permalink:"/modern-kit/docs/utils/common/noop",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba"},next:{title:"wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray"}},a={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(n){const e={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h1,{id:"noop",children:"noop"}),"\n",(0,t.jsxs)(e.p,{children:["\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, ",(0,t.jsx)(e.code,{children:"undefined"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(e.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-tsx",children:"const noop: () => void\n"})}),"\n",(0,t.jsx)(e.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"import { noop } from '@modern-kit/utils';\n\nconst handleClick = (callback = noop) => {\n callback();\n};\n"})})]})}function u(n={}){const{wrapper:e}={...(0,r.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(d,{...n})}):d(n)}},7355:(n,e,o)=>{o.d(e,{Z:()=>i,a:()=>c});var t=o(4614);const r={},s=t.createContext(r);function c(n){const e=t.useContext(s);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(r):n.components||r:c(n.components),t.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7515],{1248:(n,e,o)=>{o.r(e),o.d(e,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var t=o(5735),r=o(7355);const s={},c="noop",i={id:"utils/common/noop",title:"noop",description:"\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, undefined\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/noop.md",sourceDirName:"utils/common",slug:"/utils/common/noop",permalink:"/modern-kit/docs/utils/common/noop",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"hexToRgba",permalink:"/modern-kit/docs/utils/common/hexToRgba"},next:{title:"wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray"}},a={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(n){const e={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h1,{id:"noop",children:"noop"}),"\n",(0,t.jsxs)(e.p,{children:["\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, ",(0,t.jsx)(e.code,{children:"undefined"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(e.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-tsx",children:"const noop: () => void\n"})}),"\n",(0,t.jsx)(e.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{className:"language-ts",children:"import { noop } from '@modern-kit/utils';\n\nconst handleClick = (callback = noop) => {\n callback();\n};\n"})})]})}function u(n={}){const{wrapper:e}={...(0,r.a)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(d,{...n})}):d(n)}},7355:(n,e,o)=>{o.d(e,{Z:()=>i,a:()=>c});var t=o(4614);const r={},s=t.createContext(r);function c(n){const e=t.useContext(s);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(r):n.components||r:c(n.components),t.createElement(s.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/dbf68f77.feb14395.js b/assets/js/dbf68f77.c466074d.js similarity index 98% rename from assets/js/dbf68f77.feb14395.js rename to assets/js/dbf68f77.c466074d.js index 08173b64a..008fba945 100644 --- a/assets/js/dbf68f77.feb14395.js +++ b/assets/js/dbf68f77.c466074d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8862],{3440:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>f,frontMatter:()=>c,metadata:()=>a,toc:()=>u});var s=o(5735),n=o(7355);const c={},r="useIsomorphicLayoutEffect",a={id:"react/hooks/useIsomorphicLayoutEffect",title:"useIsomorphicLayoutEffect",description:"useIsomorphicLayoutEffect\ub294 \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1 \ud658\uacbd\uc5d0\uc11c\ub3c4 \ub3d9\uae30\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub3c4\ub85d \ubcf4\uc7a5\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIsomorphicLayoutEffect.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted"},next:{title:"useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery"}},i={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"useisomorphiclayouteffect",children:"useIsomorphicLayoutEffect"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"useIsomorphicLayoutEffect"}),"\ub294 \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1 \ud658\uacbd\uc5d0\uc11c\ub3c4 \ub3d9\uae30\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub3c4\ub85d \ubcf4\uc7a5\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:["client\ud658\uacbd\uc5d0\uc11c\ub294 ",(0,s.jsx)(t.code,{children:"useLayoutEffect"}),"\ub97c \uc0ac\uc6a9\ud558\uace0, server\ud658\uacbd\uc5d0\uc11c\ub294 ",(0,s.jsx)(t.code,{children:"useEffect"}),"\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"const useIsomorphicLayoutEffect: (\n effect: React.EffectCallback, \n deps?: React.DependencyList | undefined\n) => void;\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useIsomorphicLayoutEffect } from '@modern-kit/react';\n\nconst Example = () => {\n useIsomorphicLayoutEffect(() => {\n console.log(\n \"client \ud658\uacbd\uc5d0\uc11c\ub294 useLayoutEffect, server \ud658\uacbd\uc5d0\uc11c\ub294 useEffect \uc785\ub2c8\ub2e4.\",\n )\n }, []);\n\n return <div>{/* ... */}</div>;\n};\n"})})]})}function f(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var s=o(4614);const n={},c=s.createContext(n);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8862],{9685:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>f,frontMatter:()=>c,metadata:()=>a,toc:()=>u});var s=o(5735),n=o(7355);const c={},r="useIsomorphicLayoutEffect",a={id:"react/hooks/useIsomorphicLayoutEffect",title:"useIsomorphicLayoutEffect",description:"useIsomorphicLayoutEffect\ub294 \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1 \ud658\uacbd\uc5d0\uc11c\ub3c4 \ub3d9\uae30\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub3c4\ub85d \ubcf4\uc7a5\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useIsomorphicLayoutEffect.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useIsomorphicLayoutEffect",permalink:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useIsMounted",permalink:"/modern-kit/docs/react/hooks/useIsMounted"},next:{title:"useMediaQuery",permalink:"/modern-kit/docs/react/hooks/useMediaQuery"}},i={},u=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"useisomorphiclayouteffect",children:"useIsomorphicLayoutEffect"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"useIsomorphicLayoutEffect"}),"\ub294 \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1 \ud658\uacbd\uc5d0\uc11c\ub3c4 \ub3d9\uae30\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub3c4\ub85d \ubcf4\uc7a5\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5 \uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsxs)(t.p,{children:["client\ud658\uacbd\uc5d0\uc11c\ub294 ",(0,s.jsx)(t.code,{children:"useLayoutEffect"}),"\ub97c \uc0ac\uc6a9\ud558\uace0, server\ud658\uacbd\uc5d0\uc11c\ub294 ",(0,s.jsx)(t.code,{children:"useEffect"}),"\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(t.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"const useIsomorphicLayoutEffect: (\n effect: React.EffectCallback, \n deps?: React.DependencyList | undefined\n) => void;\n"})}),"\n",(0,s.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-tsx",children:"import { useIsomorphicLayoutEffect } from '@modern-kit/react';\n\nconst Example = () => {\n useIsomorphicLayoutEffect(() => {\n console.log(\n \"client \ud658\uacbd\uc5d0\uc11c\ub294 useLayoutEffect, server \ud658\uacbd\uc5d0\uc11c\ub294 useEffect \uc785\ub2c8\ub2e4.\",\n )\n }, []);\n\n return <div>{/* ... */}</div>;\n};\n"})})]})}function f(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var s=o(4614);const n={},c=s.createContext(n);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e72e489d.d15a9f5b.js b/assets/js/e72e489d.ab80f39e.js similarity index 97% rename from assets/js/e72e489d.d15a9f5b.js rename to assets/js/e72e489d.ab80f39e.js index 476f4a8f6..b944da60f 100644 --- a/assets/js/e72e489d.d15a9f5b.js +++ b/assets/js/e72e489d.ab80f39e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5418],{6210:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>r,default:()=>m,frontMatter:()=>c,metadata:()=>a,toc:()=>l});var s=o(5735),t=o(7355);const c={},r="asyncNoop",a={id:"utils/common/asyncNoop",title:"asyncNoop",description:"\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, Promise\ub97c \ubc18\ud658\ud558\ub294 async \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/asyncNoop.md",sourceDirName:"utils/common",slug:"/utils/common/asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"abRandom",permalink:"/modern-kit/docs/utils/common/abRandom"},next:{title:"deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy"}},i={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"asyncnoop",children:"asyncNoop"}),"\n",(0,s.jsxs)(n.p,{children:["\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, ",(0,s.jsx)(n.code,{children:"Promise<void>"}),"\ub97c \ubc18\ud658\ud558\ub294 async \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const asyncNoop: () => Promise<void>\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"import { asyncNoop } from '@modern-kit/utils';\n\nconst handleAsyncClick = (callback = asyncNoop) => {\n callback();\n};\n"})})]})}function m(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>r});var s=o(4614);const t={},c=s.createContext(t);function r(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5418],{4800:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>r,default:()=>m,frontMatter:()=>c,metadata:()=>a,toc:()=>l});var s=o(5735),t=o(7355);const c={},r="asyncNoop",a={id:"utils/common/asyncNoop",title:"asyncNoop",description:"\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, Promise\ub97c \ubc18\ud658\ud558\ub294 async \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/asyncNoop.md",sourceDirName:"utils/common",slug:"/utils/common/asyncNoop",permalink:"/modern-kit/docs/utils/common/asyncNoop",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"abRandom",permalink:"/modern-kit/docs/utils/common/abRandom"},next:{title:"deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy"}},i={},l=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"asyncnoop",children:"asyncNoop"}),"\n",(0,s.jsxs)(n.p,{children:["\uc544\ubb34 \ub3d9\uc791 \ud558\uc9c0 \uc54a\uace0, ",(0,s.jsx)(n.code,{children:"Promise<void>"}),"\ub97c \ubc18\ud658\ud558\ub294 async \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const asyncNoop: () => Promise<void>\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"import { asyncNoop } from '@modern-kit/utils';\n\nconst handleAsyncClick = (callback = asyncNoop) => {\n callback();\n};\n"})})]})}function m(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},7355:(e,n,o)=>{o.d(n,{Z:()=>a,a:()=>r});var s=o(4614);const t={},c=s.createContext(t);function r(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/eabfdb13.e64129ba.js b/assets/js/eabfdb13.e64129ba.js deleted file mode 100644 index af9489fee..000000000 --- a/assets/js/eabfdb13.e64129ba.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2627],{479:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>u,toc:()=>i});var o=t(5735),s=t(7355);const r={},c="useUnMount",u={id:"react/hooks/useUnmount",title:"useUnMount",description:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \uc5b8\ub9c8\uc6b4\ud2b8\ub420 \ub54c \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useUnmount.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useUnmount",permalink:"/modern-kit/docs/react/hooks/useUnmount",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle"},next:{title:"useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange"}},a={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"useunmount",children:"useUnMount"}),"\n",(0,o.jsxs)(n.p,{children:["\ucef4\ud3ec\ub10c\ud2b8\uac00 ",(0,o.jsx)(n.code,{children:"\uc5b8\ub9c8\uc6b4\ud2b8"}),"\ub420 \ub54c \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"const useUnmount: (callback: () => any) => void\n"})}),"\n",(0,o.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"import { useUnmount } from '@modern-kit/react';\n\nconst Example = () => {\n useUnmount(() => console.log(\"unmount\"));\n\n return <>{/* ... */}</>;\n};\n"})})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>u,a:()=>c});var o=t(4614);const s={},r=o.createContext(s);function c(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/eabfdb13.ee30e8fa.js b/assets/js/eabfdb13.ee30e8fa.js new file mode 100644 index 000000000..2b43dcda5 --- /dev/null +++ b/assets/js/eabfdb13.ee30e8fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2627],{7763:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>u,toc:()=>i});var o=t(5735),s=t(7355);const r={},c="useUnMount",u={id:"react/hooks/useUnmount",title:"useUnMount",description:"\ucef4\ud3ec\ub10c\ud2b8\uac00 \uc5b8\ub9c8\uc6b4\ud2b8\ub420 \ub54c \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4.",source:"@site/docs/react/hooks/useUnmount.mdx",sourceDirName:"react/hooks",slug:"/react/hooks/useUnmount",permalink:"/modern-kit/docs/react/hooks/useUnmount",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"useToggle",permalink:"/modern-kit/docs/react/hooks/useToggle"},next:{title:"useVisibilityChange",permalink:"/modern-kit/docs/react/hooks/useVisibilityChange"}},a={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"useunmount",children:"useUnMount"}),"\n",(0,o.jsxs)(n.p,{children:["\ucef4\ud3ec\ub10c\ud2b8\uac00 ",(0,o.jsx)(n.code,{children:"\uc5b8\ub9c8\uc6b4\ud2b8"}),"\ub420 \ub54c \ucf5c\ubc31 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ucee4\uc2a4\ud140 \ud6c5\uc785\ub2c8\ub2e4."]}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"const useUnmount: (callback: () => any) => void\n"})}),"\n",(0,o.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"import { useUnmount } from '@modern-kit/react';\n\nconst Example = () => {\n useUnmount(() => console.log(\"unmount\"));\n\n return <>{/* ... */}</>;\n};\n"})})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>u,a:()=>c});var o=t(4614);const s={},r=o.createContext(s);function c(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ee418e94.f0c2ba05.js b/assets/js/ee418e94.7e00b480.js similarity index 97% rename from assets/js/ee418e94.f0c2ba05.js rename to assets/js/ee418e94.7e00b480.js index c4bad667b..a60484c88 100644 --- a/assets/js/ee418e94.f0c2ba05.js +++ b/assets/js/ee418e94.7e00b480.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4142],{1688:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>o,toc:()=>d});var r=t(5735),i=t(7355);const s={},c="getOS",o={id:"utils/device/getOS",title:"getOS",description:"userAgent\ub97c \uae30\ubc18\uc73c\ub85c OS \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/getOS.md",sourceDirName:"utils/device",slug:"/utils/device/getOS",permalink:"/modern-kit/docs/utils/device/getOS",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray"},next:{title:"isClient",permalink:"/modern-kit/docs/utils/device/isClient"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"getos",children:"getOS"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"userAgent"}),"\ub97c \uae30\ubc18\uc73c\ub85c OS \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"server: Server \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"ios: iOS \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"android: Android \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"otherMobile: \uadf8 \uc678 \ubaa8\ubc14\uc77c(ex: BlackBerry)"}),"\n",(0,r.jsx)(n.li,{children:"web: Web \ud658\uacbd"}),"\n"]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:'const getOS: () => "server" | "ios" | "android" | "otherMobile" | "web"\n'})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { getOS } from '@modern-kit/utils';\n\nconst os = getOS();\n"})})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>c});var r=t(4614);const i={},s=r.createContext(i);function c(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4142],{2588:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>s,metadata:()=>o,toc:()=>d});var r=t(5735),i=t(7355);const s={},c="getOS",o={id:"utils/device/getOS",title:"getOS",description:"userAgent\ub97c \uae30\ubc18\uc73c\ub85c OS \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/device/getOS.md",sourceDirName:"utils/device",slug:"/utils/device/getOS",permalink:"/modern-kit/docs/utils/device/getOS",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray"},next:{title:"isClient",permalink:"/modern-kit/docs/utils/device/isClient"}},l={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"getos",children:"getOS"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"userAgent"}),"\ub97c \uae30\ubc18\uc73c\ub85c OS \uac12\uc744 \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"server: Server \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"ios: iOS \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"android: Android \ud658\uacbd"}),"\n",(0,r.jsx)(n.li,{children:"otherMobile: \uadf8 \uc678 \ubaa8\ubc14\uc77c(ex: BlackBerry)"}),"\n",(0,r.jsx)(n.li,{children:"web: Web \ud658\uacbd"}),"\n"]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:'const getOS: () => "server" | "ios" | "android" | "otherMobile" | "web"\n'})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { getOS } from '@modern-kit/utils';\n\nconst os = getOS();\n"})})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>c});var r=t(4614);const i={},s=r.createContext(i);function c(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f6dc8c23.29add84d.js b/assets/js/f6dc8c23.38e59272.js similarity index 98% rename from assets/js/f6dc8c23.29add84d.js rename to assets/js/f6dc8c23.38e59272.js index 0ab40ddf3..19c723948 100644 --- a/assets/js/f6dc8c23.29add84d.js +++ b/assets/js/f6dc8c23.38e59272.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[324],{1447:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var r=t(5735),s=t(7355);const o={},c="mergeProperties",i={id:"utils/object/mergeProperties",title:"mergeProperties",description:"\uae30\uc900\uc774 \ub418\ub294 target \uac1d\uccb4\uc640 source \uac1d\uccb4\uc758 \ud504\ub85c\ud37c\ud2f0\ub97c \ubcd1\ud569\ud558\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/mergeProperties.md",sourceDirName:"utils/object",slug:"/utils/object/mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties"},next:{title:"objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"mergeproperties",children:"mergeProperties"}),"\n",(0,r.jsx)(n.p,{children:"\uae30\uc900\uc774 \ub418\ub294 target \uac1d\uccb4\uc640 source \uac1d\uccb4\uc758 \ud504\ub85c\ud37c\ud2f0\ub97c \ubcd1\ud569\ud558\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsx)(n.p,{children:"Key\uac00 \ub3d9\uc77c\ud560 \ub54c \uac12\uc774 \uc6d0\uc2dc \ud0c0\uc785\uc758 \uacbd\uc6b0 source\uc758 \uac12\uc73c\ub85c \ub36e\uc5b4\uc50c\uc6cc\uc9c0\uba70, \ubc30\uc5f4\uc778 \uacbd\uc6b0 target\uacfc source \uc694\uc18c\ub97c \ubaa8\ub450 \uac16\ub294 \ubc30\uc5f4\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4."}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const mergeProperties: <\n T extends Record<PropertyKey, any>,\n K extends Record<PropertyKey, any>\n>(\n target: T,\n source: K\n) => T & K;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { mergeProperties } from '@modern-kit/utils';\n\n const target = {\n a: 1,\n b: 2,\n c: {\n c_a: 1,\n c_b: 2,\n },\n d: 4,\n e: [1, 2],\n };\n const source = {\n c: {\n c_c: 3,\n c_d: 4,\n },\n d: 5,\n e: [3, 4],\n };\n\n const obj = mergeProperties(target, source);\n\n /**\n * obj = {\n a: 1,\n b: 2,\n c: {\n c_a: 1,\n c_b: 2,\n c_c: 3,\n c_d: 4,\n },\n d: 5,\n e: [1, 2, 3, 4],\n };\n */\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var r=t(4614);const s={},o=r.createContext(s);function c(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[324],{5065:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>d});var r=t(5735),s=t(7355);const o={},c="mergeProperties",i={id:"utils/object/mergeProperties",title:"mergeProperties",description:"\uae30\uc900\uc774 \ub418\ub294 target \uac1d\uccb4\uc640 source \uac1d\uccb4\uc758 \ud504\ub85c\ud37c\ud2f0\ub97c \ubcd1\ud569\ud558\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/object/mergeProperties.md",sourceDirName:"utils/object",slug:"/utils/object/mergeProperties",permalink:"/modern-kit/docs/utils/object/mergeProperties",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deleteEmptyProperties",permalink:"/modern-kit/docs/utils/object/deleteEmptyProperties"},next:{title:"objectEntries",permalink:"/modern-kit/docs/utils/object/objectEntries"}},a={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"mergeproperties",children:"mergeProperties"}),"\n",(0,r.jsx)(n.p,{children:"\uae30\uc900\uc774 \ub418\ub294 target \uac1d\uccb4\uc640 source \uac1d\uccb4\uc758 \ud504\ub85c\ud37c\ud2f0\ub97c \ubcd1\ud569\ud558\ub294 \uc720\ud2f8 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,r.jsx)(n.p,{children:"Key\uac00 \ub3d9\uc77c\ud560 \ub54c \uac12\uc774 \uc6d0\uc2dc \ud0c0\uc785\uc758 \uacbd\uc6b0 source\uc758 \uac12\uc73c\ub85c \ub36e\uc5b4\uc50c\uc6cc\uc9c0\uba70, \ubc30\uc5f4\uc778 \uacbd\uc6b0 target\uacfc source \uc694\uc18c\ub97c \ubaa8\ub450 \uac16\ub294 \ubc30\uc5f4\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4."}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",children:"const mergeProperties: <\n T extends Record<PropertyKey, any>,\n K extends Record<PropertyKey, any>\n>(\n target: T,\n source: K\n) => T & K;\n"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-ts",children:"import { mergeProperties } from '@modern-kit/utils';\n\n const target = {\n a: 1,\n b: 2,\n c: {\n c_a: 1,\n c_b: 2,\n },\n d: 4,\n e: [1, 2],\n };\n const source = {\n c: {\n c_c: 3,\n c_d: 4,\n },\n d: 5,\n e: [3, 4],\n };\n\n const obj = mergeProperties(target, source);\n\n /**\n * obj = {\n a: 1,\n b: 2,\n c: {\n c_a: 1,\n c_b: 2,\n c_c: 3,\n c_d: 4,\n },\n d: 5,\n e: [1, 2, 3, 4],\n };\n */\n"})})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>c});var r=t(4614);const s={},o=r.createContext(s);function c(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f717749c.0d98e382.js b/assets/js/f717749c.3d25e9ea.js similarity index 97% rename from assets/js/f717749c.0d98e382.js rename to assets/js/f717749c.3d25e9ea.js index 24de330b5..fa8c9d0e8 100644 --- a/assets/js/f717749c.0d98e382.js +++ b/assets/js/f717749c.3d25e9ea.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8442],{979:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>s,metadata:()=>c,toc:()=>a});var i=t(5735),o=t(7355);const s={},r="getUniqId",c={id:"utils/common/getUniqId",title:"getUniqId",description:"\uc720\ub2c8\ud06c\ud55c \uc544\uc774\ub514\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getUniqId.md",sourceDirName:"utils/common",slug:"/utils/common/getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual"},next:{title:"getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime"}},d={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getuniqid",children:"getUniqId"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"\uc720\ub2c8\ud06c\ud55c \uc544\uc774\ub514"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const getUniqId: () => string\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { getUniqId } from '@modern-kit/utils';\n\nconst uniqId = getUniqId();\n"})})]})}function u(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>r});var i=t(4614);const o={},s=i.createContext(o);function r(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8442],{727:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>s,metadata:()=>c,toc:()=>a});var i=t(5735),o=t(7355);const s={},r="getUniqId",c={id:"utils/common/getUniqId",title:"getUniqId",description:"\uc720\ub2c8\ud06c\ud55c \uc544\uc774\ub514\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/getUniqId.md",sourceDirName:"utils/common",slug:"/utils/common/getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual"},next:{title:"getUniqTime",permalink:"/modern-kit/docs/utils/common/getUniqTime"}},d={},a=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getuniqid",children:"getUniqId"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"\uc720\ub2c8\ud06c\ud55c \uc544\uc774\ub514"}),"\ub97c \ubc18\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"const getUniqId: () => string\n"})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-ts",children:"import { getUniqId } from '@modern-kit/utils';\n\nconst uniqId = getUniqId();\n"})})]})}function u(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>r});var i=t(4614);const o={},s=i.createContext(o);function r(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fa6a5d39.266ae9dc.js b/assets/js/fa6a5d39.266ae9dc.js deleted file mode 100644 index dfffe2b1a..000000000 --- a/assets/js/fa6a5d39.266ae9dc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1900],{548:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>s,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var t=r(5735),o=r(7355);const a={},s="wrapInArray",c={id:"utils/common/wrapInArray",title:"wrapInArray",description:"\ubc30\uc5f4\uc774 \uc544\ub2c8\ub77c\uba74 \ub798\ud551\ub41c \ubc30\uc5f4\uc744 \ubc18\ud658\ud558\uace0, \ubc30\uc5f4\uc774\ub77c\uba74 \ub798\ud551\ud558\uc9c0 \uc54a\uace0 \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/wrapInArray.md",sourceDirName:"utils/common",slug:"/utils/common/wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"noop",permalink:"/modern-kit/docs/utils/common/noop"},next:{title:"getOS",permalink:"/modern-kit/docs/utils/device/getOS"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"wrapinarray",children:"wrapInArray"}),"\n",(0,t.jsx)(n.p,{children:"\ubc30\uc5f4\uc774 \uc544\ub2c8\ub77c\uba74 \ub798\ud551\ub41c \ubc30\uc5f4\uc744 \ubc18\ud658\ud558\uace0, \ubc30\uc5f4\uc774\ub77c\uba74 \ub798\ud551\ud558\uc9c0 \uc54a\uace0 \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,t.jsxs)(n.p,{children:["\ubc18\ud658\ub41c \ubc30\uc5f4\uc740 ",(0,t.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \ubc30\uc5f4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const wrapInArray: <T>(value: T | T[]) => T[]\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { wrapInArray } from '@modern-kit/utils';\n\nconst wrappedInArray1 = wrapInArray('ModernKit'); // ['ModernKit']\nconst wrappedInArray2 = wrapInArray([1, 2, 3]); // [1, 2, 3]\n"})})]})}function p(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>c,a:()=>s});var t=r(4614);const o={},a=t.createContext(o);function s(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fa6a5d39.4c59585d.js b/assets/js/fa6a5d39.4c59585d.js new file mode 100644 index 000000000..594785a6e --- /dev/null +++ b/assets/js/fa6a5d39.4c59585d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1900],{1644:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>s,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var t=r(5735),o=r(7355);const a={},s="wrapInArray",c={id:"utils/common/wrapInArray",title:"wrapInArray",description:"\ubc30\uc5f4\uc774 \uc544\ub2c8\ub77c\uba74 \ub798\ud551\ub41c \ubc30\uc5f4\uc744 \ubc18\ud658\ud558\uace0, \ubc30\uc5f4\uc774\ub77c\uba74 \ub798\ud551\ud558\uc9c0 \uc54a\uace0 \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/wrapInArray.md",sourceDirName:"utils/common",slug:"/utils/common/wrapInArray",permalink:"/modern-kit/docs/utils/common/wrapInArray",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"noop",permalink:"/modern-kit/docs/utils/common/noop"},next:{title:"getOS",permalink:"/modern-kit/docs/utils/device/getOS"}},i={},d=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function l(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"wrapinarray",children:"wrapInArray"}),"\n",(0,t.jsx)(n.p,{children:"\ubc30\uc5f4\uc774 \uc544\ub2c8\ub77c\uba74 \ub798\ud551\ub41c \ubc30\uc5f4\uc744 \ubc18\ud658\ud558\uace0, \ubc30\uc5f4\uc774\ub77c\uba74 \ub798\ud551\ud558\uc9c0 \uc54a\uace0 \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."}),"\n",(0,t.jsxs)(n.p,{children:["\ubc18\ud658\ub41c \ubc30\uc5f4\uc740 ",(0,t.jsx)(n.code,{children:"\uae4a\uc740 \ubcf5\uc0ac\ub41c \uc0c8\ub85c\uc6b4 \ubc30\uc5f4"}),"\uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)("br",{}),"\n",(0,t.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-tsx",children:"const wrapInArray: <T>(value: T | T[]) => T[]\n"})}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"import { wrapInArray } from '@modern-kit/utils';\n\nconst wrappedInArray1 = wrapInArray('ModernKit'); // ['ModernKit']\nconst wrappedInArray2 = wrapInArray([1, 2, 3]); // [1, 2, 3]\n"})})]})}function p(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},7355:(e,n,r)=>{r.d(n,{Z:()=>c,a:()=>s});var t=r(4614);const o={},a=t.createContext(o);function s(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ff56c94b.dc052a53.js b/assets/js/ff56c94b.7d24b500.js similarity index 97% rename from assets/js/ff56c94b.dc052a53.js rename to assets/js/ff56c94b.7d24b500.js index 6b2a492e4..4adc71187 100644 --- a/assets/js/ff56c94b.dc052a53.js +++ b/assets/js/ff56c94b.7d24b500.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5666],{9391:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var s=t(5735),o=t(7355);const a={},c="deepEqual",l={id:"utils/common/deepEqual",title:"deepEqual",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \ub450 \uac12\uc744 \uae4a\uc740 \ube44\uad50\ud574\uc11c \uac19\uc740\uc9c0 \ub2e4\ub978\uc9c0 \uc5ec\ubd80\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/deepEqual.md",sourceDirName:"utils/common",slug:"/utils/common/deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy"},next:{title:"getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId"}},r={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"deepequal",children:"deepEqual"}),"\n",(0,s.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \ub450 \uac12\uc744 ",(0,s.jsx)(n.code,{children:"\uae4a\uc740 \ube44\uad50"}),"\ud574\uc11c \uac19\uc740\uc9c0 \ub2e4\ub978\uc9c0 \uc5ec\ubd80\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const deepEqual: (source: any, target: any) => boolean\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:'import { deepEqual } from \'@modern-kit/utils\';\n\nconst isEqual1 = deepEqual(1, 1); // true\nconst isEqual2 = deepEqual({ a: 1}, { a: 1}); // true\nconst isEqual3 = deepEqual([1, 2, 3] [1, 2, 3]); // true\n\nconst isEqual4 = deepEqual("1", "2"); // false\nconst isEqual5 = deepEqual({ a: 1}, { a: 2}); // false\nconst isEqual6 = deepEqual([1, 2, 3], [1, "2", 3]); // false\n'})})]})}function d(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>c});var s=t(4614);const o={},a=s.createContext(o);function c(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5666],{7398:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var s=t(5735),o=t(7355);const a={},c="deepEqual",l={id:"utils/common/deepEqual",title:"deepEqual",description:"\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \ub450 \uac12\uc744 \uae4a\uc740 \ube44\uad50\ud574\uc11c \uac19\uc740\uc9c0 \ub2e4\ub978\uc9c0 \uc5ec\ubd80\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.",source:"@site/docs/utils/common/deepEqual.md",sourceDirName:"utils/common",slug:"/utils/common/deepEqual",permalink:"/modern-kit/docs/utils/common/deepEqual",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"deepCopy",permalink:"/modern-kit/docs/utils/common/deepCopy"},next:{title:"getUniqId",permalink:"/modern-kit/docs/utils/common/getUniqId"}},r={},i=[{value:"Interface",id:"interface",level:2},{value:"Usage",id:"usage",level:2}];function u(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"deepequal",children:"deepEqual"}),"\n",(0,s.jsxs)(n.p,{children:["\uc778\uc790\ub85c \uc8fc\uc5b4\uc9c4 \ub450 \uac12\uc744 ",(0,s.jsx)(n.code,{children:"\uae4a\uc740 \ube44\uad50"}),"\ud574\uc11c \uac19\uc740\uc9c0 \ub2e4\ub978\uc9c0 \uc5ec\ubd80\ub97c \ubc18\ud658\ud574\uc8fc\ub294 \ud568\uc218\uc785\ub2c8\ub2e4."]}),"\n",(0,s.jsx)("br",{}),"\n",(0,s.jsx)(n.h2,{id:"interface",children:"Interface"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-tsx",children:"const deepEqual: (source: any, target: any) => boolean\n"})}),"\n",(0,s.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:'import { deepEqual } from \'@modern-kit/utils\';\n\nconst isEqual1 = deepEqual(1, 1); // true\nconst isEqual2 = deepEqual({ a: 1}, { a: 1}); // true\nconst isEqual3 = deepEqual([1, 2, 3] [1, 2, 3]); // true\n\nconst isEqual4 = deepEqual("1", "2"); // false\nconst isEqual5 = deepEqual({ a: 1}, { a: 2}); // false\nconst isEqual6 = deepEqual([1, 2, 3], [1, "2", 3]); // false\n'})})]})}function d(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},7355:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>c});var s=t(4614);const o={},a=s.createContext(o);function c(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.e3653fce.js b/assets/js/main.e3653fce.js deleted file mode 100644 index 3eb879158..000000000 --- a/assets/js/main.e3653fce.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.e3653fce.js.LICENSE.txt */ -(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{6782:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(4614),o=n(5735);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},586:(e,t,n)=>{"use strict";var r=n(4614),o=n(2364),a=n(3208),i=n(9691),l=n(7591);const s=[n(1015),n(663),n(9285),n(8867)];var c=n(3423),u=n(3366),d=n(9048),p=n(5735);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(10),h=n(8314),g=n(5827),b=n(4859),y=n(5839),v=n(430),k=n(6411),w=n(5930),x=n(3394),S=n(8516);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,p.jsxs)(m.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:k.h})]}),n&&(0,p.jsx)(y.d,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:w.HX,locale:e}),(0,p.jsx)(m.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var N=n(6782),A=n(9275),P=n(4933);function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,P.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),L("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const D=I,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${M}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function U(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,p.jsx)(p.Fragment,{children:!l.Z.canUseDOM&&(0,p.jsx)(m.Z,{children:(0,p.jsx)("script",{children:B(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?(0,p.jsx)(U,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:o}}=(0,h.Z)(),a=(0,g.Z)(e),{htmlLang:i,direction:l}=o[r];return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("html",{lang:i,dir:l}),(0,p.jsx)("title",{children:t}),(0,p.jsx)("meta",{property:"og:title",content:t}),(0,p.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,p.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,p.jsx)("link",{rel:"icon",href:a})]})}var H=n(9703),Z=n(7992);function V(){const e=(0,Z.Z)();return(0,p.jsx)(m.Z,{children:(0,p.jsx)("html",{"data-has-hydrated":e})})}function W(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return(0,p.jsx)(H.Z,{children:(0,p.jsx)(A.M,{children:(0,p.jsxs)(N.t,{children:[(0,p.jsxs)(f,{children:[(0,p.jsx)(q,{}),(0,p.jsx)(_,{}),(0,p.jsx)($,{}),(0,p.jsx)(D,{location:j(t),children:e})]}),(0,p.jsx)(V,{})]})})})}var G=n(6887);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(9688);const Y=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(G).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(a.VK,{children:(0,p.jsx)(W,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(l)}},9275:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(4614),o=n(6809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/modern-kit/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/modern-kit/docs","mainDocId":"introduce/Introduce","docs":[{"id":"introduce/Introduce","path":"/modern-kit/docs/introduce/","sidebar":"tutorialSidebar"},{"id":"react/components/DebounceWrapper","path":"/modern-kit/docs/react/components/DebounceWrapper","sidebar":"tutorialSidebar"},{"id":"react/components/InView","path":"/modern-kit/docs/react/components/InView","sidebar":"tutorialSidebar"},{"id":"react/components/LazyImage","path":"/modern-kit/docs/react/components/LazyImage","sidebar":"tutorialSidebar"},{"id":"react/components/Portal","path":"/modern-kit/docs/react/components/Portal","sidebar":"tutorialSidebar"},{"id":"react/components/When","path":"/modern-kit/docs/react/components/When","sidebar":"tutorialSidebar"},{"id":"react/hooks/useAsyncPreservedCallback","path":"/modern-kit/docs/react/hooks/useAsyncPreservedCallback","sidebar":"tutorialSidebar"},{"id":"react/hooks/useDebounce","path":"/modern-kit/docs/react/hooks/useDebounce","sidebar":"tutorialSidebar"},{"id":"react/hooks/useForceUpdate","path":"/modern-kit/docs/react/hooks/useForceUpdate","sidebar":"tutorialSidebar"},{"id":"react/hooks/useImageStatus","path":"/modern-kit/docs/react/hooks/useImageStatus","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIntersectionObserver","path":"/modern-kit/docs/react/hooks/useIntersectionObserver","sidebar":"tutorialSidebar"},{"id":"react/hooks/useInterval","path":"/modern-kit/docs/react/hooks/useInterval","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIsMounted","path":"/modern-kit/docs/react/hooks/useIsMounted","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIsomorphicLayoutEffect","path":"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect","sidebar":"tutorialSidebar"},{"id":"react/hooks/useMediaQuery","path":"/modern-kit/docs/react/hooks/useMediaQuery","sidebar":"tutorialSidebar"},{"id":"react/hooks/useMergeRefs","path":"/modern-kit/docs/react/hooks/useMergeRefs","sidebar":"tutorialSidebar"},{"id":"react/hooks/useOnClickOutside","path":"/modern-kit/docs/react/hooks/useOnClickOutside","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePreservedCallback","path":"/modern-kit/docs/react/hooks/usePreservedCallback","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePreservedState","path":"/modern-kit/docs/react/hooks/usePreservedState","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePrevious","path":"/modern-kit/docs/react/hooks/usePrevious","sidebar":"tutorialSidebar"},{"id":"react/hooks/useResizeObserver","path":"/modern-kit/docs/react/hooks/useResizeObserver","sidebar":"tutorialSidebar"},{"id":"react/hooks/useTimeout","path":"/modern-kit/docs/react/hooks/useTimeout","sidebar":"tutorialSidebar"},{"id":"react/hooks/useToggle","path":"/modern-kit/docs/react/hooks/useToggle","sidebar":"tutorialSidebar"},{"id":"react/hooks/useUnmount","path":"/modern-kit/docs/react/hooks/useUnmount","sidebar":"tutorialSidebar"},{"id":"react/hooks/useVisibilityChange","path":"/modern-kit/docs/react/hooks/useVisibilityChange","sidebar":"tutorialSidebar"},{"id":"react/hooks/useWindowScrollTo","path":"/modern-kit/docs/react/hooks/useWindowScrollTo","sidebar":"tutorialSidebar"},{"id":"react/hooks/useWindowSize","path":"/modern-kit/docs/react/hooks/useWindowSize","sidebar":"tutorialSidebar"},{"id":"utils/common/abRandom","path":"/modern-kit/docs/utils/common/abRandom","sidebar":"tutorialSidebar"},{"id":"utils/common/asyncNoop","path":"/modern-kit/docs/utils/common/asyncNoop","sidebar":"tutorialSidebar"},{"id":"utils/common/deepCopy","path":"/modern-kit/docs/utils/common/deepCopy","sidebar":"tutorialSidebar"},{"id":"utils/common/deepEqual","path":"/modern-kit/docs/utils/common/deepEqual","sidebar":"tutorialSidebar"},{"id":"utils/common/getUniqId","path":"/modern-kit/docs/utils/common/getUniqId","sidebar":"tutorialSidebar"},{"id":"utils/common/getUniqTime","path":"/modern-kit/docs/utils/common/getUniqTime","sidebar":"tutorialSidebar"},{"id":"utils/common/getViewportSize","path":"/modern-kit/docs/utils/common/getViewportSize","sidebar":"tutorialSidebar"},{"id":"utils/common/hexToRgba","path":"/modern-kit/docs/utils/common/hexToRgba","sidebar":"tutorialSidebar"},{"id":"utils/common/noop","path":"/modern-kit/docs/utils/common/noop","sidebar":"tutorialSidebar"},{"id":"utils/common/wrapInArray","path":"/modern-kit/docs/utils/common/wrapInArray","sidebar":"tutorialSidebar"},{"id":"utils/device/getOS","path":"/modern-kit/docs/utils/device/getOS","sidebar":"tutorialSidebar"},{"id":"utils/device/isClient","path":"/modern-kit/docs/utils/device/isClient","sidebar":"tutorialSidebar"},{"id":"utils/device/isMobile","path":"/modern-kit/docs/utils/device/isMobile","sidebar":"tutorialSidebar"},{"id":"utils/device/isSever","path":"/modern-kit/docs/utils/device/isSever","sidebar":"tutorialSidebar"},{"id":"utils/object/deleteEmptyProperties","path":"/modern-kit/docs/utils/object/deleteEmptyProperties","sidebar":"tutorialSidebar"},{"id":"utils/object/mergeProperties","path":"/modern-kit/docs/utils/object/mergeProperties","sidebar":"tutorialSidebar"},{"id":"utils/object/objectEntries","path":"/modern-kit/docs/utils/object/objectEntries","sidebar":"tutorialSidebar"},{"id":"utils/object/objectKeys","path":"/modern-kit/docs/utils/object/objectKeys","sidebar":"tutorialSidebar"},{"id":"utils/object/objectValues","path":"/modern-kit/docs/utils/object/objectValues","sidebar":"tutorialSidebar"},{"id":"utils/object/omit","path":"/modern-kit/docs/utils/object/omit","sidebar":"tutorialSidebar"},{"id":"utils/object/pick","path":"/modern-kit/docs/utils/object/pick","sidebar":"tutorialSidebar"},{"id":"utils/string/countSubstringOccurrences","path":"/modern-kit/docs/utils/string/countSubstringOccurrences","sidebar":"tutorialSidebar"},{"id":"utils/string/extractNumber","path":"/modern-kit/docs/utils/string/extractNumber","sidebar":"tutorialSidebar"},{"id":"utils/string/formatNumberWithCommas","path":"/modern-kit/docs/utils/string/formatNumberWithCommas","sidebar":"tutorialSidebar"},{"id":"utils/string/formatPhoneNumber","path":"/modern-kit/docs/utils/string/formatPhoneNumber","sidebar":"tutorialSidebar"},{"id":"utils/string/removeSpecialCharacters","path":"/modern-kit/docs/utils/string/removeSpecialCharacters","sidebar":"tutorialSidebar"},{"id":"utils/string/repeatCharacters","path":"/modern-kit/docs/utils/string/repeatCharacters","sidebar":"tutorialSidebar"},{"id":"utils/validator/hasProperty","path":"/modern-kit/docs/utils/validator/hasProperty","sidebar":"tutorialSidebar"},{"id":"utils/validator/isFuntion","path":"/modern-kit/docs/utils/validator/isFuntion","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNotNullish","path":"/modern-kit/docs/utils/validator/isNotNullish","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNullish","path":"/modern-kit/docs/utils/validator/isNullish","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNumber","path":"/modern-kit/docs/utils/validator/isNumber","sidebar":"tutorialSidebar"},{"id":"utils/validator/isValidEmail","path":"/modern-kit/docs/utils/validator/isValidEmail","sidebar":"tutorialSidebar"},{"id":"utils/validator/isValidPhoneNumberFormat","path":"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/modern-kit/docs/introduce/","label":"Introduce"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.0.0","siteVersion":"0.0.9","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.0.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.0"}}}');var c=n(5735);const u={siteConfig:o.default,siteMetadata:s,globalData:a,i18n:i,codeTranslations:l},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},9703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(4614),o=n(7591),a=n(10),i=n(7930),l=n(5754),s=n(5735);function c(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(f,{fallback:()=>(0,s.jsx)(c,{error:t,tryAgain:n}),children:[(0,s.jsx)(a.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(c,{error:t,tryAgain:n})})]})}const p=e=>(0,s.jsx)(d,{...e});class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},7591:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},10:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);var r=n(9691),o=n(5735);function a(e){return(0,o.jsx)(r.ql,{...e})}},9990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(4614),o=n(3208),a=n(7930),i=n(8314),l=n(717),s=n(7591),c=n(5735);const u=r.createContext({collectLink:()=>{}});var d=n(5827);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:k}}=(0,i.Z)(),{withBaseUrl:w}=(0,d.C)(),x=(0,r.useContext)(u),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const C=(0,l.Z)(E),_=E?.replace("pathname://","");let T=void 0!==_?(j=_,b&&(e=>e.startsWith("/"))(j)?w(j):j):void 0;var j;T&&C&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:k}));const N=(0,r.useRef)(!1),A=n?o.OL:o.rU,P=s.Z.canUseIntersectionObserver,L=(0,r.useRef)(),R=()=>{N.current||null==T||(window.docusaurus.preload(T),N.current=!0)};(0,r.useEffect)((()=>(!P&&C&&null!=T&&window.docusaurus.prefetch(T),()=>{P&&L.current&&L.current.disconnect()})),[L,T,P,C]);const O=T?.startsWith("#")??!1,I=!T||!C||O;return I||g||x.collectLink(T),I?(0,c.jsx)("a",{ref:S,href:T,...E&&!C&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,c.jsx)(A,{...y,onMouseEnter:R,onTouchStart:R,innerRef:e=>{S.current=e,P&&e&&C&&(L.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(L.current.unobserve(e),L.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),L.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},9315:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>s});var r=n(4614),o=n(5735);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return a(l({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},4910:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},717:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>o,b:()=>r})},5827:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(4614),o=n(8314),a=n(717);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4614),o=n(9275);function a(){return(0,r.useContext)(o._)}},7992:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4614),o=n(6782);function a(){return(0,r.useContext)(o._)}},4933:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4614);const o=n(7591).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9688:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const l=o?`${o}.${a}`:a;r(i)?e(i,l):t[l]=i}))}(e),t}},506:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>i});var r=n(4614),o=n(5735);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:l,children:t})}},3532:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>p,_r:()=>u,Jo:()=>g,zh:()=>d,yW:()=>m,gB:()=>f});var r=n(3366),o=n(8314),a=n(4910);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>function(e,t,n){void 0===t&&(t=a.m),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},4409:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(4614),s=n(5769),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=d(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return c.push(g),"function"==typeof m.webpack&&u.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return a(o(o(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),a(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}a(g,"propTypes",{report:s.func.isRequired}),a(g,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=h},9285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2602),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},663:(e,t,n)=>{"use strict";n.r(t);var r=n(5124),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(8624),n(9932)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},1616:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(4614);var r=n(7475),o=n(5958),a=n(4859),i=n(9990);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_PKLA",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_nBF9"};var s=n(5735);function c(e){let{as:t,id:n,...c}=e;const{navbar:{hideOnScroll:u}}=(0,a.L)();if("h1"===t||!n)return(0,s.jsx)(t,{...c,id:void 0});const d=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,s.jsxs)(t,{...c,className:(0,r.Z)("anchor",u?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,s.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":d,title:d,children:"\u200b"})]})}},2019:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);const r={iconExternalLink:"iconExternalLink_tcjt"};var o=n(5735);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},5754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>pt});var r=n(4614),o=n(7475),a=n(9703),i=n(5839),l=n(3366),s=n(5958),c=n(9008),u=n(5735);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(8349),b=n(6411);const y={skipToContent:"skipToContent_al5k"};function v(){return(0,u.jsx)(h,{className:y.skipToContent})}var k=n(4859),w=n(7357);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:o,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_OjVU"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_EiDp"};function _(e){const{announcementBar:t}=(0,k.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_f1NP",announcementBarPlaceholder:"announcementBarPlaceholder_oIJQ",announcementBarClose:"announcementBarClose_I2la",announcementBarContent:"announcementBarContent_4KW8"};function j(){const{announcementBar:e}=(0,k.L)(),{isActive:t,close:n}=(0,w.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(_,{className:T.announcementBarContent}),a&&(0,u.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var N=n(2469),A=n(806);var P=n(7487),L=n(7274);const R=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,L.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,P.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,u.jsx)(R.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(R);if(!e)throw new P.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,L.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=D();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(9303),z=n(7992);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function U(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const $={toggle:"toggle_PJvE",toggleButton:"toggleButton_OyO7",darkToggleIcon:"darkToggleIcon_V1Oa",lightToggleIcon:"lightToggleIcon_UzMI",toggleButtonDisabled:"toggleButtonDisabled_SiBW"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,u.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,u.jsx)(U,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}const H=r.memo(q),Z={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_rOBh"};function V(e){let{className:t}=e;const n=(0,k.L)().navbar.style,r=(0,k.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.I)();return r?null:(0,u.jsx)(H,{className:t,buttonClassName:"dark"===n?Z.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var W=n(3622);function G(){return(0,u.jsx)(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,N.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(G,{}),(0,u.jsx)(V,{className:"margin-right--md"}),(0,u.jsx)(Q,{})]})}var Y=n(9990),X=n(5827),J=n(717);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(2019);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...c}=e;const d=(0,X.Z)(r),p=(0,X.Z)(t),f=(0,X.Z)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,J.Z)(o),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[a,m&&(0,u.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return o?(0,u.jsx)(Y.Z,{href:s?f:o,...c,...h}):(0,u.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,u.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){let{mobile:t=!1,position:n,...r}=e;const o=t?oe:re;return(0,u.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(5179),le=n(2213),se=n(8314);function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ue(e){let{items:t,position:n,className:a,onClick:i,...l}=e;const s=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,u.jsxs)("div",{ref:s,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",a),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:l.children??l.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ee,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function de(e){let{items:t,className:n,position:a,onClick:i,...s}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ce(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[c,d,m]),(0,u.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,o.Z)("menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,u.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ee,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function pe(e){let{mobile:t=!1,...n}=e;const r=t?de:ue;return(0,u.jsx)(r,{...n})}var fe=n(430);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_ptZi";var ge=n(9315);const be={navbarSearchContainer:"navbarSearchContainer_bEtv"};function ye(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,o.Z)(n,be.navbarSearchContainer),children:t})}var ve=n(3532),ke=n(2039);var we=n(4528);const xe=e=>e.docs.find((t=>t.id===e.mainDocId));const Se={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,se.Z)(),p=(0,fe.l)(),{search:f,hash:m}=(0,l.TH)(),h=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(pe,{...a,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:he}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(ye,{className:n,children:(0,u.jsx)(ge.Z,{})})},dropdown:pe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,u.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ve.Iw)(r),i=(0,ke.vY)(t,r),l=a?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>l||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ve.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,ke.lO)(r)[0],i=t??a.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,u.jsx)(ae,{...o,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:d}=(0,l.TH)(),p=(0,ve.Iw)(n),f=(0,ve.gB)(n),{savePreferredVersionName:m}=(0,we.J)(n),h=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??xe(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],g=(0,ke.lO)(n)[0],b=t&&h.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,y=t&&h.length>1?void 0:xe(g).path;return h.length<=1?(0,u.jsx)(ae,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(pe,{...i,mobile:t,label:b,to:y,items:h,isActive:r?()=>!1:void 0})}};function Ee(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Se[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(o,{...n})}function Ce(){const e=(0,N.e)(),t=(0,k.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ee,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function _e(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Te(){const e=0===(0,k.L)().navbar.items.length,t=D();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(_e,{onClick:()=>t.hide()}),t.content]})}function je(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(F,{header:(0,u.jsx)(K,{}),primaryMenu:(0,u.jsx)(Ce,{}),secondaryMenu:(0,u.jsx)(Te,{})}):null}const Ne={navbarHideable:"navbarHideable_aDCK",navbarHidden:"navbarHidden_kAkf"};function Ae(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Pe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,k.L)(),i=(0,N.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<a.current)return void n(!0);if(o.current)return void(o.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-a.current,c=window.innerHeight;l&&i>=l?n(!1):i+c<s&&n(!0)})),(0,c.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!d&&Ne.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Ae,{onClick:i.toggle}),(0,u.jsx)(je,{})]})}var Le=n(7930);const Re={errorBoundaryError:"errorBoundaryError_rOgF",errorBoundaryFallback:"errorBoundaryFallback_Iw5X"};function Oe(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ie(e){let{error:t}=e;const n=(0,Le.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Re.errorBoundaryError,children:n})}class De extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Fe="right";function Me(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function ze(){const{toggle:e,shown:t}=(0,N.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(Me,{})})}const Be={colorModeToggle:"colorModeToggle_LgG9"};function Ue(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(De,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ee,{...e})},t)))})}function $e(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function qe(){const e=(0,N.e)(),t=(0,k.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Fe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,u.jsx)($e,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(ze,{}),(0,u.jsx)(G,{}),(0,u.jsx)(Ue,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ue,{items:r}),(0,u.jsx)(V,{className:Be.colorModeToggle}),!o&&(0,u.jsx)(ye,{children:(0,u.jsx)(ge.Z,{})})]})})}function He(){return(0,u.jsx)(Pe,{children:(0,u.jsx)(qe,{})})}function Ze(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:a?s:r}:{to:l},...i,children:[o,r&&!(0,J.Z)(r)&&(0,u.jsx)(te.Z,{})]})}function Ve(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Ze,{item:t})},t.href??t.to)}function We(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(Ve,{item:e},t)))})]})}function Ge(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(We,{column:e},t)))})}function Qe(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ke(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Ze,{item:t})}function Ye(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Ke,{item:e}),t.length!==n+1&&(0,u.jsx)(Qe,{})]},n)))})})}function Xe(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Ge,{columns:t}):(0,u.jsx)(Ye,{links:t})}var Je=n(4395);const et={footerLogoLink:"footerLogoLink_qeqT"};function tt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(Je.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function nt(e){let{logo:t}=e;return t.href?(0,u.jsx)(Y.Z,{href:t.href,className:et.footerLogoLink,target:t.target,children:(0,u.jsx)(tt,{logo:t})}):(0,u.jsx)(tt,{logo:t})}function rt(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,u.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function at(){const{footer:e}=(0,k.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,u.jsx)(ot,{style:o,links:n&&n.length>0&&(0,u.jsx)(Xe,{links:n}),logo:r&&(0,u.jsx)(nt,{logo:r}),copyright:t&&(0,u.jsx)(rt,{copyright:t})})}const it=r.memo(at),lt=(0,P.Qc)([M.S,w.pl,A.OC,we.L5,i.VC,function(e){let{children:t}=e;return(0,u.jsx)(L.n2,{children:(0,u.jsx)(N.M,{children:(0,u.jsx)(O,{children:t})})})}]);function st(e){let{children:t}=e;return(0,u.jsx)(lt,{children:t})}var ct=n(1616);function ut(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ct.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Oe,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(Ie,{error:t})})]})})})}const dt={mainWrapper:"mainWrapper_VX8u"};function pt(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,b.t)(),(0,u.jsxs)(st,{children:[(0,u.jsx)(i.d,{title:l,description:s}),(0,u.jsx)(v,{}),(0,u.jsx)(j,{}),(0,u.jsx)(He,{}),(0,u.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,dt.mainWrapper,r),children:(0,u.jsx)(a.Z,{fallback:e=>(0,u.jsx)(ut,{...e}),children:t})}),!n&&(0,u.jsx)(it,{})]})}},3622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(4614);var r=n(9990),o=n(5827),a=n(8314),i=n(4859),l=n(4395),s=n(5735);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,a.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,o.Z)(l?.href||"/"),m=n?"":t,h=l?.alt??m;return(0,s.jsxs)(r.Z,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(c,{logo:l,alt:h,imageClassName:u}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},8516:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);var r=n(10),o=n(5735);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},4395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(4614),o=n(7475),a=n(7992),i=n(9303);const l={themedComponent:"themedComponent_JZov","themedComponent--light":"themedComponent--light_CIJg","themedComponent--dark":"themedComponent--dark_HJAQ"};var s=n(5735);function c(e){let{className:t,children:n}=e;const c=(0,a.Z)(),{colorMode:u}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:a},e)}))})}function u(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(c,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},5179:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>b});var r=n(4614),o=n(7591),a=n(4933),i=n(9557),l=n(5735);const s="ease-in-out";function c(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.Z.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:s,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:a}),(0,l.jsx)(t,{ref:u,style:c?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:s,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[s,c]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&c(t)}),[o,t]),o?(0,l.jsx)(h,{...n,collapsed:s}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,l.jsx)(r,{...n})}},7357:(e,t,n)=>{"use strict";n.d(t,{nT:()=>h,pl:()=>m});var r=n(4614),o=n(7992),a=n(7343),i=n(7487),l=n(4859),s=n(5735);const c=(0,a.WA)("docusaurus.announcement.dismiss"),u=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},9303:(e,t,n)=>{"use strict";n.d(t,{I:()=>b,S:()=>g});var r=n(4614),o=n(7591),a=n(7487),i=n(7343),l=n(4859),s=n(5735);const c=r.createContext(void 0),u="theme",d=(0,i.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&h(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4528:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>b});var r=n(4614),o=n(3532),a=n(4910),i=n(4859),l=n(2039),s=n(7487),c=n(7343),u=n(5735);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,u.jsx)(m.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return l.cE?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(m);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.m);const t=(0,o.zh)(e),[n,i]=y(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},9550:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>s});var r=n(4614),o=n(7487),a=n(5735);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(l.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},9947:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(4614),o=n(7487),a=n(5735);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},2469:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>m});var r=n(4614),o=n(7274),a=n(8514),i=n(3366),l=n(7487);function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(4859),u=n(5735);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,c.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const u=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:i})),[e,n,u,i])}function f(e){let{children:t}=e;const n=p();return(0,u.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},7274:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>c,n2:()=>l});var r=n(4614),o=n(7487),a=n(5735);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,l]=a,s=(0,o.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},6411:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,t:()=>a});var r=n(4614);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},8514:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(4614),o=n(7591);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(){const[e,t]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){t(function(){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?a.desktop:a.mobile}())}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},8349:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},9557:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},2039:(e,t,n)=>{"use strict";n.d(t,{LM:()=>f,_F:()=>g,cE:()=>p,SN:()=>E,lO:()=>w,vY:()=>S,oz:()=>x,s1:()=>k,f:()=>y});var r=n(4614),o=n(3366),a=n(9048),i=n(3532),l=n(4528),s=n(9947),c=n(9550);function u(e){return Array.from(new Set(e))}var d=n(2213);const p=!!i._r;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function b(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||g(e,t);default:return!1}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function k(){const e=(0,c.V)(),{pathname:t}=(0,o.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function w(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>u([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,o.LX)(n.pathname,e)));if(!l)return null;const c=l.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.H)(i),sidebarName:c,sidebarItems:u}}},5839:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>m});var r=n(4614),o=n(7475),a=n(10),i=n(506);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(5827),c=n(8314);var u=n(5735);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const l=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=o?d(o,{absolute:!0}):void 0;return(0,u.jsxs)(a.Z,{children:[t&&(0,u.jsx)("title",{children:l}),t&&(0,u.jsx)("meta",{property:"og:title",content:l}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,o.Z)(i,t);return(0,u.jsxs)(p.Provider,{value:l,children:[(0,u.jsx)(a.Z,{children:(0,u.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,o.Z)(r,a),children:t})}},7487:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>u,Ql:()=>c,i6:()=>s,zX:()=>i});var r=n(4614),o=n(4933),a=n(5735);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},2213:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(4614),o=n(3423),a=n(8314);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.Z,baseUrl:e})),[e])}},806:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>c,RF:()=>p});var r=n(4614),o=n(7591),a=n(7992),i=(n(4933),n(7487)),l=n(5735);const s=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(s.Provider,{value:n,children:t})}function u(){const e=(0,r.useContext)(s);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},5930:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>o});n(8314);const r="default";function o(e,t){return`docs-${e}-${t}`}},7343:(e,t,n)=>{"use strict";n.d(t,{WA:()=>s});n(4614);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=a(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},430:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(8314),o=n(3366),a=n(7930);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,o.TH)(),c=(0,a.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),u=l===i?e:e.replace(`/${l}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},9008:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(4614),o=n(3366),a=n(7487);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},4859:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(8314);function o(){return(0,r.Z)().siteConfig.themeConfig}},8559:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},3400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},3394:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(8559);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(3400);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},8386:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},7930:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(776);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(8386);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},3423:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(4614);var r=n(4409),o=n.n(r),a=n(6887);const i={"0145a656":[()=>n.e(3881).then(n.bind(n,7265)),"@site/docs/react/hooks/useImageStatus.mdx",7265],"0ac9f023":[()=>n.e(7672).then(n.bind(n,4567)),"@site/docs/utils/validator/isNumber.md",4567],"114d5267":[()=>n.e(8828).then(n.bind(n,4513)),"@site/docs/utils/object/omit.md",4513],"11738f66":[()=>n.e(4949).then(n.bind(n,7496)),"@site/docs/react/hooks/useResizeObserver.mdx",7496],"13eb7aa0":[()=>n.e(8913).then(n.bind(n,5983)),"@site/docs/utils/validator/isValidEmail.md",5983],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,8374)),"@theme/DocItem",8374],"1c24dc38":[()=>n.e(3899).then(n.bind(n,662)),"@site/docs/utils/validator/isValidPhoneNumberFormat.md",662],"1df93b7f":[()=>Promise.all([n.e(532),n.e(3237)]).then(n.bind(n,9976)),"@site/src/pages/index.tsx",9976],"219c5550":[()=>n.e(4291).then(n.bind(n,7108)),"@site/docs/utils/object/objectValues.md",7108],"28b092ea":[()=>n.e(8374).then(n.t.bind(n,3769,19)),"/Users/minjae/study/modern-kit/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"2eff3e5b":[()=>n.e(4753).then(n.bind(n,1850)),"@site/docs/react/hooks/useToggle.mdx",1850],30200773:[()=>n.e(6863).then(n.bind(n,5462)),"@site/docs/utils/validator/isNullish.md",5462],"308b5f81":[()=>n.e(4580).then(n.bind(n,5900)),"@site/docs/react/hooks/useIntersectionObserver.mdx",5900],"3209f55a":[()=>n.e(4870).then(n.bind(n,8331)),"@site/docs/react/hooks/useAsyncPreservedCallback.mdx",8331],"3842c52b":[()=>n.e(8852).then(n.bind(n,6287)),"@site/docs/react/hooks/usePreservedCallback.mdx",6287],"3c17568f":[()=>n.e(8911).then(n.bind(n,5545)),"@site/docs/react/hooks/useIsMounted.mdx",5545],"3ffd14c6":[()=>n.e(2014).then(n.bind(n,9612)),"@site/docs/react/hooks/useOnClickOutside.mdx",9612],47707012:[()=>n.e(5917).then(n.bind(n,1527)),"@site/docs/utils/object/objectEntries.md",1527],"47a95eb2":[()=>n.e(410).then(n.bind(n,8989)),"@site/docs/react/components/DebounceWrapper.mdx",8989],"4fcbd706":[()=>n.e(1698).then(n.bind(n,8710)),"@site/docs/utils/string/repeatCharacters.md",8710],"52083c08":[()=>n.e(259).then(n.bind(n,1145)),"@site/docs/utils/common/deepCopy.md",1145],"525bfb2e":[()=>n.e(2917).then(n.bind(n,930)),"@site/docs/utils/common/getViewportSize.md",930],"53f54fd5":[()=>n.e(3883).then(n.bind(n,9470)),"@site/docs/utils/common/abRandom.md",9470],"54102c04":[()=>n.e(2269).then(n.bind(n,7348)),"@site/docs/react/components/LazyImage.mdx",7348],"5c9b0204":[()=>n.e(6331).then(n.bind(n,9815)),"@site/docs/utils/object/pick.md",9815],"5cdabd8b":[()=>n.e(8640).then(n.bind(n,4719)),"@site/docs/utils/string/removeSpecialCharacters.md",4719],"5d610355":[()=>n.e(1958).then(n.bind(n,1098)),"@site/docs/react/hooks/useInterval.mdx",1098],"5e95c892":[()=>n.e(9661).then(n.bind(n,4710)),"@theme/DocsRoot",4710],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"61a35b61":[()=>n.e(9034).then(n.bind(n,4320)),"@site/docs/react/hooks/useMediaQuery.mdx",4320],"61f7a55d":[()=>n.e(8953).then(n.bind(n,8099)),"@site/docs/react/hooks/useWindowScrollTo.mdx",8099],"634f3e62":[()=>n.e(713).then(n.t.bind(n,5745,19)),"/Users/minjae/study/modern-kit/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"67c089fb":[()=>n.e(3776).then(n.bind(n,5008)),"@site/docs/react/hooks/useDebounce.mdx",5008],"6b7ba1c1":[()=>n.e(4583).then(n.bind(n,2520)),"@site/docs/utils/common/hexToRgba.md",2520],"6bd54dd6":[()=>n.e(4168).then(n.bind(n,9075)),"@site/docs/react/hooks/useVisibilityChange.mdx",9075],"6dde689d":[()=>n.e(3030).then(n.bind(n,1777)),"@site/docs/react/hooks/useTimeout.mdx",1777],"73aec3a2":[()=>n.e(937).then(n.bind(n,7803)),"@site/docs/utils/string/formatNumberWithCommas.md",7803],"764f42b2":[()=>n.e(5497).then(n.bind(n,2251)),"@site/docs/react/hooks/useMergeRefs.mdx",2251],"7d279fec":[()=>n.e(7647).then(n.bind(n,7725)),"@site/docs/react/hooks/useForceUpdate.mdx",7725],84604114:[()=>n.e(2311).then(n.bind(n,7403)),"@site/docs/utils/validator/hasProperty.md",7403],"8797c936":[()=>n.e(9247).then(n.bind(n,6040)),"@site/docs/utils/device/isMobile.md",6040],"90aeac69":[()=>n.e(4017).then(n.bind(n,1609)),"@site/docs/react/hooks/usePreservedState.mdx",1609],"90f5246c":[()=>n.e(2386).then(n.bind(n,2411)),"@site/docs/utils/object/deleteEmptyProperties.md",2411],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"993de3e1":[()=>n.e(3385).then(n.bind(n,126)),"@site/docs/introduce/Introduce.md",126],"9be130a4":[()=>n.e(5337).then(n.bind(n,4584)),"@site/docs/react/hooks/usePrevious.mdx",4584],"9e9c0b32":[()=>n.e(7167).then(n.bind(n,3162)),"@site/docs/utils/validator/isFuntion.md",3162],"9ea35591":[()=>n.e(5539).then(n.bind(n,7734)),"@site/docs/utils/validator/isNotNullish.md",7734],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8230)),"@theme/DocVersionRoot",8230],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,8438)),"@theme/DocRoot",8438],abb91cfa:[()=>n.e(3980).then(n.bind(n,4432)),"@site/docs/utils/string/formatPhoneNumber.md",4432],ad000c78:[()=>n.e(9128).then(n.bind(n,2658)),"@site/docs/utils/device/isClient.md",2658],b35b1276:[()=>n.e(1813).then(n.bind(n,6754)),"@site/docs/react/components/When.mdx",6754],b3bf5b56:[()=>n.e(1175).then(n.bind(n,6627)),"@site/docs/react/hooks/useWindowSize.mdx",6627],b7504c90:[()=>n.e(6911).then(n.bind(n,369)),"@site/docs/utils/string/countSubstringOccurrences.md",369],bac0f70c:[()=>n.e(7893).then(n.bind(n,1704)),"@site/docs/utils/string/extractNumber.md",1704],bf0dbc92:[()=>n.e(8067).then(n.bind(n,6037)),"@site/docs/react/components/InView.mdx",6037],cbca3a13:[()=>n.e(2777).then(n.bind(n,205)),"@site/docs/utils/common/getUniqTime.md",205],cdcab0ad:[()=>n.e(3470).then(n.bind(n,6910)),"@site/docs/react/components/Portal.mdx",6910],d272ecc5:[()=>n.e(5380).then(n.bind(n,8614)),"@site/docs/utils/object/objectKeys.md",8614],d5af7a66:[()=>n.e(6002).then(n.bind(n,3801)),"@site/docs/utils/device/isSever.md",3801],dbd15680:[()=>n.e(7515).then(n.bind(n,6672)),"@site/docs/utils/common/noop.md",6672],dbf68f77:[()=>n.e(8862).then(n.bind(n,3440)),"@site/docs/react/hooks/useIsomorphicLayoutEffect.mdx",3440],e72e489d:[()=>n.e(5418).then(n.bind(n,6210)),"@site/docs/utils/common/asyncNoop.md",6210],eabfdb13:[()=>n.e(2627).then(n.bind(n,479)),"@site/docs/react/hooks/useUnmount.mdx",479],ee418e94:[()=>n.e(4142).then(n.bind(n,1688)),"@site/docs/utils/device/getOS.md",1688],f6dc8c23:[()=>n.e(324).then(n.bind(n,1447)),"@site/docs/utils/object/mergeProperties.md",1447],f717749c:[()=>n.e(8442).then(n.bind(n,979)),"@site/docs/utils/common/getUniqId.md",979],fa6a5d39:[()=>n.e(1900).then(n.bind(n,548)),"@site/docs/utils/common/wrapInArray.md",548],ff56c94b:[()=>n.e(5666).then(n.bind(n,9391)),"@site/docs/utils/common/deepEqual.md",9391]};var l=n(5735);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9688),u=n(506);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(218).then(n.bind(n,218)),modules:["@theme/NotFound"],webpack:()=>[218],render(e,t){const n=e.default;return(0,l.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],m=(0,c.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,l.jsx)(u.z,{value:i,children:(0,l.jsx)(a,{...o,...n})})}})}const p=[{path:"/modern-kit/docs",component:d("/modern-kit/docs","8ff"),routes:[{path:"/modern-kit/docs",component:d("/modern-kit/docs","12c"),routes:[{path:"/modern-kit/docs",component:d("/modern-kit/docs","4c6"),routes:[{path:"/modern-kit/docs/introduce/",component:d("/modern-kit/docs/introduce/","d8a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/DebounceWrapper",component:d("/modern-kit/docs/react/components/DebounceWrapper","822"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/InView",component:d("/modern-kit/docs/react/components/InView","e57"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/LazyImage",component:d("/modern-kit/docs/react/components/LazyImage","1b0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/Portal",component:d("/modern-kit/docs/react/components/Portal","ad9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/When",component:d("/modern-kit/docs/react/components/When","575"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback",component:d("/modern-kit/docs/react/hooks/useAsyncPreservedCallback","33d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useDebounce",component:d("/modern-kit/docs/react/hooks/useDebounce","60a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useForceUpdate",component:d("/modern-kit/docs/react/hooks/useForceUpdate","d01"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useImageStatus",component:d("/modern-kit/docs/react/hooks/useImageStatus","078"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIntersectionObserver",component:d("/modern-kit/docs/react/hooks/useIntersectionObserver","a27"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useInterval",component:d("/modern-kit/docs/react/hooks/useInterval","728"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIsMounted",component:d("/modern-kit/docs/react/hooks/useIsMounted","cb4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect",component:d("/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect","9aa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useMediaQuery",component:d("/modern-kit/docs/react/hooks/useMediaQuery","452"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useMergeRefs",component:d("/modern-kit/docs/react/hooks/useMergeRefs","27b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useOnClickOutside",component:d("/modern-kit/docs/react/hooks/useOnClickOutside","d1a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePreservedCallback",component:d("/modern-kit/docs/react/hooks/usePreservedCallback","cd2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePreservedState",component:d("/modern-kit/docs/react/hooks/usePreservedState","65b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePrevious",component:d("/modern-kit/docs/react/hooks/usePrevious","309"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useResizeObserver",component:d("/modern-kit/docs/react/hooks/useResizeObserver","a51"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useTimeout",component:d("/modern-kit/docs/react/hooks/useTimeout","2b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useToggle",component:d("/modern-kit/docs/react/hooks/useToggle","0f0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useUnmount",component:d("/modern-kit/docs/react/hooks/useUnmount","5fe"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useVisibilityChange",component:d("/modern-kit/docs/react/hooks/useVisibilityChange","81e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useWindowScrollTo",component:d("/modern-kit/docs/react/hooks/useWindowScrollTo","87c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useWindowSize",component:d("/modern-kit/docs/react/hooks/useWindowSize","24c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/abRandom",component:d("/modern-kit/docs/utils/common/abRandom","5f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/asyncNoop",component:d("/modern-kit/docs/utils/common/asyncNoop","dce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/deepCopy",component:d("/modern-kit/docs/utils/common/deepCopy","95b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/deepEqual",component:d("/modern-kit/docs/utils/common/deepEqual","9d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getUniqId",component:d("/modern-kit/docs/utils/common/getUniqId","871"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getUniqTime",component:d("/modern-kit/docs/utils/common/getUniqTime","cbb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getViewportSize",component:d("/modern-kit/docs/utils/common/getViewportSize","006"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/hexToRgba",component:d("/modern-kit/docs/utils/common/hexToRgba","d4b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/noop",component:d("/modern-kit/docs/utils/common/noop","9ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/wrapInArray",component:d("/modern-kit/docs/utils/common/wrapInArray","8cd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/getOS",component:d("/modern-kit/docs/utils/device/getOS","4a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isClient",component:d("/modern-kit/docs/utils/device/isClient","794"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isMobile",component:d("/modern-kit/docs/utils/device/isMobile","24d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isSever",component:d("/modern-kit/docs/utils/device/isSever","013"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/deleteEmptyProperties",component:d("/modern-kit/docs/utils/object/deleteEmptyProperties","7e9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/mergeProperties",component:d("/modern-kit/docs/utils/object/mergeProperties","0c7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectEntries",component:d("/modern-kit/docs/utils/object/objectEntries","355"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectKeys",component:d("/modern-kit/docs/utils/object/objectKeys","277"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectValues",component:d("/modern-kit/docs/utils/object/objectValues","628"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/omit",component:d("/modern-kit/docs/utils/object/omit","aa7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/pick",component:d("/modern-kit/docs/utils/object/pick","c49"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/countSubstringOccurrences",component:d("/modern-kit/docs/utils/string/countSubstringOccurrences","b5d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/extractNumber",component:d("/modern-kit/docs/utils/string/extractNumber","1f8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/formatNumberWithCommas",component:d("/modern-kit/docs/utils/string/formatNumberWithCommas","573"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/formatPhoneNumber",component:d("/modern-kit/docs/utils/string/formatPhoneNumber","0da"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/removeSpecialCharacters",component:d("/modern-kit/docs/utils/string/removeSpecialCharacters","c7b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/repeatCharacters",component:d("/modern-kit/docs/utils/string/repeatCharacters","93b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/hasProperty",component:d("/modern-kit/docs/utils/validator/hasProperty","37d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isFuntion",component:d("/modern-kit/docs/utils/validator/isFuntion","efe"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNotNullish",component:d("/modern-kit/docs/utils/validator/isNotNullish","8bf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNullish",component:d("/modern-kit/docs/utils/validator/isNullish","33e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNumber",component:d("/modern-kit/docs/utils/validator/isNumber","d20"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isValidEmail",component:d("/modern-kit/docs/utils/validator/isValidEmail","9d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat",component:d("/modern-kit/docs/utils/validator/isValidPhoneNumberFormat","246"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/modern-kit/",component:d("/modern-kit/","f57"),exact:!0},{path:"*",component:d("*")}]},1015:(e,t,n)=>{"use strict";n.r(t)},8867:(e,t,n)=>{"use strict";n.r(t)},4761:(e,t,n)=>{"use strict";var r=n(4614),o=n(625);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,F=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var o=c.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function U(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case N:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var be=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=ko(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function je(e,t){return e(t)}function Ne(){}var Ae=!1;function Pe(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return je(e,t,n)}finally{Ae=!1,(null!==Se||null!==Ee)&&(Ne(),Te())}}function Le(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Re=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ue){Re=!1}function Ie(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var De=!1,Fe=null,Me=!1,ze=null,Be={onError:function(e){De=!0,Fe=e}};function Ue(e,t,n,r,o,a,i,l,s){De=!1,Fe=null,Ie.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(a(188))}function Ze(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return He(o),e;if(i===r)return He(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function kt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,xt,St,Et,Ct,_t=!1,Tt=[],jt=null,Nt=null,At=null,Pt=new Map,Lt=new Map,Rt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":Nt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lt.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=ko(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=vo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ko(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ke=r,n.target.dispatchEvent(r),ke=null,t.shift()}return!0}function zt(e,t,n){Mt(e)&&n.delete(t)}function Bt(){_t=!1,null!==jt&&Mt(jt)&&(jt=null),null!==Nt&&Mt(Nt)&&(Nt=null),null!==At&&Mt(At)&&(At=null),Pt.forEach(zt),Lt.forEach(zt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&Ut(jt,e),null!==Nt&&Ut(Nt,e),null!==At&&Ut(At,e),Pt.forEach(t),Lt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Rt.shift()}var qt=k.ReactCurrentBatchConfig,Ht=!0;function Zt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Vt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Wt(e,t,n,r){if(Ht){var o=Qt(e,t,n,r);if(null===o)Hr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jt=Dt(jt,e,t,n,r,o),!0;case"dragenter":return Nt=Dt(Nt,e,t,n,r,o),!0;case"mouseover":return At=Dt(At,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Pt.set(a,Dt(Pt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Lt.set(a,Dt(Lt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var a=ko(o);if(null!==a&&wt(a),null===(a=Qt(e,t,n,r))&&Hr(e,t,r,Gt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Gt=null;function Qt(e,t,n,r){if(Gt=null,null!==(e=vo(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=F({},cn,{view:0,detail:0}),pn=on(dn),fn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=on(fn),hn=on(F({},fn,{dataTransfer:0})),gn=on(F({},dn,{relatedTarget:0})),bn=on(F({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(yn),kn=on(F({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var _n=F({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(_n),jn=on(F({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),An=on(F({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=F({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=on(Pn),Rn=[9,13,27,32],On=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Dn=u&&"TextEvent"in window&&!In,Fn=u&&(!On||In&&8<In&&11>=In),Mn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){_e(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Gn(e){Mr(e,0)}function Qn(e){if(W(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Wn=Vn=null)}function nr(e){if("value"===e.propertyName&&Qn(Wn)){var t=[];Zn(t,Wn,e,we(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Wn)}function ar(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ur(n,a);var i=ur(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,yr=null,vr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==G(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),jr=Cr("animationstart"),Nr=Cr("transitionend"),Ar=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){Ar.set(e,t),s(t,[e])}for(var Rr=0;Rr<Pr.length;Rr++){var Or=Pr[Rr];Lr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Lr(_r,"onAnimationEnd"),Lr(Tr,"onAnimationIteration"),Lr(jr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Nr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,s,c){if(Ue.apply(this,arguments),De){if(!De)throw Error(a(198));var u=Fe;De=!1,Fe=null,Me||(Me=!0,ze=u)}}(r,t,void 0,e),e.currentTarget=null}function Mr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Fr(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Fr(o,l,c),a=s}}}if(Me)throw e=ze,Me=!1,ze=null,e}function zr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Kt(t)){case 1:var o=Zt;break;case 4:o=Vt;break;default:o=Wt}n=o.bind(null,t,n,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=vo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Pe((function(){var r=a,o=we(n),i=[];e:{var l=Ar.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":c="focus",s=gn;break;case"focusout":c="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Nn;break;case _r:case Tr:case jr:s=bn;break;case Nr:s=An;break;case"scroll":s=pn;break;case"wheel":s=Ln;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=jn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Le(m,p))&&u.push(Zr(m,h,f)))),d)break;m=m.return}0<u.length&&(l=new s(l,c,null,n,o),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ke||!(c=n.relatedTarget||n.fromElement)||!vo(c)&&!c[ho])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?vo(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=jn,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==s?l:wo(s),f=null==c?l:wo(c),(l=new u(h,m+"leave",s,n,o)).target=d,l.relatedTarget=f,h=null,vo(o)===r&&((u=new u(p,m+"enter",c,n,o)).target=f,u.relatedTarget=d,h=u),d=h,s&&c)e:{for(p=c,m=0,f=u=s;f;f=Wr(f))m++;for(f=0,h=p;h;h=Wr(h))f++;for(;0<m-f;)u=Wr(u),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=Wr(u),p=Wr(p)}u=null}else u=null;null!==s&&Gr(i,l,s,u,!1),null!==c&&null!==d&&Gr(i,d,c,u,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Kn;else if(Hn(l))if(Yn)g=ir;else{g=or;var b=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ar);switch(g&&(g=g(e,r))?Zn(i,g,n,o):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ee(l,"number",l.value)),b=r?wo(r):window,e){case"focusin":(Hn(b)||"true"===b.contentEditable)&&(gr=b,br=r,yr=null);break;case"focusout":yr=br=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,kr(i,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":kr(i,n,o)}var y;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Fn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(y=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,$n=!0)),0<(b=Vr(r,v)).length&&(v=new kn(v,e,null,n,o),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=Un(n))&&(v.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(zn=!0,Mn);case"textInput":return(e=t.data)===Mn&&zn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Mr(i,t)}))}function Zr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Le(e,n))&&r.unshift(Zr(e,a,o)),null!=(a=Le(e,t))&&r.push(Zr(e,a,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Le(n,a))&&i.unshift(Zr(n,s,l)):o||null!=(s=Le(n,a))&&i.push(Zr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,mo="__reactProps$"+po,ho="__reactContainer$"+po,go="__reactEvents$"+po,bo="__reactListeners$"+po,yo="__reactHandles$"+po;function vo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ho]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function ko(e){return!(e=e[fo]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[mo]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function To(e,t){Eo++,So[Eo]=e.current,e.current=t}var jo={},No=Co(jo),Ao=Co(!1),Po=jo;function Lo(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ro(e){return null!=(e=e.childContextTypes)}function Oo(){_o(Ao),_o(No)}function Io(e,t,n){if(No.current!==jo)throw Error(a(168));To(No,t),To(Ao,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Po=No.current,To(No,e),To(Ao,Ao.current),!0}function Mo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,_o(Ao),_o(No),To(No,e)):_o(Ao),To(Ao,n)}var zo=null,Bo=!1,Uo=!1;function $o(e){null===zo?zo=[e]:zo.push(e)}function qo(){if(!Uo&&null!==zo){Uo=!0;var e=0,t=vt;try{var n=zo;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zo=null,Bo=!1}catch(o){throw null!==zo&&(zo=zo.slice(e+1)),We(Je,qo),o}finally{vt=t,Uo=!1}}return null}var Ho=[],Zo=0,Vo=null,Wo=0,Go=[],Qo=0,Ko=null,Yo=1,Xo="";function Jo(e,t){Ho[Zo++]=Wo,Ho[Zo++]=Vo,Vo=e,Wo=t}function ea(e,t,n){Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Ko,Ko=e;var r=Yo;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Yo=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Vo;)Vo=Ho[--Zo],Ho[Zo]=null,Wo=Ho[--Zo],Ho[Zo]=null;for(;e===Ko;)Ko=Go[--Qo],Go[Qo]=null,Xo=Go[--Qo],Go[Qo]=null,Yo=Go[--Qo],Go[Qo]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Lc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ua(e){if(aa){var t=oa;if(t){var n=t;if(!sa(e,t)){if(ca(e))throw Error(a(418));t=co(n.nextSibling);var r=ra;t&&sa(e,t)?la(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ca(e))throw fa(),Error(a(418));for(;t;)la(e,t),t=co(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function ma(){oa=ra=null,aa=!1}function ha(e){null===ia?ia=[e]:ia.push(e)}var ga=k.ReactCurrentBatchConfig;function ba(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=Co(null),va=null,ka=null,wa=null;function xa(){wa=ka=va=null}function Sa(e){var t=ya.current;_o(ya),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){va=e,wa=ka=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(kl=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:t,next:null},null===ka){if(null===va)throw Error(a(308));ka=e,va.dependencies={lanes:0,firstContext:e}}else ka=ka.next=e;return t}var Ta=null;function ja(e){null===Ta?Ta=[e]:Ta.push(e)}function Na(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ja(t)):(n.next=o.next,o.next=n),t.interleaved=n,Aa(e,r)}function Aa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pa=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ns)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Aa(e,n)}return null===(o=r.interleaved)?(t.next=t,ja(r)):(t.next=o.next,o.next=t),r.interleaved=t,Aa(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Fa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ma(e,t,n,r){var o=e.updateQueue;Pa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=F({},d,p);break e;case 2:Pa=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Fs|=i,e.lanes=i,e.memoizedState=d}}function za(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $a={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Oa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Oa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Oa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ia(e,o,r))&&(rc(t,e,r,n),Da(t,e,r))}};function qa(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function Ha(e,t,n){var r=!1,o=jo,a=t.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=Ro(t)?Po:No.current,a=(r=null!=(r=t.contextTypes))?Lo(e,o):jo),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$a,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Za(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$a.enqueueReplaceState(t,t.state,null)}function Va(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,La(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=Ro(t)?Po:No.current,o.context=Lo(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$a.enqueueReplaceState(o,o.state,null),Ma(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Wa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ga(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qa(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Oc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===L&&Qa(a)===t.type)?((r=o(t,n.props)).ref=Wa(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=Wa(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=Wa(e,null,t),n.return=e,n;case x:return(t=zc(t,e.mode,n)).return=e,t;case L:return p(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Dc(t,e.mode,n,null)).return=e,t;Ga(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case x:return n.key===o?u(e,t,n,r):null;case L:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Ga(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case L:return m(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Ga(t,r)}return null}function h(o,a,l,s){for(var c=null,u=null,d=a,h=a=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(o,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(o,d),a=i(b,a,h),null===u?c=b:u.sibling=b,u=b,d=g}if(h===l.length)return n(o,d),aa&&Jo(o,h),c;if(null===d){for(;h<l.length;h++)null!==(d=p(o,l[h],s))&&(a=i(d,a,h),null===u?c=d:u.sibling=d,u=d);return aa&&Jo(o,h),c}for(d=r(o,d);h<l.length;h++)null!==(g=m(d,o,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),a=i(g,a,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,h),c}function g(o,l,s,c){var u=I(s);if("function"!=typeof u)throw Error(a(150));if(null==(s=u.call(s)))throw Error(a(151));for(var d=u=null,h=l,g=l=0,b=null,y=s.next();null!==h&&!y.done;g++,y=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var v=f(o,h,y.value,c);if(null===v){null===h&&(h=b);break}e&&h&&null===v.alternate&&t(o,h),l=i(v,l,g),null===d?u=v:d.sibling=v,d=v,h=b}if(y.done)return n(o,h),aa&&Jo(o,g),u;if(null===h){for(;!y.done;g++,y=s.next())null!==(y=p(o,y.value,c))&&(l=i(y,l,g),null===d?u=y:d.sibling=y,d=y);return aa&&Jo(o,g),u}for(h=r(o,h);!y.done;g++,y=s.next())null!==(y=m(h,o,g,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),l=i(y,l,g),null===d?u=y:d.sibling=y,d=y);return e&&h.forEach((function(e){return t(o,e)})),aa&&Jo(o,g),u}return function e(r,a,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(a=o(u,i.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===L&&Qa(c)===u.type){n(r,u.sibling),(a=o(u,i.props)).ref=Wa(r,u,i),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((a=Dc(i.props.children,r.mode,s,i.key)).return=r,r=a):((s=Ic(i.type,i.key,i.props,null,r.mode,s)).ref=Wa(r,a,i),s.return=r,r=s)}return l(r);case x:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=zc(i,r.mode,s)).return=r,r=a}return l(r);case L:return e(r,a,(u=i._init)(i._payload),s)}if(te(i))return h(r,a,i,s);if(I(i))return g(r,a,i,s);Ga(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Mc(i,r.mode,s)).return=r,r=a),l(r)):n(r,a)}}var Ya=Ka(!0),Xa=Ka(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(To(ni,t),To(ti,e),To(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),To(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(To(ti,e),To(ei,n))}function li(e){ti.current===e&&(_o(ei),_o(ti))}var si=Co(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var pi=k.ReactCurrentDispatcher,fi=k.ReactCurrentBatchConfig,mi=0,hi=null,gi=null,bi=null,yi=!1,vi=!1,ki=0,wi=0;function xi(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(mi=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),vi){i=0;do{if(vi=!1,ki=0,25<=i)throw Error(a(301));i+=1,bi=gi=null,t.updateQueue=null,pi.current=cl,e=n(r,o)}while(vi)}if(pi.current=il,t=null!==gi&&null!==gi.next,mi=0,bi=gi=hi=null,yi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==ki;return ki=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?hi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===gi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===bi?hi.memoizedState:bi.next;if(null!==t)bi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===bi?hi.memoizedState=bi=e:bi=bi.next=e}return bi}function ji(e,t){return"function"==typeof t?t(e):t}function Ni(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,c=null,u=i;do{var d=u.lane;if((mi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=p,l=r):c=c.next=p,hi.lanes|=d,Fs|=d}u=u.next}while(null!==u&&u!==i);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(kl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,hi.lanes|=i,Fs|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ai(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);lr(i,t.memoizedState)||(kl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Pi(){}function Li(e,t){var n=hi,r=Ti(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,kl=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,zi(9,Oi.bind(null,n,r,o,t),void 0,null),null===As)throw Error(a(349));0!=(30&mi)||Ri(n,t,o)}return o}function Ri(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Ii(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Fi(e){var t=Aa(e,1);null!==t&&rc(t,e,1,-1)}function Mi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,hi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function Ui(e,t,n,r){var o=_i();hi.flags|=e,o.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var o=Ti();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=zi(t,n,a,r))}hi.flags|=e,o.memoizedState=zi(1|t,n,a,r)}function qi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return $i(2048,8,e,t)}function Zi(e,t){return $i(4,2,e,t)}function Vi(e,t){return $i(4,4,e,t)}function Wi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Gi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Wi.bind(null,t,e),n)}function Qi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,kl=!0),e.memoizedState=n):(lr(n,t)||(n=ht(),hi.lanes|=n,Fs|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{vt=n,fi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Na(e,t,n,r))){rc(n,e,r,tc()),al(n,t,r)}}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,ja(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Na(e,t,o,r))&&(rc(n,e,r,o=tc()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function ol(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:_a,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Wi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Mi,useDebugValue:Qi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Mi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===As)throw Error(a(349));0!=(30&mi)||Ri(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=As.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=ki++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Gi,useInsertionEffect:Zi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Ni,useRef:Bi,useState:function(){return Ni(ji)},useDebugValue:Qi,useDeferredValue:function(e){return Xi(Ti(),gi.memoizedState,e)},useTransition:function(){return[Ni(ji)[0],Ti().memoizedState]},useMutableSource:Pi,useSyncExternalStore:Li,useId:el,unstable_isNewReconciler:!1},cl={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Gi,useInsertionEffect:Zi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Ai,useRef:Bi,useState:function(){return Ai(ji)},useDebugValue:Qi,useDeferredValue:function(e){var t=Ti();return null===gi?t.memoizedState=e:Xi(t,gi.memoizedState,e)},useTransition:function(){return[Ai(ji)[0],Ti().memoizedState]},useMutableSource:Pi,useSyncExternalStore:Li,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zs||(Zs=!0,Vs=r),pl(0,t)},n}function hl(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Ws?Ws=new Set([this]):Ws.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function bl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Ia(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vl=k.ReactCurrentOwner,kl=!1;function wl(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ya(t,e.child,n,r)}function xl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||kl?(aa&&n&&ta(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Rc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Zl(e,t,o)}return t.flags|=1,(e=Oc(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(kl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Zl(e,t,o);0!=(131072&e.flags)&&(kl=!0)}}return Tl(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Os,Rs),Rs|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Os,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,To(Os,Rs),Rs|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,To(Os,Rs),Rs|=r;return wl(e,t,o,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,o){var a=Ro(n)?Po:No.current;return a=Lo(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||kl?(aa&&r&&ta(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function jl(e,t,n,r,o){if(Ro(n)){var a=!0;Fo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hl(e,t),Ha(t,n,r),Va(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=_a(c):c=Lo(t,c=Ro(n)?Po:No.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&Za(t,i,r,c),Pa=!1;var p=t.memoizedState;i.state=p,Ma(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Ao.current||Pa?("function"==typeof u&&(Ua(t,n,u,r),s=t.memoizedState),(l=Pa||qa(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ra(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ba(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=_a(s):s=Lo(t,s=Ro(n)?Po:No.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Za(t,i,r,s),Pa=!1,p=t.memoizedState,i.state=p,Ma(t,r,i,o);var m=t.memoizedState;l!==d||p!==m||Ao.current||Pa?("function"==typeof f&&(Ua(t,n,f,r),m=t.memoizedState),(c=Pa||qa(t,n,c,r,p,m,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Nl(e,t,n,r,a,o)}function Nl(e,t,n,r,o,a){_l(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Mo(t,n,!1),Zl(e,t,a);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,l,a)):wl(e,t,l,a),t.memoizedState=r.state,o&&Mo(t,n,!0),t.child}function Al(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oi(e,t.containerInfo)}function Pl(e,t,n,r,o){return ma(),ha(o),t.flags|=256,wl(e,t,n,r),t.child}var Ll,Rl,Ol,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,o=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),To(si,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Fc(s,o,0,null),e=Dc(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Dl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Fc({mode:"visible",children:r.children},o,0,null),(i=Dc(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ya(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Dl,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(a(419)),r,void 0))}if(s=0!=(l&e.childLanes),kl||s){if(null!==(r=As)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Aa(e,o),rc(r,e,o,-1))}return gc(),Bl(e,t,l,r=dl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=jc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=co(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Ko,Yo=e.id,Xo=e.overflow,Ko=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,n);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Oc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Oc(r,l):(l=Dc(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=Oc(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function zl(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&ha(r),Ya(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function $l(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ul(e,n,t);else if(19===e.tag)Ul(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,a);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Oc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Oc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Wl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wl(t),null;case 1:case 17:return Ro(t.type)&&Oo(),Wl(t),null;case 3:return r=t.stateNode,ai(),_o(Ao),_o(No),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lc(ia),ia=null))),Rl(e,t),Wl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Ol(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Wl(t),null}if(e=ri(ei.current),pa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fo]=t,r[mo]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":oe(r,i),zr("invalid",r)}for(var s in ye(n,i),o=null,i)if(i.hasOwnProperty(s)){var c=i[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[mo]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],e);o=r;break;case"source":zr("error",e),o=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),o=r;break;case"details":zr("toggle",e),o=r;break;case"input":K(e,r),o=Q(e,r),zr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),zr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),zr("invalid",e)}for(i in ye(n,o),c=o)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=u&&"onScroll"===i&&zr("scroll",e):null!=u&&v(e,i,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Wl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),pa(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return Wl(t),null;case 13:if(_o(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))fa(),ma(),t.flags|=98560,i=!1;else if(i=pa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=t}else ma(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Wl(t),i=!1}else null!==ia&&(lc(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Is&&(Is=3):gc())),null!==t.updateQueue&&(t.flags|=4),Wl(t),null);case 4:return ai(),Rl(e,t),null===e&&$r(t.stateNode.containerInfo),Wl(t),null;case 10:return Sa(t.type._context),Wl(t),null;case 19:if(_o(si),null===(i=t.memoizedState))return Wl(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Vl(i,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ci(e))){for(t.flags|=128,Vl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>qs&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!aa)return Wl(t),null}else 2*Ye()-i.renderingStartTime>qs&&1073741824!==n&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=si.current,To(si,r?1&n|2:1&n),t):(Wl(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Rs)&&(Wl(t),6&t.subtreeFlags&&(t.flags|=8192)):Wl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ql(e,t){switch(na(t),t.tag){case 1:return Ro(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(Ao),_o(No),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_o(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(si),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rl=function(){},Ol=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),i=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&zr("scroll",e),i||s===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Yl=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cc(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Cc(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[mo],delete t[go],delete t[bo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)ms(e,t,n),n=n.sibling}function ms(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Yl||es(n,t);case 6:var r=ds,o=ps;ds=null,fs(e,t,n),ps=o,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),$t(e)):so(ds,n.stateNode));break;case 4:r=ds,o=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=o;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Yl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Cc(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,fs(e,t,n),Yl=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Nc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,ps=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,ps=!0;break e}s=s.return}if(null===ds)throw Error(a(160));ms(i,l,o),ds=null,ps=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Cc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bs(t,e),t=t.sibling}function bs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(g){Cc(e,e.return,g)}try{rs(5,e,e.return)}catch(g){Cc(e,e.return,g)}}break;case 1:gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(g){Cc(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(o,i),ve(s,l);var u=ve(s,i);for(l=0;l<c.length;l+=2){var d=c[l],p=c[l+1];"style"===d?ge(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):v(o,d,p,u)}switch(s){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(o,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(g){Cc(e,e.return,g)}}break;case 6:if(gs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Cc(e,e.return,g)}}break;case 3:if(gs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){Cc(e,e.return,g)}break;case 4:default:gs(t,e),ys(e);break;case 13:gs(t,e),ys(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||($s=Ye())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(u=Yl)||d,gs(t,e),Yl=u):gs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(p=Jl=d;null!==Jl;){switch(m=(f=Jl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){Cc(r,n,g)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){xs(p);continue}}null!==m?(m.return=f,Jl=m):xs(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=he("display",l))}catch(g){Cc(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){Cc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gs(t,e),ys(e),4&r&&hs(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cs(e,ss(e),i);break;default:throw Error(a(161))}}catch(l){Cc(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Jl=e,ks(e,t,n)}function ks(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var o=Jl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Kl;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Kl;var c=Yl;if(Kl=i,(Yl=s)&&!c)for(Jl=o;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Ss(o):null!==s?(s.return=i,Jl=s):Ss(o);for(;null!==a;)Jl=a,ks(a,t,n),a=a.sibling;Jl=o,Kl=l,Yl=c}ws(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Jl=a):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ba(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&za(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}za(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&$t(p)}}}break;default:throw Error(a(163))}Yl||512&t.flags&&as(t)}catch(f){Cc(t,t.return,f)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Cc(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Cc(t,o,s)}}var a=t.return;try{as(t)}catch(s){Cc(t,a,s)}break;case 5:var i=t.return;try{as(t)}catch(s){Cc(t,i,s)}}}catch(s){Cc(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,Cs=Math.ceil,_s=k.ReactCurrentDispatcher,Ts=k.ReactCurrentOwner,js=k.ReactCurrentBatchConfig,Ns=0,As=null,Ps=null,Ls=0,Rs=0,Os=Co(0),Is=0,Ds=null,Fs=0,Ms=0,zs=0,Bs=null,Us=null,$s=0,qs=1/0,Hs=null,Zs=!1,Vs=null,Ws=null,Gs=!1,Qs=null,Ks=0,Ys=0,Xs=null,Js=-1,ec=0;function tc(){return 0!=(6&Ns)?Ye():-1!==Js?Js:Js=Ye()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Ns)&&0!==Ls?Ls&-Ls:null!==ga.transition?(0===ec&&(ec=ht()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Ys)throw Ys=0,Xs=null,Error(a(185));bt(e,n,r),0!=(2&Ns)&&e===As||(e===As&&(0==(2&Ns)&&(Ms|=n),4===Is&&sc(e,Ls)),oc(e,r),1===n&&0===Ns&&0==(1&t.mode)&&(qs=Ye()+500,Bo&&qo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=pt(e,e===As?Ls:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Bo=!0,$o(e)}(cc.bind(null,e)):$o(cc.bind(null,e)),io((function(){0==(6&Ns)&&qo()})),n=null;else{switch(kt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ac(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Js=-1,ec=0,0!=(6&Ns))throw Error(a(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=pt(e,e===As?Ls:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var o=Ns;Ns|=2;var i=hc();for(As===e&&Ls===t||(Hs=null,qs=Ye()+500,fc(e,t));;)try{vc();break}catch(s){mc(e,s)}xa(),_s.current=i,Ns=o,null!==Ps?t=0:(As=null,Ls=0,t=Is)}if(0!==t){if(2===t&&(0!==(o=mt(e))&&(r=o,t=ic(e,o))),1===t)throw n=Ds,fc(e,0),sc(e,r),oc(e,Ye()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!lr(a(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=bc(e,r))&&(0!==(i=mt(e))&&(r=i,t=ic(e,i))),1===t))throw n=Ds,fc(e,0),sc(e,r),oc(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xc(e,Us,Hs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=$s+500-Ye())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Us,Hs),t);break}xc(e,Us,Hs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Us,Hs),r);break}xc(e,Us,Hs);break;default:throw Error(a(329))}}}return oc(e,Ye()),e.callbackNode===n?ac.bind(null,e):null}function ic(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Us,Us=n,null!==t&&lc(t)),e}function lc(e){null===Us?Us=e:Us.push.apply(Us,e)}function sc(e,t){for(t&=~zs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Ns))throw Error(a(327));Sc();var t=pt(e,0);if(0==(1&t))return oc(e,Ye()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Ds,fc(e,0),sc(e,t),oc(e,Ye()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Us,Hs),oc(e,Ye()),null}function uc(e,t){var n=Ns;Ns|=1;try{return e(t)}finally{0===(Ns=n)&&(qs=Ye()+500,Bo&&qo())}}function dc(e){null!==Qs&&0===Qs.tag&&0==(6&Ns)&&Sc();var t=Ns;Ns|=1;var n=js.transition,r=vt;try{if(js.transition=null,vt=1,e)return e()}finally{vt=r,js.transition=n,0==(6&(Ns=t))&&qo()}}function pc(){Rs=Os.current,_o(Os)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ps)for(n=Ps.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ai(),_o(Ao),_o(No),di();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:_o(si);break;case 10:Sa(r.type._context);break;case 22:case 23:pc()}n=n.return}if(As=e,Ps=e=Oc(e.current,null),Ls=Rs=t,Is=0,Ds=null,zs=Ms=Fs=0,Us=Bs=null,null!==Ta){for(t=0;t<Ta.length;t++)if(null!==(r=(n=Ta[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ta=null}return e}function mc(e,t){for(;;){var n=Ps;try{if(xa(),pi.current=il,yi){for(var r=hi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}yi=!1}if(mi=0,bi=gi=hi=null,vi=!1,ki=0,Ts.current=null,null===n||null===n.return){Is=1,Ds=t,Ps=null;break}e:{var i=e,l=n.return,s=n,c=t;if(t=Ls,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=bl(l);if(null!==m){m.flags&=-257,yl(m,l,s,0,t),1&m.mode&&gl(i,u,t),c=u;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(c),t.updateQueue=g}else h.add(c);break e}if(0==(1&t)){gl(i,u,t),gc();break e}c=Error(a(426))}else if(aa&&1&s.mode){var b=bl(l);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),yl(b,l,s,0,t),ha(ul(c,s));break e}}i=c=ul(c,s),4!==Is&&(Is=2),null===Bs?Bs=[i]:Bs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fa(i,ml(0,c,t));break e;case 1:s=c;var y=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Ws||!Ws.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Fa(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(k){t=k,Ps===n&&null!==n&&(Ps=n=n.return);continue}break}}function hc(){var e=_s.current;return _s.current=il,null===e?il:e}function gc(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===As||0==(268435455&Fs)&&0==(268435455&Ms)||sc(As,Ls)}function bc(e,t){var n=Ns;Ns|=2;var r=hc();for(As===e&&Ls===t||(Hs=null,fc(e,t));;)try{yc();break}catch(o){mc(e,o)}if(xa(),Ns=n,_s.current=r,null!==Ps)throw Error(a(261));return As=null,Ls=0,Is}function yc(){for(;null!==Ps;)kc(Ps)}function vc(){for(;null!==Ps&&!Qe();)kc(Ps)}function kc(e){var t=Es(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?wc(e):Ps=t,Ts.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gl(n,t,Rs)))return void(Ps=n)}else{if(null!==(n=Ql(n,t)))return n.flags&=32767,void(Ps=n);if(null===e)return Is=6,void(Ps=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ps=t);Ps=t=e}while(null!==t);0===Is&&(Is=5)}function xc(e,t,n){var r=vt,o=js.transition;try{js.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Qs);if(0!=(6&Ns))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===As&&(Ps=As=null,Ls=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gs||(Gs=!0,Ac(tt,(function(){return Sc(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=js.transition,js.transition=null;var l=vt;vt=1;var s=Ns;Ns|=4,Ts.current=null,function(e,t){if(eo=Ht,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==r&&3!==p.nodeType||(c=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===o&&(s=l),f===i&&++d===r&&(c=l),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,b=h.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ba(t.type,g),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(a(163))}}catch(w){Cc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}h=ns,ns=!1}(e,n),bs(n,e),mr(to),Ht=!!eo,to=eo=null,e.current=n,vs(n,e,o),Ke(),Ns=s,vt=l,js.transition=i}else e.current=n;if(Gs&&(Gs=!1,Qs=e,Ks=o),i=e.pendingLanes,0===i&&(Ws=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Zs)throw Zs=!1,e=Vs,Vs=null,e;0!=(1&Ks)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Xs?Ys++:(Ys=0,Xs=e):Ys=0,qo()}(e,t,n,r)}finally{js.transition=o,vt=r}return null}function Sc(){if(null!==Qs){var e=kt(Ks),t=js.transition,n=vt;try{if(js.transition=null,vt=16>e?16:e,null===Qs)var r=!1;else{if(e=Qs,Qs=null,Ks=0,0!=(6&Ns))throw Error(a(331));var o=Ns;for(Ns|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var p=d.child;if(null!==p)p.return=d,Jl=p;else for(;null!==Jl;){var f=(d=Jl).sibling,m=d.return;if(is(d),d===u){Jl=null;break}if(null!==f){f.return=m,Jl=f;break}Jl=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Jl=y;break e}Jl=i.return}}var v=e.current;for(Jl=v;null!==Jl;){var k=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==k)k.return=l,Jl=k;else e:for(l=v;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(x){Cc(s,s.return,x)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Ns=o,qo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(x){}r=!0}return r}finally{vt=n,js.transition=t}}return!1}function Ec(e,t,n){e=Ia(e,t=ml(0,t=ul(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),oc(e,t))}function Cc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ws||!Ws.has(r))){t=Ia(t,e=hl(t,e=ul(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),oc(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,As===e&&(Ls&n)===n&&(4===Is||3===Is&&(130023424&Ls)===Ls&&500>Ye()-$s?fc(e,0):zs|=n),oc(e,t)}function Tc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Aa(e,t))&&(bt(e,t,n),oc(e,n))}function jc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Nc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Tc(e,n)}function Ac(e,t){return We(e,t)}function Pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lc(e,t,n,r){return new Pc(e,t,n,r)}function Rc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Oc(e,t){var n=e.alternate;return null===n?((n=Lc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Rc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Dc(n.children,o,i,t);case E:l=8,o|=8;break;case C:return(e=Lc(12,n,t,2|o)).elementType=C,e.lanes=i,e;case N:return(e=Lc(13,n,t,o)).elementType=N,e.lanes=i,e;case A:return(e=Lc(19,n,t,o)).elementType=A,e.lanes=i,e;case R:return Fc(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case T:l=9;break e;case j:l=11;break e;case P:l=14;break e;case L:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Lc(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Dc(e,t,n,r){return(e=Lc(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Lc(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Mc(e,t,n){return(e=Lc(6,e,null,t)).lanes=n,e}function zc(e,t,n){return(t=Lc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,a,i,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Lc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(a),e}function $c(e){if(!e)return jo;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Do(e,n,t)}return t}function qc(e,t,n,r,o,a,i,l,s){return(e=Uc(n,r,!0,e,0,a,0,l,s)).context=$c(null),n=e.current,(a=Oa(r=tc(),o=nc(n))).callback=null!=t?t:null,Ia(n,a,o),e.current.lanes=o,bt(e,o,r),oc(e,r),e}function Hc(e,t,n,r){var o=t.current,a=tc(),i=nc(o);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ia(o,t,i))&&(rc(e,o,i,a),Da(e,o,i)),i}function Zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ao.current)kl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return kl=!1,function(e,t,n){switch(t.tag){case 3:Al(t),ma();break;case 5:ii(t);break;case 1:Ro(t.type)&&Fo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ml(e,t,n):(To(si,1&si.current),null!==(e=Zl(e,t,n))?e.sibling:null);To(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ql(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Zl(e,t,n)}(e,t,n);kl=0!=(131072&e.flags)}else kl=!1,aa&&0!=(1048576&t.flags)&&ea(t,Wo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var o=Lo(t,No.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(i=!0,Fo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,La(t),o.updater=$a,t.stateNode=o,o._reactInternals=t,Va(t,r,e,n),t=Nl(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Rc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===P)return 14}return 2}(r),e=ba(r,e),o){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=jl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,ba(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Tl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 1:return r=t.type,o=t.pendingProps,jl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 3:e:{if(Al(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Ra(e,t),Ma(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Pl(e,t,r,n,o=ul(Error(a(423)),t));break e}if(r!==o){t=Pl(e,t,r,n,o=ul(Error(a(424)),t));break e}for(oa=co(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ma(),r===o){t=Zl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ua(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==i&&no(r,i)&&(t.flags|=32),_l(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ua(t),null;case 13:return Ml(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,To(ya,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===o.children&&!Ao.current){t=Zl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Oa(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Ea(i.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ea(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=_a(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=ba(r=t.type,t.pendingProps),Sl(e,t,r,o=ba(r.type,o),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ba(r,o),Hl(e,t),t.tag=1,Ro(r)?(e=!0,Fo(t)):e=!1,Ca(t,n),Ha(t,r,o),Va(t,r,o,n),Nl(null,t,r,!0,e,n);case 19:return ql(e,t,n);case 22:return Cl(e,t,n)}throw Error(a(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=Zc(i);l.call(e)}}Hc(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Zc(i);a.call(e)}}var i=qc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[ho]=i.current,$r(8===e.nodeType?e.parentNode:e),dc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Zc(s);l.call(e)}}var s=Uc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[ho]=s.current,$r(8===e.nodeType?e.parentNode:e),dc((function(){Hc(t,s,n,r)})),s}(n,t,e,o,r);return Zc(i)}Kc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hc(e,t,null,null)},Kc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Hc(null,e,null,null)})),t[ho]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ft(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Ye()),0==(6&Ns)&&(qs=Ye()+500,qo()))}break;case 13:dc((function(){var t=Aa(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Wc(e,1)}},xt=function(e){if(13===e.tag){var t=Aa(e,134217728);if(null!==t)rc(t,e,134217728,tc());Wc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=Aa(e,t);if(null!==n)rc(n,e,t,tc());Wc(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));W(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=uc,Ne=dc;var tu={usingClientEntryPoint:!1,Events:[ko,wo,xo,_e,Te,uc]},nu={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),at=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(a(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,o),e[ho]=t.current,$r(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=qc(t,null,e,1,null!=n?n:null,o,0,i,l),e[ho]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(a(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ho]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},2364:(e,t,n)=>{"use strict";var r=n(2832);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},2832:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4761)},9691:(e,t,n)=>{"use strict";n.d(t,{B6:()=>Z,ql:()=>J});var r=n(4614),o=n(5769),a=n.n(o),i=n(4880),l=n.n(i),s=n(5912),c=n.n(s),u=n(7063),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},k=Object.keys(g).map((function(e){return g[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},j=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var l=a[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var l=a[i],s=p({},r[l],o[l]);r[l]=s}return e}),[]).reverse()},N=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},A=function(e){return Array.isArray(e)?e.join(""):e},P=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},L=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},R=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[w[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},M=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=D(n,o),[r.createElement(g.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=I(n),a=A(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===R.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=P(e.metaTags,v),a=P(t,b),i=P(n,y);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,o.priority),F(g.LINK,a.priority),F(g.SCRIPT,i.priority))},toString:function(){return M(g.META,o.priority,r)+" "+M(g.LINK,a.priority,r)+" "+M(g.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);f=m.priorityMethods,u=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:M(g.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",o,r),link:M(g.LINK,u,r),meta:M(g.META,d,r),noscript:M(g.NOSCRIPT,a,r),script:M(g.SCRIPT,p,r),style:M(g.STYLE,i,r),title:M(g.TITLE,{title:s,titleAttributes:c},r)}},B=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),H="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=H,Z.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var u=a.indexOf(s);-1!==u&&a.splice(u,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},G=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=A(e)),W(g.TITLE,t)}(u,d);var p={baseTag:V(g.BASE,n),linkTags:V(g.LINK,o),metaTags:V(g.META,a),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,s),styleTags:V(g.STYLE,c)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},Q=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:j(g.LINK,["rel","href"],e),metaTags:j(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:j(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:j(g.SCRIPT,["src","innerHTML"],e),styleTags:j(g.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:N(e,"prioritizeSeoTags")});Z.canUseDOM?(t=a,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame((function(){G(t,(function(){Q=null}))})):(G(t),Q=null)):z&&(o=z(a)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:q.isRequired},K.displayName="HelmetDispatcher";var Y=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(L(this.props,"helmetData"),L(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},o,((t={})[r.type]=i,t.titleAttributes=p({},a),t));case g.BODY:return p({},o,{bodyAttributes:p({},a)});case g.HTML:return p({},o,{htmlAttributes:p({},a)});default:return p({},o,((n={})[r.type]=p({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(k.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+k.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=h(r,Y),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,a),s){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),o=p({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof U||(a=new U(a.context,a.instances)),a?r.createElement(K,p({},o,{context:a.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(K,p({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9048:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(3366),o=n(1038),a=n(4614);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},3208:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>u,rU:()=>g});var r=n(3366),o=n(8321),a=n(4614),i=n(4972),l=n(1038),s=n(4785),c=n(5760),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},f=function(e){return e},m=a.forwardRef;void 0===m&&(m=f);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,l.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==m&&t||n,a.createElement("a",u)}));var g=m((function(e,t){var n=e.component,o=void 0===n?h:n,u=e.replace,g=e.to,b=e.innerRef,y=(0,s.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(d(g,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},y,{href:s,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return f!==m?h.ref=t||b:h.innerRef=b,a.createElement(o,h)}))})),b=function(e){return e},y=a.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,m=e.className,h=e.exact,v=e.isActive,k=e.location,w=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=k||e.location,i=p(d(E,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:h,sensitive:w,strict:x}):null,N=!!(v?v(j,n):j),A="function"==typeof m?m(N):m,P="function"==typeof S?S(N):S;N&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,u),P=(0,l.Z)({},P,f));var L=(0,l.Z)({"aria-current":N&&o||null,className:A,style:P,to:i},_);return b!==y?L.ref=t||C:L.innerRef=C,a.createElement(g,L)}))}))},3366:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>R,k6:()=>L,rs:()=>A,s6:()=>y});var r=n(8321),o=n(4614),a=n(5769),i=n.n(a),l=n(4972),s=n(5760),c=n(1038),u=n(5761),d=n.n(u),p=(n(9117),n(4785)),f=(n(3431),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=o.createContext||function(e,t){var n,a,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},o.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},o.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},o.getValue=function(){return this.context[l]?this.context[l].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return c.contextTypes=((a={})[l]=i().object,a),{Provider:s,Consumer:c}},g=function(e){var t=h();return t.displayName=e,t},b=g("Router-History"),y=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var k={},w=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,l=void 0!==i&&i,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var o=[],a={regexp:d()(e,o,t),keys:o};return x<w&&(r[e]=a,x++),a}(n,{end:a,strict:l,sensitive:c}),o=r.regexp,i=r.keys,s=o.exec(e);if(!s)return null;var u=s[0],p=s.slice(1),f=e===u;return a&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,a=(0,c.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,u=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===o.Children.count(e)}(l)&&(l=null),o.createElement(y.Provider,{value:a},a.match?l?"function"==typeof l?l(a):l:u?o.createElement(u,a):d?d(a):null:"function"==typeof l?l(a):null)}))},t}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function j(e){return function(){(0,s.Z)(!1)}}function N(){}o.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,c.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);var P=o.useContext;function L(){return P(b)}function R(){return P(y).location}},7475:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}n.d(t,{Z:()=>o});const o=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},4972:(e,t,n)=>{"use strict";n.d(t,{lX:()=>k,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=n(1038);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),s=t&&o(t),c=l||s;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(5760);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,k=void 0!==c&&c,w=i.getUserConfirmation,x=void 0===w?g:w,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=u(a,C)),f(a,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var j=m();function N(e){(0,r.Z)(U,e),U.length=n.length,j.notifyListeners(U.location,U.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||R(_(e.state))}function P(){R(_(v()))}var L=!1;function R(e){if(L)L=!1,N();else{j.confirmTransitionTo(e,"POP",x,(function(t){t?N({action:"POP",location:e}):function(e){var t=U.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(L=!0,F(o))}(e)}))}}var O=_(v()),I=[O.key];function D(e){return C+p(e)}function F(e){n.go(e)}var M=0;function z(e){1===(M+=e)&&1===e?(window.addEventListener(b,A),a&&window.addEventListener(y,P)):0===M&&(window.removeEventListener(b,A),a&&window.removeEventListener(y,P))}var B=!1;var U={length:n.length,action:"POP",location:O,createHref:D,push:function(e,t){var r="PUSH",a=f(e,t,T(),U.location);j.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),k)window.location.href=t;else{var s=I.indexOf(U.location.key),c=I.slice(0,s+1);c.push(a.key),I=c,N({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,T(),U.location);j.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),k)window.location.replace(t);else{var s=I.indexOf(U.location.key);-1!==s&&(I[s]=a.key),N({action:r,location:a})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}}};return U}var w="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?g:o,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(s(e.basename)):"",y=x[c],v=y.encodePath,k=y.decodePath;function _(){var e=k(E());return b&&(e=u(e,b)),f(e)}var T=m();function j(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var N=!1,A=null;function P(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var o=_(),i=B.location;if(!N&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===p(o))return;A=null,function(e){if(N)N=!1,j();else{var t="POP";T.confirmTransitionTo(e,t,a,(function(n){n?j({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(p(t));-1===n&&(n=0);var r=I.lastIndexOf(p(e));-1===r&&(r=0);var o=n-r;o&&(N=!0,D(o))}(e)}))}}(o)}}var L=E(),R=v(L);L!==R&&C(R);var O=_(),I=[p(O)];function D(e){t.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?window.addEventListener(w,P):0===F&&window.removeEventListener(w,P)}var z=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=p(r),o=v(b+t);if(E()!==o){A=t,function(e){window.location.hash=e}(o);var a=I.lastIndexOf(p(B.location)),i=I.slice(0,a+1);i.push(t),I=i,j({action:n,location:r})}else j()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=p(r),o=v(b+t);E()!==o&&(A=t,C(o));var a=I.indexOf(p(B.location));-1!==a&&(I[a]=t),j({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=T.appendListener(e);return M(1),function(){M(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,c=void 0===s?6:s,u=m();function d(e){(0,r.Z)(k,e),k.length=k.entries.length,u.notifyListeners(k.location,k.action)}function h(){return Math.random().toString(36).substr(2,c)}var g=T(l,0,a.length-1),b=a.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),y=p;function v(e){var t=T(k.index+e,0,k.entries.length-1),r=k.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var k={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:y,push:function(e,t){var r="PUSH",o=f(e,t,h(),k.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=k.index+1,n=k.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,h(),k.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(k.entries[k.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=k.index+e;return t>=0&&t<k.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return k}},3431:(e,t,n)=>{"use strict";var r=n(9117),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var b=i[g];if(!(a[b]||r&&r[b]||h&&h[b]||l&&l[b])){var y=p(n,b);try{c(t,b,y)}catch(v){}}}}return t}},5912:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},2973:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2602:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,i(e,u,d)),1===e?(s(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){s(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),l=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},5761:(e,t,n)=>{var r=n(2973);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return l(a(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],y=n[5],v=n[6],k=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||u,C=b||y;r.push({name:g||a++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:w,asterisk:!!k,pattern:C?c(C):k?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var a="",l=t||{},s=(o||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=l[u.name];if(null==p){if(u.optional){u.partial&&(a+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');a+=u.prefix+d}}else a+=u}return a}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)i+=s(c);else{var p=s(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return o||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=a?"$":o&&h?"":"(?="+m+"|$)",u(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(f(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(a(e,n),t,n)}(e,t,n)}},6468:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},5536:(e,t,n)=>{const r=n(6468),o=n(9601),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(9932).resolve(t)],delete Prism.languages[e],n(9932)(t),a.add(e)}))}i.silent=!1,e.exports=i},8624:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(o>=a.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),y=[];h&&y.push.apply(y,i([h])),y.push(g),b&&y.push.apply(y,i([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(Prism)},9932:(e,t,n)=>{var r={"./":5536};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=9932},9601:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function o(r,a){if(!(r in n)){a.push(r);var i=a.indexOf(r);if(i<a.length-1)throw new Error("Circular dependency: "+a.slice(i).join(" -> "));var l={},s=e[r];if(s){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in o(t,a),l[t]=!0,n[t])l[i]=!0}t(s.require,c),t(s.optional,c),t(s.modify,c)}n[r]=l,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(s);i=i.map(c),l=(l||[]).map(c);var u=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var p,f=r(s),m=u;o(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var b in d)if(!(b in u))for(var y in f(b))if(y in u){p[b]=!0;break}for(var v in m=p)u[v]=!0}var k={getIds:function(){var e=[];return k.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,l={},s={};function c(e){if(e in l)return l[e];s[e]=!0;var o,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)o=r(e);else{var p=i(u.map((function(e){var t=c(e);return delete s[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return l[e]=o}for(var u in n)c(u);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,u,t,n)}};return k}}();e.exports=t},8688:(e,t,n)=>{"use strict";var r=n(8846);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5769:(e,t,n)=>{e.exports=n(8688)()},8846:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4880:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},2554:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case s:return e;default:return t}}case o:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===k||e.$$typeof===b)},t.typeOf=w},9117:(e,t,n)=>{"use strict";e.exports=n(2554)},1819:(e,t,n)=>{"use strict";var r=n(4614),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:l.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},67:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var k=v.prototype=new y;k.constructor=v,h(k,b.prototype),k.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===a?"."+j(s,0):a,w(i)?(o="",null!=e&&(o=e.replace(T,"$&/")+"/"),N(i,t,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(s=0,a=""===a?".":a+":",w(e))for(var c=0;c<e.length;c++){var u=a+j(l=e[c],c);s+=N(l,t,o,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=N(l=l.value,t,o,u=a+j(l,c++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return N(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},R={transition:null},O={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:R,ReactCurrentOwner:S};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=i,t.PureComponent=v,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},4614:(e,t,n)=>{"use strict";e.exports=n(67)},5735:(e,t,n)=>{"use strict";e.exports=n(1819)},8628:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>a(s,n))c<o&&0>a(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,k(e),!h)if(null!==r(c))h=!0,R(x);else{var t=r(u);null!==t&&O(w,t.startTime-e)}}function x(e,n){h=!1,g&&(g=!1,y(_),_=-1),m=!0;var a=f;try{for(k(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&o(c),k(n)}else o(c);p=r(c)}if(null!==p)var s=!0;else{var d=r(u);null!==d&&O(w,d.startTime-n),s=!1}return s}finally{p=null,f=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j<T)}function A(){if(null!==C){var e=t.unstable_now();j=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(A)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,L=P.port2;P.port1.onmessage=A,S=function(){L.postMessage(null)}}else S=function(){b(A,0)};function R(e){C=e,E||(E=!0,S())}function O(e,n){_=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(g?(y(_),_=-1):g=!0,O(w,a-i))):(e.sortIndex=l,n(c,e),h||m||(h=!0,R(x))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},625:(e,t,n)=>{"use strict";e.exports=n(8628)},7063:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var c=a[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},5124:(e,t,n)=>{"use strict";n.d(t,{y$:()=>J,p1:()=>_});var r=n(4614);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const a=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r};var i,l,s,c,u,d=Object.create,p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,y=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&w(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&w(e,n,t[n]);return e},S=(e,t)=>f(e,h(t)),E=(e,t)=>{var n={};for(var r in e)v.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(i={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var l in a)if(a.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=a[l])}var c=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],o||l);var s=t[l],c=r.util.type(s);"Object"!==c||a[i(s)]?"Array"!==c||a[i(s)]||(a[i(s)]=!0,e(s,n,l,a)):(a[i(s)]=!0,e(s,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new l;return s(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,l,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,b=!!h.lookbehind,y=!!h.greedy,v=h.alias;if(y&&!h.pattern.global){var k=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,k+"g")}for(var w=h.pattern||h,x=l.next,S=u;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(y){if(!(C=a(w,S,e,b))||C.index>=e.length)break;var T=C.index,j=C.index+C[0].length,N=S;for(N+=x.value.length;T>=N;)N+=(x=x.next).value.length;if(S=N-=x.value.length,x.value instanceof o)continue;for(var A=x;A!==t.tail&&(N<j||"string"==typeof A.value);A=A.next)_++,N+=A.value.length;_--,E=e.slice(S,N),C.index-=S}else if(!(C=a(w,0,E,b)))continue;T=C.index;var P=C[0],L=E.slice(0,T),R=E.slice(T+P.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var I=x.prev;if(L&&(I=s(t,I,L),S+=L.length),c(t,I,_),x=s(t,I,new o(p,g?r.tokenize(P,g):P,v,P)),R&&s(t,x,R),_>1){var D={cause:p+","+m,reach:O};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var l="";for(var s in a.attributes)l+=" "+s+'="'+(a.attributes[s]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+l+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return l||(0,i[g(i)[0]])((l={exports:{}}).exports,l),l.exports}),_=((e,t,n)=>(n=null!=e?d(y(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of g(t))v.call(e,o)||o===n||p(e,o,{get:()=>t[o],enumerable:!(r=m(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());_.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},_.languages.markup.tag.inside["attr-value"].inside.entity=_.languages.markup.entity,_.languages.markup.doctype.inside["internal-subset"].inside=_.languages.markup,_.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(_.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:_.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:_.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},_.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(_.languages.markup.tag,"addAttribute",{value:function(e,t){_.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:_.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),_.languages.html=_.languages.markup,_.languages.mathml=_.languages.markup,_.languages.svg=_.languages.markup,_.languages.xml=_.languages.extend("markup",{}),_.languages.ssml=_.languages.xml,_.languages.atom=_.languages.xml,_.languages.rss=_.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",o=(r=RegExp(r+"-"+r),{pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"});e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(_),_.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},_.languages.javascript=_.languages.extend("clike",{"class-name":[_.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),_.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,_.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:_.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:_.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:_.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:_.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:_.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),_.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:_.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),_.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),_.languages.markup&&(_.languages.markup.tag.addInlined("script","javascript"),_.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),_.languages.js=_.languages.javascript,_.languages.actionscript=_.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),_.languages.actionscript["class-name"].alias="function",delete _.languages.actionscript.parameter,delete _.languages.actionscript["literal-property"],_.languages.markup&&_.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:_.languages.markup}}),c=/#(?!\{).+/,u={pattern:/#\{[^}]+\}/,alias:"variable"},(s=_).languages.coffeescript=s.languages.extend("javascript",{comment:c,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:u}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),s.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:c,interpolation:u}}}),s.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:s.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:u}}]}),s.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete s.languages.coffeescript["template-string"],s.languages.coffee=s.languages.coffeescript,function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(_),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(_),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(_),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(_),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(_),_.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:_.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},_.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}n=a+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<o.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var c=t[s];"variable"===c.type&&0<=o.indexOf(c.content)&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))o++;else if(r.test(l)&&0==--o)return a}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),_.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),c=0,u={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var a=0;a<n.length;a++){if(c>=d.length)return;var i,s,p,f,m,h,g,b=n[a];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(g=(h="string"==typeof b?b:b.content).indexOf(i))&&(++c,s=h.substring(0,g),m=u[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],s&&m.push(s),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof b?(n.splice.apply(n,[a,1].concat(m)),a+=m.length-1):b.content=m)):(g=b.content,Array.isArray(g)?t(g):t([g]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,l,c=n[r];"string"!=typeof c&&(a=c.content,Array.isArray(a)?"template-string"===c.type?(c=a[1],3===a.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,l=e.languages[c])&&(a[1]=s(i,l,c))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)}))}(_),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(_),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(_),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(_),_.languages.n4js=_.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),_.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),_.languages.n4jsd=_.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(_),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:l(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=l(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=l(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(_),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(_),_.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},_.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=_.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(_),_.languages.c=_.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),_.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),_.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},_.languages.c.string],char:_.languages.c.char,comment:_.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:_.languages.c}}}}),_.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete _.languages.c.boolean,_.languages.objectivec=_.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete _.languages.objectivec["class-name"],_.languages.objc=_.languages.objectivec,_.languages.reason=_.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),_.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete _.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(_),_.languages.go=_.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),_.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete _.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(_),_.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},_.languages.python["string-interpolation"].inside.interpolation.inside.rest=_.languages.python,_.languages.py=_.languages.python;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>T,duotoneDark:()=>j,duotoneLight:()=>N,github:()=>A,jettwaveDark:()=>q,jettwaveLight:()=>H,nightOwl:()=>P,nightOwlLight:()=>L,oceanicNext:()=>I,okaidia:()=>D,oneDark:()=>Z,oneLight:()=>V,palenight:()=>F,shadesOfPurple:()=>M,synthwave84:()=>z,ultramin:()=>B,vsDark:()=>U,vsLight:()=>$});var T={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},j={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},N={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},A={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},P={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},L={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},R="#c5a5c5",O="#8dc891",I={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:R}},{types:["attr-value"],style:{color:O}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:O}},{types:["punctuation"],style:{color:O}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:R}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},D={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},M={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},B={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},$={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},q={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},H={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Z={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},V={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},W=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=x(x({},e[t]),o);e[t]=n})),e}),{});return r.root=n,r.plain=S(x({},n),{backgroundColor:void 0}),r},G=/\r\n|\r|\n/,Q=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},K=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},Y=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,c=t[i];const u=n[i][a];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=K(c,u.type),u.alias&&(c=K(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(G),p=d.length;l.push({types:c,content:d[0]});for(let t=1;t<p;t++)Q(l),s.push(l=[]),l.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return Q(l),s},X=({children:e,language:t,code:n,theme:o,prism:i})=>{const l=t.toLowerCase(),s=((e,t)=>{const[n,o]=(0,r.useState)(W(t,e)),a=(0,r.useRef)(),i=(0,r.useRef)();return(0,r.useEffect)((()=>{t===a.current&&e===i.current||(a.current=t,i.current=e,o(W(t,e)))}),[e,t]),n})(l,o),c=(e=>(0,r.useCallback)((t=>{var n=t,{className:r,style:o,line:i}=n,l=E(n,["className","style","line"]);const s=S(x({},l),{className:a("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=x(x({},s.style||{}),o)),s}),[e]))(s),u=(e=>{const t=(0,r.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,r.useCallback)((e=>{var n=e,{token:r,className:o,style:i}=n,l=E(n,["token","className","style"]);const s=S(x({},l),{className:a("token",...r.types,o),children:r.content,style:t(r)});return null!=i&&(s.style=x(x({},s.style||{}),i)),s}),[t])})(s),d=(({prism:e,code:t,grammar:n,language:o})=>{const a=(0,r.useRef)(e);return(0,r.useMemo)((()=>{if(null==n)return Y([t]);const e={code:t,grammar:n,language:o,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),Y(e.tokens)}),[t,n,o])})({prism:i,language:l,code:n,grammar:i.languages[l]});return e({tokens:d,className:`prism-code language-${l}`,style:null!=s?s.root:{},getLineProps:c,getTokenProps:u})},J=e=>(0,r.createElement)(X,S(x({},e),{prism:e.prism||_,theme:e.theme||U,code:e.code,language:e.language}))},1038:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},8321:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},4785:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},5760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"@modern-kit",tagline:"",favicon:"img/favicon.ico",staticDirectories:["public","static"],url:"https://your-docusaurus-test-site.com",baseUrl:"/modern-kit/",organizationName:"modern-agile-team",projectName:"modern-kit",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",presets:[["classic",{docs:{sidebarPath:"/Users/minjae/study/modern-kit/docs/sidebars.js"},blog:{showReadingTime:!0,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},theme:{customCss:"/Users/minjae/study/modern-kit/docs/src/css/custom.css"}}]],themeConfig:{colorMode:{defaultMode:"light",disableSwitch:!0,respectPrefersColorScheme:!1},navbar:{title:"@modern-kit",items:[{type:"docSidebar",sidebarId:"tutorialSidebar",position:"left",label:"Docs"},{href:"https://github.com/modern-agile-team/modern-kit",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs/introduce/"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/modern-agile-team/modern-kit"}]},{title:"NPM",items:[{label:"@modern-kit/react",href:"https://www.npmjs.com/package/@modern-kit/react"},{label:"@modern-kit/utils",href:"https://www.npmjs.com/package/@modern-kit/utils"},{label:"@modern-kit/types",href:"https://www.npmjs.com/package/@modern-kit/types"}]}],copyright:"Copyright \xa9 2024 Modern Agile, Inc. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",path:"i18n",locales:["en"],localeConfigs:{}},onDuplicateRoutes:"warn",customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/modern-kit/docs-8ff":{"__comp":"5e95c892","__context":{"plugin":"28b092ea"}},"/modern-kit/docs-12c":{"__comp":"a7bd4aaa","version":"935f2afb"},"/modern-kit/docs-4c6":{"__comp":"a94703ab"},"/modern-kit/docs/introduce/-d8a":{"__comp":"17896441","content":"993de3e1"},"/modern-kit/docs/react/components/DebounceWrapper-822":{"__comp":"17896441","content":"47a95eb2"},"/modern-kit/docs/react/components/InView-e57":{"__comp":"17896441","content":"bf0dbc92"},"/modern-kit/docs/react/components/LazyImage-1b0":{"__comp":"17896441","content":"54102c04"},"/modern-kit/docs/react/components/Portal-ad9":{"__comp":"17896441","content":"cdcab0ad"},"/modern-kit/docs/react/components/When-575":{"__comp":"17896441","content":"b35b1276"},"/modern-kit/docs/react/hooks/useAsyncPreservedCallback-33d":{"__comp":"17896441","content":"3209f55a"},"/modern-kit/docs/react/hooks/useDebounce-60a":{"__comp":"17896441","content":"67c089fb"},"/modern-kit/docs/react/hooks/useForceUpdate-d01":{"__comp":"17896441","content":"7d279fec"},"/modern-kit/docs/react/hooks/useImageStatus-078":{"__comp":"17896441","content":"0145a656"},"/modern-kit/docs/react/hooks/useIntersectionObserver-a27":{"__comp":"17896441","content":"308b5f81"},"/modern-kit/docs/react/hooks/useInterval-728":{"__comp":"17896441","content":"5d610355"},"/modern-kit/docs/react/hooks/useIsMounted-cb4":{"__comp":"17896441","content":"3c17568f"},"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect-9aa":{"__comp":"17896441","content":"dbf68f77"},"/modern-kit/docs/react/hooks/useMediaQuery-452":{"__comp":"17896441","content":"61a35b61"},"/modern-kit/docs/react/hooks/useMergeRefs-27b":{"__comp":"17896441","content":"764f42b2"},"/modern-kit/docs/react/hooks/useOnClickOutside-d1a":{"__comp":"17896441","content":"3ffd14c6"},"/modern-kit/docs/react/hooks/usePreservedCallback-cd2":{"__comp":"17896441","content":"3842c52b"},"/modern-kit/docs/react/hooks/usePreservedState-65b":{"__comp":"17896441","content":"90aeac69"},"/modern-kit/docs/react/hooks/usePrevious-309":{"__comp":"17896441","content":"9be130a4"},"/modern-kit/docs/react/hooks/useResizeObserver-a51":{"__comp":"17896441","content":"11738f66"},"/modern-kit/docs/react/hooks/useTimeout-2b4":{"__comp":"17896441","content":"6dde689d"},"/modern-kit/docs/react/hooks/useToggle-0f0":{"__comp":"17896441","content":"2eff3e5b"},"/modern-kit/docs/react/hooks/useUnmount-5fe":{"__comp":"17896441","content":"eabfdb13"},"/modern-kit/docs/react/hooks/useVisibilityChange-81e":{"__comp":"17896441","content":"6bd54dd6"},"/modern-kit/docs/react/hooks/useWindowScrollTo-87c":{"__comp":"17896441","content":"61f7a55d"},"/modern-kit/docs/react/hooks/useWindowSize-24c":{"__comp":"17896441","content":"b3bf5b56"},"/modern-kit/docs/utils/common/abRandom-5f5":{"__comp":"17896441","content":"53f54fd5"},"/modern-kit/docs/utils/common/asyncNoop-dce":{"__comp":"17896441","content":"e72e489d"},"/modern-kit/docs/utils/common/deepCopy-95b":{"__comp":"17896441","content":"52083c08"},"/modern-kit/docs/utils/common/deepEqual-9d5":{"__comp":"17896441","content":"ff56c94b"},"/modern-kit/docs/utils/common/getUniqId-871":{"__comp":"17896441","content":"f717749c"},"/modern-kit/docs/utils/common/getUniqTime-cbb":{"__comp":"17896441","content":"cbca3a13"},"/modern-kit/docs/utils/common/getViewportSize-006":{"__comp":"17896441","content":"525bfb2e"},"/modern-kit/docs/utils/common/hexToRgba-d4b":{"__comp":"17896441","content":"6b7ba1c1"},"/modern-kit/docs/utils/common/noop-9ec":{"__comp":"17896441","content":"dbd15680"},"/modern-kit/docs/utils/common/wrapInArray-8cd":{"__comp":"17896441","content":"fa6a5d39"},"/modern-kit/docs/utils/device/getOS-4a4":{"__comp":"17896441","content":"ee418e94"},"/modern-kit/docs/utils/device/isClient-794":{"__comp":"17896441","content":"ad000c78"},"/modern-kit/docs/utils/device/isMobile-24d":{"__comp":"17896441","content":"8797c936"},"/modern-kit/docs/utils/device/isSever-013":{"__comp":"17896441","content":"d5af7a66"},"/modern-kit/docs/utils/object/deleteEmptyProperties-7e9":{"__comp":"17896441","content":"90f5246c"},"/modern-kit/docs/utils/object/mergeProperties-0c7":{"__comp":"17896441","content":"f6dc8c23"},"/modern-kit/docs/utils/object/objectEntries-355":{"__comp":"17896441","content":"47707012"},"/modern-kit/docs/utils/object/objectKeys-277":{"__comp":"17896441","content":"d272ecc5"},"/modern-kit/docs/utils/object/objectValues-628":{"__comp":"17896441","content":"219c5550"},"/modern-kit/docs/utils/object/omit-aa7":{"__comp":"17896441","content":"114d5267"},"/modern-kit/docs/utils/object/pick-c49":{"__comp":"17896441","content":"5c9b0204"},"/modern-kit/docs/utils/string/countSubstringOccurrences-b5d":{"__comp":"17896441","content":"b7504c90"},"/modern-kit/docs/utils/string/extractNumber-1f8":{"__comp":"17896441","content":"bac0f70c"},"/modern-kit/docs/utils/string/formatNumberWithCommas-573":{"__comp":"17896441","content":"73aec3a2"},"/modern-kit/docs/utils/string/formatPhoneNumber-0da":{"__comp":"17896441","content":"abb91cfa"},"/modern-kit/docs/utils/string/removeSpecialCharacters-c7b":{"__comp":"17896441","content":"5cdabd8b"},"/modern-kit/docs/utils/string/repeatCharacters-93b":{"__comp":"17896441","content":"4fcbd706"},"/modern-kit/docs/utils/validator/hasProperty-37d":{"__comp":"17896441","content":"84604114"},"/modern-kit/docs/utils/validator/isFuntion-efe":{"__comp":"17896441","content":"9e9c0b32"},"/modern-kit/docs/utils/validator/isNotNullish-8bf":{"__comp":"17896441","content":"9ea35591"},"/modern-kit/docs/utils/validator/isNullish-33e":{"__comp":"17896441","content":"30200773"},"/modern-kit/docs/utils/validator/isNumber-d20":{"__comp":"17896441","content":"0ac9f023"},"/modern-kit/docs/utils/validator/isValidEmail-9d7":{"__comp":"17896441","content":"13eb7aa0"},"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat-246":{"__comp":"17896441","content":"1c24dc38"},"/modern-kit/-f57":{"__comp":"1df93b7f","__context":{"plugin":"634f3e62"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=586,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.f874a197.js b/assets/js/main.f874a197.js new file mode 100644 index 000000000..7f63211ad --- /dev/null +++ b/assets/js/main.f874a197.js @@ -0,0 +1,2 @@ +/*! For license information please see main.f874a197.js.LICENSE.txt */ +(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{5001:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(4614),o=n(5735);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},9098:(e,t,n)=>{"use strict";var r=n(4614),o=n(2364),a=n(6985),i=n(2683),l=n(4644);const s=[n(674),n(7506),n(1779),n(3582)];var c=n(3905),u=n(2381),d=n(2251),p=n(5735);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(7036),h=n(3020),g=n(8509),b=n(8057),y=n(9603),v=n(6480),k=n(6513),w=n(4798),x=n(5797),S=n(5035);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,p.jsxs)(m.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:k.h})]}),n&&(0,p.jsx)(y.d,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:w.HX,locale:e}),(0,p.jsx)(m.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var P=n(5001),N=n(4939),L=n(7539);function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const D=I,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${F}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function U(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,p.jsx)(p.Fragment,{children:!l.Z.canUseDOM&&(0,p.jsx)(m.Z,{children:(0,p.jsx)("script",{children:B(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?(0,p.jsx)(U,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:o}}=(0,h.Z)(),a=(0,g.Z)(e),{htmlLang:i,direction:l}=o[r];return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("html",{lang:i,dir:l}),(0,p.jsx)("title",{children:t}),(0,p.jsx)("meta",{property:"og:title",content:t}),(0,p.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,p.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,p.jsx)("link",{rel:"icon",href:a})]})}var H=n(3918),Z=n(7638);function V(){const e=(0,Z.Z)();return(0,p.jsx)(m.Z,{children:(0,p.jsx)("html",{"data-has-hydrated":e})})}function W(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return(0,p.jsx)(H.Z,{children:(0,p.jsx)(N.M,{children:(0,p.jsxs)(P.t,{children:[(0,p.jsxs)(f,{children:[(0,p.jsx)(q,{}),(0,p.jsx)(_,{}),(0,p.jsx)($,{}),(0,p.jsx)(D,{location:j(t),children:e})]}),(0,p.jsx)(V,{})]})})})}var G=n(6887);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(3821);const Y=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(G).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(a.VK,{children:(0,p.jsx)(W,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(l)}},4939:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(4614),o=n(6809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/modern-kit/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/modern-kit/docs","mainDocId":"introduce/Introduce","docs":[{"id":"introduce/Introduce","path":"/modern-kit/docs/introduce/","sidebar":"tutorialSidebar"},{"id":"react/components/DebounceWrapper","path":"/modern-kit/docs/react/components/DebounceWrapper","sidebar":"tutorialSidebar"},{"id":"react/components/InView","path":"/modern-kit/docs/react/components/InView","sidebar":"tutorialSidebar"},{"id":"react/components/LazyImage","path":"/modern-kit/docs/react/components/LazyImage","sidebar":"tutorialSidebar"},{"id":"react/components/Portal","path":"/modern-kit/docs/react/components/Portal","sidebar":"tutorialSidebar"},{"id":"react/components/When","path":"/modern-kit/docs/react/components/When","sidebar":"tutorialSidebar"},{"id":"react/hooks/useAsyncPreservedCallback","path":"/modern-kit/docs/react/hooks/useAsyncPreservedCallback","sidebar":"tutorialSidebar"},{"id":"react/hooks/useDebounce","path":"/modern-kit/docs/react/hooks/useDebounce","sidebar":"tutorialSidebar"},{"id":"react/hooks/useForceUpdate","path":"/modern-kit/docs/react/hooks/useForceUpdate","sidebar":"tutorialSidebar"},{"id":"react/hooks/useImageStatus","path":"/modern-kit/docs/react/hooks/useImageStatus","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIntersectionObserver","path":"/modern-kit/docs/react/hooks/useIntersectionObserver","sidebar":"tutorialSidebar"},{"id":"react/hooks/useInterval","path":"/modern-kit/docs/react/hooks/useInterval","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIsMounted","path":"/modern-kit/docs/react/hooks/useIsMounted","sidebar":"tutorialSidebar"},{"id":"react/hooks/useIsomorphicLayoutEffect","path":"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect","sidebar":"tutorialSidebar"},{"id":"react/hooks/useMediaQuery","path":"/modern-kit/docs/react/hooks/useMediaQuery","sidebar":"tutorialSidebar"},{"id":"react/hooks/useMergeRefs","path":"/modern-kit/docs/react/hooks/useMergeRefs","sidebar":"tutorialSidebar"},{"id":"react/hooks/useOnClickOutside","path":"/modern-kit/docs/react/hooks/useOnClickOutside","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePreservedCallback","path":"/modern-kit/docs/react/hooks/usePreservedCallback","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePreservedState","path":"/modern-kit/docs/react/hooks/usePreservedState","sidebar":"tutorialSidebar"},{"id":"react/hooks/usePrevious","path":"/modern-kit/docs/react/hooks/usePrevious","sidebar":"tutorialSidebar"},{"id":"react/hooks/useResizeObserver","path":"/modern-kit/docs/react/hooks/useResizeObserver","sidebar":"tutorialSidebar"},{"id":"react/hooks/useTimeout","path":"/modern-kit/docs/react/hooks/useTimeout","sidebar":"tutorialSidebar"},{"id":"react/hooks/useToggle","path":"/modern-kit/docs/react/hooks/useToggle","sidebar":"tutorialSidebar"},{"id":"react/hooks/useUnmount","path":"/modern-kit/docs/react/hooks/useUnmount","sidebar":"tutorialSidebar"},{"id":"react/hooks/useVisibilityChange","path":"/modern-kit/docs/react/hooks/useVisibilityChange","sidebar":"tutorialSidebar"},{"id":"react/hooks/useWindowScrollTo","path":"/modern-kit/docs/react/hooks/useWindowScrollTo","sidebar":"tutorialSidebar"},{"id":"react/hooks/useWindowSize","path":"/modern-kit/docs/react/hooks/useWindowSize","sidebar":"tutorialSidebar"},{"id":"utils/common/abRandom","path":"/modern-kit/docs/utils/common/abRandom","sidebar":"tutorialSidebar"},{"id":"utils/common/asyncNoop","path":"/modern-kit/docs/utils/common/asyncNoop","sidebar":"tutorialSidebar"},{"id":"utils/common/deepCopy","path":"/modern-kit/docs/utils/common/deepCopy","sidebar":"tutorialSidebar"},{"id":"utils/common/deepEqual","path":"/modern-kit/docs/utils/common/deepEqual","sidebar":"tutorialSidebar"},{"id":"utils/common/getUniqId","path":"/modern-kit/docs/utils/common/getUniqId","sidebar":"tutorialSidebar"},{"id":"utils/common/getUniqTime","path":"/modern-kit/docs/utils/common/getUniqTime","sidebar":"tutorialSidebar"},{"id":"utils/common/getViewportSize","path":"/modern-kit/docs/utils/common/getViewportSize","sidebar":"tutorialSidebar"},{"id":"utils/common/hexToRgba","path":"/modern-kit/docs/utils/common/hexToRgba","sidebar":"tutorialSidebar"},{"id":"utils/common/noop","path":"/modern-kit/docs/utils/common/noop","sidebar":"tutorialSidebar"},{"id":"utils/common/wrapInArray","path":"/modern-kit/docs/utils/common/wrapInArray","sidebar":"tutorialSidebar"},{"id":"utils/device/getOS","path":"/modern-kit/docs/utils/device/getOS","sidebar":"tutorialSidebar"},{"id":"utils/device/isClient","path":"/modern-kit/docs/utils/device/isClient","sidebar":"tutorialSidebar"},{"id":"utils/device/isMobile","path":"/modern-kit/docs/utils/device/isMobile","sidebar":"tutorialSidebar"},{"id":"utils/device/isSever","path":"/modern-kit/docs/utils/device/isSever","sidebar":"tutorialSidebar"},{"id":"utils/object/deleteEmptyProperties","path":"/modern-kit/docs/utils/object/deleteEmptyProperties","sidebar":"tutorialSidebar"},{"id":"utils/object/mergeProperties","path":"/modern-kit/docs/utils/object/mergeProperties","sidebar":"tutorialSidebar"},{"id":"utils/object/objectEntries","path":"/modern-kit/docs/utils/object/objectEntries","sidebar":"tutorialSidebar"},{"id":"utils/object/objectKeys","path":"/modern-kit/docs/utils/object/objectKeys","sidebar":"tutorialSidebar"},{"id":"utils/object/objectValues","path":"/modern-kit/docs/utils/object/objectValues","sidebar":"tutorialSidebar"},{"id":"utils/object/omit","path":"/modern-kit/docs/utils/object/omit","sidebar":"tutorialSidebar"},{"id":"utils/object/pick","path":"/modern-kit/docs/utils/object/pick","sidebar":"tutorialSidebar"},{"id":"utils/string/countSubstringOccurrences","path":"/modern-kit/docs/utils/string/countSubstringOccurrences","sidebar":"tutorialSidebar"},{"id":"utils/string/extractNumber","path":"/modern-kit/docs/utils/string/extractNumber","sidebar":"tutorialSidebar"},{"id":"utils/string/formatNumberWithCommas","path":"/modern-kit/docs/utils/string/formatNumberWithCommas","sidebar":"tutorialSidebar"},{"id":"utils/string/formatPhoneNumber","path":"/modern-kit/docs/utils/string/formatPhoneNumber","sidebar":"tutorialSidebar"},{"id":"utils/string/removeSpecialCharacters","path":"/modern-kit/docs/utils/string/removeSpecialCharacters","sidebar":"tutorialSidebar"},{"id":"utils/string/repeatCharacters","path":"/modern-kit/docs/utils/string/repeatCharacters","sidebar":"tutorialSidebar"},{"id":"utils/validator/hasProperty","path":"/modern-kit/docs/utils/validator/hasProperty","sidebar":"tutorialSidebar"},{"id":"utils/validator/isFuntion","path":"/modern-kit/docs/utils/validator/isFuntion","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNotNullish","path":"/modern-kit/docs/utils/validator/isNotNullish","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNullish","path":"/modern-kit/docs/utils/validator/isNullish","sidebar":"tutorialSidebar"},{"id":"utils/validator/isNumber","path":"/modern-kit/docs/utils/validator/isNumber","sidebar":"tutorialSidebar"},{"id":"utils/validator/isValidEmail","path":"/modern-kit/docs/utils/validator/isValidEmail","sidebar":"tutorialSidebar"},{"id":"utils/validator/isValidPhoneNumberFormat","path":"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/modern-kit/docs/introduce/","label":"Introduce"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.2.1","siteVersion":"0.0.9","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.2.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.2.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.2.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.2.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.2.1"}}}');var c=n(5735);const u={siteConfig:o.default,siteMetadata:s,globalData:a,i18n:i,codeTranslations:l},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},3918:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(4614),o=n(4644),a=n(7036),i=n(7339),l=n(1054),s=n(5247),c=n(5735);function u(e){let{error:t,tryAgain:n}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,c.jsx)(s.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(h,{fallback:()=>(0,c.jsx)(u,{error:t,tryAgain:n}),children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(l.Z,{children:(0,c.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,c.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},4644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},7036:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);var r=n(2683),o=n(5735);function a(e){return(0,o.jsx)(r.ql,{...e})}},3497:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(4614),o=n(6985),a=n(7339),i=n(3020),l=n(4010),s=n(4644),c=n(7026),u=n(8509),d=n(5735);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:k}}=(0,i.Z)(),{withBaseUrl:w}=(0,u.C)(),x=(0,c.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const C=(0,l.Z)(E),_=E?.replace("pathname://","");let T=void 0!==_?(j=_,b&&(e=>e.startsWith("/"))(j)?w(j):j):void 0;var j;T&&C&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:k}));const P=(0,r.useRef)(!1),N=n?o.OL:o.rU,L=s.Z.canUseIntersectionObserver,A=(0,r.useRef)(),R=()=>{P.current||null==T||(window.docusaurus.preload(T),P.current=!0)};(0,r.useEffect)((()=>(!L&&C&&null!=T&&window.docusaurus.prefetch(T),()=>{L&&A.current&&A.current.disconnect()})),[A,T,L,C]);const O=T?.startsWith("#")??!1,I=!y.target||"_self"===y.target,D=!T||!C||!I||O;return g||!O&&D||x.collectLink(T),y.id&&x.collectAnchor(y.id),D?(0,d.jsx)("a",{ref:S,href:T,...E&&!C&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(N,{...y,onMouseEnter:R,onTouchStart:R,innerRef:e=>{S.current=e,L&&e&&C&&(A.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(A.current.unobserve(e),A.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),A.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},5242:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},3583:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>s});var r=n(4614),o=n(5735);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return a(l({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},8963:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},4010:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>o,b:()=>r})},8509:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(4614),o=n(3020),a=n(4010);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},7026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4614);n(5735);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},3020:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4614),o=n(4939);function a(){return(0,r.useContext)(o._)}},7638:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4614),o=n(5001);function a(){return(0,r.useContext)(o._)}},7539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4614);const o=n(4644).Z.canUseDOM?r.useLayoutEffect:r.useEffect},3821:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const l=o?`${o}.${a}`:a;r(i)?e(i,l):t[l]=i}))}(e),t}},5247:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>i});var r=n(4614),o=n(5735);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:l,children:t})}},4153:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>p,_r:()=>u,Jo:()=>g,zh:()=>d,yW:()=>m,gB:()=>f});var r=n(2381),o=n(3020),a=n(8963);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>{try{return function(e,t,n){void 0===t&&(t=a.m),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},7173:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(4614),s=n(5769),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=d(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return c.push(g),"function"==typeof m.webpack&&u.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return a(o(o(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),a(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}a(g,"propTypes",{report:s.func.isRequired}),a(g,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=h},1779:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2602),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},7506:(e,t,n)=>{"use strict";n.r(t);var r=n(851),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(8624),n(9932)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},9290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(4614);var r=n(605),o=n(3583),a=n(8057),i=n(3497),l=n(7026);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_bBUo",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_sx3F"};var c=n(5735);function u(e){let{as:t,id:n,...u}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:p}}=(0,a.L)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.Z)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},4071:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);const r={iconExternalLink:"iconExternalLink_z2ez"};var o=n(5735);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},1054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ft});var r=n(4614),o=n(605),a=n(3918),i=n(9603),l=n(2381),s=n(3583),c=n(1853),u=n(5735);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(1329),b=n(6513);const y={skipToContent:"skipToContent_NeAS"};function v(){return(0,u.jsx)(h,{className:y.skipToContent})}var k=n(8057),w=n(7288);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:o,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_q_Pt"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_bfW5"};function _(e){const{announcementBar:t}=(0,k.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_G6_o",announcementBarPlaceholder:"announcementBarPlaceholder_TcsH",announcementBarClose:"announcementBarClose_aSKT",announcementBarContent:"announcementBarContent_u0N6"};function j(){const{announcementBar:e}=(0,k.L)(),{isActive:t,close:n}=(0,w.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(_,{className:T.announcementBarContent}),a&&(0,u.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var P=n(1875),N=n(9481);var L=n(183),A=n(1168);const R=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,P.e)(),t=(0,A.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,L.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,u.jsx)(R.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(R);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,A.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=D();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(859),z=n(7638);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function U(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const $={toggle:"toggle_IyHc",toggleButton:"toggleButton_HgLb",darkToggleIcon:"darkToggleIcon_t8VM",lightToggleIcon:"lightToggleIcon_GUf5",toggleButtonDisabled:"toggleButtonDisabled_MXdp"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,u.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,u.jsx)(U,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}const H=r.memo(q),Z={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_kZvc"};function V(e){let{className:t}=e;const n=(0,k.L)().navbar.style,r=(0,k.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,F.I)();return r?null:(0,u.jsx)(H,{className:t,buttonClassName:"dark"===n?Z.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var W=n(3747);function G(){return(0,u.jsx)(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,P.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(G,{}),(0,u.jsx)(V,{className:"margin-right--md"}),(0,u.jsx)(Q,{})]})}var Y=n(3497),X=n(8509),J=n(4010);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(4071);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...c}=e;const d=(0,X.Z)(r),p=(0,X.Z)(t),f=(0,X.Z)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,J.Z)(o),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[a,m&&(0,u.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return o?(0,u.jsx)(Y.Z,{href:s?f:o,...c,...h}):(0,u.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,u.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){let{mobile:t=!1,position:n,...r}=e;const o=t?oe:re;return(0,u.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(8134),le=n(6239),se=n(3020);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_ueh8"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:a,onClick:i,...l}=e;const s=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,u.jsxs)("div",{ref:s,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",a),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:l.children??l.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:a,onClick:i,...s}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[c,d,m]),(0,u.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,o.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,u.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var me=n(6480);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_YNE4";var be=n(5242);const ye={navbarSearchContainer:"navbarSearchContainer_aE3I"};function ve(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,o.Z)(n,ye.navbarSearchContainer),children:t})}var ke=n(4153),we=n(7746);var xe=n(4755);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,se.Z)(),p=(0,me.l)(),{search:f,hash:m}=(0,l.TH)(),h=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...a,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(ve,{className:n,children:(0,u.jsx)(be.Z,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,u.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ke.Iw)(r),i=(0,we.vY)(t,r),l=a?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>l||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ke.Iw)(r),i=(0,we.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,we.lO)(r)[0],i=t??a.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,u.jsx)(ae,{...o,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:d}=(0,l.TH)(),p=(0,ke.Iw)(n),f=(0,ke.gB)(n),{savePreferredVersionName:m}=(0,xe.J)(n),h=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],g=(0,we.lO)(n)[0],b=t&&h.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,y=t&&h.length>1?void 0:Se(g).path;return h.length<=1?(0,u.jsx)(ae,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:y,items:h,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Ee[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(o,{...n})}function _e(){const e=(0,P.e)(),t=(0,k.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ce,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function je(){const e=0===(0,k.L)().navbar.items.length,t=D();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Pe(){const e=(0,P.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(K,{}),primaryMenu:(0,u.jsx)(_e,{}),secondaryMenu:(0,u.jsx)(je,{})}):null}const Ne={navbarHideable:"navbarHideable_Cjnr",navbarHidden:"navbarHidden_Iq9w"};function Le(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Ae(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,k.L)(),i=(0,P.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,N.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<a.current)return void n(!0);if(o.current)return void(o.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-a.current,c=window.innerHeight;l&&i>=l?n(!1):i+c<s&&n(!0)})),(0,c.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!d&&Ne.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Le,{onClick:i.toggle}),(0,u.jsx)(Pe,{})]})}var Re=n(7339);const Oe={errorBoundaryError:"errorBoundaryError_TGhe",errorBoundaryFallback:"errorBoundaryFallback_tL4V"};function Ie(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:t}=e;const n=(0,Re.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Oe.errorBoundaryError,children:n})}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Fe="right";function ze(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,P.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(ze,{})})}const Ue={colorModeToggle:"colorModeToggle_a1Yr"};function $e(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Me,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ce,{...e})},t)))})}function qe(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,P.e)(),t=(0,k.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Fe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,u.jsx)(qe,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Be,{}),(0,u.jsx)(G,{}),(0,u.jsx)($e,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($e,{items:r}),(0,u.jsx)(V,{className:Ue.colorModeToggle}),!o&&(0,u.jsx)(ve,{children:(0,u.jsx)(be.Z,{})})]})})}function Ze(){return(0,u.jsx)(Ae,{children:(0,u.jsx)(He,{})})}function Ve(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:a?s:r}:{to:l},...i,children:[o,r&&!(0,J.Z)(r)&&(0,u.jsx)(te.Z,{})]})}function We(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Ve,{item:t})},t.href??t.to)}function Ge(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(We,{item:e},t)))})]})}function Qe(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(Ge,{column:e},t)))})}function Ke(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ye(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Ve,{item:t})}function Xe(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Ye,{item:e}),t.length!==n+1&&(0,u.jsx)(Ke,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Qe,{columns:t}):(0,u.jsx)(Xe,{links:t})}var et=n(8984);const tt={footerLogoLink:"footerLogoLink_R2nM"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(et.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,u.jsx)(Y.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,u.jsx)(nt,{logo:t})}):(0,u.jsx)(nt,{logo:t})}function ot(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function at(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,u.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function it(){const{footer:e}=(0,k.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,u.jsx)(at,{style:o,links:n&&n.length>0&&(0,u.jsx)(Je,{links:n}),logo:r&&(0,u.jsx)(rt,{logo:r}),copyright:t&&(0,u.jsx)(ot,{copyright:t})})}const lt=r.memo(it),st=(0,L.Qc)([F.S,w.pl,N.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,u.jsx)(A.n2,{children:(0,u.jsx)(P.M,{children:(0,u.jsx)(O,{children:t})})})}]);function ct(e){let{children:t}=e;return(0,u.jsx)(st,{children:t})}var ut=n(9290);function dt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ut.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Ie,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(De,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_PUlq"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,b.t)(),(0,u.jsxs)(ct,{children:[(0,u.jsx)(i.d,{title:l,description:s}),(0,u.jsx)(v,{}),(0,u.jsx)(j,{}),(0,u.jsx)(Ze,{}),(0,u.jsx)("div",{id:d,className:(0,o.Z)(g.k.wrapper.main,pt.mainWrapper,r),children:(0,u.jsx)(a.Z,{fallback:e=>(0,u.jsx)(dt,{...e}),children:t})}),!n&&(0,u.jsx)(lt,{})]})}},3747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(4614);var r=n(3497),o=n(8509),a=n(3020),i=n(8057),l=n(8984),s=n(5735);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,a.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,o.Z)(l?.href||"/"),m=n?"":t,h=l?.alt??m;return(0,s.jsxs)(r.Z,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(c,{logo:l,alt:h,imageClassName:u}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},5035:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(4614);var r=n(7036),o=n(5735);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},8984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(4614),o=n(605),a=n(7638),i=n(859);const l={themedComponent:"themedComponent__aAy","themedComponent--light":"themedComponent--light_RYr8","themedComponent--dark":"themedComponent--dark_SlaT"};var s=n(5735);function c(e){let{className:t,children:n}=e;const c=(0,a.Z)(),{colorMode:u}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:a},e)}))})}function u(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(c,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},8134:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>b});var r=n(4614),o=n(4644),a=n(7539),i=n(6660),l=n(5735);const s="ease-in-out";function c(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.Z.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:s,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:a}),(0,l.jsx)(t,{ref:u,style:c?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:s,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[s,c]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&c(t)}),[o,t]),o?(0,l.jsx)(h,{...n,collapsed:s}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,l.jsx)(r,{...n})}},7288:(e,t,n)=>{"use strict";n.d(t,{nT:()=>h,pl:()=>m});var r=n(4614),o=n(7638),a=n(9832),i=n(183),l=n(8057),s=n(5735);const c=(0,a.WA)("docusaurus.announcement.dismiss"),u=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},859:(e,t,n)=>{"use strict";n.d(t,{I:()=>b,S:()=>g});var r=n(4614),o=n(4644),a=n(183),i=n(9832),l=n(8057),s=n(5735);const c=r.createContext(void 0),u="theme",d=(0,i.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&h(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},4755:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>b});var r=n(4614),o=n(4153),a=n(8963),i=n(8057),l=n(7746),s=n(183),c=n(9832),u=n(5735);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,u.jsx)(m.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return l.cE?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(m);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.m);const t=(0,o.zh)(e),[n,i]=y(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},7728:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>s});var r=n(4614),o=n(183),a=n(5735);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(l.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},4631:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(4614),o=n(183),a=n(5735);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},1875:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>m});var r=n(4614),o=n(1168),a=n(3181),i=n(2381),l=n(183);function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(8057),u=n(5735);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,c.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const u=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:i})),[e,n,u,i])}function f(e){let{children:t}=e;const n=p();return(0,u.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},1168:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>c,n2:()=>l});var r=n(4614),o=n(183),a=n(5735);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,l]=a,s=(0,o.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},6513:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,t:()=>a});var r=n(4614);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},3181:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(4614),o=n(4644);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},1329:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"}}},6660:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},7746:(e,t,n)=>{"use strict";n.d(t,{LM:()=>f,_F:()=>g,cE:()=>p,SN:()=>E,lO:()=>w,vY:()=>S,oz:()=>x,s1:()=>k,f:()=>y});var r=n(4614),o=n(2381),a=n(2251),i=n(4153),l=n(4755),s=n(4631),c=n(7728);function u(e){return Array.from(new Set(e))}var d=n(6239);const p=!!i._r;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function b(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function k(){const e=(0,c.V)(),{pathname:t}=(0,o.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function w(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>u([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,o.LX)(n.pathname,e)));if(!l)return null;const c=l.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.H)(i),sidebarName:c,sidebarItems:u}}},9603:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>m});var r=n(4614),o=n(605),a=n(7036),i=n(5247);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(8509),c=n(3020);var u=n(5735);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const l=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=o?d(o,{absolute:!0}):void 0;return(0,u.jsxs)(a.Z,{children:[t&&(0,u.jsx)("title",{children:l}),t&&(0,u.jsx)("meta",{property:"og:title",content:l}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,o.Z)(i,t);return(0,u.jsxs)(p.Provider,{value:l,children:[(0,u.jsx)(a.Z,{children:(0,u.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,o.Z)(r,a),children:t})}},183:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>u,Ql:()=>c,i6:()=>s,zX:()=>i});var r=n(4614),o=n(7539),a=n(5735);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},6239:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(4614),o=n(3905),a=n(3020);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.Z,baseUrl:e})),[e])}},9481:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>c,RF:()=>p});var r=n(4614),o=n(4644),a=n(7638),i=(n(7539),n(183)),l=n(5735);const s=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(s.Provider,{value:n,children:t})}function u(){const e=(0,r.useContext)(s);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},4798:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>o});n(3020);const r="default";function o(e,t){return`docs-${e}-${t}`}},9832:(e,t,n)=>{"use strict";n.d(t,{WA:()=>s});n(4614);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=a(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},6480:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(3020),o=n(2381),a=n(7339);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,o.TH)(),c=(0,a.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),u=l===i?e:e.replace(`/${l}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},1853:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(4614),o=n(2381),a=n(183);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},8057:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(3020);function o(){return(0,r.Z)().siteConfig.themeConfig}},8582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(5237);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?o(s):a(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a},7466:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},7339:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(8582);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=n(5237);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=n(7466);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},5237:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3651:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(9314);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?o(s):a(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a},8950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},5797:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(3651);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=n(9314);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=n(8950);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},9314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3905:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(4614);var r=n(7173),o=n.n(r),a=n(6887);const i={"0145a656":[()=>n.e(3881).then(n.bind(n,2684)),"@site/docs/react/hooks/useImageStatus.mdx",2684],"0ac9f023":[()=>n.e(7672).then(n.bind(n,193)),"@site/docs/utils/validator/isNumber.md",193],"114d5267":[()=>n.e(8828).then(n.bind(n,7217)),"@site/docs/utils/object/omit.md",7217],"11738f66":[()=>n.e(4949).then(n.bind(n,7857)),"@site/docs/react/hooks/useResizeObserver.mdx",7857],"13eb7aa0":[()=>n.e(8913).then(n.bind(n,3940)),"@site/docs/utils/validator/isValidEmail.md",3940],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,9453)),"@theme/DocItem",9453],"1c24dc38":[()=>n.e(3899).then(n.bind(n,2210)),"@site/docs/utils/validator/isValidPhoneNumberFormat.md",2210],"1df93b7f":[()=>Promise.all([n.e(532),n.e(3237)]).then(n.bind(n,1418)),"@site/src/pages/index.tsx",1418],"219c5550":[()=>n.e(4291).then(n.bind(n,2462)),"@site/docs/utils/object/objectValues.md",2462],"2eff3e5b":[()=>n.e(4753).then(n.bind(n,1078)),"@site/docs/react/hooks/useToggle.mdx",1078],30200773:[()=>n.e(6863).then(n.bind(n,5641)),"@site/docs/utils/validator/isNullish.md",5641],"308b5f81":[()=>n.e(4580).then(n.bind(n,8777)),"@site/docs/react/hooks/useIntersectionObserver.mdx",8777],"3209f55a":[()=>n.e(4870).then(n.bind(n,2717)),"@site/docs/react/hooks/useAsyncPreservedCallback.mdx",2717],"3842c52b":[()=>n.e(8852).then(n.bind(n,9071)),"@site/docs/react/hooks/usePreservedCallback.mdx",9071],"3c17568f":[()=>n.e(8911).then(n.bind(n,3781)),"@site/docs/react/hooks/useIsMounted.mdx",3781],"3ffd14c6":[()=>n.e(2014).then(n.bind(n,9005)),"@site/docs/react/hooks/useOnClickOutside.mdx",9005],47707012:[()=>n.e(5917).then(n.bind(n,525)),"@site/docs/utils/object/objectEntries.md",525],"47a95eb2":[()=>n.e(410).then(n.bind(n,5777)),"@site/docs/react/components/DebounceWrapper.mdx",5777],"4fcbd706":[()=>n.e(1698).then(n.bind(n,4182)),"@site/docs/utils/string/repeatCharacters.md",4182],"52083c08":[()=>n.e(259).then(n.bind(n,178)),"@site/docs/utils/common/deepCopy.md",178],"525bfb2e":[()=>n.e(2917).then(n.bind(n,9396)),"@site/docs/utils/common/getViewportSize.md",9396],"53f54fd5":[()=>n.e(3883).then(n.bind(n,3072)),"@site/docs/utils/common/abRandom.md",3072],"54102c04":[()=>n.e(2269).then(n.bind(n,8503)),"@site/docs/react/components/LazyImage.mdx",8503],"5c9b0204":[()=>n.e(6331).then(n.bind(n,2490)),"@site/docs/utils/object/pick.md",2490],"5cdabd8b":[()=>n.e(8640).then(n.bind(n,7114)),"@site/docs/utils/string/removeSpecialCharacters.md",7114],"5d610355":[()=>n.e(1958).then(n.bind(n,9504)),"@site/docs/react/hooks/useInterval.mdx",9504],"5e95c892":[()=>n.e(9661).then(n.bind(n,9963)),"@theme/DocsRoot",9963],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"61a35b61":[()=>n.e(9034).then(n.bind(n,6855)),"@site/docs/react/hooks/useMediaQuery.mdx",6855],"61f7a55d":[()=>n.e(8953).then(n.bind(n,7895)),"@site/docs/react/hooks/useWindowScrollTo.mdx",7895],"67c089fb":[()=>n.e(3776).then(n.bind(n,3552)),"@site/docs/react/hooks/useDebounce.mdx",3552],"6b7ba1c1":[()=>n.e(4583).then(n.bind(n,8970)),"@site/docs/utils/common/hexToRgba.md",8970],"6bd54dd6":[()=>n.e(4168).then(n.bind(n,9018)),"@site/docs/react/hooks/useVisibilityChange.mdx",9018],"6dde689d":[()=>n.e(3030).then(n.bind(n,3999)),"@site/docs/react/hooks/useTimeout.mdx",3999],"73aec3a2":[()=>n.e(937).then(n.bind(n,3059)),"@site/docs/utils/string/formatNumberWithCommas.md",3059],"7475180a":[()=>n.e(9646).then(n.t.bind(n,5745,19)),"/home/runner/work/modern-kit/modern-kit/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"764f42b2":[()=>n.e(5497).then(n.bind(n,1205)),"@site/docs/react/hooks/useMergeRefs.mdx",1205],"7d279fec":[()=>n.e(7647).then(n.bind(n,8856)),"@site/docs/react/hooks/useForceUpdate.mdx",8856],84604114:[()=>n.e(2311).then(n.bind(n,5502)),"@site/docs/utils/validator/hasProperty.md",5502],"8797c936":[()=>n.e(9247).then(n.bind(n,659)),"@site/docs/utils/device/isMobile.md",659],"90aeac69":[()=>n.e(4017).then(n.bind(n,5056)),"@site/docs/react/hooks/usePreservedState.mdx",5056],"90f5246c":[()=>n.e(2386).then(n.bind(n,3933)),"@site/docs/utils/object/deleteEmptyProperties.md",3933],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"993de3e1":[()=>n.e(3385).then(n.bind(n,5161)),"@site/docs/introduce/Introduce.md",5161],"9be130a4":[()=>n.e(5337).then(n.bind(n,6825)),"@site/docs/react/hooks/usePrevious.mdx",6825],"9e9c0b32":[()=>n.e(7167).then(n.bind(n,2422)),"@site/docs/utils/validator/isFuntion.md",2422],"9ea35591":[()=>n.e(5539).then(n.bind(n,4576)),"@site/docs/utils/validator/isNotNullish.md",4576],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,2513)),"@theme/DocVersionRoot",2513],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,6211)),"@theme/DocRoot",6211],abb91cfa:[()=>n.e(3980).then(n.bind(n,6297)),"@site/docs/utils/string/formatPhoneNumber.md",6297],ad000c78:[()=>n.e(9128).then(n.bind(n,7961)),"@site/docs/utils/device/isClient.md",7961],af3a3cdc:[()=>n.e(9263).then(n.t.bind(n,3769,19)),"/home/runner/work/modern-kit/modern-kit/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],b35b1276:[()=>n.e(1813).then(n.bind(n,1213)),"@site/docs/react/components/When.mdx",1213],b3bf5b56:[()=>n.e(1175).then(n.bind(n,4037)),"@site/docs/react/hooks/useWindowSize.mdx",4037],b7504c90:[()=>n.e(6911).then(n.bind(n,3885)),"@site/docs/utils/string/countSubstringOccurrences.md",3885],bac0f70c:[()=>n.e(7893).then(n.bind(n,6751)),"@site/docs/utils/string/extractNumber.md",6751],bf0dbc92:[()=>n.e(8067).then(n.bind(n,843)),"@site/docs/react/components/InView.mdx",843],cbca3a13:[()=>n.e(2777).then(n.bind(n,1969)),"@site/docs/utils/common/getUniqTime.md",1969],cdcab0ad:[()=>n.e(3470).then(n.bind(n,7948)),"@site/docs/react/components/Portal.mdx",7948],d272ecc5:[()=>n.e(5380).then(n.bind(n,1415)),"@site/docs/utils/object/objectKeys.md",1415],d5af7a66:[()=>n.e(6002).then(n.bind(n,5032)),"@site/docs/utils/device/isSever.md",5032],dbd15680:[()=>n.e(7515).then(n.bind(n,1248)),"@site/docs/utils/common/noop.md",1248],dbf68f77:[()=>n.e(8862).then(n.bind(n,9685)),"@site/docs/react/hooks/useIsomorphicLayoutEffect.mdx",9685],e72e489d:[()=>n.e(5418).then(n.bind(n,4800)),"@site/docs/utils/common/asyncNoop.md",4800],eabfdb13:[()=>n.e(2627).then(n.bind(n,7763)),"@site/docs/react/hooks/useUnmount.mdx",7763],ee418e94:[()=>n.e(4142).then(n.bind(n,2588)),"@site/docs/utils/device/getOS.md",2588],f6dc8c23:[()=>n.e(324).then(n.bind(n,5065)),"@site/docs/utils/object/mergeProperties.md",5065],f717749c:[()=>n.e(8442).then(n.bind(n,727)),"@site/docs/utils/common/getUniqId.md",727],fa6a5d39:[()=>n.e(1900).then(n.bind(n,1644)),"@site/docs/utils/common/wrapInArray.md",1644],ff56c94b:[()=>n.e(5666).then(n.bind(n,7398)),"@site/docs/utils/common/deepEqual.md",7398]};var l=n(5735);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(3821),u=n(5247);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(2220).then(n.bind(n,2220)),modules:["@theme/NotFound"],webpack:()=>[2220],render(e,t){const n=e.default;return(0,l.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],m=(0,c.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,l.jsx)(u.z,{value:i,children:(0,l.jsx)(a,{...o,...n})})}})}const p=[{path:"/modern-kit/",component:d("/modern-kit/","59a"),exact:!0},{path:"/modern-kit/docs",component:d("/modern-kit/docs","add"),routes:[{path:"/modern-kit/docs",component:d("/modern-kit/docs","c63"),routes:[{path:"/modern-kit/docs",component:d("/modern-kit/docs","ddc"),routes:[{path:"/modern-kit/docs/introduce/",component:d("/modern-kit/docs/introduce/","975"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/DebounceWrapper",component:d("/modern-kit/docs/react/components/DebounceWrapper","4f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/InView",component:d("/modern-kit/docs/react/components/InView","ed4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/LazyImage",component:d("/modern-kit/docs/react/components/LazyImage","001"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/Portal",component:d("/modern-kit/docs/react/components/Portal","356"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/components/When",component:d("/modern-kit/docs/react/components/When","ae9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useAsyncPreservedCallback",component:d("/modern-kit/docs/react/hooks/useAsyncPreservedCallback","183"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useDebounce",component:d("/modern-kit/docs/react/hooks/useDebounce","fab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useForceUpdate",component:d("/modern-kit/docs/react/hooks/useForceUpdate","b44"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useImageStatus",component:d("/modern-kit/docs/react/hooks/useImageStatus","934"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIntersectionObserver",component:d("/modern-kit/docs/react/hooks/useIntersectionObserver","9c5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useInterval",component:d("/modern-kit/docs/react/hooks/useInterval","05b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIsMounted",component:d("/modern-kit/docs/react/hooks/useIsMounted","4b3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect",component:d("/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect","6cd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useMediaQuery",component:d("/modern-kit/docs/react/hooks/useMediaQuery","9ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useMergeRefs",component:d("/modern-kit/docs/react/hooks/useMergeRefs","059"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useOnClickOutside",component:d("/modern-kit/docs/react/hooks/useOnClickOutside","0d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePreservedCallback",component:d("/modern-kit/docs/react/hooks/usePreservedCallback","d50"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePreservedState",component:d("/modern-kit/docs/react/hooks/usePreservedState","a46"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/usePrevious",component:d("/modern-kit/docs/react/hooks/usePrevious","eee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useResizeObserver",component:d("/modern-kit/docs/react/hooks/useResizeObserver","b26"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useTimeout",component:d("/modern-kit/docs/react/hooks/useTimeout","9e7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useToggle",component:d("/modern-kit/docs/react/hooks/useToggle","f90"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useUnmount",component:d("/modern-kit/docs/react/hooks/useUnmount","bb7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useVisibilityChange",component:d("/modern-kit/docs/react/hooks/useVisibilityChange","ca7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useWindowScrollTo",component:d("/modern-kit/docs/react/hooks/useWindowScrollTo","b6d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/react/hooks/useWindowSize",component:d("/modern-kit/docs/react/hooks/useWindowSize","fb2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/abRandom",component:d("/modern-kit/docs/utils/common/abRandom","3dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/asyncNoop",component:d("/modern-kit/docs/utils/common/asyncNoop","9e5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/deepCopy",component:d("/modern-kit/docs/utils/common/deepCopy","56d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/deepEqual",component:d("/modern-kit/docs/utils/common/deepEqual","640"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getUniqId",component:d("/modern-kit/docs/utils/common/getUniqId","a6f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getUniqTime",component:d("/modern-kit/docs/utils/common/getUniqTime","a82"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/getViewportSize",component:d("/modern-kit/docs/utils/common/getViewportSize","8b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/hexToRgba",component:d("/modern-kit/docs/utils/common/hexToRgba","0e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/noop",component:d("/modern-kit/docs/utils/common/noop","4e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/common/wrapInArray",component:d("/modern-kit/docs/utils/common/wrapInArray","345"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/getOS",component:d("/modern-kit/docs/utils/device/getOS","552"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isClient",component:d("/modern-kit/docs/utils/device/isClient","a60"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isMobile",component:d("/modern-kit/docs/utils/device/isMobile","8dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/device/isSever",component:d("/modern-kit/docs/utils/device/isSever","b65"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/deleteEmptyProperties",component:d("/modern-kit/docs/utils/object/deleteEmptyProperties","884"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/mergeProperties",component:d("/modern-kit/docs/utils/object/mergeProperties","533"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectEntries",component:d("/modern-kit/docs/utils/object/objectEntries","87d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectKeys",component:d("/modern-kit/docs/utils/object/objectKeys","34e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/objectValues",component:d("/modern-kit/docs/utils/object/objectValues","e18"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/omit",component:d("/modern-kit/docs/utils/object/omit","6fc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/object/pick",component:d("/modern-kit/docs/utils/object/pick","8b7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/countSubstringOccurrences",component:d("/modern-kit/docs/utils/string/countSubstringOccurrences","c18"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/extractNumber",component:d("/modern-kit/docs/utils/string/extractNumber","df0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/formatNumberWithCommas",component:d("/modern-kit/docs/utils/string/formatNumberWithCommas","327"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/formatPhoneNumber",component:d("/modern-kit/docs/utils/string/formatPhoneNumber","62c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/removeSpecialCharacters",component:d("/modern-kit/docs/utils/string/removeSpecialCharacters","e42"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/string/repeatCharacters",component:d("/modern-kit/docs/utils/string/repeatCharacters","f0a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/hasProperty",component:d("/modern-kit/docs/utils/validator/hasProperty","cd4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isFuntion",component:d("/modern-kit/docs/utils/validator/isFuntion","5bf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNotNullish",component:d("/modern-kit/docs/utils/validator/isNotNullish","196"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNullish",component:d("/modern-kit/docs/utils/validator/isNullish","c80"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isNumber",component:d("/modern-kit/docs/utils/validator/isNumber","291"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isValidEmail",component:d("/modern-kit/docs/utils/validator/isValidEmail","6ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat",component:d("/modern-kit/docs/utils/validator/isValidPhoneNumberFormat","9a5"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"*",component:d("*")}]},674:(e,t,n)=>{"use strict";n.r(t)},3582:(e,t,n)=>{"use strict";n.r(t)},4761:(e,t,n)=>{"use strict";var r=n(4614),o=n(625);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,M=Object.assign;function F(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var o=c.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function U(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case P:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var be=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=ko(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function je(e,t){return e(t)}function Pe(){}var Ne=!1;function Le(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return je(e,t,n)}finally{Ne=!1,(null!==Se||null!==Ee)&&(Pe(),Te())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Re=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ue){Re=!1}function Ie(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var De=!1,Me=null,Fe=!1,ze=null,Be={onError:function(e){De=!0,Me=e}};function Ue(e,t,n,r,o,a,i,l,s){De=!1,Me=null,Ie.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(a(188))}function Ze(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return He(o),e;if(i===r)return He(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var vt=0;function kt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,xt,St,Et,Ct,_t=!1,Tt=[],jt=null,Pt=null,Nt=null,Lt=new Map,At=new Map,Rt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=ko(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=vo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ko(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ke=r,n.target.dispatchEvent(r),ke=null,t.shift()}return!0}function zt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){_t=!1,null!==jt&&Ft(jt)&&(jt=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Nt&&Ft(Nt)&&(Nt=null),Lt.forEach(zt),At.forEach(zt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function $t(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&Ut(jt,e),null!==Pt&&Ut(Pt,e),null!==Nt&&Ut(Nt,e),Lt.forEach(t),At.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Rt.shift()}var qt=k.ReactCurrentBatchConfig,Ht=!0;function Zt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Vt(e,t,n,r){var o=vt,a=qt.transition;qt.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=o,qt.transition=a}}function Wt(e,t,n,r){if(Ht){var o=Qt(e,t,n,r);if(null===o)Hr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jt=Dt(jt,e,t,n,r,o),!0;case"dragenter":return Pt=Dt(Pt,e,t,n,r,o),!0;case"mouseover":return Nt=Dt(Nt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lt.set(a,Dt(Lt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,At.set(a,Dt(At.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var a=ko(o);if(null!==a&&wt(a),null===(a=Qt(e,t,n,r))&&Hr(e,t,r,Gt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Gt=null;function Qt(e,t,n,r){if(Gt=null,null!==(e=vo(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=M({},cn,{view:0,detail:0}),pn=on(dn),fn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=on(fn),hn=on(M({},fn,{dataTransfer:0})),gn=on(M({},dn,{relatedTarget:0})),bn=on(M({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=M({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=on(yn),kn=on(M({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var _n=M({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(_n),jn=on(M({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Nn=on(M({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=on(Ln),Rn=[9,13,27,32],On=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Dn=u&&"TextEvent"in window&&!In,Mn=u&&(!On||In&&8<In&&11>=In),Fn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){_e(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Gn(e){Fr(e,0)}function Qn(e){if(W(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Wn=Vn=null)}function nr(e){if("value"===e.propertyName&&Qn(Wn)){var t=[];Zn(t,Wn,e,we(e)),Le(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Wn)}function ar(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ur(n,a);var i=ur(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,yr=null,vr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==G(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),jr=Cr("animationstart"),Pr=Cr("transitionend"),Nr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Nr.set(e,t),s(t,[e])}for(var Rr=0;Rr<Lr.length;Rr++){var Or=Lr[Rr];Ar(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Ar(_r,"onAnimationEnd"),Ar(Tr,"onAnimationIteration"),Ar(jr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,s,c){if(Ue.apply(this,arguments),De){if(!De)throw Error(a(198));var u=Me;De=!1,Me=null,Fe||(Fe=!0,ze=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Mr(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Mr(o,l,c),a=s}}}if(Fe)throw e=ze,Fe=!1,ze=null,e}function zr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Kt(t)){case 1:var o=Zt;break;case 4:o=Vt;break;default:o=Wt}n=o.bind(null,t,n,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=vo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=a,o=we(n),i=[];e:{var l=Nr.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":c="focus",s=gn;break;case"focusout":c="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pn;break;case _r:case Tr:case jr:s=bn;break;case Pr:s=Nn;break;case"scroll":s=pn;break;case"wheel":s=An;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=jn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Ae(m,p))&&u.push(Zr(m,h,f)))),d)break;m=m.return}0<u.length&&(l=new s(l,c,null,n,o),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ke||!(c=n.relatedTarget||n.fromElement)||!vo(c)&&!c[ho])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?vo(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=jn,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==s?l:wo(s),f=null==c?l:wo(c),(l=new u(h,m+"leave",s,n,o)).target=d,l.relatedTarget=f,h=null,vo(o)===r&&((u=new u(p,m+"enter",c,n,o)).target=f,u.relatedTarget=d,h=u),d=h,s&&c)e:{for(p=c,m=0,f=u=s;f;f=Wr(f))m++;for(f=0,h=p;h;h=Wr(h))f++;for(;0<m-f;)u=Wr(u),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=Wr(u),p=Wr(p)}u=null}else u=null;null!==s&&Gr(i,l,s,u,!1),null!==c&&null!==d&&Gr(i,d,c,u,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Kn;else if(Hn(l))if(Yn)g=ir;else{g=or;var b=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ar);switch(g&&(g=g(e,r))?Zn(i,g,n,o):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ee(l,"number",l.value)),b=r?wo(r):window,e){case"focusin":(Hn(b)||"true"===b.contentEditable)&&(gr=b,br=r,yr=null);break;case"focusout":yr=br=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,kr(i,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":kr(i,n,o)}var y;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Mn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(y=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,$n=!0)),0<(b=Vr(r,v)).length&&(v=new kn(v,e,null,n,o),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=Un(n))&&(v.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(zn=!0,Fn);case"textInput":return(e=t.data)===Fn&&zn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Fr(i,t)}))}function Zr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ae(e,n))&&r.unshift(Zr(e,a,o)),null!=(a=Ae(e,t))&&r.push(Zr(e,a,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Ae(n,a))&&i.unshift(Zr(n,s,l)):o||null!=(s=Ae(n,a))&&i.push(Zr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Kr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,mo="__reactProps$"+po,ho="__reactContainer$"+po,go="__reactEvents$"+po,bo="__reactListeners$"+po,yo="__reactHandles$"+po;function vo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ho]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function ko(e){return!(e=e[fo]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[mo]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function To(e,t){Eo++,So[Eo]=e.current,e.current=t}var jo={},Po=Co(jo),No=Co(!1),Lo=jo;function Ao(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ro(e){return null!=(e=e.childContextTypes)}function Oo(){_o(No),_o(Po)}function Io(e,t,n){if(Po.current!==jo)throw Error(a(168));To(Po,t),To(No,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Lo=Po.current,To(Po,e),To(No,No.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Lo),r.__reactInternalMemoizedMergedChildContext=e,_o(No),_o(Po),To(Po,e)):_o(No),To(No,n)}var zo=null,Bo=!1,Uo=!1;function $o(e){null===zo?zo=[e]:zo.push(e)}function qo(){if(!Uo&&null!==zo){Uo=!0;var e=0,t=vt;try{var n=zo;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zo=null,Bo=!1}catch(o){throw null!==zo&&(zo=zo.slice(e+1)),We(Je,qo),o}finally{vt=t,Uo=!1}}return null}var Ho=[],Zo=0,Vo=null,Wo=0,Go=[],Qo=0,Ko=null,Yo=1,Xo="";function Jo(e,t){Ho[Zo++]=Wo,Ho[Zo++]=Vo,Vo=e,Wo=t}function ea(e,t,n){Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Ko,Ko=e;var r=Yo;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Yo=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Vo;)Vo=Ho[--Zo],Ho[Zo]=null,Wo=Ho[--Zo],Ho[Zo]=null;for(;e===Ko;)Ko=Go[--Qo],Go[Qo]=null,Xo=Go[--Qo],Go[Qo]=null,Yo=Go[--Qo],Go[Qo]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Ac(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ac(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ua(e){if(aa){var t=oa;if(t){var n=t;if(!sa(e,t)){if(ca(e))throw Error(a(418));t=co(n.nextSibling);var r=ra;t&&sa(e,t)?la(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ca(e))throw fa(),Error(a(418));for(;t;)la(e,t),t=co(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function ma(){oa=ra=null,aa=!1}function ha(e){null===ia?ia=[e]:ia.push(e)}var ga=k.ReactCurrentBatchConfig;function ba(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=Co(null),va=null,ka=null,wa=null;function xa(){wa=ka=va=null}function Sa(e){var t=ya.current;_o(ya),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){va=e,wa=ka=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(kl=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:t,next:null},null===ka){if(null===va)throw Error(a(308));ka=e,va.dependencies={lanes:0,firstContext:e}}else ka=ka.next=e;return t}var Ta=null;function ja(e){null===Ta?Ta=[e]:Ta.push(e)}function Pa(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ja(t)):(n.next=o.next,o.next=n),t.interleaved=n,Na(e,r)}function Na(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var La=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ps)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Na(e,n)}return null===(o=r.interleaved)?(t.next=t,ja(r)):(t.next=o.next,o.next=t),r.interleaved=t,Na(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ma(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;La=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=M({},d,p);break e;case 2:La=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Ms|=i,e.lanes=i,e.memoizedState=d}}function za(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $a={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Oa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Oa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ia(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Oa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ia(e,o,r))&&(rc(t,e,r,n),Da(t,e,r))}};function qa(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function Ha(e,t,n){var r=!1,o=jo,a=t.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=Ro(t)?Lo:Po.current,a=(r=null!=(r=t.contextTypes))?Ao(e,o):jo),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$a,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Za(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$a.enqueueReplaceState(t,t.state,null)}function Va(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ba,Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=Ro(t)?Lo:Po.current,o.context=Ao(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$a.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Wa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ba&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ga(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qa(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Oc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&Qa(a)===t.type)?((r=o(t,n.props)).ref=Wa(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=Wa(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=Wa(e,null,t),n.return=e,n;case x:return(t=zc(t,e.mode,n)).return=e,t;case A:return p(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Dc(t,e.mode,n,null)).return=e,t;Ga(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case x:return n.key===o?u(e,t,n,r):null;case A:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Ga(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return m(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Ga(t,r)}return null}function h(o,a,l,s){for(var c=null,u=null,d=a,h=a=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(o,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(o,d),a=i(b,a,h),null===u?c=b:u.sibling=b,u=b,d=g}if(h===l.length)return n(o,d),aa&&Jo(o,h),c;if(null===d){for(;h<l.length;h++)null!==(d=p(o,l[h],s))&&(a=i(d,a,h),null===u?c=d:u.sibling=d,u=d);return aa&&Jo(o,h),c}for(d=r(o,d);h<l.length;h++)null!==(g=m(d,o,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),a=i(g,a,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,h),c}function g(o,l,s,c){var u=I(s);if("function"!=typeof u)throw Error(a(150));if(null==(s=u.call(s)))throw Error(a(151));for(var d=u=null,h=l,g=l=0,b=null,y=s.next();null!==h&&!y.done;g++,y=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var v=f(o,h,y.value,c);if(null===v){null===h&&(h=b);break}e&&h&&null===v.alternate&&t(o,h),l=i(v,l,g),null===d?u=v:d.sibling=v,d=v,h=b}if(y.done)return n(o,h),aa&&Jo(o,g),u;if(null===h){for(;!y.done;g++,y=s.next())null!==(y=p(o,y.value,c))&&(l=i(y,l,g),null===d?u=y:d.sibling=y,d=y);return aa&&Jo(o,g),u}for(h=r(o,h);!y.done;g++,y=s.next())null!==(y=m(h,o,g,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),l=i(y,l,g),null===d?u=y:d.sibling=y,d=y);return e&&h.forEach((function(e){return t(o,e)})),aa&&Jo(o,g),u}return function e(r,a,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(a=o(u,i.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===A&&Qa(c)===u.type){n(r,u.sibling),(a=o(u,i.props)).ref=Wa(r,u,i),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((a=Dc(i.props.children,r.mode,s,i.key)).return=r,r=a):((s=Ic(i.type,i.key,i.props,null,r.mode,s)).ref=Wa(r,a,i),s.return=r,r=s)}return l(r);case x:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=zc(i,r.mode,s)).return=r,r=a}return l(r);case A:return e(r,a,(u=i._init)(i._payload),s)}if(te(i))return h(r,a,i,s);if(I(i))return g(r,a,i,s);Ga(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Fc(i,r.mode,s)).return=r,r=a),l(r)):n(r,a)}}var Ya=Ka(!0),Xa=Ka(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(To(ni,t),To(ti,e),To(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),To(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(To(ti,e),To(ei,n))}function li(e){ti.current===e&&(_o(ei),_o(ti))}var si=Co(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var pi=k.ReactCurrentDispatcher,fi=k.ReactCurrentBatchConfig,mi=0,hi=null,gi=null,bi=null,yi=!1,vi=!1,ki=0,wi=0;function xi(){throw Error(a(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(mi=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),vi){i=0;do{if(vi=!1,ki=0,25<=i)throw Error(a(301));i+=1,bi=gi=null,t.updateQueue=null,pi.current=cl,e=n(r,o)}while(vi)}if(pi.current=il,t=null!==gi&&null!==gi.next,mi=0,bi=gi=hi=null,yi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==ki;return ki=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?hi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===gi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===bi?hi.memoizedState:bi.next;if(null!==t)bi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===bi?hi.memoizedState=bi=e:bi=bi.next=e}return bi}function ji(e,t){return"function"==typeof t?t(e):t}function Pi(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,c=null,u=i;do{var d=u.lane;if((mi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=p,l=r):c=c.next=p,hi.lanes|=d,Ms|=d}u=u.next}while(null!==u&&u!==i);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(kl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,hi.lanes|=i,Ms|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ni(e){var t=Ti(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);lr(i,t.memoizedState)||(kl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Li(){}function Ai(e,t){var n=hi,r=Ti(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,kl=!0),r=r.queue,Hi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,zi(9,Oi.bind(null,n,r,o,t),void 0,null),null===Ns)throw Error(a(349));0!=(30&mi)||Ri(n,t,o)}return o}function Ri(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Mi(e)}function Ii(e,t,n){return n((function(){Di(t)&&Mi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Mi(e){var t=Na(e,1);null!==t&&rc(t,e,1,-1)}function Fi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,hi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function Ui(e,t,n,r){var o=_i();hi.flags|=e,o.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var o=Ti();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=zi(t,n,a,r))}hi.flags|=e,o.memoizedState=zi(1|t,n,a,r)}function qi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return $i(2048,8,e,t)}function Zi(e,t){return $i(4,2,e,t)}function Vi(e,t){return $i(4,4,e,t)}function Wi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Gi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Wi.bind(null,t,e),n)}function Qi(){}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,kl=!0),e.memoizedState=n):(lr(n,t)||(n=ht(),hi.lanes|=n,Ms|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{vt=n,fi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Pa(e,t,n,r))){rc(n,e,r,tc()),al(n,t,r)}}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,ja(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Pa(e,t,o,r))&&(rc(n,e,r,o=tc()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function ol(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:_a,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Wi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Fi,useDebugValue:Qi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Ns)throw Error(a(349));0!=(30&mi)||Ri(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Ns.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=ki++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Gi,useInsertionEffect:Zi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Pi,useRef:Bi,useState:function(){return Pi(ji)},useDebugValue:Qi,useDeferredValue:function(e){return Xi(Ti(),gi.memoizedState,e)},useTransition:function(){return[Pi(ji)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Ai,useId:el,unstable_isNewReconciler:!1},cl={readContext:_a,useCallback:Ki,useContext:_a,useEffect:Hi,useImperativeHandle:Gi,useInsertionEffect:Zi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Ni,useRef:Bi,useState:function(){return Ni(ji)},useDebugValue:Qi,useDeferredValue:function(e){var t=Ti();return null===gi?t.memoizedState=e:Xi(t,gi.memoizedState,e)},useTransition:function(){return[Ni(ji)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:Ai,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zs||(Zs=!0,Vs=r),pl(0,t)},n}function hl(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Ws?Ws=new Set([this]):Ws.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function bl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Ia(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vl=k.ReactCurrentOwner,kl=!1;function wl(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ya(t,e.child,n,r)}function xl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||kl?(aa&&n&&ta(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Rc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Zl(e,t,o)}return t.flags|=1,(e=Oc(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(kl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Zl(e,t,o);0!=(131072&e.flags)&&(kl=!0)}}return Tl(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Os,Rs),Rs|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Os,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,To(Os,Rs),Rs|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,To(Os,Rs),Rs|=r;return wl(e,t,o,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,o){var a=Ro(n)?Lo:Po.current;return a=Ao(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||kl?(aa&&r&&ta(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function jl(e,t,n,r,o){if(Ro(n)){var a=!0;Mo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hl(e,t),Ha(t,n,r),Va(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=_a(c):c=Ao(t,c=Ro(n)?Lo:Po.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&Za(t,i,r,c),La=!1;var p=t.memoizedState;i.state=p,Fa(t,r,i,o),s=t.memoizedState,l!==r||p!==s||No.current||La?("function"==typeof u&&(Ua(t,n,u,r),s=t.memoizedState),(l=La||qa(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ra(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ba(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=_a(s):s=Ao(t,s=Ro(n)?Lo:Po.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Za(t,i,r,s),La=!1,p=t.memoizedState,i.state=p,Fa(t,r,i,o);var m=t.memoizedState;l!==d||p!==m||No.current||La?("function"==typeof f&&(Ua(t,n,f,r),m=t.memoizedState),(c=La||qa(t,n,c,r,p,m,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,a,o)}function Pl(e,t,n,r,o,a){_l(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),Zl(e,t,a);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,l,a)):wl(e,t,l,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Nl(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oi(e,t.containerInfo)}function Ll(e,t,n,r,o){return ma(),ha(o),t.flags|=256,wl(e,t,n,r),t.child}var Al,Rl,Ol,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,o=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),To(si,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Mc(s,o,0,null),e=Dc(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ml(n),t.memoizedState=Dl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Mc({mode:"visible",children:r.children},o,0,null),(i=Dc(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ya(t,e.child,null,l),t.child.memoizedState=Ml(l),t.memoizedState=Dl,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(a(419)),r,void 0))}if(s=0!=(l&e.childLanes),kl||s){if(null!==(r=Ns)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Na(e,o),rc(r,e,o,-1))}return gc(),Bl(e,t,l,r=dl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=jc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=co(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Ko,Yo=e.id,Xo=e.overflow,Ko=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,n);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Oc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Oc(r,l):(l=Dc(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Ml(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=Oc(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function zl(e,t){return(t=Mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&ha(r),Ya(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function $l(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ul(e,n,t);else if(19===e.tag)Ul(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,a);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ms|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Oc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Oc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Wl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wl(t),null;case 1:case 17:return Ro(t.type)&&Oo(),Wl(t),null;case 3:return r=t.stateNode,ai(),_o(No),_o(Po),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lc(ia),ia=null))),Rl(e,t),Wl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Ol(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Wl(t),null}if(e=ri(ei.current),pa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fo]=t,r[mo]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":oe(r,i),zr("invalid",r)}for(var s in ye(n,i),o=null,i)if(i.hasOwnProperty(s)){var c=i[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[mo]=r,Al(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],e);o=r;break;case"source":zr("error",e),o=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),o=r;break;case"details":zr("toggle",e),o=r;break;case"input":K(e,r),o=Q(e,r),zr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),zr("invalid",e)}for(i in ye(n,o),c=o)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=u&&"onScroll"===i&&zr("scroll",e):null!=u&&v(e,i,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Wl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),pa(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return Wl(t),null;case 13:if(_o(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))fa(),ma(),t.flags|=98560,i=!1;else if(i=pa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=t}else ma(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Wl(t),i=!1}else null!==ia&&(lc(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Is&&(Is=3):gc())),null!==t.updateQueue&&(t.flags|=4),Wl(t),null);case 4:return ai(),Rl(e,t),null===e&&$r(t.stateNode.containerInfo),Wl(t),null;case 10:return Sa(t.type._context),Wl(t),null;case 19:if(_o(si),null===(i=t.memoizedState))return Wl(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Vl(i,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ci(e))){for(t.flags|=128,Vl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>qs&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!aa)return Wl(t),null}else 2*Ye()-i.renderingStartTime>qs&&1073741824!==n&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=si.current,To(si,r?1&n|2:1&n),t):(Wl(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Rs)&&(Wl(t),6&t.subtreeFlags&&(t.flags|=8192)):Wl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ql(e,t){switch(na(t),t.tag){case 1:return Ro(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(No),_o(Po),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_o(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(si),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Al=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rl=function(){},Ol=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),i=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&zr("scroll",e),i||s===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Kl=!1,Yl=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cc(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Cc(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[mo],delete t[go],delete t[bo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)ms(e,t,n),n=n.sibling}function ms(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Yl||es(n,t);case 6:var r=ds,o=ps;ds=null,fs(e,t,n),ps=o,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),$t(e)):so(ds,n.stateNode));break;case 4:r=ds,o=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=o;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Yl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Cc(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,fs(e,t,n),Yl=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,ps=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,ps=!0;break e}s=s.return}if(null===ds)throw Error(a(160));ms(i,l,o),ds=null,ps=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Cc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bs(t,e),t=t.sibling}function bs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(g){Cc(e,e.return,g)}try{rs(5,e,e.return)}catch(g){Cc(e,e.return,g)}}break;case 1:gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(g){Cc(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(o,i),ve(s,l);var u=ve(s,i);for(l=0;l<c.length;l+=2){var d=c[l],p=c[l+1];"style"===d?ge(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):v(o,d,p,u)}switch(s){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(o,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(g){Cc(e,e.return,g)}}break;case 6:if(gs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Cc(e,e.return,g)}}break;case 3:if(gs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){Cc(e,e.return,g)}break;case 4:default:gs(t,e),ys(e);break;case 13:gs(t,e),ys(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||($s=Ye())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(u=Yl)||d,gs(t,e),Yl=u):gs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(p=Jl=d;null!==Jl;){switch(m=(f=Jl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){Cc(r,n,g)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){xs(p);continue}}null!==m?(m.return=f,Jl=m):xs(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=he("display",l))}catch(g){Cc(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){Cc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gs(t,e),ys(e),4&r&&hs(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cs(e,ss(e),i);break;default:throw Error(a(161))}}catch(l){Cc(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Jl=e,ks(e,t,n)}function ks(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var o=Jl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Kl;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Kl;var c=Yl;if(Kl=i,(Yl=s)&&!c)for(Jl=o;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Ss(o):null!==s?(s.return=i,Jl=s):Ss(o);for(;null!==a;)Jl=a,ks(a,t,n),a=a.sibling;Jl=o,Kl=l,Yl=c}ws(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Jl=a):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ba(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&za(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}za(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&$t(p)}}}break;default:throw Error(a(163))}Yl||512&t.flags&&as(t)}catch(f){Cc(t,t.return,f)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Cc(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Cc(t,o,s)}}var a=t.return;try{as(t)}catch(s){Cc(t,a,s)}break;case 5:var i=t.return;try{as(t)}catch(s){Cc(t,i,s)}}}catch(s){Cc(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,Cs=Math.ceil,_s=k.ReactCurrentDispatcher,Ts=k.ReactCurrentOwner,js=k.ReactCurrentBatchConfig,Ps=0,Ns=null,Ls=null,As=0,Rs=0,Os=Co(0),Is=0,Ds=null,Ms=0,Fs=0,zs=0,Bs=null,Us=null,$s=0,qs=1/0,Hs=null,Zs=!1,Vs=null,Ws=null,Gs=!1,Qs=null,Ks=0,Ys=0,Xs=null,Js=-1,ec=0;function tc(){return 0!=(6&Ps)?Ye():-1!==Js?Js:Js=Ye()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Ps)&&0!==As?As&-As:null!==ga.transition?(0===ec&&(ec=ht()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function rc(e,t,n,r){if(50<Ys)throw Ys=0,Xs=null,Error(a(185));bt(e,n,r),0!=(2&Ps)&&e===Ns||(e===Ns&&(0==(2&Ps)&&(Fs|=n),4===Is&&sc(e,As)),oc(e,r),1===n&&0===Ps&&0==(1&t.mode)&&(qs=Ye()+500,Bo&&qo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=pt(e,e===Ns?As:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Bo=!0,$o(e)}(cc.bind(null,e)):$o(cc.bind(null,e)),io((function(){0==(6&Ps)&&qo()})),n=null;else{switch(kt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Nc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Js=-1,ec=0,0!=(6&Ps))throw Error(a(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=pt(e,e===Ns?As:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var o=Ps;Ps|=2;var i=hc();for(Ns===e&&As===t||(Hs=null,qs=Ye()+500,fc(e,t));;)try{vc();break}catch(s){mc(e,s)}xa(),_s.current=i,Ps=o,null!==Ls?t=0:(Ns=null,As=0,t=Is)}if(0!==t){if(2===t&&(0!==(o=mt(e))&&(r=o,t=ic(e,o))),1===t)throw n=Ds,fc(e,0),sc(e,r),oc(e,Ye()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!lr(a(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=bc(e,r))&&(0!==(i=mt(e))&&(r=i,t=ic(e,i))),1===t))throw n=Ds,fc(e,0),sc(e,r),oc(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xc(e,Us,Hs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=$s+500-Ye())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Us,Hs),t);break}xc(e,Us,Hs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Us,Hs),r);break}xc(e,Us,Hs);break;default:throw Error(a(329))}}}return oc(e,Ye()),e.callbackNode===n?ac.bind(null,e):null}function ic(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Us,Us=n,null!==t&&lc(t)),e}function lc(e){null===Us?Us=e:Us.push.apply(Us,e)}function sc(e,t){for(t&=~zs,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Ps))throw Error(a(327));Sc();var t=pt(e,0);if(0==(1&t))return oc(e,Ye()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Ds,fc(e,0),sc(e,t),oc(e,Ye()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Us,Hs),oc(e,Ye()),null}function uc(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&(qs=Ye()+500,Bo&&qo())}}function dc(e){null!==Qs&&0===Qs.tag&&0==(6&Ps)&&Sc();var t=Ps;Ps|=1;var n=js.transition,r=vt;try{if(js.transition=null,vt=1,e)return e()}finally{vt=r,js.transition=n,0==(6&(Ps=t))&&qo()}}function pc(){Rs=Os.current,_o(Os)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ai(),_o(No),_o(Po),di();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:_o(si);break;case 10:Sa(r.type._context);break;case 22:case 23:pc()}n=n.return}if(Ns=e,Ls=e=Oc(e.current,null),As=Rs=t,Is=0,Ds=null,zs=Fs=Ms=0,Us=Bs=null,null!==Ta){for(t=0;t<Ta.length;t++)if(null!==(r=(n=Ta[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ta=null}return e}function mc(e,t){for(;;){var n=Ls;try{if(xa(),pi.current=il,yi){for(var r=hi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}yi=!1}if(mi=0,bi=gi=hi=null,vi=!1,ki=0,Ts.current=null,null===n||null===n.return){Is=1,Ds=t,Ls=null;break}e:{var i=e,l=n.return,s=n,c=t;if(t=As,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=bl(l);if(null!==m){m.flags&=-257,yl(m,l,s,0,t),1&m.mode&&gl(i,u,t),c=u;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(c),t.updateQueue=g}else h.add(c);break e}if(0==(1&t)){gl(i,u,t),gc();break e}c=Error(a(426))}else if(aa&&1&s.mode){var b=bl(l);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),yl(b,l,s,0,t),ha(ul(c,s));break e}}i=c=ul(c,s),4!==Is&&(Is=2),null===Bs?Bs=[i]:Bs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ma(i,ml(0,c,t));break e;case 1:s=c;var y=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Ws||!Ws.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Ma(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(k){t=k,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function hc(){var e=_s.current;return _s.current=il,null===e?il:e}function gc(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===Ns||0==(268435455&Ms)&&0==(268435455&Fs)||sc(Ns,As)}function bc(e,t){var n=Ps;Ps|=2;var r=hc();for(Ns===e&&As===t||(Hs=null,fc(e,t));;)try{yc();break}catch(o){mc(e,o)}if(xa(),Ps=n,_s.current=r,null!==Ls)throw Error(a(261));return Ns=null,As=0,Is}function yc(){for(;null!==Ls;)kc(Ls)}function vc(){for(;null!==Ls&&!Qe();)kc(Ls)}function kc(e){var t=Es(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?wc(e):Ls=t,Ts.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gl(n,t,Rs)))return void(Ls=n)}else{if(null!==(n=Ql(n,t)))return n.flags&=32767,void(Ls=n);if(null===e)return Is=6,void(Ls=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===Is&&(Is=5)}function xc(e,t,n){var r=vt,o=js.transition;try{js.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Qs);if(0!=(6&Ps))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Ns&&(Ls=Ns=null,As=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gs||(Gs=!0,Nc(tt,(function(){return Sc(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=js.transition,js.transition=null;var l=vt;vt=1;var s=Ps;Ps|=4,Ts.current=null,function(e,t){if(eo=Ht,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==r&&3!==p.nodeType||(c=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===o&&(s=l),f===i&&++d===r&&(c=l),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,b=h.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ba(t.type,g),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(a(163))}}catch(w){Cc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}h=ns,ns=!1}(e,n),bs(n,e),mr(to),Ht=!!eo,to=eo=null,e.current=n,vs(n,e,o),Ke(),Ps=s,vt=l,js.transition=i}else e.current=n;if(Gs&&(Gs=!1,Qs=e,Ks=o),i=e.pendingLanes,0===i&&(Ws=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),oc(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Zs)throw Zs=!1,e=Vs,Vs=null,e;0!=(1&Ks)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Xs?Ys++:(Ys=0,Xs=e):Ys=0,qo()}(e,t,n,r)}finally{js.transition=o,vt=r}return null}function Sc(){if(null!==Qs){var e=kt(Ks),t=js.transition,n=vt;try{if(js.transition=null,vt=16>e?16:e,null===Qs)var r=!1;else{if(e=Qs,Qs=null,Ks=0,0!=(6&Ps))throw Error(a(331));var o=Ps;for(Ps|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var p=d.child;if(null!==p)p.return=d,Jl=p;else for(;null!==Jl;){var f=(d=Jl).sibling,m=d.return;if(is(d),d===u){Jl=null;break}if(null!==f){f.return=m,Jl=f;break}Jl=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Jl=y;break e}Jl=i.return}}var v=e.current;for(Jl=v;null!==Jl;){var k=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==k)k.return=l,Jl=k;else e:for(l=v;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(x){Cc(s,s.return,x)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Ps=o,qo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(x){}r=!0}return r}finally{vt=n,js.transition=t}}return!1}function Ec(e,t,n){e=Ia(e,t=ml(0,t=ul(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),oc(e,t))}function Cc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ws||!Ws.has(r))){t=Ia(t,e=hl(t,e=ul(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),oc(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(As&n)===n&&(4===Is||3===Is&&(130023424&As)===As&&500>Ye()-$s?fc(e,0):zs|=n),oc(e,t)}function Tc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Na(e,t))&&(bt(e,t,n),oc(e,n))}function jc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Tc(e,n)}function Nc(e,t){return We(e,t)}function Lc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ac(e,t,n,r){return new Lc(e,t,n,r)}function Rc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Oc(e,t){var n=e.alternate;return null===n?((n=Ac(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Rc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Dc(n.children,o,i,t);case E:l=8,o|=8;break;case C:return(e=Ac(12,n,t,2|o)).elementType=C,e.lanes=i,e;case P:return(e=Ac(13,n,t,o)).elementType=P,e.lanes=i,e;case N:return(e=Ac(19,n,t,o)).elementType=N,e.lanes=i,e;case R:return Mc(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case T:l=9;break e;case j:l=11;break e;case L:l=14;break e;case A:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ac(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Dc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Mc(e,t,n,r){return(e=Ac(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function zc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,a,i,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ac(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function $c(e){if(!e)return jo;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Do(e,n,t)}return t}function qc(e,t,n,r,o,a,i,l,s){return(e=Uc(n,r,!0,e,0,a,0,l,s)).context=$c(null),n=e.current,(a=Oa(r=tc(),o=nc(n))).callback=null!=t?t:null,Ia(n,a,o),e.current.lanes=o,bt(e,o,r),oc(e,r),e}function Hc(e,t,n,r){var o=t.current,a=tc(),i=nc(o);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ia(o,t,i))&&(rc(e,o,i,a),Da(e,o,i)),i}function Zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||No.current)kl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return kl=!1,function(e,t,n){switch(t.tag){case 3:Nl(t),ma();break;case 5:ii(t);break;case 1:Ro(t.type)&&Mo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fl(e,t,n):(To(si,1&si.current),null!==(e=Zl(e,t,n))?e.sibling:null);To(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ql(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Zl(e,t,n)}(e,t,n);kl=0!=(131072&e.flags)}else kl=!1,aa&&0!=(1048576&t.flags)&&ea(t,Wo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var o=Ao(t,Po.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(i=!0,Mo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Aa(t),o.updater=$a,t.stateNode=o,o._reactInternals=t,Va(t,r,e,n),t=Pl(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Rc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===L)return 14}return 2}(r),e=ba(r,e),o){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=jl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,ba(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Tl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 1:return r=t.type,o=t.pendingProps,jl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 3:e:{if(Nl(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Ra(e,t),Fa(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ll(e,t,r,n,o=ul(Error(a(423)),t));break e}if(r!==o){t=Ll(e,t,r,n,o=ul(Error(a(424)),t));break e}for(oa=co(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ma(),r===o){t=Zl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ua(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==i&&no(r,i)&&(t.flags|=32),_l(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ua(t),null;case 13:return Fl(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ya(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xl(e,t,r,o=t.elementType===r?o:ba(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,To(ya,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===o.children&&!No.current){t=Zl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Oa(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Ea(i.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ea(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=_a(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=ba(r=t.type,t.pendingProps),Sl(e,t,r,o=ba(r.type,o),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ba(r,o),Hl(e,t),t.tag=1,Ro(r)?(e=!0,Mo(t)):e=!1,Ca(t,n),Ha(t,r,o),Va(t,r,o,n),Pl(null,t,r,!0,e,n);case 19:return ql(e,t,n);case 22:return Cl(e,t,n)}throw Error(a(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=Zc(i);l.call(e)}}Hc(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Zc(i);a.call(e)}}var i=qc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[ho]=i.current,$r(8===e.nodeType?e.parentNode:e),dc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Zc(s);l.call(e)}}var s=Uc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[ho]=s.current,$r(8===e.nodeType?e.parentNode:e),dc((function(){Hc(t,s,n,r)})),s}(n,t,e,o,r);return Zc(i)}Kc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hc(e,t,null,null)},Kc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Hc(null,e,null,null)})),t[ho]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Mt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Ye()),0==(6&Ps)&&(qs=Ye()+500,qo()))}break;case 13:dc((function(){var t=Na(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Wc(e,1)}},xt=function(e){if(13===e.tag){var t=Na(e,134217728);if(null!==t)rc(t,e,134217728,tc());Wc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=Na(e,t);if(null!==n)rc(n,e,t,tc());Wc(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));W(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=uc,Pe=dc;var tu={usingClientEntryPoint:!1,Events:[ko,wo,xo,_e,Te,uc]},nu={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),at=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(a(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,o),e[ho]=t.current,$r(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=qc(t,null,e,1,null!=n?n:null,o,0,i,l),e[ho]=t.current,$r(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(a(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ho]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},2364:(e,t,n)=>{"use strict";var r=n(2832);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},2832:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4761)},2683:(e,t,n)=>{"use strict";n.d(t,{B6:()=>Z,ql:()=>J});var r=n(4614),o=n(5769),a=n.n(o),i=n(4880),l=n.n(i),s=n(5912),c=n.n(s),u=n(7063),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},k=Object.keys(g).map((function(e){return g[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},j=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,a=Object.keys(e),i=0;i<a.length;i+=1){var l=a[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var l=a[i],s=p({},r[l],o[l]);r[l]=s}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},N=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},A=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},R=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[w[n]||n]=e[n],t}),t)},M=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=D(n,o),[r.createElement(g.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=I(n),a=N(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===R.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=L(e.metaTags,v),a=L(t,b),i=L(n,y);return{priorityMethods:{toComponent:function(){return[].concat(M(g.META,o.priority),M(g.LINK,a.priority),M(g.SCRIPT,i.priority))},toString:function(){return F(g.META,o.priority,r)+" "+F(g.LINK,a.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);f=m.priorityMethods,u=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",o,r),link:F(g.LINK,u,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,a,r),script:F(g.SCRIPT,p,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:s,titleAttributes:c},r)}},B=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),H="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=H,Z.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var u=a.indexOf(s);-1!==u&&a.splice(u,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},G=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=N(e)),W(g.TITLE,t)}(u,d);var p={baseTag:V(g.BASE,n),linkTags:V(g.LINK,o),metaTags:V(g.META,a),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,s),styleTags:V(g.STYLE,c)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},Q=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,a=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:j(g.LINK,["rel","href"],e),metaTags:j(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:j(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:j(g.SCRIPT,["src","innerHTML"],e),styleTags:j(g.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});Z.canUseDOM?(t=a,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame((function(){G(t,(function(){Q=null}))})):(G(t),Q=null)):z&&(o=z(a)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:q.isRequired},K.displayName="HelmetDispatcher";var Y=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(A(this.props,"helmetData"),A(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},o,((t={})[r.type]=i,t.titleAttributes=p({},a),t));case g.BODY:return p({},o,{bodyAttributes:p({},a)});case g.HTML:return p({},o,{htmlAttributes:p({},a)});default:return p({},o,((n={})[r.type]=p({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(k.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+k.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=h(r,Y),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,a),s){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),o=p({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof U||(a=new U(a.context,a.instances)),a?r.createElement(K,p({},o,{context:a.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(K,p({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2251:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(2381),o=n(1038),a=n(4614);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},6985:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>u,rU:()=>g});var r=n(2381),o=n(8321),a=n(4614),i=n(4972),l=n(1038),s=n(4785),c=n(5760),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},f=function(e){return e},m=a.forwardRef;void 0===m&&(m=f);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,l.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==m&&t||n,a.createElement("a",u)}));var g=m((function(e,t){var n=e.component,o=void 0===n?h:n,u=e.replace,g=e.to,b=e.innerRef,y=(0,s.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(d(g,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},y,{href:s,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return f!==m?h.ref=t||b:h.innerRef=b,a.createElement(o,h)}))})),b=function(e){return e},y=a.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,m=e.className,h=e.exact,v=e.isActive,k=e.location,w=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=k||e.location,i=p(d(E,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:h,sensitive:w,strict:x}):null,P=!!(v?v(j,n):j),N="function"==typeof m?m(P):m,L="function"==typeof S?S(P):S;P&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,u),L=(0,l.Z)({},L,f));var A=(0,l.Z)({"aria-current":P&&o||null,className:N,style:L,to:i},_);return b!==y?A.ref=t||C:A.innerRef=C,a.createElement(g,A)}))}))},2381:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>R,k6:()=>A,rs:()=>N,s6:()=>y});var r=n(8321),o=n(4614),a=n(5769),i=n.n(a),l=n(4972),s=n(5760),c=n(1038),u=n(5761),d=n.n(u),p=(n(9117),n(4785)),f=(n(3431),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=o.createContext||function(e,t){var n,a,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},o.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},o.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},o.getValue=function(){return this.context[l]?this.context[l].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return c.contextTypes=((a={})[l]=i().object,a),{Provider:s,Consumer:c}},g=function(e){var t=h();return t.displayName=e,t},b=g("Router-History"),y=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var k={},w=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,l=void 0!==i&&i,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var o=[],a={regexp:d()(e,o,t),keys:o};return x<w&&(r[e]=a,x++),a}(n,{end:a,strict:l,sensitive:c}),o=r.regexp,i=r.keys,s=o.exec(e);if(!s)return null;var u=s[0],p=s.slice(1),f=e===u;return a&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,a=(0,c.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,u=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===o.Children.count(e)}(l)&&(l=null),o.createElement(y.Provider,{value:a},a.match?l?"function"==typeof l?l(a):l:u?o.createElement(u,a):d?d(a):null:"function"==typeof l?l(a):null)}))},t}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function j(e){return function(){(0,s.Z)(!1)}}function P(){}o.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,c.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);var L=o.useContext;function A(){return L(b)}function R(){return L(y).location}},4972:(e,t,n)=>{"use strict";n.d(t,{lX:()=>k,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=n(1038);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),s=t&&o(t),c=l||s;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(5760);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,k=void 0!==c&&c,w=i.getUserConfirmation,x=void 0===w?g:w,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=u(a,C)),f(a,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var j=m();function P(e){(0,r.Z)(U,e),U.length=n.length,j.notifyListeners(U.location,U.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||R(_(e.state))}function L(){R(_(v()))}var A=!1;function R(e){if(A)A=!1,P();else{j.confirmTransitionTo(e,"POP",x,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,M(o))}(e)}))}}var O=_(v()),I=[O.key];function D(e){return C+p(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(b,N),a&&window.addEventListener(y,L)):0===F&&(window.removeEventListener(b,N),a&&window.removeEventListener(y,L))}var B=!1;var U={length:n.length,action:"POP",location:O,createHref:D,push:function(e,t){var r="PUSH",a=f(e,t,T(),U.location);j.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),k)window.location.href=t;else{var s=I.indexOf(U.location.key),c=I.slice(0,s+1);c.push(a.key),I=c,P({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,T(),U.location);j.confirmTransitionTo(a,r,x,(function(e){if(e){var t=D(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),k)window.location.replace(t);else{var s=I.indexOf(U.location.key);-1!==s&&(I[s]=a.key),P({action:r,location:a})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}}};return U}var w="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?g:o,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(s(e.basename)):"",y=x[c],v=y.encodePath,k=y.decodePath;function _(){var e=k(E());return b&&(e=u(e,b)),f(e)}var T=m();function j(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var P=!1,N=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var o=_(),i=B.location;if(!P&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===p(o))return;N=null,function(e){if(P)P=!1,j();else{var t="POP";T.confirmTransitionTo(e,t,a,(function(n){n?j({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(p(t));-1===n&&(n=0);var r=I.lastIndexOf(p(e));-1===r&&(r=0);var o=n-r;o&&(P=!0,D(o))}(e)}))}}(o)}}var A=E(),R=v(A);A!==R&&C(R);var O=_(),I=[p(O)];function D(e){t.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?window.addEventListener(w,L):0===M&&window.removeEventListener(w,L)}var z=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=p(r),o=v(b+t);if(E()!==o){N=t,function(e){window.location.hash=e}(o);var a=I.lastIndexOf(p(B.location)),i=I.slice(0,a+1);i.push(t),I=i,j({action:n,location:r})}else j()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,a,(function(e){if(e){var t=p(r),o=v(b+t);E()!==o&&(N=t,C(o));var a=I.indexOf(p(B.location));-1!==a&&(I[a]=t),j({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),t()}},listen:function(e){var t=T.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,c=void 0===s?6:s,u=m();function d(e){(0,r.Z)(k,e),k.length=k.entries.length,u.notifyListeners(k.location,k.action)}function h(){return Math.random().toString(36).substr(2,c)}var g=T(l,0,a.length-1),b=a.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),y=p;function v(e){var t=T(k.index+e,0,k.entries.length-1),r=k.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var k={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:y,push:function(e,t){var r="PUSH",o=f(e,t,h(),k.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=k.index+1,n=k.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,h(),k.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(k.entries[k.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=k.index+e;return t>=0&&t<k.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return k}},3431:(e,t,n)=>{"use strict";var r=n(9117),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var b=i[g];if(!(a[b]||r&&r[b]||h&&h[b]||l&&l[b])){var y=p(n,b);try{c(t,b,y)}catch(v){}}}}return t}},5912:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},2973:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2602:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,i(e,u,d)),1===e?(s(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){s(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),l=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},5761:(e,t,n)=>{var r=n(2973);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return l(a(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],y=n[5],v=n[6],k=n[7];l&&(r.push(l),l="");var w=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||u,C=b||y;r.push({name:g||a++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:w,asterisk:!!k,pattern:C?c(C):k?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var a="",l=t||{},s=(o||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=l[u.name];if(null==p){if(u.optional){u.partial&&(a+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');a+=u.prefix+d}}else a+=u}return a}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,a=!1!==n.end,i="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)i+=s(c);else{var p=s(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return o||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=a?"$":o&&h?"":"(?="+m+"|$)",u(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(f(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(a(e,n),t,n)}(e,t,n)}},6468:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},5536:(e,t,n)=>{const r=n(6468),o=n(9601),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(9932).resolve(t)],delete Prism.languages[e],n(9932)(t),a.add(e)}))}i.silent=!1,e.exports=i},8624:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(o>=a.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),y=[];h&&y.push.apply(y,i([h])),y.push(g),b&&y.push.apply(y,i([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(Prism)},9932:(e,t,n)=>{var r={"./":5536};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=9932},9601:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function o(r,a){if(!(r in n)){a.push(r);var i=a.indexOf(r);if(i<a.length-1)throw new Error("Circular dependency: "+a.slice(i).join(" -> "));var l={},s=e[r];if(s){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in o(t,a),l[t]=!0,n[t])l[i]=!0}t(s.require,c),t(s.optional,c),t(s.modify,c)}n[r]=l,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(s);i=i.map(c),l=(l||[]).map(c);var u=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var p,f=r(s),m=u;o(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var b in d)if(!(b in u))for(var y in f(b))if(y in u){p[b]=!0;break}for(var v in m=p)u[v]=!0}var k={getIds:function(){var e=[];return k.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,l={},s={};function c(e){if(e in l)return l[e];s[e]=!0;var o,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)o=r(e);else{var p=i(u.map((function(e){var t=c(e);return delete s[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return l[e]=o}for(var u in n)c(u);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,u,t,n)}};return k}}();e.exports=t},8688:(e,t,n)=>{"use strict";var r=n(8846);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5769:(e,t,n)=>{e.exports=n(8688)()},8846:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4880:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},2554:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case s:return e;default:return t}}case o:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===k||e.$$typeof===b)},t.typeOf=w},9117:(e,t,n)=>{"use strict";e.exports=n(2554)},1819:(e,t,n)=>{"use strict";var r=n(4614),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:l.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},67:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var k=v.prototype=new y;k.constructor=v,h(k,b.prototype),k.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===a?"."+j(s,0):a,w(i)?(o="",null!=e&&(o=e.replace(T,"$&/")+"/"),P(i,t,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(s=0,a=""===a?".":a+":",w(e))for(var c=0;c<e.length;c++){var u=a+j(l=e[c],c);s+=P(l,t,o,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=P(l=l.value,t,o,u=a+j(l,c++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function N(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},R={transition:null},O={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:R,ReactCurrentOwner:S};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=i,t.PureComponent=v,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.2.0"},4614:(e,t,n)=>{"use strict";e.exports=n(67)},5735:(e,t,n)=>{"use strict";e.exports=n(1819)},8628:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>a(s,n))c<o&&0>a(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,k(e),!h)if(null!==r(c))h=!0,R(x);else{var t=r(u);null!==t&&O(w,t.startTime-e)}}function x(e,n){h=!1,g&&(g=!1,y(_),_=-1),m=!0;var a=f;try{for(k(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!P());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&o(c),k(n)}else o(c);p=r(c)}if(null!==p)var s=!0;else{var d=r(u);null!==d&&O(w,d.startTime-n),s=!1}return s}finally{p=null,f=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,T=5,j=-1;function P(){return!(t.unstable_now()-j<T)}function N(){if(null!==C){var e=t.unstable_now();j=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(N)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,A=L.port2;L.port1.onmessage=N,S=function(){A.postMessage(null)}}else S=function(){b(N,0)};function R(e){C=e,E||(E=!0,S())}function O(e,n){_=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(g?(y(_),_=-1):g=!0,O(w,a-i))):(e.sortIndex=l,n(c,e),h||m||(h=!0,R(x))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},625:(e,t,n)=>{"use strict";e.exports=n(8628)},7063:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var c=a[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},851:(e,t,n)=>{"use strict";n.d(t,{p1:()=>T,y$:()=>ee});var r,o,a,i,l,s,c,u=n(4614),d=n(605),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&x(e,n,t[n]);if(y)for(var n of y(t))w.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>m(e,g(t)),C=(e,t)=>{var n={};for(var r in e)k.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&w.call(e,r)&&(n[r]=e[r]);return n},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var o,a;switch(n=n||{},r.util.type(t)){case"Object":if(a=r.util.objId(t),n[a])return n[a];for(var i in o={},n[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],n));return o;case"Array":return a=r.util.objId(t),n[a]?n[a]:(o=[],n[a]=o,t.forEach((function(t,r){o[r]=e(t,n)})),o);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var a=(o=o||r.languages)[e],i={};for(var l in a)if(a.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=a[l])}var c=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,o,a){a=a||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],o||l);var s=t[l],c=r.util.type(s);"Object"!==c||a[i(s)]?"Array"!==c||a[i(s)]||(a[i(s)]=!0,e(s,n,l,a)):(a[i(s)]=!0,e(s,n,null,a))}}},plugins:{},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new l;return s(o,o.head,e),i(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,a=0;o=n[a++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,n,l,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,b=!!h.lookbehind,y=!!h.greedy,v=h.alias;if(y&&!h.pattern.global){var k=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,k+"g")}for(var w=h.pattern||h,x=l.next,S=u;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(y){if(!(C=a(w,S,e,b))||C.index>=e.length)break;var T=C.index,j=C.index+C[0].length,P=S;for(P+=x.value.length;T>=P;)P+=(x=x.next).value.length;if(S=P-=x.value.length,x.value instanceof o)continue;for(var N=x;N!==t.tail&&(P<j||"string"==typeof N.value);N=N.next)_++,P+=N.value.length;_--,E=e.slice(S,P),C.index-=S}else if(!(C=a(w,0,E,b)))continue;T=C.index;var L=C[0],A=E.slice(0,T),R=E.slice(T+L.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var I=x.prev;if(A&&(I=s(t,I,A),S+=A.length),c(t,I,_),x=s(t,I,new o(p,g?r.tokenize(L,g):L,v,L)),R&&s(t,x,R),_>1){var D={cause:p+","+m,reach:O};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,n)})),o}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var l="";for(var s in a.attributes)l+=" "+s+'="'+(a.attributes[s]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+l+">"+a.content+"</"+a.tag+">"},r}();t.exports=n,n.default=n}},function(){return o||(0,r[b(r)[0]])((o={exports:{}}).exports,o),o.exports}),T=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of b(t))k.call(e,o)||o===n||f(e,o,{get:()=>t[o],enumerable:!(r=h(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(_());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,a=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",s=RegExp(s+"-"+s),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},o="doc-comment";if(a=e.languages[t]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o,a=t[n];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var a=t.classes[r];if(a=/language-(.+)/.exec(a)){n=a[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;n<a;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}n=a+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<o.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var c=t[s];"variable"===c.type&&0<=o.indexOf(c.content)&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var o=1,a=n;a<t.length;a++){var i=t[a],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))o++;else if(r.test(l)&&0==--o)return a}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),c=0,u={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var a=0;a<n.length;a++){if(c>=d.length)return;var i,s,p,f,m,h,g,b=n[a];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(g=(h="string"==typeof b?b:b.content).indexOf(i))&&(++c,s=h.substring(0,g),m=u[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],s&&m.push(s),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof b?(n.splice.apply(n,[a,1].concat(m)),a+=m.length-1):b.content=m)):(g=b.content,Array.isArray(g)?t(g):t([g]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,o=n.length;r<o;r++){var a,i,l,c=n[r];"string"!=typeof c&&(a=c.content,Array.isArray(a)?"template-string"===c.type?(c=a[1],3===a.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,l=e.languages[c])&&(a[1]=s(i,l,c))):t(a):"string"!=typeof a&&t([a]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(o.content[0].content[1])&&n.pop():"/>"!==o.content[o.content.length-1].content&&n.push({tagName:l(o.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<n.length&&0===n[n.length-1].openedBraces&&(a=l(o),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(a+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(a=l(t[r-1])+a,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>j,duotoneDark:()=>P,duotoneLight:()=>N,github:()=>L,jettwaveDark:()=>H,jettwaveLight:()=>Z,nightOwl:()=>A,nightOwlLight:()=>R,oceanicNext:()=>D,okaidia:()=>M,oneDark:()=>V,oneLight:()=>W,palenight:()=>F,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>U,vsDark:()=>$,vsLight:()=>q});var j={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},P={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},N={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},L={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},A={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},R={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",I="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},M={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},U={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},q={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Z={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},W={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},G=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),o);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Q=/\r\n|\r|\n/,K=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],o=[e.length];let a=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,c=t[i];const u=n[i][a];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=Y(c,u.type),u.alias&&(c=Y(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),o.push(e.length);continue}const d=e.split(Q),p=d.length;l.push({types:c,content:d[0]});for(let t=1;t<p;t++)K(l),s.push(l=[]),l.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),o.pop()}return K(l),s},J=({children:e,language:t,code:n,theme:r,prism:o})=>{const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,u.useState)(G(t,e)),o=(0,u.useRef)(),a=(0,u.useRef)();return(0,u.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(G(t,e)))}),[e,t]),n})(a,r),l=(e=>(0,u.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof o&&(l.style=S(S({},l.style||{}),o)),l}),[e]))(i),s=(e=>{const t=(0,u.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,u.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.Z)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(l.style=S(S({},l.style||{}),a)),l}),[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,u.useRef)(e);return(0,u.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:c,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,u.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},1038:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},8321:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},4785:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},605:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}n.d(t,{Z:()=>o});const o=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},5760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"@modern-kit",tagline:"",favicon:"img/favicon.ico",staticDirectories:["public","static"],url:"https://your-docusaurus-test-site.com",baseUrl:"/modern-kit/",organizationName:"modern-agile-team",projectName:"modern-kit",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",presets:[["classic",{docs:{sidebarPath:"/home/runner/work/modern-kit/modern-kit/docs/sidebars.js"},blog:{showReadingTime:!0,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},theme:{customCss:"/home/runner/work/modern-kit/modern-kit/docs/src/css/custom.css"}}]],themeConfig:{colorMode:{defaultMode:"light",disableSwitch:!0,respectPrefersColorScheme:!1},navbar:{title:"@modern-kit",items:[{type:"docSidebar",sidebarId:"tutorialSidebar",position:"left",label:"Docs"},{href:"https://github.com/modern-agile-team/modern-kit",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs/introduce/"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/modern-agile-team/modern-kit"}]},{title:"NPM",items:[{label:"@modern-kit/react",href:"https://www.npmjs.com/package/@modern-kit/react"},{label:"@modern-kit/utils",href:"https://www.npmjs.com/package/@modern-kit/utils"},{label:"@modern-kit/types",href:"https://www.npmjs.com/package/@modern-kit/types"}]}],copyright:"Copyright \xa9 2024 Modern Agile, Inc. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",path:"i18n",locales:["en"],localeConfigs:{}},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/modern-kit/-59a":{"__comp":"1df93b7f","__context":{"plugin":"7475180a"},"config":"5e9f5e1a"},"/modern-kit/docs-add":{"__comp":"5e95c892","__context":{"plugin":"af3a3cdc"}},"/modern-kit/docs-c63":{"__comp":"a7bd4aaa","version":"935f2afb"},"/modern-kit/docs-ddc":{"__comp":"a94703ab"},"/modern-kit/docs/introduce/-975":{"__comp":"17896441","content":"993de3e1"},"/modern-kit/docs/react/components/DebounceWrapper-4f5":{"__comp":"17896441","content":"47a95eb2"},"/modern-kit/docs/react/components/InView-ed4":{"__comp":"17896441","content":"bf0dbc92"},"/modern-kit/docs/react/components/LazyImage-001":{"__comp":"17896441","content":"54102c04"},"/modern-kit/docs/react/components/Portal-356":{"__comp":"17896441","content":"cdcab0ad"},"/modern-kit/docs/react/components/When-ae9":{"__comp":"17896441","content":"b35b1276"},"/modern-kit/docs/react/hooks/useAsyncPreservedCallback-183":{"__comp":"17896441","content":"3209f55a"},"/modern-kit/docs/react/hooks/useDebounce-fab":{"__comp":"17896441","content":"67c089fb"},"/modern-kit/docs/react/hooks/useForceUpdate-b44":{"__comp":"17896441","content":"7d279fec"},"/modern-kit/docs/react/hooks/useImageStatus-934":{"__comp":"17896441","content":"0145a656"},"/modern-kit/docs/react/hooks/useIntersectionObserver-9c5":{"__comp":"17896441","content":"308b5f81"},"/modern-kit/docs/react/hooks/useInterval-05b":{"__comp":"17896441","content":"5d610355"},"/modern-kit/docs/react/hooks/useIsMounted-4b3":{"__comp":"17896441","content":"3c17568f"},"/modern-kit/docs/react/hooks/useIsomorphicLayoutEffect-6cd":{"__comp":"17896441","content":"dbf68f77"},"/modern-kit/docs/react/hooks/useMediaQuery-9ec":{"__comp":"17896441","content":"61a35b61"},"/modern-kit/docs/react/hooks/useMergeRefs-059":{"__comp":"17896441","content":"764f42b2"},"/modern-kit/docs/react/hooks/useOnClickOutside-0d5":{"__comp":"17896441","content":"3ffd14c6"},"/modern-kit/docs/react/hooks/usePreservedCallback-d50":{"__comp":"17896441","content":"3842c52b"},"/modern-kit/docs/react/hooks/usePreservedState-a46":{"__comp":"17896441","content":"90aeac69"},"/modern-kit/docs/react/hooks/usePrevious-eee":{"__comp":"17896441","content":"9be130a4"},"/modern-kit/docs/react/hooks/useResizeObserver-b26":{"__comp":"17896441","content":"11738f66"},"/modern-kit/docs/react/hooks/useTimeout-9e7":{"__comp":"17896441","content":"6dde689d"},"/modern-kit/docs/react/hooks/useToggle-f90":{"__comp":"17896441","content":"2eff3e5b"},"/modern-kit/docs/react/hooks/useUnmount-bb7":{"__comp":"17896441","content":"eabfdb13"},"/modern-kit/docs/react/hooks/useVisibilityChange-ca7":{"__comp":"17896441","content":"6bd54dd6"},"/modern-kit/docs/react/hooks/useWindowScrollTo-b6d":{"__comp":"17896441","content":"61f7a55d"},"/modern-kit/docs/react/hooks/useWindowSize-fb2":{"__comp":"17896441","content":"b3bf5b56"},"/modern-kit/docs/utils/common/abRandom-3dc":{"__comp":"17896441","content":"53f54fd5"},"/modern-kit/docs/utils/common/asyncNoop-9e5":{"__comp":"17896441","content":"e72e489d"},"/modern-kit/docs/utils/common/deepCopy-56d":{"__comp":"17896441","content":"52083c08"},"/modern-kit/docs/utils/common/deepEqual-640":{"__comp":"17896441","content":"ff56c94b"},"/modern-kit/docs/utils/common/getUniqId-a6f":{"__comp":"17896441","content":"f717749c"},"/modern-kit/docs/utils/common/getUniqTime-a82":{"__comp":"17896441","content":"cbca3a13"},"/modern-kit/docs/utils/common/getViewportSize-8b4":{"__comp":"17896441","content":"525bfb2e"},"/modern-kit/docs/utils/common/hexToRgba-0e6":{"__comp":"17896441","content":"6b7ba1c1"},"/modern-kit/docs/utils/common/noop-4e6":{"__comp":"17896441","content":"dbd15680"},"/modern-kit/docs/utils/common/wrapInArray-345":{"__comp":"17896441","content":"fa6a5d39"},"/modern-kit/docs/utils/device/getOS-552":{"__comp":"17896441","content":"ee418e94"},"/modern-kit/docs/utils/device/isClient-a60":{"__comp":"17896441","content":"ad000c78"},"/modern-kit/docs/utils/device/isMobile-8dc":{"__comp":"17896441","content":"8797c936"},"/modern-kit/docs/utils/device/isSever-b65":{"__comp":"17896441","content":"d5af7a66"},"/modern-kit/docs/utils/object/deleteEmptyProperties-884":{"__comp":"17896441","content":"90f5246c"},"/modern-kit/docs/utils/object/mergeProperties-533":{"__comp":"17896441","content":"f6dc8c23"},"/modern-kit/docs/utils/object/objectEntries-87d":{"__comp":"17896441","content":"47707012"},"/modern-kit/docs/utils/object/objectKeys-34e":{"__comp":"17896441","content":"d272ecc5"},"/modern-kit/docs/utils/object/objectValues-e18":{"__comp":"17896441","content":"219c5550"},"/modern-kit/docs/utils/object/omit-6fc":{"__comp":"17896441","content":"114d5267"},"/modern-kit/docs/utils/object/pick-8b7":{"__comp":"17896441","content":"5c9b0204"},"/modern-kit/docs/utils/string/countSubstringOccurrences-c18":{"__comp":"17896441","content":"b7504c90"},"/modern-kit/docs/utils/string/extractNumber-df0":{"__comp":"17896441","content":"bac0f70c"},"/modern-kit/docs/utils/string/formatNumberWithCommas-327":{"__comp":"17896441","content":"73aec3a2"},"/modern-kit/docs/utils/string/formatPhoneNumber-62c":{"__comp":"17896441","content":"abb91cfa"},"/modern-kit/docs/utils/string/removeSpecialCharacters-e42":{"__comp":"17896441","content":"5cdabd8b"},"/modern-kit/docs/utils/string/repeatCharacters-f0a":{"__comp":"17896441","content":"4fcbd706"},"/modern-kit/docs/utils/validator/hasProperty-cd4":{"__comp":"17896441","content":"84604114"},"/modern-kit/docs/utils/validator/isFuntion-5bf":{"__comp":"17896441","content":"9e9c0b32"},"/modern-kit/docs/utils/validator/isNotNullish-196":{"__comp":"17896441","content":"9ea35591"},"/modern-kit/docs/utils/validator/isNullish-c80":{"__comp":"17896441","content":"30200773"},"/modern-kit/docs/utils/validator/isNumber-291":{"__comp":"17896441","content":"0ac9f023"},"/modern-kit/docs/utils/validator/isValidEmail-6ac":{"__comp":"17896441","content":"13eb7aa0"},"/modern-kit/docs/utils/validator/isValidPhoneNumberFormat-9a5":{"__comp":"17896441","content":"1c24dc38"}}')}},e=>{e.O(0,[532],(()=>{return t=9098,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.e3653fce.js.LICENSE.txt b/assets/js/main.f874a197.js.LICENSE.txt similarity index 100% rename from assets/js/main.e3653fce.js.LICENSE.txt rename to assets/js/main.f874a197.js.LICENSE.txt diff --git a/assets/js/runtime~main.abb067d2.js b/assets/js/runtime~main.abb067d2.js new file mode 100644 index 000000000..133ae2e4a --- /dev/null +++ b/assets/js/runtime~main.abb067d2.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,c,f,b,d={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return d[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=d,r.c=t,e=[],r.O=(a,c,f,b)=>{if(!c){var d=1/0;for(i=0;i<e.length;i++){c=e[i][0],f=e[i][1],b=e[i][2];for(var t=!0,o=0;o<c.length;o++)(!1&b||d>=b)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,b<d&&(d=b));if(t){e.splice(i--,1);var n=f();void 0!==n&&(a=n)}}return a}b=b||0;for(var i=e.length;i>0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[c,f,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var d={};a=a||[null,c({}),c([]),c(c)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,r.d(b,d),b},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",259:"52083c08",324:"f6dc8c23",410:"47a95eb2",937:"73aec3a2",1175:"b3bf5b56",1698:"4fcbd706",1813:"b35b1276",1900:"fa6a5d39",1958:"5d610355",2014:"3ffd14c6",2269:"54102c04",2311:"84604114",2386:"90f5246c",2627:"eabfdb13",2777:"cbca3a13",2917:"525bfb2e",3030:"6dde689d",3237:"1df93b7f",3385:"993de3e1",3470:"cdcab0ad",3776:"67c089fb",3881:"0145a656",3883:"53f54fd5",3899:"1c24dc38",3980:"abb91cfa",4017:"90aeac69",4142:"ee418e94",4168:"6bd54dd6",4291:"219c5550",4368:"a94703ab",4580:"308b5f81",4583:"6b7ba1c1",4753:"2eff3e5b",4870:"3209f55a",4949:"11738f66",5337:"9be130a4",5380:"d272ecc5",5418:"e72e489d",5497:"764f42b2",5539:"9ea35591",5666:"ff56c94b",5917:"47707012",6002:"d5af7a66",6331:"5c9b0204",6863:"30200773",6911:"b7504c90",7167:"9e9c0b32",7515:"dbd15680",7647:"7d279fec",7672:"0ac9f023",7893:"bac0f70c",7918:"17896441",8067:"bf0dbc92",8442:"f717749c",8518:"a7bd4aaa",8640:"5cdabd8b",8828:"114d5267",8852:"3842c52b",8862:"dbf68f77",8911:"3c17568f",8913:"13eb7aa0",8953:"61f7a55d",9034:"61a35b61",9128:"ad000c78",9247:"8797c936",9263:"af3a3cdc",9646:"7475180a",9661:"5e95c892"}[e]||e)+"."+{53:"4777aa80",259:"771e7d79",324:"38e59272",410:"693418e2",937:"d5fb8279",1175:"79bcfc0b",1698:"79f90fba",1813:"d8222f5a",1900:"4c59585d",1958:"ee0115db",2014:"c9f3bfa0",2220:"4b6309d9",2269:"e708fc6f",2311:"561dbaab",2386:"a26a0cf7",2627:"ee30e8fa",2777:"3da5171d",2917:"3e302d43",3030:"c5d3d91f",3237:"94ee7782",3385:"3123ca84",3470:"a322ecd1",3776:"1a4ee47f",3881:"f40d1c04",3883:"dd353841",3899:"2c92f1ef",3980:"cdbe5e6f",4017:"7ea6d77c",4142:"7e00b480",4168:"86da4865",4291:"ec637614",4368:"71571068",4580:"ae23e2df",4583:"ca4a1cd4",4753:"447524a8",4870:"f263a1aa",4949:"7d9db171",5337:"a450ea98",5380:"5c131d07",5418:"ab80f39e",5497:"115710a2",5539:"342d471a",5666:"7d24b500",5917:"d99619b7",6002:"96763015",6331:"3057c91f",6863:"7f5db494",6911:"d31e4eef",7167:"e98ba881",7515:"e54373be",7647:"a35091e6",7672:"9680e2c6",7893:"09a19076",7918:"962e591c",8067:"95259944",8442:"3d25e9ea",8518:"6d161f41",8640:"7ffc1f1b",8828:"f0b1ce29",8852:"4383edd1",8862:"c466074d",8911:"243d66f2",8913:"626b045e",8953:"832a3eb3",9034:"a078a4a7",9128:"16ee366b",9247:"ecb82f9d",9263:"5f6de8ed",9646:"f1089528",9661:"4eef2d5a"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},b="docs:",r.l=(e,a,c,d)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==b+c){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",b+c),t.src=e),f[e]=[a];var l=(a,c)=>{t.onerror=t.onload=null,clearTimeout(s);var b=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/modern-kit/",r.gca=function(e){return e={17896441:"7918",30200773:"6863",47707012:"5917",84604114:"2311","935f2afb":"53","52083c08":"259",f6dc8c23:"324","47a95eb2":"410","73aec3a2":"937",b3bf5b56:"1175","4fcbd706":"1698",b35b1276:"1813",fa6a5d39:"1900","5d610355":"1958","3ffd14c6":"2014","54102c04":"2269","90f5246c":"2386",eabfdb13:"2627",cbca3a13:"2777","525bfb2e":"2917","6dde689d":"3030","1df93b7f":"3237","993de3e1":"3385",cdcab0ad:"3470","67c089fb":"3776","0145a656":"3881","53f54fd5":"3883","1c24dc38":"3899",abb91cfa:"3980","90aeac69":"4017",ee418e94:"4142","6bd54dd6":"4168","219c5550":"4291",a94703ab:"4368","308b5f81":"4580","6b7ba1c1":"4583","2eff3e5b":"4753","3209f55a":"4870","11738f66":"4949","9be130a4":"5337",d272ecc5:"5380",e72e489d:"5418","764f42b2":"5497","9ea35591":"5539",ff56c94b:"5666",d5af7a66:"6002","5c9b0204":"6331",b7504c90:"6911","9e9c0b32":"7167",dbd15680:"7515","7d279fec":"7647","0ac9f023":"7672",bac0f70c:"7893",bf0dbc92:"8067",f717749c:"8442",a7bd4aaa:"8518","5cdabd8b":"8640","114d5267":"8828","3842c52b":"8852",dbf68f77:"8862","3c17568f":"8911","13eb7aa0":"8913","61f7a55d":"8953","61a35b61":"9034",ad000c78:"9128","8797c936":"9247",af3a3cdc:"9263","7475180a":"9646","5e95c892":"9661"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((c,b)=>f=e[a]=[c,b]));c.push(f[2]=b);var d=r.p+r.u(a),t=new Error;r.l(d,(c=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=c&&("load"===c.type?"missing":c.type),d=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+d+")",t.name="ChunkLoadError",t.type=b,t.request=d,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var f,b,d=c[0],t=c[1],o=c[2],n=0;if(d.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(c);n<d.length;n++)b=d[n],r.o(e,b)&&e[b]&&e[b][0](),e[b]=0;return r.O(i)},c=self.webpackChunkdocs=self.webpackChunkdocs||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.ed3c95a4.js b/assets/js/runtime~main.ed3c95a4.js deleted file mode 100644 index 87b274714..000000000 --- a/assets/js/runtime~main.ed3c95a4.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,c,f,b,d={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return d[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=d,r.c=t,e=[],r.O=(a,c,f,b)=>{if(!c){var d=1/0;for(i=0;i<e.length;i++){c=e[i][0],f=e[i][1],b=e[i][2];for(var t=!0,o=0;o<c.length;o++)(!1&b||d>=b)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,b<d&&(d=b));if(t){e.splice(i--,1);var n=f();void 0!==n&&(a=n)}}return a}b=b||0;for(var i=e.length;i>0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[c,f,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var d={};a=a||[null,c({}),c([]),c(c)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,r.d(b,d),b},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",259:"52083c08",324:"f6dc8c23",410:"47a95eb2",713:"634f3e62",937:"73aec3a2",1175:"b3bf5b56",1698:"4fcbd706",1813:"b35b1276",1900:"fa6a5d39",1958:"5d610355",2014:"3ffd14c6",2269:"54102c04",2311:"84604114",2386:"90f5246c",2627:"eabfdb13",2777:"cbca3a13",2917:"525bfb2e",3030:"6dde689d",3237:"1df93b7f",3385:"993de3e1",3470:"cdcab0ad",3776:"67c089fb",3881:"0145a656",3883:"53f54fd5",3899:"1c24dc38",3980:"abb91cfa",4017:"90aeac69",4142:"ee418e94",4168:"6bd54dd6",4291:"219c5550",4368:"a94703ab",4580:"308b5f81",4583:"6b7ba1c1",4753:"2eff3e5b",4870:"3209f55a",4949:"11738f66",5337:"9be130a4",5380:"d272ecc5",5418:"e72e489d",5497:"764f42b2",5539:"9ea35591",5666:"ff56c94b",5917:"47707012",6002:"d5af7a66",6331:"5c9b0204",6863:"30200773",6911:"b7504c90",7167:"9e9c0b32",7515:"dbd15680",7647:"7d279fec",7672:"0ac9f023",7893:"bac0f70c",7918:"17896441",8067:"bf0dbc92",8374:"28b092ea",8442:"f717749c",8518:"a7bd4aaa",8640:"5cdabd8b",8828:"114d5267",8852:"3842c52b",8862:"dbf68f77",8911:"3c17568f",8913:"13eb7aa0",8953:"61f7a55d",9034:"61a35b61",9128:"ad000c78",9247:"8797c936",9661:"5e95c892"}[e]||e)+"."+{53:"4777aa80",218:"e79b9422",259:"933afc6f",324:"29add84d",410:"d71e73ae",713:"6d22c4d8",937:"6cc91f0f",1175:"1ed1a261",1698:"993f9b9f",1813:"3d87df6e",1900:"266ae9dc",1958:"6d908131",2014:"4abdfdba",2269:"ccfb5463",2311:"05c48ea6",2386:"8be9da16",2627:"e64129ba",2777:"d89a1c07",2917:"b9178b4a",3030:"a367c554",3237:"af27e030",3385:"79b8013f",3470:"f62a2ba7",3776:"441acfb7",3881:"60bf7430",3883:"d203d2e2",3899:"ebe27d8f",3980:"9586e7ad",4017:"c3a8245c",4142:"f0c2ba05",4168:"bf07a488",4291:"981b09e8",4368:"3faf2a80",4580:"cbf90c8c",4583:"8f03c00f",4753:"b0d67535",4870:"c4db8f05",4949:"918e5740",5337:"1475ea74",5380:"64363140",5418:"d15a9f5b",5497:"8bd1e47d",5539:"add0bc54",5666:"dc052a53",5917:"feaf56ad",6002:"21887b54",6331:"8c19170c",6863:"5f344b57",6911:"12c7b0aa",7167:"47b248a8",7515:"0646a6c1",7647:"1f38f7f0",7672:"9868f152",7893:"ab715d6d",7918:"d76fb94c",8067:"233bfc66",8374:"6cbbd1ca",8442:"0d98e382",8518:"f0380fb0",8640:"a641e82b",8828:"88288484",8852:"cd51f642",8862:"feb14395",8911:"73c52060",8913:"f94fdde3",8953:"94c6ae52",9034:"1a619054",9128:"f9915459",9247:"77248294",9661:"efd20481"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},b="docs:",r.l=(e,a,c,d)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==b+c){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",b+c),t.src=e),f[e]=[a];var l=(a,c)=>{t.onerror=t.onload=null,clearTimeout(s);var b=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/modern-kit/",r.gca=function(e){return e={17896441:"7918",30200773:"6863",47707012:"5917",84604114:"2311","935f2afb":"53","52083c08":"259",f6dc8c23:"324","47a95eb2":"410","634f3e62":"713","73aec3a2":"937",b3bf5b56:"1175","4fcbd706":"1698",b35b1276:"1813",fa6a5d39:"1900","5d610355":"1958","3ffd14c6":"2014","54102c04":"2269","90f5246c":"2386",eabfdb13:"2627",cbca3a13:"2777","525bfb2e":"2917","6dde689d":"3030","1df93b7f":"3237","993de3e1":"3385",cdcab0ad:"3470","67c089fb":"3776","0145a656":"3881","53f54fd5":"3883","1c24dc38":"3899",abb91cfa:"3980","90aeac69":"4017",ee418e94:"4142","6bd54dd6":"4168","219c5550":"4291",a94703ab:"4368","308b5f81":"4580","6b7ba1c1":"4583","2eff3e5b":"4753","3209f55a":"4870","11738f66":"4949","9be130a4":"5337",d272ecc5:"5380",e72e489d:"5418","764f42b2":"5497","9ea35591":"5539",ff56c94b:"5666",d5af7a66:"6002","5c9b0204":"6331",b7504c90:"6911","9e9c0b32":"7167",dbd15680:"7515","7d279fec":"7647","0ac9f023":"7672",bac0f70c:"7893",bf0dbc92:"8067","28b092ea":"8374",f717749c:"8442",a7bd4aaa:"8518","5cdabd8b":"8640","114d5267":"8828","3842c52b":"8852",dbf68f77:"8862","3c17568f":"8911","13eb7aa0":"8913","61f7a55d":"8953","61a35b61":"9034",ad000c78:"9128","8797c936":"9247","5e95c892":"9661"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((c,b)=>f=e[a]=[c,b]));c.push(f[2]=b);var d=r.p+r.u(a),t=new Error;r.l(d,(c=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=c&&("load"===c.type?"missing":c.type),d=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+d+")",t.name="ChunkLoadError",t.type=b,t.request=d,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var f,b,d=c[0],t=c[1],o=c[2],n=0;if(d.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(c);n<d.length;n++)b=d[n],r.o(e,b)&&e[b]&&e[b][0](),e[b]=0;return r.O(i)},c=self.webpackChunkdocs=self.webpackChunkdocs||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})()})(); \ No newline at end of file diff --git a/docs/introduce/index.html b/docs/introduce/index.html index f638a0e73..9f8d0533d 100644 Binary files a/docs/introduce/index.html and b/docs/introduce/index.html differ diff --git a/docs/react/components/DebounceWrapper/index.html b/docs/react/components/DebounceWrapper/index.html index 2a9b4233f..33fd00a4a 100644 --- a/docs/react/components/DebounceWrapper/index.html +++ b/docs/react/components/DebounceWrapper/index.html @@ -2,30 +2,30 @@ <html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-react/components/DebounceWrapper" data-has-hydrated="false"> <head> <meta charset="UTF-8"> -<meta name="generator" content="Docusaurus v3.0.0"> -<title data-rh="true">DebounceWrapper | @modern-kit - - + +DebounceWrapper | @modern-kit + + -

DebounceWrapper

+

DebounceWrapper

자식 요소에서 발생하는 이벤트(ex: Click Event)를 debounce해주는 유틸 컴포넌트입니다.


-

Interface

-
type DebounceParameters = Parameters<typeof debounce>;

interface DebounceWrapperProps {
children: JSX.Element; // 하나의 요소만 children prop으로 넘겨줄 수 있습니다.
capture: string;
wait: DebounceParameters[1]; // number
options?: DebounceParameters[2]; // DebounceSettings
}

const DebounceWrapper: ({
children,
capture,
wait,
options,
}: DebounceWrapperProps) => React.FunctionComponentElement<any>;
-

Usage

-

Button Click Case

-
import { DebounceWrapper } from '@modern-kit/react'

const Example = () => {
const onClick = () => {
console.log('debounce');
};

return (
<DebounceWrapper capture="onClick" wait={500}>
<button onClick={nClick}>Button</button>
</DebounceWrapper>
);
};
-

Input Change Case

-
const Input = ({ onChange }: { onChange: (value: string) => void }) => {
const [value, setValue] = useState('');

const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
setValue(e.target.value);
onChange(e.target.value);
};

return <input type="text" onChange={handleChange} value={value} />;
};

const Example = () => {
const [text, setText] = useState('');

const onChange = (value: string) => {
setText(value);
};

return (
<>
<DebounceWrapper capture={'onChange'} wait={500}>
<Input onChange={onChange} />
</DebounceWrapper>
<p>{text}</p>
</>
);
}
-

Example

-

Button Click Case

+

Interface

+
type DebounceParameters = Parameters<typeof debounce>;

interface DebounceWrapperProps {
children: JSX.Element; // 하나의 요소만 children prop으로 넘겨줄 수 있습니다.
capture: string;
wait: DebounceParameters[1]; // number
options?: DebounceParameters[2]; // DebounceSettings
}

const DebounceWrapper: ({
children,
capture,
wait,
options,
}: DebounceWrapperProps) => React.FunctionComponentElement<any>;
+

Usage

+

Button Click Case

+
import { DebounceWrapper } from '@modern-kit/react'

const Example = () => {
const onClick = () => {
console.log('debounce');
};

return (
<DebounceWrapper capture="onClick" wait={500}>
<button onClick={nClick}>Button</button>
</DebounceWrapper>
);
};
+

Input Change Case

+
const Input = ({ onChange }: { onChange: (value: string) => void }) => {
const [value, setValue] = useState('');

const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
setValue(e.target.value);
onChange(e.target.value);
};

return <input type="text" onChange={handleChange} value={value} />;
};

const Example = () => {
const [text, setText] = useState('');

const onChange = (value: string) => {
setText(value);
};

return (
<>
<DebounceWrapper capture={'onChange'} wait={500}>
<Input onChange={onChange} />
</DebounceWrapper>
<p>{text}</p>
</>
);
}
+

Example

+

Button Click Case

브라우저의 개발자 도구의 콘솔에서 동작을 확인하세요.


-

Input Change Case

-

Text:

+

Input Change Case

+

Text:

\ No newline at end of file diff --git a/docs/react/components/InView/index.html b/docs/react/components/InView/index.html index b9a57ebf9..247c87d3b 100644 --- a/docs/react/components/InView/index.html +++ b/docs/react/components/InView/index.html @@ -2,20 +2,20 @@ - -InView | @modern-kit - - + +InView | @modern-kit + + -

InView

+

InView

Viewport에 노출될 때 props로 넘겨주는 action 콜백 함수를 호출하는 컴포넌트입니다.


-

Interface

-
interface UseIntersectionObserverProps {
action: (entry: IntersectionObserverEntry) => void;
calledOnce?: boolean;
threshold?: number | number[];
root?: Document | Element | null;
rootMargin?: string;
}

type InViewProps = React.ComponentProps<'div'> & UseIntersectionObserverProps;

const InView: React.ForwardRefExoticComponent<
Omit<React.PropsWithChildren<InViewProps>, 'ref'> &
React.RefAttributes<HTMLDivElement>
>;
-

Usage

-
import { InView } from '@modern-kit/react';

const Example = () => {
const onAction = () => {
/* action */
}

return (
<div>
{/* ... */}
<InView action={onAction} calledOnce>Box1</InView>
</div>
);
};
-

Example

-
스크롤 해주세요.

Box1

브라우저 개발자 도구의 콘솔을 확인해주세요.

action 콜백 함수가 최초 1회만 호출됩니다.

calledOnce: true

Box2

브라우저 개발자 도구의 콘솔을 확인해주세요.

action 콜백 함수가 여러 번 호출됩니다.

calledOnce: false

+

Interface

+
interface UseIntersectionObserverProps {
action: (entry: IntersectionObserverEntry) => void;
calledOnce?: boolean;
threshold?: number | number[];
root?: Document | Element | null;
rootMargin?: string;
}

type InViewProps = React.ComponentProps<'div'> & UseIntersectionObserverProps;

const InView: React.ForwardRefExoticComponent<
Omit<React.PropsWithChildren<InViewProps>, 'ref'> &
React.RefAttributes<HTMLDivElement>
>;
+

Usage

+
import { InView } from '@modern-kit/react';

const Example = () => {
const onAction = () => {
/* action */
}

return (
<div>
{/* ... */}
<InView action={onAction} calledOnce>Box1</InView>
</div>
);
};
+

Example

+
스크롤 해주세요.

Box1

브라우저 개발자 도구의 콘솔을 확인해주세요.

action 콜백 함수가 최초 1회만 호출됩니다.

calledOnce: true

Box2

브라우저 개발자 도구의 콘솔을 확인해주세요.

action 콜백 함수가 여러 번 호출됩니다.

calledOnce: false

\ No newline at end of file diff --git a/docs/react/components/LazyImage/index.html b/docs/react/components/LazyImage/index.html index 9adcaff13..370ba8b4d 100644 --- a/docs/react/components/LazyImage/index.html +++ b/docs/react/components/LazyImage/index.html @@ -2,28 +2,28 @@ - -LazyImage | @modern-kit - - + +LazyImage | @modern-kit + + -

LazyImage

+

LazyImage

Viewport에 노출될 때 할당된 이미지를 Lazy Loading 하는 이미지 컴포넌트입니다.

width, height 값을 입력해 이미지의 크기를 조절 할 수 있으며, 동시에 Layout Shift를 개선할 수 있습니다.

Intersection Observer Option을 설정할 수 있습니다.(하단 Note 참고)


-

Interface

-
interface LazyImageProps extends React.ComponentProps<'img'> {
src: string;
threshold?: number | number[]; // default: 0
root?: Document | Element | null; // default: null
rootMargin?: string; // default: '0px 0px 0px 0px'
}

const LazyImage: React.ForwardRefExoticComponent<Omit<LazyImageProps, "ref"> & React.RefAttributes<HTMLDivElement>>
-

Usage

-

Default

-
import { LazyImage } from '@modern-kit/react';
import img1 from '../assets/img1.png';
import img2 from '../assets/img2.png';

const Example = () => {
return (
<div>
{/* ... */}
<LazyImage width={400} height={400} src={img1} alt="img1" />
{/* ... */}
<LazyImage width={400} height={400} src={img2} alt="img2" />
{/* ... */}
</div>
);
};
+

Interface

+
interface LazyImageProps extends React.ComponentProps<'img'> {
src: string;
threshold?: number | number[]; // default: 0
root?: Document | Element | null; // default: null
rootMargin?: string; // default: '0px 0px 0px 0px'
}

const LazyImage: React.ForwardRefExoticComponent<Omit<LazyImageProps, "ref"> & React.RefAttributes<HTMLDivElement>>
+

Usage

+

Default

+
import { LazyImage } from '@modern-kit/react';
import img1 from '../assets/img1.png';
import img2 from '../assets/img2.png';

const Example = () => {
return (
<div>
{/* ... */}
<LazyImage width={400} height={400} src={img1} alt="img1" />
{/* ... */}
<LazyImage width={400} height={400} src={img2} alt="img2" />
{/* ... */}
</div>
);
};

-

Fallback

-
import { LazyImage } from '@modern-kit/react';
import img1 from '../assets/img1.png';

const Example = () => {
const [isLoaded, setIsLoaded] = useState(false);

const wrapperStyle: CSSProperties = {
position: 'relative',
width: '400px',
height: '400px',
};

const imgStyle: CSSProperties = {
position: 'absolute',
top: 0,
left: 0,
opacity: isLoaded ? 1 : 0,
transition: 'opacity 0.2s',
};

const skeletonStyle: CSSProperties = {
width: '400px',
height: '400px',
backgroundColor: '#cdcbcb',
}

return (
<div style={wrapperStyle}>
{!isLoaded && <div style={skeletonStyle} />}
<LazyImage
style={imgStyle}
width={400}
height={400}
src={img1}
alt="img1"
onLoad={() => setIsLoaded(true)}
/>
</div>
);
};
-

Example

+

Fallback

+
import { LazyImage } from '@modern-kit/react';
import img1 from '../assets/img1.png';

const Example = () => {
const [isLoaded, setIsLoaded] = useState(false);

const wrapperStyle: CSSProperties = {
position: 'relative',
width: '400px',
height: '400px',
};

const imgStyle: CSSProperties = {
position: 'absolute',
top: 0,
left: 0,
opacity: isLoaded ? 1 : 0,
transition: 'opacity 0.2s',
};

const skeletonStyle: CSSProperties = {
width: '400px',
height: '400px',
backgroundColor: '#cdcbcb',
}

return (
<div style={wrapperStyle}>
{!isLoaded && <div style={skeletonStyle} />}
<LazyImage
style={imgStyle}
width={400}
height={400}
src={img1}
alt="img1"
onLoad={() => setIsLoaded(true)}
/>
</div>
);
};
+

Example

스크롤 해주세요.

img1
img2
img3
-

Note

-

Intersection Observer API

+

Note

+

Intersection Observer API

\ No newline at end of file diff --git a/docs/react/components/Portal/index.html b/docs/react/components/Portal/index.html index 3617fc7ed..0aad20348 100644 --- a/docs/react/components/Portal/index.html +++ b/docs/react/components/Portal/index.html @@ -2,27 +2,27 @@ - -Portal | @modern-kit - - + +Portal | @modern-kit + + -

Portal

-

Portal 컴포넌트는 React.createPortal을 사용해 부모 컴포넌트의 DOM 계층 구조 외부의 DOM 노드에서 자식 컴포넌트를 렌더링합니다.

+

Portal

+

Portal 컴포넌트는 React.createPortal을 사용해 부모 컴포넌트의 DOM 계층 구조 외부의 DOM 노드에서 자식 컴포넌트를 렌더링합니다.

Portal 컴포넌트는 기본적으로 document.body에 자식 컴포넌트를 렌더링합니다. 하지만 Portal 컴포넌트의 containerRef 프로퍼티를 전달하면 자식 컴포넌트를 document.body가 아닌 다른 DOM Element에서 렌더링할 수 있습니다.

또한, 중첩 포털 기능을 지원합니다. 여러 Portal 컴포넌트를 중첩하면 중첩된 Portal DOM 계층 구조가 생성됩니다.

Portal 컴포넌트는 Modal, Dialog, Tooltip과 같은 기능과 함께 사용하기에 이상적입니다.

React CreatePortal 다음 문서를 참고해주세요.


-

Interface

-
function Portal({
children,
containerRef,
}: {
children: React.ReactNode;
containerRef?: React.RefObject<HTMLElement | null>;
}): JSX.Element;
-

Usage

-

Default

-
import { Portal } from '@modern-kit/react'

const Example = () => {
return (
<Portal>
<p>Example Portal</p>
</Portal>
);
};
-

Container

-
import { Portal } from '@modern-kit/react'

const Example = () => {
const ref = useRef<HTMLDivElement | null>(null);

return (
<div>
<Portal containerRef={ref}>
<p>Example Portal</p>
</Portal>

<div id="outer" ref={ref} />
</div>
);
};
-

Nested

-
import { Portal } from '@modern-kit/react'

const Example = () => {
return (
<Portal>
<p>Default Portal</p>
<Portal>
<p>Nested Portal1</p>
<Portal>
<p>Nested Portal2</p>
</Portal>
</Portal>
</Portal>
);
};
+

Interface

+
function Portal({
children,
containerRef,
}: {
children: React.ReactNode;
containerRef?: React.RefObject<HTMLElement | null>;
}): JSX.Element;
+

Usage

+

Default

+
import { Portal } from '@modern-kit/react'

const Example = () => {
return (
<Portal>
<p>Example Portal</p>
</Portal>
);
};
+

Container

+
import { Portal } from '@modern-kit/react'

const Example = () => {
const ref = useRef<HTMLDivElement | null>(null);

return (
<div>
<Portal containerRef={ref}>
<p>Example Portal</p>
</Portal>

<div id="outer" ref={ref} />
</div>
);
};
+

Nested

+
import { Portal } from '@modern-kit/react'

const Example = () => {
return (
<Portal>
<p>Default Portal</p>
<Portal>
<p>Nested Portal1</p>
<Portal>
<p>Nested Portal2</p>
</Portal>
</Portal>
</Portal>
);
};
\ No newline at end of file diff --git a/docs/react/components/When/index.html b/docs/react/components/When/index.html index a07d700d3..d7579b07f 100644 --- a/docs/react/components/When/index.html +++ b/docs/react/components/When/index.html @@ -2,21 +2,21 @@ - -When | @modern-kit - - + +When | @modern-kit + + -

When

+

When

condition prop이 true면 자식 컴포넌트를 렌더링하고, false면 렌더링하지 않는 컴포넌트입니다.

condition prop으로 boolean을 반환하는 함수도 허용됩니다.


-

Interface

-
type Condition = boolean | ((...args: any[]) => boolean);

interface WhenProps {
condition: Condition;
}

const When: ({ children, condition }: PropsWithChildren<WhenProps>) => JSX.Element | null
-

Usage

-
import { When } from '@modern-kit/react';
const Example = () => {
const [state, setState] = useState(false);

return (
<>
<button onClick={() => setState(!state)}>Toggle Button</button>

<When condition={state}>
<h1>Render</h1>
</When>
</>
);
};
+

Interface

+
type Condition = boolean | ((...args: any[]) => boolean);

interface WhenProps {
condition: Condition;
}

const When: ({ children, condition }: PropsWithChildren<WhenProps>) => JSX.Element | null
+

Usage

+
import { When } from '@modern-kit/react';
const Example = () => {
const [state, setState] = useState(false);

return (
<>
<button onClick={() => setState(!state)}>Toggle Button</button>

<When condition={state}>
<h1>Render</h1>
</When>
</>
);
};
-
+
\ No newline at end of file diff --git a/docs/react/hooks/useAsyncPreservedCallback/index.html b/docs/react/hooks/useAsyncPreservedCallback/index.html index f8eb627e6..c0001b5a7 100644 --- a/docs/react/hooks/useAsyncPreservedCallback/index.html +++ b/docs/react/hooks/useAsyncPreservedCallback/index.html @@ -2,16 +2,16 @@ - -useAsyncPreservedCallback | @modern-kit - - + +useAsyncPreservedCallback | @modern-kit + + -

useAsyncPreservedCallback

+ +

Interface

+
const useAsyncPreservedCallback: <T extends (...args: any[]) => Promise<any>>(
callback: T
) => (...args: any[]) => Promise<any>;
\ No newline at end of file diff --git a/docs/react/hooks/useDebounce/index.html b/docs/react/hooks/useDebounce/index.html index c75aadd4c..075fbbeec 100644 --- a/docs/react/hooks/useDebounce/index.html +++ b/docs/react/hooks/useDebounce/index.html @@ -2,18 +2,18 @@ - -useDebounce | @modern-kit - - + +useDebounce | @modern-kit + + -

useDebounce

+

useDebounce

debounce를 쉽게 사용할 수 있는 커스텀 훅입니다.


-

Interface

-
// lodash-es DebounceSettings
// https://www.geeksforgeeks.org/lodash-_-debounce-method/
interface DebounceSettings {
leading?: boolean | undefined;
maxWait?: number | undefined;
trailing?: boolean | undefined;
}

type DebounceParameters = Parameters<typeof debounce>;

const useDebounce: (
callback: DebounceParameters[0], // (...args: any) => any
wait: DebounceParameters[1], // number
options?: DebounceParameters[2] // DebounceSettings
) => DebouncedFunc<(...args: any) => any>;
-

Usage

-
import { useDebounce } from '@modern-kit/react';

const Example = () => {
const handle = useDebounce(() => {
console.log('debounce');
}, 500);

return <button onClick={handle}>button1</button>;
};
+

Interface

+
// lodash-es DebounceSettings
// https://www.geeksforgeeks.org/lodash-_-debounce-method/
interface DebounceSettings {
leading?: boolean | undefined;
maxWait?: number | undefined;
trailing?: boolean | undefined;
}

type DebounceParameters = Parameters<typeof debounce>;

const useDebounce: (
callback: DebounceParameters[0], // (...args: any) => any
wait: DebounceParameters[1], // number
options?: DebounceParameters[2] // DebounceSettings
) => DebouncedFunc<(...args: any) => any>;
+

Usage

+
import { useDebounce } from '@modern-kit/react';

const Example = () => {
const handle = useDebounce(() => {
console.log('debounce');
}, 500);

return <button onClick={handle}>button1</button>;
};
\ No newline at end of file diff --git a/docs/react/hooks/useForceUpdate/index.html b/docs/react/hooks/useForceUpdate/index.html index b201eb0e4..8add99782 100644 --- a/docs/react/hooks/useForceUpdate/index.html +++ b/docs/react/hooks/useForceUpdate/index.html @@ -2,20 +2,20 @@ - -useForceUpdate | @modern-kit - - + +useForceUpdate | @modern-kit + + -

useForceUpdate

+

useForceUpdate

반환된 함수를 실행하면 강제로 컴포넌트가 리렌더링 시키는 커스텀 훅입니다.


-

Interface

-
// type DispatchWithoutAction = () => void;
const useForceUpdate: () => React.DispatchWithoutAction
-

Usage

-
import { useForceUpdate } from '@modern-kit/react';

const Example = () => {
const forceUpdate = useForceUpdate();

const handleForceUpdate = useCallback(() => {
forceUpdate();
}, [forceUpdate]);

return (
<div>
<button onClick={handleForceUpdate}>Button</button>;
</div>
);
};
-

Note

-

https://github.com/streamich/react-use/pull/837

+

Interface

+
// type DispatchWithoutAction = () => void;
const useForceUpdate: () => React.DispatchWithoutAction
+

Usage

+
import { useForceUpdate } from '@modern-kit/react';

const Example = () => {
const forceUpdate = useForceUpdate();

const handleForceUpdate = useCallback(() => {
forceUpdate();
}, [forceUpdate]);

return (
<div>
<button onClick={handleForceUpdate}>Button</button>;
</div>
);
};
+

Note

+

https://github.com/streamich/react-use/pull/837

\ No newline at end of file diff --git a/docs/react/hooks/useImageStatus/index.html b/docs/react/hooks/useImageStatus/index.html index 505241e07..d5fc4e021 100644 --- a/docs/react/hooks/useImageStatus/index.html +++ b/docs/react/hooks/useImageStatus/index.html @@ -2,18 +2,18 @@ - -useImageStatus | @modern-kit - - + +useImageStatus | @modern-kit + + -

useImageStatus

+

useImageStatus

반환된 ref<img /> 태그에 할당하면 이미지 로드하는 과정에서 pending, loading, complete, error 상태를 반환하는 커스텀 훅입니다.


-

Interface

-
type ImageStatus = 'pending' | 'loading' | 'complete' | 'error';

const useImageStatus: () => {
ref: (imgElement: HTMLImageElement) => void;
imageStatus: ImageStatus;
}
-

Usage

-
import { useImageStatus } from '@modern-kit/react';
import img1 from '../assets/img1.png';

const Example = () => {
const { ref, imageStatus } = useImageStatus();

return (
<div>
<img
ref={ref}
width={400}
height={400}
src={img1}
alt='img1'
/>
<p>{imageStatus}</p>
</div>
);
};
+

Interface

+
type ImageStatus = 'pending' | 'loading' | 'complete' | 'error';

const useImageStatus: () => {
ref: (imgElement: HTMLImageElement) => void;
imageStatus: ImageStatus;
}
+

Usage

+
import { useImageStatus } from '@modern-kit/react';
import img1 from '../assets/img1.png';

const Example = () => {
const { ref, imageStatus } = useImageStatus();

return (
<div>
<img
ref={ref}
width={400}
height={400}
src={img1}
alt='img1'
/>
<p>{imageStatus}</p>
</div>
);
};
\ No newline at end of file diff --git a/docs/react/hooks/useIntersectionObserver/index.html b/docs/react/hooks/useIntersectionObserver/index.html index 5d7cb718b..79ecc0813 100644 --- a/docs/react/hooks/useIntersectionObserver/index.html +++ b/docs/react/hooks/useIntersectionObserver/index.html @@ -2,21 +2,21 @@ - -useIntersectionObserver | @modern-kit - - + +useIntersectionObserver | @modern-kit + + -

useIntersectionObserver

+

useIntersectionObserver

ref를 할당한 타겟 엘리먼트가 Viewport에 노출되는 시점에 action 콜백 함수를 호출시키는 커스텀 훅입니다.

Intersection Observer Option을 설정할 수 있습니다.(하단 Note 참고)


-

Interface

-
interface UseIntersectionObserverProps {
action: (entry: IntersectionObserverEntry) => void;
calledOnce?: boolean;
threshold?: number | number[];
root?: Document | Element | null;
rootMargin?: string;
}

const useIntersectionObserver: <T extends HTMLElement>({
action,
calledOnce,
root,
threshold,
rootMargin
}: UseIntersectionObserverProps) => React.RefObject<T>
-

Usage

-
import { useIntersectionObserver } from '@modern-kit/react';

const Example = () => {
const divRef = useIntersectionObserver<HTMLDivElement>({
action: () => { /* action */},
});
const imgRef = useIntersectionObserver<HTMLImageElement>({
action: (entry) => { /* 필요하다면 IntersectionObserverEntry 를 사용할 수 있습니다. */},
});

return (
<div>
{/* ... */}
<div ref={divRef}>Box</div>
<img ref={imgRef} src="url" alt="img" />
</div>
);
};
-

Note

-

Intersection Observer API

+

Interface

+
interface UseIntersectionObserverProps {
action: (entry: IntersectionObserverEntry) => void;
calledOnce?: boolean;
threshold?: number | number[];
root?: Document | Element | null;
rootMargin?: string;
}

const useIntersectionObserver: <T extends HTMLElement>({
action,
calledOnce,
root,
threshold,
rootMargin
}: UseIntersectionObserverProps) => React.RefObject<T>
+

Usage

+
import { useIntersectionObserver } from '@modern-kit/react';

const Example = () => {
const divRef = useIntersectionObserver<HTMLDivElement>({
action: () => { /* action */},
});
const imgRef = useIntersectionObserver<HTMLImageElement>({
action: (entry) => { /* 필요하다면 IntersectionObserverEntry 를 사용할 수 있습니다. */},
});

return (
<div>
{/* ... */}
<div ref={divRef}>Box</div>
<img ref={imgRef} src="url" alt="img" />
</div>
);
};
+

Note

+

Intersection Observer API

\ No newline at end of file diff --git a/docs/react/hooks/useInterval/index.html b/docs/react/hooks/useInterval/index.html index 18c4416f4..480a3793e 100644 --- a/docs/react/hooks/useInterval/index.html +++ b/docs/react/hooks/useInterval/index.html @@ -2,20 +2,20 @@ - -useInterval | @modern-kit - - + +useInterval | @modern-kit + + -

useInterval

+

useInterval

window.setInterval을 편리하게 사용할 수 있는 커스텀 훅입니다.

window.setIntervauseInterval 훅의 주요 차이점은 그 인수가 동적이라는 것입니다.

delay의 값으로 null을 넣으면 타이머를 중지할 수 있습니다.


-

Interface

-
type SetIntervalParameters = Parameters<typeof setInterval>;

const useInterval: (callback: SetIntervalParameters[0], delay?: SetIntervalParameters[1]) => void
-

Usage

-
import { useInterval } from '@modern-kit/react';

const Example = () => {
const [number, setNumber] = useState(0);
const [isPlaying, setIsPlaying] = useState(true);

useInterval(() => setNumber(number + 1), 1000);

return (
<div>
<div>{number}</div>
<button onClick={() => setIsPlaying(false)}>button</button>
</div>
);
};
+

Interface

+
type SetIntervalParameters = Parameters<typeof setInterval>;

const useInterval: (callback: SetIntervalParameters[0], delay?: SetIntervalParameters[1]) => void
+

Usage

+
import { useInterval } from '@modern-kit/react';

const Example = () => {
const [number, setNumber] = useState(0);
const [isPlaying, setIsPlaying] = useState(true);

useInterval(() => setNumber(number + 1), 1000);

return (
<div>
<div>{number}</div>
<button onClick={() => setIsPlaying(false)}>button</button>
</div>
);
};
\ No newline at end of file diff --git a/docs/react/hooks/useIsMounted/index.html b/docs/react/hooks/useIsMounted/index.html index f908ee2b6..0ad3fff57 100644 --- a/docs/react/hooks/useIsMounted/index.html +++ b/docs/react/hooks/useIsMounted/index.html @@ -2,19 +2,19 @@ - -useIsMounted | @modern-kit - - + +useIsMounted | @modern-kit + + -

useIsMounted

+

useIsMounted

컴포넌트가 브라우저에 mount 되었는지 여부를 확인 할 수 있는 커스텀 훅입니다.

SSR 환경에서 실제 컴포넌트가 브라우저에 mount 되었다는 것을 보장하기 위해 사용할 수 있습니다. (Feat. Hydration Error)


-

Interface

-
const useIsMounted: () => boolean
-

Usage

-
import { useIsMounted } from '@modern-kit/react';

const Example = () => {
const isMounted = useIsMounted();

return <div>{isMounted ? 'done' : 'in progress'}</div>;
};
+

Interface

+
const useIsMounted: () => boolean
+

Usage

+
import { useIsMounted } from '@modern-kit/react';

const Example = () => {
const isMounted = useIsMounted();

return <div>{isMounted ? 'done' : 'in progress'}</div>;
};
\ No newline at end of file diff --git a/docs/react/hooks/useIsomorphicLayoutEffect/index.html b/docs/react/hooks/useIsomorphicLayoutEffect/index.html index 850481f32..50e97820a 100644 --- a/docs/react/hooks/useIsomorphicLayoutEffect/index.html +++ b/docs/react/hooks/useIsomorphicLayoutEffect/index.html @@ -2,19 +2,19 @@ - -useIsomorphicLayoutEffect | @modern-kit - - + +useIsomorphicLayoutEffect | @modern-kit + + -

useIsomorphicLayoutEffect

+

useIsomorphicLayoutEffect

useIsomorphicLayoutEffect는 서버 사이드 렌더링 환경에서도 동기적으로 실행되도록 보장하는 커스텀 훅 입니다.

client환경에서는 useLayoutEffect를 사용하고, server환경에서는 useEffect를 사용합니다.


-

Interface

-
const useIsomorphicLayoutEffect: (
effect: React.EffectCallback,
deps?: React.DependencyList | undefined
) => void;
-

Usage

-
import { useIsomorphicLayoutEffect } from '@modern-kit/react';

const Example = () => {
useIsomorphicLayoutEffect(() => {
console.log(
"client 환경에서는 useLayoutEffect, server 환경에서는 useEffect 입니다.",
)
}, []);

return <div>{/* ... */}</div>;
};
+

Interface

+
const useIsomorphicLayoutEffect: (
effect: React.EffectCallback,
deps?: React.DependencyList | undefined
) => void;
+

Usage

+
import { useIsomorphicLayoutEffect } from '@modern-kit/react';

const Example = () => {
useIsomorphicLayoutEffect(() => {
console.log(
"client 환경에서는 useLayoutEffect, server 환경에서는 useEffect 입니다.",
)
}, []);

return <div>{/* ... */}</div>;
};
\ No newline at end of file diff --git a/docs/react/hooks/useMediaQuery/index.html b/docs/react/hooks/useMediaQuery/index.html index bb8176858..b556d9b4f 100644 --- a/docs/react/hooks/useMediaQuery/index.html +++ b/docs/react/hooks/useMediaQuery/index.html @@ -2,20 +2,20 @@ - -useMediaQuery | @modern-kit - - + +useMediaQuery | @modern-kit + + -

useMediaQuery

+

useMediaQuery

Resize 시에도 동작하며, 미디어 쿼리 문자열의 분석 결과를 쉽게 확인 할 수 있는 커스텀 훅입니다.


-

Interface

-
const useMediaQuery: (query: string) => {
isMatch: boolean;
}
-

Usage

-
import { useMediaQuery } from '@modern-kit/react';

const Example = () => {
const { isMatch } = useMediaQuery('(min-width: 768px)');

return (
<div>
<p>
{isMatch
? 'viewport 너비가 768px 이상입니다.'
: 'viewport 너비가 768px 미만입니다.'}
</p>
</div>
);
};

+

Interface

+
const useMediaQuery: (query: string) => {
isMatch: boolean;
}
+

Usage

+
import { useMediaQuery } from '@modern-kit/react';

const Example = () => {
const { isMatch } = useMediaQuery('(min-width: 768px)');

return (
<div>
<p>
{isMatch
? 'viewport 너비가 768px 이상입니다.'
: 'viewport 너비가 768px 미만입니다.'}
</p>
</div>
);
};

-

브라우저 너비를 수정해보세요!

viewport 너비가 768px 미만입니다.

+

브라우저 너비를 수정해보세요!

viewport 너비가 768px 미만입니다.

\ No newline at end of file diff --git a/docs/react/hooks/useMergeRefs/index.html b/docs/react/hooks/useMergeRefs/index.html index 3ea8c0853..a788e6852 100644 --- a/docs/react/hooks/useMergeRefs/index.html +++ b/docs/react/hooks/useMergeRefs/index.html @@ -2,18 +2,18 @@ - -useMergeRefs | @modern-kit - - + +useMergeRefs | @modern-kit + + -

useMergeRefs

+

useMergeRefs

인자로 주어진 여러 개의 ref를 하나로 병합할 때 활용할 수 있는 커스텀 훅입니다.


-

Interface

-
const useMergeRefs: <T = any>(
...refs: (React.MutableRefObject<T> | React.LegacyRef<T>)[]
) => (instance: T | null) => void;
-

Usage

-
import React, { forwardRef, useRef } from 'react';
import { useMergeRefs } from '@modern-kit/react';

interface Props {
/* ... */
}

const Example = forwardRef<HTMLDivElement, Props>((props, ref) => {
const childRef = useRef<HTMLDivElement | null>(null);

return <div ref={useMergeRefs(childRef, ref)}>{/* ... */}</div>;
});
+

Interface

+
const useMergeRefs: <T = any>(
...refs: (React.MutableRefObject<T> | React.LegacyRef<T>)[]
) => (instance: T | null) => void;
+

Usage

+
import React, { forwardRef, useRef } from 'react';
import { useMergeRefs } from '@modern-kit/react';

interface Props {
/* ... */
}

const Example = forwardRef<HTMLDivElement, Props>((props, ref) => {
const childRef = useRef<HTMLDivElement | null>(null);

return <div ref={useMergeRefs(childRef, ref)}>{/* ... */}</div>;
});
\ No newline at end of file diff --git a/docs/react/hooks/useOnClickOutside/index.html b/docs/react/hooks/useOnClickOutside/index.html index 033255857..527c03b12 100644 --- a/docs/react/hooks/useOnClickOutside/index.html +++ b/docs/react/hooks/useOnClickOutside/index.html @@ -2,18 +2,18 @@ - -useOnClickOutside | @modern-kit - - + +useOnClickOutside | @modern-kit + + -

useOnClickOutside

+

useOnClickOutside

ref를 할당한 타겟 엘리먼트 외부 요소를 클릭 할 경우 콜백 함수를 호출하는 커스텀 훅입니다.


-

Interface

-
const useOnClickOutside: <T extends HTMLElement>(
action: (targetElement: T) => void
) => {
ref: React.RefObject<T>;
};
-

Usage

-
import { useMemo } from 'react';
import { useOnClickOutside } from '@modern-kit/react';

const Example = () => {
const { ref } = useOnClickOutside<HTMLDivElement>(() => {
window.alert('outside click')
});

const boxStyle = useMemo(() => {
return {
width: '400px',
height: '400px',
background: '#439966',
fontSize: '1.5rem',
color: '#fff',
};
}, []);

return (
<div ref={ref} style={boxStyle}>
Target Box
</div>
);
};
+

Interface

+
const useOnClickOutside: <T extends HTMLElement>(
action: (targetElement: T) => void
) => {
ref: React.RefObject<T>;
};
+

Usage

+
import { useMemo } from 'react';
import { useOnClickOutside } from '@modern-kit/react';

const Example = () => {
const { ref } = useOnClickOutside<HTMLDivElement>(() => {
window.alert('outside click')
});

const boxStyle = useMemo(() => {
return {
width: '400px',
height: '400px',
background: '#439966',
fontSize: '1.5rem',
color: '#fff',
};
}, []);

return (
<div ref={ref} style={boxStyle}>
Target Box
</div>
);
};
\ No newline at end of file diff --git a/docs/react/hooks/usePreservedCallback/index.html b/docs/react/hooks/usePreservedCallback/index.html index 1ed986660..a7514c220 100644 --- a/docs/react/hooks/usePreservedCallback/index.html +++ b/docs/react/hooks/usePreservedCallback/index.html @@ -2,22 +2,22 @@ - -usePreservedCallback | @modern-kit - - + +usePreservedCallback | @modern-kit + + -

usePreservedCallback

+

usePreservedCallback

주어진 콜백 함수를 보존하고 컴포넌트 렌더링 사이에 재사용할 수 있도록 도와주는 커스텀 훅입니다.

이 훅은 특히 콜백 함수가 렌더링 중에 변경될 때 유용합니다. 불필요한 함수 생성을 방지하고 최적화하며, 최신 버전의 콜백 함수를 사용 할 수 있습니다.


-

Interface

-
const usePreservedCallback: <T extends (...args: any[]) => any>(
callback: T
) => (...args: any[]) => any;
-

Usage

-

as-is

-
import React, { useEffect, useState } from "react";

const Example = () => {
const [state, setState] = useState(0);

const callback = () => {
setState(state + 1);
};

useEffect(() => {
callback(); // 무한 호출
}, [callback]);

return (
<>{/* ... */}</>
);
}
-

to-be (usePreservedCallback)

-
import React, { useEffect, useState } from "react";
import { usePreservedCallback } from '@modern-kit/react';

const Example = () => {
const [state, setState] = useState(0);

const callback = usePreservedCallback(() => {
setState(state + 1);
});

useEffect(() => {
callback(); // 1회만 호출
}, [callback]);

return (
<>{/* ... */}</>
);
}
+

Interface

+
const usePreservedCallback: <T extends (...args: any[]) => any>(
callback: T
) => (...args: any[]) => any;
+

Usage

+

as-is

+
import React, { useEffect, useState } from "react";

const Example = () => {
const [state, setState] = useState(0);

const callback = () => {
setState(state + 1);
};

useEffect(() => {
callback(); // 무한 호출
}, [callback]);

return (
<>{/* ... */}</>
);
}
+

to-be (usePreservedCallback)

+
import React, { useEffect, useState } from "react";
import { usePreservedCallback } from '@modern-kit/react';

const Example = () => {
const [state, setState] = useState(0);

const callback = usePreservedCallback(() => {
setState(state + 1);
});

useEffect(() => {
callback(); // 1회만 호출
}, [callback]);

return (
<>{/* ... */}</>
);
}
\ No newline at end of file diff --git a/docs/react/hooks/usePreservedState/index.html b/docs/react/hooks/usePreservedState/index.html index f796a4f71..4b9fb2e80 100644 --- a/docs/react/hooks/usePreservedState/index.html +++ b/docs/react/hooks/usePreservedState/index.html @@ -2,13 +2,13 @@ - -usePreservedState | @modern-kit - - + +usePreservedState | @modern-kit + + -

usePreservedState

+

usePreservedState

comparator로 비교했을 때 값이 변경되었을 때 상태를 변경하는 커스텀 훅입니다.

comparator를 넘기지 않는다면 @modern-kit/utilsdeepEqual 함수가 활용됩니다.

    @@ -16,13 +16,13 @@

만약, comparator의 반환 값이 true여서 상태가 변경되지 않는다면 참조도 유지됩니다.


-

Interface

-
const usePreservedState: <T>(
value: T,
comparator?: ((source: T, target: T) => boolean) | undefined
) => T;
-

Usage

-

Default Comparator

-
import React, { useEffect, useState } from "react";
import { usePreservedState } from "@modern-kit/react";

const Example = () => {
const preservedState = usePreservedState({ exampleId: 1 }); // 컴포넌트가 리렌더링 되도 preservedState 참조는 유지됩니다.

return <>{/* ... */}</>;
}
+

Interface

+
const usePreservedState: <T>(
value: T,
comparator?: ((source: T, target: T) => boolean) | undefined
) => T;
+

Usage

+

Default Comparator

+
import React, { useEffect, useState } from "react";
import { usePreservedState } from "@modern-kit/react";

const Example = () => {
const preservedState = usePreservedState({ exampleId: 1 }); // 컴포넌트가 리렌더링 되도 preservedState 참조는 유지됩니다.

return <>{/* ... */}</>;
}

-

Custom Comparator

-
import React, { useEffect, useState } from 'react';
import { usePreservedState } from '@modern-kit/react';

const Example = () => {
const comparator = (
source: { exampleId: number },
target: { exampleId: number }
) => source.exampleId === target.exampleId;

const preservedState = usePreservedState({ exampleId: 1 }, comparator);

return <>{/* ... */}</>;
};

+

Custom Comparator

+
import React, { useEffect, useState } from 'react';
import { usePreservedState } from '@modern-kit/react';

const Example = () => {
const comparator = (
source: { exampleId: number },
target: { exampleId: number }
) => source.exampleId === target.exampleId;

const preservedState = usePreservedState({ exampleId: 1 }, comparator);

return <>{/* ... */}</>;
};

\ No newline at end of file diff --git a/docs/react/hooks/usePrevious/index.html b/docs/react/hooks/usePrevious/index.html index ca6d60008..1b3cba18f 100644 --- a/docs/react/hooks/usePrevious/index.html +++ b/docs/react/hooks/usePrevious/index.html @@ -2,20 +2,20 @@ - -usePrevious | @modern-kit - - + +usePrevious | @modern-kit + + -

usePrevious

+

usePrevious

이전 렌더링에서 인수의 값을 반환하는 커스텀 훅입니다.


-

Interface

-
const usePrevious: <T>(value: T) => T;
-

Usage

-
import { useState } from 'react';
import { usePrevious } from '@modern-kit/react';

const Example = () => {
const [count, setCount] = useState(0);
const previousCount = usePrevious(count);

const onIncrementCount = () => {
setCount(count + 1);
};

return (
<div>
<div>Current Count is - {count}</div>
<div>Previous Count is - {previousCount}</div>
<button onClick={onIncrementCount}>Increment</button>
</div>
);
};
+

Interface

+
const usePrevious: <T>(value: T) => T;
+

Usage

+
import { useState } from 'react';
import { usePrevious } from '@modern-kit/react';

const Example = () => {
const [count, setCount] = useState(0);
const previousCount = usePrevious(count);

const onIncrementCount = () => {
setCount(count + 1);
};

return (
<div>
<div>Current Count is - {count}</div>
<div>Previous Count is - {previousCount}</div>
<button onClick={onIncrementCount}>Increment</button>
</div>
);
};
-
Current Count is - 0
Previous Count is - 0
+
Current Count is - 0
Previous Count is - 0
\ No newline at end of file diff --git a/docs/react/hooks/useResizeObserver/index.html b/docs/react/hooks/useResizeObserver/index.html index b8fdce101..51564046e 100644 --- a/docs/react/hooks/useResizeObserver/index.html +++ b/docs/react/hooks/useResizeObserver/index.html @@ -2,23 +2,23 @@ - -useResizeObserver | @modern-kit - - + +useResizeObserver | @modern-kit + + -

useResizeObserver

+

useResizeObserver

ref를 할당한 타겟 엘리먼트의 DOM 크기 변화를 감지하는 커스텀 훅입니다.


-

Interface

-
/**
* type ContentRect = {
readonly bottom: number;
readonly height: number;
readonly left: number;
readonly right: number;
readonly top: number;
readonly width: number;
readonly x: number;
readonly y: number;
}
*/
type ContentRect = Omit<DOMRectReadOnly, 'toJSON'>;

const useResizeObserver: <T extends HTMLElement>(
action: (entry: ResizeObserverEntry) => void
) => {
ref: React.RefObject<T>;
contentRect: ContentRect;
};
-

Usage

-
import React, { forwardRef, useRef } from 'react';
import { useResizeObserver } from '@modern-kit/react';

const Example = () => {
const { ref, contentRect } = useResizeObserver<HTMLDivElement>((entry) => {
console.log('resize', entry);
});

const boxStyle = useMemo(() => {
return {
width: '100%',
height: '400px',
background: '#439966',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div
ref={ref}
style={boxStyle}>
브라우저 너비를 줄여보세요. <br />
{`width: ${contentRect.width}, height: ${contentRect.height}`}
</div>
);
};
+

Interface

+
/**
* type ContentRect = {
readonly bottom: number;
readonly height: number;
readonly left: number;
readonly right: number;
readonly top: number;
readonly width: number;
readonly x: number;
readonly y: number;
}
*/
type ContentRect = Omit<DOMRectReadOnly, 'toJSON'>;

const useResizeObserver: <T extends HTMLElement>(
action: (entry: ResizeObserverEntry) => void
) => {
ref: React.RefObject<T>;
contentRect: ContentRect;
};
+

Usage

+
import React, { forwardRef, useRef } from 'react';
import { useResizeObserver } from '@modern-kit/react';

const Example = () => {
const { ref, contentRect } = useResizeObserver<HTMLDivElement>((entry) => {
console.log('resize', entry);
});

const boxStyle = useMemo(() => {
return {
width: '100%',
height: '400px',
background: '#439966',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div
ref={ref}
style={boxStyle}>
브라우저 너비를 줄여보세요. <br />
{`width: ${contentRect.width}, height: ${contentRect.height}`}
</div>
);
};
브라우저 너비를 줄여보세요.
width: 0, height: 0

-

Note

-

ResizeObserver API

+

Note

+

ResizeObserver API

\ No newline at end of file diff --git a/docs/react/hooks/useTimeout/index.html b/docs/react/hooks/useTimeout/index.html index aaf8f4904..7caea8223 100644 --- a/docs/react/hooks/useTimeout/index.html +++ b/docs/react/hooks/useTimeout/index.html @@ -2,19 +2,19 @@ - -useTimeout | @modern-kit - - + +useTimeout | @modern-kit + + -

useTimeout

+

useTimeout

window.setTimeout을 편리하게 사용할 수 있는 커스텀 훅 입니다.

delay의 값으로 null을 넣으면 타이머를 중지할 수 있습니다.


-

Interface

-
type SetTimeoutParameters = Parameters<typeof setTimeout>;

const useTimeout: (callback: SetTimeoutParameters[0], delay?: SetTimeoutParameters[1]) => void
-

Usage

-
import { useTimeout } from '@modern-kit/react';

const Example = () => {
const [number, setNumber] = useState(0);

useTimeout(() => {
setNumber(number + 1);
}, 1000);

useTimeout(() => {
setNumber(number + 1);
}, 2000);

return <div>{number}</div>;
};
+

Interface

+
type SetTimeoutParameters = Parameters<typeof setTimeout>;

const useTimeout: (callback: SetTimeoutParameters[0], delay?: SetTimeoutParameters[1]) => void
+

Usage

+
import { useTimeout } from '@modern-kit/react';

const Example = () => {
const [number, setNumber] = useState(0);

useTimeout(() => {
setNumber(number + 1);
}, 1000);

useTimeout(() => {
setNumber(number + 1);
}, 2000);

return <div>{number}</div>;
};
\ No newline at end of file diff --git a/docs/react/hooks/useToggle/index.html b/docs/react/hooks/useToggle/index.html index 8d0bc66ea..44598c68d 100644 --- a/docs/react/hooks/useToggle/index.html +++ b/docs/react/hooks/useToggle/index.html @@ -2,18 +2,18 @@ - -useToggle | @modern-kit - - + +useToggle | @modern-kit + + -

useToggle

+

useToggle

boolean 타입의 state를 Toggle로 쉽게 사용할 수 있는 커스텀 훅 입니다.


-

Interface

-
const useToggle: (defaultValue?: boolean) => readonly [boolean, () => void]
-

Usage

-
import { useToggle } from '@modern-kit/react';

const Example = () => {
const [bool, toggle] = useToggle(false);

return (
<div>
{bool && <p>render</p>}
<button onClick={toggle}>Toggle Button</button>
</div>
);
}
+

Interface

+
const useToggle: (defaultValue?: boolean) => readonly [boolean, () => void]
+

Usage

+
import { useToggle } from '@modern-kit/react';

const Example = () => {
const [bool, toggle] = useToggle(false);

return (
<div>
{bool && <p>render</p>}
<button onClick={toggle}>Toggle Button</button>
</div>
);
}
\ No newline at end of file diff --git a/docs/react/hooks/useUnmount/index.html b/docs/react/hooks/useUnmount/index.html index 9abce96f8..908b45c5d 100644 --- a/docs/react/hooks/useUnmount/index.html +++ b/docs/react/hooks/useUnmount/index.html @@ -2,18 +2,18 @@ - -useUnMount | @modern-kit - - + +useUnMount | @modern-kit + + -

useUnMount

+

useUnMount

컴포넌트가 언마운트될 때 콜백 함수를 호출하는 커스텀 훅입니다.


-

Interface

-
const useUnmount: (callback: () => any) => void
-

Usage

-
import { useUnmount } from '@modern-kit/react';

const Example = () => {
useUnmount(() => console.log("unmount"));

return <>{/* ... */}</>;
};
+

Interface

+
const useUnmount: (callback: () => any) => void
+

Usage

+
import { useUnmount } from '@modern-kit/react';

const Example = () => {
useUnmount(() => console.log("unmount"));

return <>{/* ... */}</>;
};
\ No newline at end of file diff --git a/docs/react/hooks/useVisibilityChange/index.html b/docs/react/hooks/useVisibilityChange/index.html index f514f8e5d..dbc667eb2 100644 --- a/docs/react/hooks/useVisibilityChange/index.html +++ b/docs/react/hooks/useVisibilityChange/index.html @@ -2,18 +2,18 @@ - -useVisibilityChange | @modern-kit - - + +useVisibilityChange | @modern-kit + + -

useVisibilityChange

+

useVisibilityChange

visibilitychange 이벤트가 발생할 때 즉, 브라우저 탭의 콘텐츠가 보여지면 onShow 콜백 함수를 실행하며, 콘텐츠가 숨겨지면 onHide 콜백 함수를 실행하는 커스텀 훅입니다.


-

Interface

-
type VisibilityChangeCallbackAction = (
event: Event,
visibilityState: DocumentVisibilityState
) => void;

interface useVisibilityChangeProps {
onShow?: VisibilityChangeCallbackAction;
onHide?: VisibilityChangeCallbackAction;
}

const useVisibilityChange: ({ onShow, onHide, }: useVisibilityChangeProps) => void
-

Usage

-
import { useVisibilityChange } from '@modern-kit/react';

const Example = () => {
useVisibilityEvent({
onShow: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */},
onHide: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */}
});

return (
<div>{/* ... */}</div>
)
};
+

Interface

+
type VisibilityChangeCallbackAction = (
event: Event,
visibilityState: DocumentVisibilityState
) => void;

interface useVisibilityChangeProps {
onShow?: VisibilityChangeCallbackAction;
onHide?: VisibilityChangeCallbackAction;
}

const useVisibilityChange: ({ onShow, onHide, }: useVisibilityChangeProps) => void
+

Usage

+
import { useVisibilityChange } from '@modern-kit/react';

const Example = () => {
useVisibilityEvent({
onShow: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */},
onHide: (event: Event, visibilityState: DocumentVisibilityState) => { /* ... */}
});

return (
<div>{/* ... */}</div>
)
};
\ No newline at end of file diff --git a/docs/react/hooks/useWindowScrollTo/index.html b/docs/react/hooks/useWindowScrollTo/index.html index b2e39737e..2ba180de8 100644 --- a/docs/react/hooks/useWindowScrollTo/index.html +++ b/docs/react/hooks/useWindowScrollTo/index.html @@ -2,18 +2,18 @@ - -useWindowScrollTo | @modern-kit - - + +useWindowScrollTo | @modern-kit + + -

useWindowScrollTo

+

useWindowScrollTo

window.scrollTo()를 편하게 호출하는 커스텀 훅입니다.


-

Interface

-
interface UseScrollToProps {
left?: ScrollToOptions['left']; // default: 0
top?: ScrollToOptions['top']; // default: 0
behavior?: ScrollToOptions['behavior']; // default: 'auto'
dependencies?: DependencyList; // default: []
}

const useWindowScrollTo: ({
left,
top,
behavior,
dependencies,
}?: UseScrollToProps) => void;
-

Usage

-
import { useWindowScrollTo } from '@modern-kit/react';

const Example = () => {
useWindowScrollTo();

return (<div>{/* ... */}</div>);
};
+

Interface

+
interface UseScrollToProps {
left?: ScrollToOptions['left']; // default: 0
top?: ScrollToOptions['top']; // default: 0
behavior?: ScrollToOptions['behavior']; // default: 'auto'
dependencies?: DependencyList; // default: []
}

const useWindowScrollTo: ({
left,
top,
behavior,
dependencies,
}?: UseScrollToProps) => void;
+

Usage

+
import { useWindowScrollTo } from '@modern-kit/react';

const Example = () => {
useWindowScrollTo();

return (<div>{/* ... */}</div>);
};
\ No newline at end of file diff --git a/docs/react/hooks/useWindowSize/index.html b/docs/react/hooks/useWindowSize/index.html index d4ff7889d..9bf950dac 100644 --- a/docs/react/hooks/useWindowSize/index.html +++ b/docs/react/hooks/useWindowSize/index.html @@ -2,27 +2,27 @@ - -useWindowSize | @modern-kit - - + +useWindowSize | @modern-kit + + -

useWindowSize

+

useWindowSize

현재 브라우저 창의 너비와 높이 정보를 추적하고, 반환하는 커스텀 훅입니다. 또한, 불 필요한 호출을 방지하기위한 debounce 기능을 제공합니다.


-

Interface

-
interface Size {
width: number | null;
height: number | null;
}

interface useWindowSizeProps {
isDebounce?: boolean; // debounce options, default: false
wait?: number; // debounce delay time, default: 300
}

const useWindowSize: (options?: useWindowSizeProps) => Size
-

Usage

-

Default

-
import { useWindowSize } from '@modern-kit/react';

const Example = () => {
const windowSize = useWindowSize();
const boxStyle = useMemo(() => {
return {
width: '100%',
background: '#439966',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div style={boxStyle}>
브라우저 크기를 줄여보세요. <br />
width: {windowSize.width}px <br />
height: {windowSize.height}px
</div>
);
};
+

Interface

+
interface Size {
width: number | null;
height: number | null;
}

interface useWindowSizeProps {
isDebounce?: boolean; // debounce options, default: false
wait?: number; // debounce delay time, default: 300
}

const useWindowSize: (options?: useWindowSizeProps) => Size
+

Usage

+

Default

+
import { useWindowSize } from '@modern-kit/react';

const Example = () => {
const windowSize = useWindowSize();
const boxStyle = useMemo(() => {
return {
width: '100%',
background: '#439966',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div style={boxStyle}>
브라우저 크기를 줄여보세요. <br />
width: {windowSize.width}px <br />
height: {windowSize.height}px
</div>
);
};
브라우저 크기를 줄여보세요.
width: px
height: px

-

Debounce

-
import { useWindowSize } from '@modern-kit/react';

const DebounceExample = () => {
const windowSize = useWindowSize({ isDebounce: true, wait: 300 });
const boxStyle = useMemo(() => {
return {
width: '100%',
background: '#0067A3',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div style={boxStyle}>
브라우저 크기를 줄여보세요. <br />
width: {windowSize.width}px <br />
height: {windowSize.height}px
</div>
);
};
+

Debounce

+
import { useWindowSize } from '@modern-kit/react';

const DebounceExample = () => {
const windowSize = useWindowSize({ isDebounce: true, wait: 300 });
const boxStyle = useMemo(() => {
return {
width: '100%',
background: '#0067A3',
fontSize: '2rem',
color: '#fff',
}
}, []);

return (
<div style={boxStyle}>
브라우저 크기를 줄여보세요. <br />
width: {windowSize.width}px <br />
height: {windowSize.height}px
</div>
);
};
브라우저 크기를 줄여보세요.
width: px
height: px
-
+
\ No newline at end of file diff --git a/docs/utils/common/abRandom/index.html b/docs/utils/common/abRandom/index.html index d9a854f7e..be9d14fc2 100644 --- a/docs/utils/common/abRandom/index.html +++ b/docs/utils/common/abRandom/index.html @@ -2,19 +2,19 @@ - -abRandom | @modern-kit - - + +abRandom | @modern-kit + + -

abRandom

+

abRandom

50% 확률로 0또는 1을 반환하는 함수입니다.

-

AB 테스트를 할 때 활용할 수 있습니다.

+

AB 테스트를 할 때 활용할 수 있습니다.


-

Interface

-
const abRandom: () => 0 | 1
-

Usage

-
import { abRandom } from '@modern-kit/utils';

const ab = abRandom();
+

Interface

+
const abRandom: () => 0 | 1
+

Usage

+
import { abRandom } from '@modern-kit/utils';

const ab = abRandom();
\ No newline at end of file diff --git a/docs/utils/common/asyncNoop/index.html b/docs/utils/common/asyncNoop/index.html index 508b001ee..f516cd5d1 100644 --- a/docs/utils/common/asyncNoop/index.html +++ b/docs/utils/common/asyncNoop/index.html @@ -2,18 +2,18 @@ - -asyncNoop | @modern-kit - - + +asyncNoop | @modern-kit + + -

asyncNoop

+

asyncNoop

아무 동작 하지 않고, Promise<void>를 반환하는 async 함수입니다.


-

Interface

-
const asyncNoop: () => Promise<void>
-

Usage

-
import { asyncNoop } from '@modern-kit/utils';

const handleAsyncClick = (callback = asyncNoop) => {
callback();
};
+

Interface

+
const asyncNoop: () => Promise<void>
+

Usage

+
import { asyncNoop } from '@modern-kit/utils';

const handleAsyncClick = (callback = asyncNoop) => {
callback();
};
\ No newline at end of file diff --git a/docs/utils/common/deepCopy/index.html b/docs/utils/common/deepCopy/index.html index 3dd624481..1e06e2774 100644 --- a/docs/utils/common/deepCopy/index.html +++ b/docs/utils/common/deepCopy/index.html @@ -2,18 +2,18 @@ - -deepCopy | @modern-kit - - + +deepCopy | @modern-kit + + -

deepCopy

-

인자로 주어진 값을 깊은 복사를 수행하는 함수입니다.

+

deepCopy

+

인자로 주어진 값을 깊은 복사를 수행하는 함수입니다.


-

Interface

-
const deepCopy: <T>(source: T) => T
-

Usage

-
import { deepCopy } from '@modern-kit/utils';

const originNum = 42;
const copyNum = deepCopy(originNum);

const originObj = { a: 1, b: { c: 2 } };
const copyObj = deepCopy(originObj);

const originArray = [1, 2, [3, 4]];
const copyArray = deepCopy(originArray);

const originSet = new Set([1, 2, 3]);
const copySet = deepCopy(originSet);

const originMap = new Map([
['a', 1],
['b', 2],
]);
const copyMap = deepCopy(originMap);
+

Interface

+
const deepCopy: <T>(source: T) => T
+

Usage

+
import { deepCopy } from '@modern-kit/utils';

const originNum = 42;
const copyNum = deepCopy(originNum);

const originObj = { a: 1, b: { c: 2 } };
const copyObj = deepCopy(originObj);

const originArray = [1, 2, [3, 4]];
const copyArray = deepCopy(originArray);

const originSet = new Set([1, 2, 3]);
const copySet = deepCopy(originSet);

const originMap = new Map([
['a', 1],
['b', 2],
]);
const copyMap = deepCopy(originMap);
\ No newline at end of file diff --git a/docs/utils/common/deepEqual/index.html b/docs/utils/common/deepEqual/index.html index 0e6d7d24f..424296f1b 100644 --- a/docs/utils/common/deepEqual/index.html +++ b/docs/utils/common/deepEqual/index.html @@ -2,18 +2,18 @@ - -deepEqual | @modern-kit - - + +deepEqual | @modern-kit + + -

deepEqual

-

인자로 주어진 두 값을 깊은 비교해서 같은지 다른지 여부를 반환해주는 함수입니다.

+

deepEqual

+

인자로 주어진 두 값을 깊은 비교해서 같은지 다른지 여부를 반환해주는 함수입니다.


-

Interface

-
const deepEqual: (source: any, target: any) => boolean
-

Usage

-
import { deepEqual } from '@modern-kit/utils';

const isEqual1 = deepEqual(1, 1); // true
const isEqual2 = deepEqual({ a: 1}, { a: 1}); // true
const isEqual3 = deepEqual([1, 2, 3] [1, 2, 3]); // true

const isEqual4 = deepEqual("1", "2"); // false
const isEqual5 = deepEqual({ a: 1}, { a: 2}); // false
const isEqual6 = deepEqual([1, 2, 3], [1, "2", 3]); // false
+

Interface

+
const deepEqual: (source: any, target: any) => boolean
+

Usage

+
import { deepEqual } from '@modern-kit/utils';

const isEqual1 = deepEqual(1, 1); // true
const isEqual2 = deepEqual({ a: 1}, { a: 1}); // true
const isEqual3 = deepEqual([1, 2, 3] [1, 2, 3]); // true

const isEqual4 = deepEqual("1", "2"); // false
const isEqual5 = deepEqual({ a: 1}, { a: 2}); // false
const isEqual6 = deepEqual([1, 2, 3], [1, "2", 3]); // false
\ No newline at end of file diff --git a/docs/utils/common/getUniqId/index.html b/docs/utils/common/getUniqId/index.html index 653118494..d3c8cb73f 100644 --- a/docs/utils/common/getUniqId/index.html +++ b/docs/utils/common/getUniqId/index.html @@ -2,18 +2,18 @@ - -getUniqId | @modern-kit - - + +getUniqId | @modern-kit + + -

getUniqId

+

getUniqId

유니크한 아이디를 반환하는 함수입니다.


-

Interface

-
const getUniqId: () => string
-

Usage

-
import { getUniqId } from '@modern-kit/utils';

const uniqId = getUniqId();
+

Interface

+
const getUniqId: () => string
+

Usage

+
import { getUniqId } from '@modern-kit/utils';

const uniqId = getUniqId();
\ No newline at end of file diff --git a/docs/utils/common/getUniqTime/index.html b/docs/utils/common/getUniqTime/index.html index cd8ec4bdf..5920f1814 100644 --- a/docs/utils/common/getUniqTime/index.html +++ b/docs/utils/common/getUniqTime/index.html @@ -2,18 +2,18 @@ - -getUniqTime | @modern-kit - - + +getUniqTime | @modern-kit + + -

getUniqTime

-

기본적으로 new Date().getTime() 값을 반환하는 함수이지만, 동일 시간에 여러번 호출 할 경우 유니크 값을 반환하는 함수입니다.

+

getUniqTime

+

기본적으로 new Date().getTime() 값을 반환하는 함수이지만, 동일 시간에 여러번 호출 할 경우 유니크 값을 반환하는 함수입니다.


-

Interface

-
const getUniqTime: () => number
-

Usage

-
import { getUniqTime } from '@modern-kit/utils';

const uniqTime = getUniqTime();
+

Interface

+
const getUniqTime: () => number
+

Usage

+
import { getUniqTime } from '@modern-kit/utils';

const uniqTime = getUniqTime();
\ No newline at end of file diff --git a/docs/utils/common/getViewportSize/index.html b/docs/utils/common/getViewportSize/index.html index d3cb43a79..a28274df3 100644 --- a/docs/utils/common/getViewportSize/index.html +++ b/docs/utils/common/getViewportSize/index.html @@ -2,19 +2,19 @@ - -getViewportSize | @modern-kit - - + +getViewportSize | @modern-kit + + -

getViewportSize

+

getViewportSize

현재 Viewport Size를 반환하는 함수입니다. -서버 환경에서는 { width: 0, height: 0} 을 반환한다.

+서버 환경에서는 { width: 0, height: 0} 을 반환한다.


-

Interface

-
const getViewportSize: () => {
readonly width: number;
readonly height: number;
}
-

Usage

-
import { getViewportSize } from '@modern-kit/utils';

const { width, height } = getViewportSize();
+

Interface

+
const getViewportSize: () => {
readonly width: number;
readonly height: number;
}
+

Usage

+
import { getViewportSize } from '@modern-kit/utils';

const { width, height } = getViewportSize();
\ No newline at end of file diff --git a/docs/utils/common/hexToRgba/index.html b/docs/utils/common/hexToRgba/index.html index 824d8d54d..e3776e211 100644 --- a/docs/utils/common/hexToRgba/index.html +++ b/docs/utils/common/hexToRgba/index.html @@ -2,19 +2,19 @@ - -hexToRgba | @modern-kit - - + +hexToRgba | @modern-kit + + -

hexToRgba

-

16진수 색상 코드(Hex)를 RGB형식으로 변경하는 함수입니다. (HEX -> RGB)

+

hexToRgba

+

16진수 색상 코드(Hex)를 RGB형식으로 변경하는 함수입니다. (HEX -> RGB)

유효한 Hex 코드가 아니라면 null을 반환합니다.


-

Interface

-
const hexToRgba: (hex: string, alpha?: number) => {
readonly r: number;
readonly g: number;
readonly b: number;
readonly a: number;
readonly stringifiedValue: `rgba(${number},${number},${number},${number})`;
} | null
-

Usage

-
import { hexToRgba } from '@modern-kit/utils';

const hex1 = '#1A2B3C';
const rgbColor1 = hexToRgba(hex1);
// { r: 26, g: 43, b: 60, a: 1, stringifiedValue: 'rgba(26,43,60,1)' }

const hex2 = '#1A2';
const rgbColor2 = hexToRgba(hex2, 0.2);
// { r: 17, g: 170, b: 34, a: 0.2, stringifiedValue: 'rgba(17,170,34,0.2)' }
+

Interface

+
const hexToRgba: (hex: string, alpha?: number) => {
readonly r: number;
readonly g: number;
readonly b: number;
readonly a: number;
readonly stringifiedValue: `rgba(${number},${number},${number},${number})`;
} | null
+

Usage

+
import { hexToRgba } from '@modern-kit/utils';

const hex1 = '#1A2B3C';
const rgbColor1 = hexToRgba(hex1);
// { r: 26, g: 43, b: 60, a: 1, stringifiedValue: 'rgba(26,43,60,1)' }

const hex2 = '#1A2';
const rgbColor2 = hexToRgba(hex2, 0.2);
// { r: 17, g: 170, b: 34, a: 0.2, stringifiedValue: 'rgba(17,170,34,0.2)' }
\ No newline at end of file diff --git a/docs/utils/common/noop/index.html b/docs/utils/common/noop/index.html index ed4f75918..ad99fccf8 100644 --- a/docs/utils/common/noop/index.html +++ b/docs/utils/common/noop/index.html @@ -2,18 +2,18 @@ - -noop | @modern-kit - - + +noop | @modern-kit + + -

noop

-

아무 동작 하지 않고, undefined를 반환하는 함수입니다.

+

noop

+

아무 동작 하지 않고, undefined를 반환하는 함수입니다.


-

Interface

-
const noop: () => void
-

Usage

-
import { noop } from '@modern-kit/utils';

const handleClick = (callback = noop) => {
callback();
};
+

Interface

+
const noop: () => void
+

Usage

+
import { noop } from '@modern-kit/utils';

const handleClick = (callback = noop) => {
callback();
};
\ No newline at end of file diff --git a/docs/utils/common/wrapInArray/index.html b/docs/utils/common/wrapInArray/index.html index b864a4800..920fb18d8 100644 --- a/docs/utils/common/wrapInArray/index.html +++ b/docs/utils/common/wrapInArray/index.html @@ -2,19 +2,19 @@ - -wrapInArray | @modern-kit - - + +wrapInArray | @modern-kit + + -

wrapInArray

-

배열이 아니라면 래핑된 배열을 반환하고, 배열이라면 래핑하지 않고 반환해주는 함수입니다.

+

wrapInArray

+

배열이 아니라면 래핑된 배열을 반환하고, 배열이라면 래핑하지 않고 반환해주는 함수입니다.

반환된 배열은 깊은 복사된 새로운 배열입니다.


-

Interface

-
const wrapInArray: <T>(value: T | T[]) => T[]
-

Usage

-
import { wrapInArray } from '@modern-kit/utils';

const wrappedInArray1 = wrapInArray('ModernKit'); // ['ModernKit']
const wrappedInArray2 = wrapInArray([1, 2, 3]); // [1, 2, 3]
+

Interface

+
const wrapInArray: <T>(value: T | T[]) => T[]
+

Usage

+
import { wrapInArray } from '@modern-kit/utils';

const wrappedInArray1 = wrapInArray('ModernKit'); // ['ModernKit']
const wrappedInArray2 = wrapInArray([1, 2, 3]); // [1, 2, 3]
\ No newline at end of file diff --git a/docs/utils/device/getOS/index.html b/docs/utils/device/getOS/index.html index 3be163b22..4dd391646 100644 --- a/docs/utils/device/getOS/index.html +++ b/docs/utils/device/getOS/index.html @@ -2,13 +2,13 @@ - -getOS | @modern-kit - - + +getOS | @modern-kit + + -

getOS

+

getOS

userAgent를 기반으로 OS 값을 반환하는 함수입니다.

  • server: Server 환경
  • @@ -18,9 +18,9 @@
  • web: Web 환경

-

Interface

-
const getOS: () => "server" | "ios" | "android" | "otherMobile" | "web"
-

Usage

-
import { getOS } from '@modern-kit/utils';

const os = getOS();
+

Interface

+
const getOS: () => "server" | "ios" | "android" | "otherMobile" | "web"
+

Usage

+
import { getOS } from '@modern-kit/utils';

const os = getOS();
\ No newline at end of file diff --git a/docs/utils/device/isClient/index.html b/docs/utils/device/isClient/index.html index 5a9eb5b29..a654acbbe 100644 --- a/docs/utils/device/isClient/index.html +++ b/docs/utils/device/isClient/index.html @@ -2,19 +2,19 @@ - -isClient | @modern-kit - - + +isClient | @modern-kit + + -

isClient

+

isClient

자바스크립트 런타임 환경이 클라이언트(브라우저)인지 확인하는 함수입니다.

true를 반환 할 경우 클라이언트 환경입니다.


-

Interface

-
const isClient: () => boolean
-

Usage

-
import { isClient } from '@modern-kit/utils';

if (isClient()) {
/* 브라우저 환경이 보장 */
}
+

Interface

+
const isClient: () => boolean
+

Usage

+
import { isClient } from '@modern-kit/utils';

if (isClient()) {
/* 브라우저 환경이 보장 */
}
\ No newline at end of file diff --git a/docs/utils/device/isMobile/index.html b/docs/utils/device/isMobile/index.html index 6f7814998..960b4ff76 100644 --- a/docs/utils/device/isMobile/index.html +++ b/docs/utils/device/isMobile/index.html @@ -2,18 +2,18 @@ - -isMobile | @modern-kit - - + +isMobile | @modern-kit + + -

isMobile

+

isMobile

모바일 환경인지 확인하는 함수입니다.


-

Interface

-
const isMobile: () => boolean
-

Usage

-
import { isMobile } from '@modern-kit/utils';

if (isMobile()) {
/* 모바일 환경 보장 */
}
+

Interface

+
const isMobile: () => boolean
+

Usage

+
import { isMobile } from '@modern-kit/utils';

if (isMobile()) {
/* 모바일 환경 보장 */
}
\ No newline at end of file diff --git a/docs/utils/device/isSever/index.html b/docs/utils/device/isSever/index.html index 78fbd177a..bb05841a1 100644 --- a/docs/utils/device/isSever/index.html +++ b/docs/utils/device/isSever/index.html @@ -2,19 +2,19 @@ - -isServer | @modern-kit - - + +isServer | @modern-kit + + -

isServer

+

isServer

자바스크립트 런타임 환경이 서버(Node.js)인지 확인하는 함수입니다.

true를 반환 할 경우 클라이언트 환경입니다.


-

Interface

-
const isServer: () => boolean
-

Usage

-
import { isServer } from '@modern-kit/utils';

if (isServer()) {
/* Node.js 환경이 보장 */
}
+

Interface

+
const isServer: () => boolean
+

Usage

+
import { isServer } from '@modern-kit/utils';

if (isServer()) {
/* Node.js 환경이 보장 */
}
\ No newline at end of file diff --git a/docs/utils/object/deleteEmptyProperties/index.html b/docs/utils/object/deleteEmptyProperties/index.html index 583175bf5..6140bee87 100644 --- a/docs/utils/object/deleteEmptyProperties/index.html +++ b/docs/utils/object/deleteEmptyProperties/index.html @@ -2,19 +2,19 @@ - -deleteEmptyProperties | @modern-kit - - + +deleteEmptyProperties | @modern-kit + + -

deleteEmptyProperties

+

deleteEmptyProperties

객체의 중첩 객체/배열을 포함한 모든 프로퍼티를 순회하면서 값이 아래 나열한 빈 값들 중 하나라면, 해당 프로퍼티들을 제거한 새로운 객체를 반환해주는 유틸 함수입니다.

제거 항목: 빈 문자열(""), 빈 배열([]), 빈 객체({}), null, undefined


-

Interface

-
const deleteEmptyProperties: <T extends Record<PropertyKey, any>>(obj: T) => T
-

Usage

-
import { deleteEmptyProperties } from '@modern-kit/utils';

const obj = deleteEmptyProperties({
prop1: 1,
prop2: 0,
prop3: '',
prop4: '1',
prop5: true,
prop6: false,
prop7: null,
prop8: undefined,
prop9: [],
prop10: {},
});

/**
* obj = {
prop1: 1,
prop2: 0,
prop4: '1',
prop5: true,
prop6: false,
};
*/
+

Interface

+
const deleteEmptyProperties: <T extends Record<PropertyKey, any>>(obj: T) => T
+

Usage

+
import { deleteEmptyProperties } from '@modern-kit/utils';

const obj = deleteEmptyProperties({
prop1: 1,
prop2: 0,
prop3: '',
prop4: '1',
prop5: true,
prop6: false,
prop7: null,
prop8: undefined,
prop9: [],
prop10: {},
});

/**
* obj = {
prop1: 1,
prop2: 0,
prop4: '1',
prop5: true,
prop6: false,
};
*/
\ No newline at end of file diff --git a/docs/utils/object/mergeProperties/index.html b/docs/utils/object/mergeProperties/index.html index 76da28b11..6197e1407 100644 --- a/docs/utils/object/mergeProperties/index.html +++ b/docs/utils/object/mergeProperties/index.html @@ -2,19 +2,19 @@ - -mergeProperties | @modern-kit - - + +mergeProperties | @modern-kit + + -

mergeProperties

+

mergeProperties

기준이 되는 target 객체와 source 객체의 프로퍼티를 병합하는 유틸 함수입니다.

Key가 동일할 때 값이 원시 타입의 경우 source의 값으로 덮어씌워지며, 배열인 경우 target과 source 요소를 모두 갖는 배열을 반환합니다.


-

Interface

-
const mergeProperties: <
T extends Record<PropertyKey, any>,
K extends Record<PropertyKey, any>
>(
target: T,
source: K
) => T & K;
-

Usage

-
import { mergeProperties } from '@modern-kit/utils';

const target = {
a: 1,
b: 2,
c: {
c_a: 1,
c_b: 2,
},
d: 4,
e: [1, 2],
};
const source = {
c: {
c_c: 3,
c_d: 4,
},
d: 5,
e: [3, 4],
};

const obj = mergeProperties(target, source);

/**
* obj = {
a: 1,
b: 2,
c: {
c_a: 1,
c_b: 2,
c_c: 3,
c_d: 4,
},
d: 5,
e: [1, 2, 3, 4],
};
*/
+

Interface

+
const mergeProperties: <
T extends Record<PropertyKey, any>,
K extends Record<PropertyKey, any>
>(
target: T,
source: K
) => T & K;
+

Usage

+
import { mergeProperties } from '@modern-kit/utils';

const target = {
a: 1,
b: 2,
c: {
c_a: 1,
c_b: 2,
},
d: 4,
e: [1, 2],
};
const source = {
c: {
c_c: 3,
c_d: 4,
},
d: 5,
e: [3, 4],
};

const obj = mergeProperties(target, source);

/**
* obj = {
a: 1,
b: 2,
c: {
c_a: 1,
c_b: 2,
c_c: 3,
c_d: 4,
},
d: 5,
e: [1, 2, 3, 4],
};
*/
\ No newline at end of file diff --git a/docs/utils/object/objectEntries/index.html b/docs/utils/object/objectEntries/index.html index 7918c9d56..a56f1f81b 100644 --- a/docs/utils/object/objectEntries/index.html +++ b/docs/utils/object/objectEntries/index.html @@ -2,20 +2,20 @@ - -objectEntries | @modern-kit - - + +objectEntries | @modern-kit + + -

objectEntries

+

objectEntries

Object.entries()와 동일하게 동작하지만 key타입을 지켜주는 함수입니다.


-

Interface

-
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectEntries: <T extends Record<PropertyKey, T[keyof T]>>(
obj: T
) => [ObjectKeys<T>, T[ObjectKeys<T>]][];
-

Usage

-
import { objectEntries } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: ["a" | "b" | "c", 1 | 2 | 3][]
* value:
[
['a', 1],
['b', 2],
['c', 3],
]
*/
const entries = objectEntries(obj);
-

Note

-

Object.entries()

+

Interface

+
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectEntries: <T extends Record<PropertyKey, T[keyof T]>>(
obj: T
) => [ObjectKeys<T>, T[ObjectKeys<T>]][];
+

Usage

+
import { objectEntries } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: ["a" | "b" | "c", 1 | 2 | 3][]
* value:
[
['a', 1],
['b', 2],
['c', 3],
]
*/
const entries = objectEntries(obj);
+

Note

+

Object.entries()

\ No newline at end of file diff --git a/docs/utils/object/objectKeys/index.html b/docs/utils/object/objectKeys/index.html index 269d6cd9d..d0f0e5a09 100644 --- a/docs/utils/object/objectKeys/index.html +++ b/docs/utils/object/objectKeys/index.html @@ -2,21 +2,21 @@ - -objectKeys | @modern-kit - - + +objectKeys | @modern-kit + + -

objectKeys

+

objectKeys

Object.keys()와 동일하게 동작하지만 key타입을 지켜주는 함수입니다. 참고로, symbol 프로퍼티는 열거형이 아니기 때문에 제외됩니다.


-

Interface

-
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectKeys: <T extends Record<ObjectKeys<T>, T[keyof T]>>(
obj: T
) => ObjectKeys<T>[];
-

Usage

-
import { objectKeys } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: ("a" | "b" | "c")[]
* value: ["a", "b", "c"]
*/
const keys = objectKeys(obj);
-

Note

-

Object.keys()

+

Interface

+
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectKeys: <T extends Record<ObjectKeys<T>, T[keyof T]>>(
obj: T
) => ObjectKeys<T>[];
+

Usage

+
import { objectKeys } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: ("a" | "b" | "c")[]
* value: ["a", "b", "c"]
*/
const keys = objectKeys(obj);
+

Note

+

Object.keys()

\ No newline at end of file diff --git a/docs/utils/object/objectValues/index.html b/docs/utils/object/objectValues/index.html index bdbad8bae..bdbe4384e 100644 --- a/docs/utils/object/objectValues/index.html +++ b/docs/utils/object/objectValues/index.html @@ -2,20 +2,20 @@ - -objectValues | @modern-kit - - + +objectValues | @modern-kit + + -

objectValues

+

objectValues

Object.values()와 동일하게 동작하는 함수입니다.


-

Interface

-
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectValues: <T extends Record<PropertyKey, T[keyof T]>>(
obj: T
) => T[ObjectKeys<T>][];
-

Usage

-
import { objectValues } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: (1 | 2 | 3)[]
* value: [1, 2, 3]
*/
const values = objectValues(obj);
-

Note

-

Object.values()

+

Interface

+
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const objectValues: <T extends Record<PropertyKey, T[keyof T]>>(
obj: T
) => T[ObjectKeys<T>][];
+

Usage

+
import { objectValues } from '@modern-kit/utils';

const symbol = Symbol('d');
const obj = {
a: 1,
b: 2,
c: 3,
[symbol]: 4,
} as const;

/**
* type: (1 | 2 | 3)[]
* value: [1, 2, 3]
*/
const values = objectValues(obj);
+

Note

+

Object.values()

\ No newline at end of file diff --git a/docs/utils/object/omit/index.html b/docs/utils/object/omit/index.html index bcff66738..6886852eb 100644 --- a/docs/utils/object/omit/index.html +++ b/docs/utils/object/omit/index.html @@ -2,19 +2,19 @@ - -omit | @modern-kit - - + +omit | @modern-kit + + -

omit

+

omit

인자로 넣은 keys를 생략한 객체를 반환하는 함수입니다. 반환된 객체는 깊은 복사된 새로운 객체입니다.

symbol은 제외됩니다.


-

Interface

-
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const omit: <
T extends Record<PropertyKey, T[keyof T]>,
K extends ObjectKeys<T>
>(
obj: T,
keys: K | K[]
) => Omit<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;
-

Usage

-
import { omit } from '@modern-kit/utils';

const symbol = Symbol('d');
const omittedObj1 = omit({ a: 1, b: 2, c: 3, [symbol]: 4 }, 'b'); // { a: 1, c: 3 }
const omittedObj1 = omit({ a: 1, b: 2, c: 3, d: 4, [symbol]: 4 }, ['a', 'd']); // { b: 2, c: 3 }
+

Interface

+
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const omit: <
T extends Record<PropertyKey, T[keyof T]>,
K extends ObjectKeys<T>
>(
obj: T,
keys: K | K[]
) => Omit<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;
+

Usage

+
import { omit } from '@modern-kit/utils';

const symbol = Symbol('d');
const omittedObj1 = omit({ a: 1, b: 2, c: 3, [symbol]: 4 }, 'b'); // { a: 1, c: 3 }
const omittedObj1 = omit({ a: 1, b: 2, c: 3, d: 4, [symbol]: 4 }, ['a', 'd']); // { b: 2, c: 3 }
\ No newline at end of file diff --git a/docs/utils/object/pick/index.html b/docs/utils/object/pick/index.html index f59f7f507..9df1e45c1 100644 --- a/docs/utils/object/pick/index.html +++ b/docs/utils/object/pick/index.html @@ -2,19 +2,19 @@ - -pick | @modern-kit - - + +pick | @modern-kit + + -

pick

+

pick

인자로 넣은 keys로 구성된 객체를 반환하는 함수입니다. 반환된 객체는 깊은 복사된 새로운 객체입니다.

symbol은 제외됩니다.


-

Interface

-
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const pick: <
T extends Record<PropertyKey, T[keyof T]>,
K extends ObjectKeys<T>
>(
obj: T,
keys: K | K[]
) => Pick<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;
-

Usage

-
import { pick } from '@modern-kit/utils';

const pickedObj1 = pick({ a: 1, b: 2, c: 3 }, 'b'); // { b: 2 }
const pickedObj2 = pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 }
+

Interface

+
type ObjectKeys<T extends Record<PropertyKey, T[keyof T]>> = Exclude<
keyof T,
symbol
>;

const pick: <
T extends Record<PropertyKey, T[keyof T]>,
K extends ObjectKeys<T>
>(
obj: T,
keys: K | K[]
) => Pick<Record<ObjectKeys<T>, T[ObjectKeys<T>]>, K>;
+

Usage

+
import { pick } from '@modern-kit/utils';

const pickedObj1 = pick({ a: 1, b: 2, c: 3 }, 'b'); // { b: 2 }
const pickedObj2 = pick({ a: 1, b: 2, c: 3 }, ['a', 'c']); // { a: 1, c: 3 }
\ No newline at end of file diff --git a/docs/utils/string/countSubstringOccurrences/index.html b/docs/utils/string/countSubstringOccurrences/index.html index f940e047e..c02265600 100644 --- a/docs/utils/string/countSubstringOccurrences/index.html +++ b/docs/utils/string/countSubstringOccurrences/index.html @@ -2,18 +2,18 @@ - -countSubstringOccurrences | @modern-kit - - + +countSubstringOccurrences | @modern-kit + + -

countSubstringOccurrences

+

countSubstringOccurrences

문자열에서 특정 하위 문자열이 얼마나 반복 등장했는지 횟수를 반환하는 함수입니다.


-

Interface

-
const countSubstringOccurrences: (source: string, target: string) => number
-

Usage

-
import { countSubstringOccurrences } from '@modern-kit/utils';

const str = 'apple banana apple grapes apple';
const count1 = countSubstringOccurrences(str, 'apple'); // 3
const count2 = countSubstringOccurrences(str, 'apple banana'); // 1
+

Interface

+
const countSubstringOccurrences: (source: string, target: string) => number
+

Usage

+
import { countSubstringOccurrences } from '@modern-kit/utils';

const str = 'apple banana apple grapes apple';
const count1 = countSubstringOccurrences(str, 'apple'); // 3
const count2 = countSubstringOccurrences(str, 'apple banana'); // 1
\ No newline at end of file diff --git a/docs/utils/string/extractNumber/index.html b/docs/utils/string/extractNumber/index.html index a52259a41..505563d86 100644 --- a/docs/utils/string/extractNumber/index.html +++ b/docs/utils/string/extractNumber/index.html @@ -2,18 +2,18 @@ - -extractNumber | @modern-kit - - + +extractNumber | @modern-kit + + -

extractNumber

+

extractNumber

문자열을 입력하면 숫자를 제외한 모든 문자를 제거한 문자열을 반환하는 함수입니다.


-

Interface

-
const extractNumber: (value: string) => string
-

Usage

-
import { extractNumber } from '@modern-kit/utils';

const str1 = extractNumber('abc123sd45'); // '12345'
const str2 = extractNumber('1 23 sd 4 5'); // '12345'
const str3 = extractNumber('🥲'); // ''
const str4 = extractNumber(' '); // ''
+

Interface

+
const extractNumber: (value: string) => string
+

Usage

+
import { extractNumber } from '@modern-kit/utils';

const str1 = extractNumber('abc123sd45'); // '12345'
const str2 = extractNumber('1 23 sd 4 5'); // '12345'
const str3 = extractNumber('🥲'); // ''
const str4 = extractNumber(' '); // ''
\ No newline at end of file diff --git a/docs/utils/string/formatNumberWithCommas/index.html b/docs/utils/string/formatNumberWithCommas/index.html index 6b73f1ed2..563eee889 100644 --- a/docs/utils/string/formatNumberWithCommas/index.html +++ b/docs/utils/string/formatNumberWithCommas/index.html @@ -2,18 +2,18 @@ - -formatNumberWithCommas | @modern-kit - - + +formatNumberWithCommas | @modern-kit + + -

formatNumberWithCommas

+

formatNumberWithCommas

문자열 또는 숫자를 입력하면 숫자를 천 단위로 (,)comma를 추가한 문자열을 반환하는 함수입니다.


-

Interface

-
const formatNumberWithCommas: (value: string | number) => string
-

Usage

-
import { formatNumberWithCommas } from '@modern-kit/utils';

const numberWithComma1 = formatNumberWithCommas(200); // '200'
const numberWithComma2 = formatNumberWithCommas(3000); // '3,000'
const numberWithComma3 = formatNumberWithCommas('50000'); // '50,000'
const numberWithComma4 = formatNumberWithCommas('123123123'); // '123,123,123'
const numberWithComma5 = formatNumberWithCommas('price: 500000'); // 'price: 500,000'
+

Interface

+
const formatNumberWithCommas: (value: string | number) => string
+

Usage

+
import { formatNumberWithCommas } from '@modern-kit/utils';

const numberWithComma1 = formatNumberWithCommas(200); // '200'
const numberWithComma2 = formatNumberWithCommas(3000); // '3,000'
const numberWithComma3 = formatNumberWithCommas('50000'); // '50,000'
const numberWithComma4 = formatNumberWithCommas('123123123'); // '123,123,123'
const numberWithComma5 = formatNumberWithCommas('price: 500000'); // 'price: 500,000'
\ No newline at end of file diff --git a/docs/utils/string/formatPhoneNumber/index.html b/docs/utils/string/formatPhoneNumber/index.html index edf5d193a..987d61654 100644 --- a/docs/utils/string/formatPhoneNumber/index.html +++ b/docs/utils/string/formatPhoneNumber/index.html @@ -2,20 +2,20 @@ - -formatPhoneNumber | @modern-kit - - + +formatPhoneNumber | @modern-kit + + -

formatPhoneNumber

+

formatPhoneNumber

문자열을 입력하면 전화 번호 포맷으로 -(hyphen)을 넣어서 반환해주는 함수입니다.


-

Interface

-
const formatPhoneNumber: (value: string) => string
-

Usage

-
import { formatPhoneNumber } from '@modern-kit/utils';

const phoneNumber0 = formatPhoneNumber('03112345678'); // '031-1234-5678'
const phoneNumber1 = formatPhoneNumber('01012345678'); // '010-1234-5678'
const phoneNumber2 = formatPhoneNumber('021231234'); // '02-123-1234'
const phoneNumber2 = formatPhoneNumber('(02)12351234'); // '02-1235-1234'
const phoneNumber3 = formatPhoneNumber('12334788'); // '1233-4788'
-

Note

-

대한민국의 전화번호 체계

+

Interface

+
const formatPhoneNumber: (value: string) => string
+

Usage

+
import { formatPhoneNumber } from '@modern-kit/utils';

const phoneNumber0 = formatPhoneNumber('03112345678'); // '031-1234-5678'
const phoneNumber1 = formatPhoneNumber('01012345678'); // '010-1234-5678'
const phoneNumber2 = formatPhoneNumber('021231234'); // '02-123-1234'
const phoneNumber2 = formatPhoneNumber('(02)12351234'); // '02-1235-1234'
const phoneNumber3 = formatPhoneNumber('12334788'); // '1233-4788'
+

Note

+

대한민국의 전화번호 체계

\ No newline at end of file diff --git a/docs/utils/string/removeSpecialCharacters/index.html b/docs/utils/string/removeSpecialCharacters/index.html index 4c1e9b5fc..872b574ce 100644 --- a/docs/utils/string/removeSpecialCharacters/index.html +++ b/docs/utils/string/removeSpecialCharacters/index.html @@ -2,18 +2,18 @@ - -removeSpecialCharacters | @modern-kit - - + +removeSpecialCharacters | @modern-kit + + -

removeSpecialCharacters

+

removeSpecialCharacters

문자열을 입력하면 특수 문자를 제거한 문자열을 반환하는 함수입니다.


-

Interface

-
const removeSpecialCharacters: (value: string) => string
-

Usage

-
import { removeSpecialCharacters } from '@modern-kit/utils';

const str = removeSpecialCharacters('H@#!ello, @Wo!@!&@rld!'); // Hello World
+

Interface

+
const removeSpecialCharacters: (value: string) => string
+

Usage

+
import { removeSpecialCharacters } from '@modern-kit/utils';

const str = removeSpecialCharacters('H@#!ello, @Wo!@!&@rld!'); // Hello World
\ No newline at end of file diff --git a/docs/utils/string/repeatCharacters/index.html b/docs/utils/string/repeatCharacters/index.html index c121c4f5c..743f0df76 100644 --- a/docs/utils/string/repeatCharacters/index.html +++ b/docs/utils/string/repeatCharacters/index.html @@ -2,18 +2,18 @@ - -repeatCharacters | @modern-kit - - + +repeatCharacters | @modern-kit + + -

repeatCharacters

+

repeatCharacters

주어진 문자열의 각 문자를 주어진 반복 횟수만큼 반복해서 새로운 문자열을 반환하는 함수입니다.


-

Interface

-
const repeatCharacters: (value: string, repeatCount: number) => string
-

Usage

-
import { repeatCharacters } from '@modern-kit/utils';

const str1 = 'A!B@C';
const repeatedStr1 = repeatCharacters(str1, 2); // 'AA!!BB@@CC'

const str2 = 'Hello';
const repeatedStr2 = repeatCharacters(str2, 3); // 'HHHeeelllooo'
+

Interface

+
const repeatCharacters: (value: string, repeatCount: number) => string
+

Usage

+
import { repeatCharacters } from '@modern-kit/utils';

const str1 = 'A!B@C';
const repeatedStr1 = repeatCharacters(str1, 2); // 'AA!!BB@@CC'

const str2 = 'Hello';
const repeatedStr2 = repeatCharacters(str2, 3); // 'HHHeeelllooo'
\ No newline at end of file diff --git a/docs/utils/validator/hasProperty/index.html b/docs/utils/validator/hasProperty/index.html index 9900a8059..9f903706f 100644 --- a/docs/utils/validator/hasProperty/index.html +++ b/docs/utils/validator/hasProperty/index.html @@ -2,18 +2,18 @@ - -hasProperty | @modern-kit - - + +hasProperty | @modern-kit + + -

hasProperty

+

hasProperty

객체가 지정된 프로퍼티를 포함하고 있는지를 나타내는 boolean을 반환하는 함수입니다. 만약, true라면 프로퍼티의 타입이 좁혀집니다.


-

Interface

-
typescript
const hasProperty: <T extends Record<PropertyKey, any>, K extends PropertyKey>(
obj: T,
key: K
) => key is K & keyof T;
-

Usage

-
import { hasProperty } from '@modern-kit/utils';

const exampleObj = { foo: 'foo', bar: 'bar' } as const;

const exampleKey1 = 'foo' as string;
const exampleKey2 = 'zoo' as string;

hasProperty(exampleObj, exampleKey1); // true
// const exampleKey1: "foo" | "bar"
hasProperty(exampleObj, exampleKey2); // false
// const exampleKey2: string
+

Interface

+
typescript
const hasProperty: <T extends Record<PropertyKey, any>, K extends PropertyKey>(
obj: T,
key: K
) => key is K & keyof T;
+

Usage

+
import { hasProperty } from '@modern-kit/utils';

const exampleObj = { foo: 'foo', bar: 'bar' } as const;

const exampleKey1 = 'foo' as string;
const exampleKey2 = 'zoo' as string;

hasProperty(exampleObj, exampleKey1); // true
// const exampleKey1: "foo" | "bar"
hasProperty(exampleObj, exampleKey2); // false
// const exampleKey2: string
\ No newline at end of file diff --git a/docs/utils/validator/isFuntion/index.html b/docs/utils/validator/isFuntion/index.html index d26befdf6..b8aee021b 100644 --- a/docs/utils/validator/isFuntion/index.html +++ b/docs/utils/validator/isFuntion/index.html @@ -2,18 +2,18 @@ - -isFunction | @modern-kit - - + +isFunction | @modern-kit + + -

isFunction

+

isFunction

주어진 인자가 함수인지 검사하고, 맞다면 인자의 타입을 Function로 좁혀주는 함수입니다.


-

Interface

-
typescript
const isFunction: (arg: unknown) => arg is Function
-

Usage

-
import { isFunction } from '@modern-kit/utils';

function example() {}

isFunction(() => {}); // true
isFunction(example); // true

isFunction('123'); // false
isFunction(123); // false
isFunction({}); // false
isFunction([]); // false
+

Interface

+
typescript
const isFunction: (arg: unknown) => arg is Function
+

Usage

+
import { isFunction } from '@modern-kit/utils';

function example() {}

isFunction(() => {}); // true
isFunction(example); // true

isFunction('123'); // false
isFunction(123); // false
isFunction({}); // false
isFunction([]); // false
\ No newline at end of file diff --git a/docs/utils/validator/isNotNullish/index.html b/docs/utils/validator/isNotNullish/index.html index 4c65dfaa4..bd512bc5c 100644 --- a/docs/utils/validator/isNotNullish/index.html +++ b/docs/utils/validator/isNotNullish/index.html @@ -2,18 +2,18 @@ - -isNotNullish | @modern-kit - - + +isNotNullish | @modern-kit + + -

isNotNullish

+

isNotNullish

주어진 인자가 null 또는 undefined가 아닌지 검사하고, 아니라면 주어진 인자 타입 그대로 좁혀주는 함수입니다.


-

Interface

-
typescript
const isNotNullish: <T>(val: T | null | undefined) => val is T
-

Usage

-
import { isNotNullish } from '@modern-kit/utils';

isNotNullish(1); // true
isNotNullish(false); // true
isNotNullish("str"); // true
isNotNullish({}); // true

isNotNullish(undefined); // false
isNotNullish(null); // false
+

Interface

+
typescript
const isNotNullish: <T>(val: T | null | undefined) => val is T
+

Usage

+
import { isNotNullish } from '@modern-kit/utils';

isNotNullish(1); // true
isNotNullish(false); // true
isNotNullish("str"); // true
isNotNullish({}); // true

isNotNullish(undefined); // false
isNotNullish(null); // false
\ No newline at end of file diff --git a/docs/utils/validator/isNullish/index.html b/docs/utils/validator/isNullish/index.html index 57a7db1f8..3ce73235b 100644 --- a/docs/utils/validator/isNullish/index.html +++ b/docs/utils/validator/isNullish/index.html @@ -2,18 +2,18 @@ - -isNullish | @modern-kit - - + +isNullish | @modern-kit + + -

isNullish

+

isNullish

주어진 인자가 null 또는 undefined인지 검사하고, 맞다면 인자 타입이 undefined | null로 좁혀주는 함수입니다.


-

Interface

-
typescript
const isNullish: <T>(val: T | null | undefined) => val is null | undefined
-

Usage

-
import { isNullish } from '@modern-kit/utils';

isNullish(undefined); // true
isNullish(null); // true

isNullish(1); // false
isNullish(false); // false
isNullish("str"); // false
isNullish({}); // false
+

Interface

+
typescript
const isNullish: <T>(val: T | null | undefined) => val is null | undefined
+

Usage

+
import { isNullish } from '@modern-kit/utils';

isNullish(undefined); // true
isNullish(null); // true

isNullish(1); // false
isNullish(false); // false
isNullish("str"); // false
isNullish({}); // false
\ No newline at end of file diff --git a/docs/utils/validator/isNumber/index.html b/docs/utils/validator/isNumber/index.html index ae9983bdd..0e1e6db75 100644 --- a/docs/utils/validator/isNumber/index.html +++ b/docs/utils/validator/isNumber/index.html @@ -2,18 +2,18 @@ - -isNumber | @modern-kit - - + +isNumber | @modern-kit + + -

isNumber

+

isNumber

주어진 인자가 숫자인지 검사하고, 맞다면 인자의 타입을 number로 좁혀주는 함수입니다.


-

Interface

-
typescript
const isNumber: (arg: unknown) => arg is number
-

Usage

-
import { isNumber } from '@modern-kit/utils';


isNumber(123); // true

isNumber(() => {}); // false
isNumber('123'); // false
isNumber(true); // false
isNumber({}); // false
isNumber([]); // false
+

Interface

+
typescript
const isNumber: (arg: unknown) => arg is number
+

Usage

+
import { isNumber } from '@modern-kit/utils';


isNumber(123); // true

isNumber(() => {}); // false
isNumber('123'); // false
isNumber(true); // false
isNumber({}); // false
isNumber([]); // false
\ No newline at end of file diff --git a/docs/utils/validator/isValidEmail/index.html b/docs/utils/validator/isValidEmail/index.html index 5ce620a3a..4cd353960 100644 --- a/docs/utils/validator/isValidEmail/index.html +++ b/docs/utils/validator/isValidEmail/index.html @@ -2,23 +2,23 @@ - -isValidEmail | @modern-kit - - + +isValidEmail | @modern-kit + + -

isValidEmail

+

isValidEmail

주어진 문자열이 이메일 형식을 준수하는지 확인하는 함수입니다.

RFC 5322 기준의 정규표현식을 사용하였으며, 해당 함수에서 사용하는 정규식은 이메일 형태의 99.99%를 검사를 할 수 있습니다.

참고로, 완벽한 이메일 정규식은 존재하지 않기 때문에 99.99% 입니다.


-

Interface

-
const isValidEmail: (email: string) => boolean
-

Usage

-
import { isValidEmail } from '@modern-kit/utils';

const isEmail1 = isValidEmail('example@email.com'); // true
const isEmail2 = isValidEmail('invalid-email'); // false
-

Note

+

Interface

+
const isValidEmail: (email: string) => boolean
+

Usage

+
import { isValidEmail } from '@modern-kit/utils';

const isEmail1 = isValidEmail('example@email.com'); // true
const isEmail2 = isValidEmail('invalid-email'); // false
+

Note

RFC 5322

-

emailregex

+

emailregex

\ No newline at end of file diff --git a/docs/utils/validator/isValidPhoneNumberFormat/index.html b/docs/utils/validator/isValidPhoneNumberFormat/index.html index d78ce554e..7354659e2 100644 --- a/docs/utils/validator/isValidPhoneNumberFormat/index.html +++ b/docs/utils/validator/isValidPhoneNumberFormat/index.html @@ -2,13 +2,13 @@ - -isValidPhoneNumberFormat | @modern-kit - - + +isValidPhoneNumberFormat | @modern-kit + + -

isValidPhoneNumberFormat

+

isValidPhoneNumberFormat

주어진 문자열이 -(hyphen)을 포함한 전화번호 형식인지 확인하는 함수입니다.

  • XXX-YYY-ZZZZ
  • @@ -19,9 +19,9 @@

실제 전화번호 체계에 맞는지 엄격하게 확인하지는 않습니다.


-

Interface

-
const isValidPhoneNumberFormat: (value: string) => boolean
-

Usage

-
import { isValidPhoneNumberFormat, formatPhoneNumber } from '@modern-kit/utils';

const isPhoneNumberFormat1 = isValidPhoneNumberFormat('010-1234-1234'); // true
const isPhoneNumberFormat2 = isValidPhoneNumberFormat('031-123-1234'); // true
const isPhoneNumberFormat3 = isValidPhoneNumberFormat('02-123-1234'); // true
const isPhoneNumberFormat4 = isValidPhoneNumberFormat('02-1234-1234'); // true

const isPhoneNumberFormat5 = isValidPhoneNumberFormat('0-1234-1234'); // false
const isPhoneNumberFormat6 = isValidPhoneNumberFormat('010-12455-1234'); // false

const isPhoneNumberFormat7 = isValidPhoneNumberFormat(formatPhoneNumber('01012341234')); // true
const isPhoneNumberFormat8 = isValidPhoneNumberFormat(formatPhoneNumber('021231234')); // true
const isPhoneNumberFormat9 = isValidPhoneNumberFormat(formatPhoneNumber('010-1234-1234')); // true
+

Interface

+
const isValidPhoneNumberFormat: (value: string) => boolean
+

Usage

+
import { isValidPhoneNumberFormat, formatPhoneNumber } from '@modern-kit/utils';

const isPhoneNumberFormat1 = isValidPhoneNumberFormat('010-1234-1234'); // true
const isPhoneNumberFormat2 = isValidPhoneNumberFormat('031-123-1234'); // true
const isPhoneNumberFormat3 = isValidPhoneNumberFormat('02-123-1234'); // true
const isPhoneNumberFormat4 = isValidPhoneNumberFormat('02-1234-1234'); // true

const isPhoneNumberFormat5 = isValidPhoneNumberFormat('0-1234-1234'); // false
const isPhoneNumberFormat6 = isValidPhoneNumberFormat('010-12455-1234'); // false

const isPhoneNumberFormat7 = isValidPhoneNumberFormat(formatPhoneNumber('01012341234')); // true
const isPhoneNumberFormat8 = isValidPhoneNumberFormat(formatPhoneNumber('021231234')); // true
const isPhoneNumberFormat9 = isValidPhoneNumberFormat(formatPhoneNumber('010-1234-1234')); // true
\ No newline at end of file diff --git a/index.html b/index.html index 34a2c5672..c399849ad 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,12 @@ - -@modern-kit | @modern-kit - - + +@modern-kit | @modern-kit + + -

@modern-kit/react

React와 관련된 유용한 컴포넌트와 커스텀 훅을 제공하는 라이브러리입니다.

@modern-kit/utils

클라이언트 개발과 관련된 유용한 유틸리티 함수를 제공하는 라이브러리입니다.

@modern-kit/types

유용한 유틸 타입들을 제공하는 라이브러리 입니다.

Thank you to all contributors! 💗

@modern-kit는 지속적으로 유지 관리되며, 여러분들의 모든 기여를 환영합니다.

+

@modern-kit/react

React와 관련된 유용한 컴포넌트와 커스텀 훅을 제공하는 라이브러리입니다.

@modern-kit/utils

클라이언트 개발과 관련된 유용한 유틸리티 함수를 제공하는 라이브러리입니다.

@modern-kit/types

유용한 유틸 타입들을 제공하는 라이브러리 입니다.

Thank you to all contributors! 💗

@modern-kit는 지속적으로 유지 관리되며, 여러분들의 모든 기여를 환영합니다.

\ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 6252ed58a..344869e00 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://your-docusaurus-test-site.com/modern-kit/docs/introduce/weekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/DebounceWrapperweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/InViewweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/LazyImageweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/Portalweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/Whenweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useAsyncPreservedCallbackweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useDebounceweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useForceUpdateweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useImageStatusweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIntersectionObserverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIntervalweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIsMountedweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIsomorphicLayoutEffectweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useMediaQueryweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useMergeRefsweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useOnClickOutsideweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreservedCallbackweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreservedStateweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreviousweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useResizeObserverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useTimeoutweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useToggleweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useUnmountweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useVisibilityChangeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useWindowScrollToweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useWindowSizeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/abRandomweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/asyncNoopweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/deepCopyweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/deepEqualweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getUniqIdweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getUniqTimeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getViewportSizeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/hexToRgbaweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/noopweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/wrapInArrayweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/getOSweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isClientweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isMobileweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isSeverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/deleteEmptyPropertiesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/mergePropertiesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectEntriesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectKeysweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectValuesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/omitweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/pickweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/countSubstringOccurrencesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/extractNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/formatNumberWithCommasweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/formatPhoneNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/removeSpecialCharactersweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/repeatCharactersweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/hasPropertyweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isFuntionweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNotNullishweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNullishweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isValidEmailweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isValidPhoneNumberFormatweekly0.5https://your-docusaurus-test-site.com/modern-kit/weekly0.5 \ No newline at end of file +https://your-docusaurus-test-site.com/modern-kit/weekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/introduce/weekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/DebounceWrapperweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/InViewweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/LazyImageweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/Portalweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/components/Whenweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useAsyncPreservedCallbackweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useDebounceweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useForceUpdateweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useImageStatusweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIntersectionObserverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIntervalweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIsMountedweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useIsomorphicLayoutEffectweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useMediaQueryweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useMergeRefsweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useOnClickOutsideweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreservedCallbackweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreservedStateweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/usePreviousweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useResizeObserverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useTimeoutweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useToggleweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useUnmountweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useVisibilityChangeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useWindowScrollToweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/react/hooks/useWindowSizeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/abRandomweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/asyncNoopweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/deepCopyweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/deepEqualweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getUniqIdweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getUniqTimeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/getViewportSizeweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/hexToRgbaweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/noopweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/common/wrapInArrayweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/getOSweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isClientweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isMobileweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/device/isSeverweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/deleteEmptyPropertiesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/mergePropertiesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectEntriesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectKeysweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/objectValuesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/omitweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/object/pickweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/countSubstringOccurrencesweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/extractNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/formatNumberWithCommasweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/formatPhoneNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/removeSpecialCharactersweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/string/repeatCharactersweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/hasPropertyweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isFuntionweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNotNullishweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNullishweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isNumberweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isValidEmailweekly0.5https://your-docusaurus-test-site.com/modern-kit/docs/utils/validator/isValidPhoneNumberFormatweekly0.5 \ No newline at end of file