From 74e4dcbe99221f564d913c94e4e3b8929ff7e6ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 27 Nov 2024 15:28:24 +0000 Subject: [PATCH] Deploy pr-947 to gh-pages [skip ci] --- react/pr-947/404.html | 8 ++++---- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 react/pr-947/_next/static/chunks/1668-d85c25a288b9fcb5.js | 1 - react/pr-947/_next/static/chunks/1668-f0ae5c958e686b62.js | 1 + react/pr-947/_next/static/chunks/2089-10835a27b5090118.js | 1 + react/pr-947/_next/static/chunks/2089-96d72442565c4615.js | 1 - ...{7882-9160f55740918538.js => 7882-f859c48ba5edf8bd.js} | 2 +- react/pr-947/_next/static/chunks/978-906158bad5e4cbf7.js | 1 - react/pr-947/_next/static/chunks/978-e84144ff1b3bad21.js | 1 + ...{_app-307af215cd855630.js => _app-f5da24ee7fe83ee2.js} | 2 +- ...-911194ccb61e5834.js => accordion-ef99ea5d244f4397.js} | 2 +- ...lert-31b0a8fcea10b7f2.js => alert-010f11008f4c91dd.js} | 2 +- .../{box-efda112fcbd59d22.js => box-d30719bd2a5efc4a.js} | 2 +- ...c30c90000100589.js => button-base-fc85b3357c17dad5.js} | 2 +- ...ton-d608041485dce1ac.js => button-fc494c837f365b33.js} | 2 +- ...7aeb8f687d94b8.js => button-group-f06acce52be7721e.js} | 2 +- ...ce0be12fbf93405.js => button-link-380b27017c25a30f.js} | 2 +- ...x-4d9ef1aae15350e6.js => checkbox-3953ed919c5dd683.js} | 2 +- ...9ff86078082f.js => checkbox-group-04a84334a6e96fe2.js} | 2 +- ...{code-b9bfb1e60d3cd4bf.js => code-dc35c9899238c15d.js} | 2 +- ...-ab08024884d0660f.js => dark-mode-6d19c673410b3079.js} | 2 +- ...3a265c7627cc2.js => inverted-mode-1a0c4b9e372e2cf4.js} | 2 +- ...29de9cb542ad1763.js => light-mode-5a6f26a2ddf147b9.js} | 2 +- ...f57034968f24d7.js => useColorMode-67ef36882756aa59.js} | 2 +- ...55aaee23822d4.js => useColorStyle-de09bef7699db0e4.js} | 2 +- .../components/date-pickers/calendar-443315881821384d.js | 1 + .../components/date-pickers/calendar-dd38a2c5426e77ff.js | 1 - .../date-pickers/date-picker-562ca322e05c65f1.js | 1 - .../date-pickers/date-picker-f2ad2f37fe915169.js | 1 + ...er-a00a791ea5065181.js => divider-e2e6859ef0fc8295.js} | 2 +- .../chunks/pages/components/drawer-a74a884d533100fd.js | 1 + .../chunks/pages/components/drawer-b8b6f522cc0c096a.js | 1 - ...{flex-595f5ef426d4b073.js => flex-0e1c12fbde3e19e5.js} | 2 +- ...{grid-ac2b0dfda5dd406f.js => grid-e9883dff290377ff.js} | 2 +- ...{icon-f98a2e3393947376.js => icon-91bd6696a7bf1c23.js} | 2 +- ...mage-fd3f046e3698427f.js => image-c9acad52df610037.js} | 2 +- ...nput-96ba0260554af772.js => input-4dd54adfd820efdc.js} | 2 +- ...ed8e8fad1ea9c08d.js => input-base-19f84b7f8f0e9099.js} | 2 +- ...6aaff7faaab59.js => input-control-d6a9fa3c3b7082d9.js} | 2 +- ...f33a619c0d072ec.js => input-group-b357005eb4473dc5.js} | 2 +- ...{link-493e923010bfe35d.js => link-80dd99995acc6709.js} | 2 +- ...0fa139d31176330.js => link-button-027527cf971b2858.js} | 2 +- .../chunks/pages/components/modal-7ffa3dd8137db54d.js | 1 + .../chunks/pages/components/modal-d0315cefda8c7bb0.js | 1 - ...defa654ab1db4bdf.js => pagination-be06fc14d5d92d8b.js} | 2 +- ...a9d09c3ac0b16.js => usePagination-0f9e68ed3733c29e.js} | 2 +- ...tal-8d34be0dbb7efcf2.js => portal-c98fc2e7355e315f.js} | 2 +- ...583b2b23d3.js => usePortalManager-2528a9de62039f9a.js} | 2 +- ...s-32f1b81eb56f950e.js => progress-2d8bec605de4e766.js} | 2 +- ...adio-ac38c51592e410fa.js => radio-ce98db7bae67ebbf.js} | 2 +- ...804727a6461b52c.js => radio-group-9a62f1973cb993bc.js} | 2 +- ...abd50a8361777.js => resize-handle-70a274865b9aa1a5.js} | 2 +- ...3eadd006324b60.js => search-input-6ffb2ad034409dde.js} | 2 +- ...ect-822a10c491c0d4f0.js => select-facad091fa201489.js} | 2 +- ...n-e6f9406c69e1eff4.js => skeleton-e665bda68e3833c4.js} | 2 +- ...pace-1e22ea64480e8bfd.js => space-9e6d961baeace4ef.js} | 2 +- ...er-15ab4235dee028d4.js => spinner-5986ffe564e754fa.js} | 2 +- ...tack-b6166041bceb9fe4.js => stack-4f07736f194704dd.js} | 2 +- ...tch-738567ad41c339b2.js => switch-bf1ccc60ade77e19.js} | 2 +- ...{tabs-831255f8fde81b53.js => tabs-ff988623a5c53ee9.js} | 2 +- .../{tag-f90e16e49bb4b408.js => tag-04023c6dd4714ab0.js} | 2 +- ...{text-ff42d280fc5cddab.js => text-dd32c2a9a289bac2.js} | 2 +- ...0a86463c7c94ab73.js => text-label-09f557f9c73ab63f.js} | 2 +- ...a-737b84fbf52039e3.js => textarea-dce8cf07b43acd40.js} | 2 +- ...oast-409ac895f0fba7f6.js => toast-f0d725c51a6a91d3.js} | 2 +- ...15a000a2cb78b.js => toast-manager-ca0474239baa5d44.js} | 2 +- ...515a876bd7a.js => useToastManager-e656b957a163c8c8.js} | 2 +- .../components/transitions/collapse-368fc5d46bc9a2df.js | 1 - .../components/transitions/collapse-4967d53085c3ad50.js | 1 + ...{fade-8c139c3abc1d6308.js => fade-38499caeb79e6d0f.js} | 2 +- ...{grow-faa09847a66532f0.js => grow-95f6343bb83eefea.js} | 2 +- ...cale-6a385cee26332780.js => scale-f04508015776691f.js} | 2 +- ...lide-f9d4258d9c7f6520.js => slide-656a06a02cc3e027.js} | 2 +- .../pages/components/transitions/zoom-0ff07b31bb2ac336.js | 1 + .../pages/components/transitions/zoom-47aa60d305565936.js | 1 - ...e-cf1b5c8243e431c8.js => truncate-93dc6331a6440336.js} | 2 +- ...7eef1eb2796.js => visually-hidden-1e7af8fa7a920c46.js} | 2 +- ...683.js => react-components-part-1-9c00b8465694377e.js} | 2 +- ...ea9552f2de163.js => css-variables-f4d0c2c2147941c6.js} | 2 +- ...39cb42d179675a9.js => the-sx-prop-6598878237a63131.js} | 2 +- ...sage-76e0ff5315a53ff8.js => usage-53b3e5191c788f76.js} | 2 +- ...t-c6bbf57442879789.js => useConst-de48c265315e2f39.js} | 2 +- ...384fc05e.js => useCopyToClipboard-252de9f080a9abe1.js} | 2 +- ...52e9ed5707aeb.js => useEffectOnce-e42cdabe160655b2.js} | 2 +- ...87f9a16ba.js => useEffectOnceWhen-379c0a823fb20d94.js} | 2 +- ...bdbaaa8d0b.js => useEventCallback-23591a716ded6743.js} | 2 +- ...fb52b3d35b.js => useEventListener-e8507a371a47ba07.js} | 2 +- ...5824f792b4e57ea.js => useHydrated-e5f902ccdcf0df1f.js} | 2 +- ...cc0fd80.js => useIsomorphicEffect-068a788efa499232.js} | 2 +- ...b22dc3db7ba1c2.js => useLatestRef-9d3f58bb2dd61135.js} | 2 +- .../chunks/pages/hooks/useMediaQuery-0ea755cbf28d17bd.js | 1 - .../chunks/pages/hooks/useMediaQuery-8480040257a2bcfe.js | 1 + ...02e63485e0f2c2.js => useMergeRefs-e51d694e27db4a34.js} | 2 +- ...ce-ce7a5a1224623ccb.js => useOnce-ef5ec43fab7d8bb6.js} | 2 +- ...834404b9de47f2b.js => useOnceWhen-e626631c3664c7ef.js} | 2 +- .../pages/hooks/useOutsideClick-08d65d9c9387a091.js | 1 - .../pages/hooks/useOutsideClick-50bfb6687a964e1a.js | 1 + ...03e94a4d0955cba.js => usePrevious-41510e582f20b672.js} | 2 +- ...-4dd2294b5a89536f.js => useToggle-cad60d8d9e45ffc8.js} | 2 +- ...n-2ea9e94aeb494bdd.js => svg-icon-0c704bcd52076bf7.js} | 2 +- ...lo-f074930e1e244d1a.js => othello-cf347f5ac7f4ad85.js} | 2 +- ...a51cba49.js => pseudo-style-props-f791c5f0d6b6d7a0.js} | 2 +- ...rs-80497ec8132036f5.js => borders-9edae82ea7f23dd3.js} | 2 +- .../chunks/pages/theme/breakpoints-ae086320424261c4.js | 1 + .../chunks/pages/theme/breakpoints-bff9a5aabcc2fed8.js | 1 - ...ors-6d25ee78ea1bbe30.js => colors-6a8e1cddd39b81b4.js} | 2 +- .../chunks/pages/theme/font-sizes-4c0dfdbf679c2484.js | 1 - .../chunks/pages/theme/font-sizes-c52bc7b1d07c161c.js | 1 + .../chunks/pages/theme/font-weights-02f461cbf43fd5fc.js | 1 + .../chunks/pages/theme/font-weights-5f7ae3b130b055af.js | 1 - .../static/chunks/pages/theme/fonts-62016933665abd8e.js | 1 + .../static/chunks/pages/theme/fonts-9dd3c73ece911172.js | 1 - ...d659e298643.js => letter-spacings-8daef42dcfc3e324.js} | 2 +- .../chunks/pages/theme/line-heights-4784bc422d3c97fc.js | 1 + .../chunks/pages/theme/line-heights-4fc3041677a03ade.js | 1 - ...s-d9051b5ac3631bc0.js => outlines-cb7ae4bc1ec41576.js} | 2 +- ...adii-eb7278f94e95407d.js => radii-b1fd8085b5c81f3d.js} | 2 +- .../static/chunks/pages/theme/shadows-9014dd3960dbcbf0.js | 1 - .../static/chunks/pages/theme/shadows-d13f7db4d9d3af1a.js | 1 + ...izes-c7cba21937f0d761.js => sizes-b11b018e0f041652.js} | 2 +- ...pace-121680df175cace2.js => space-b994b732f6f43827.js} | 2 +- .../chunks/pages/theme/z-indices-1597bfb57153f295.js | 1 + .../chunks/pages/theme/z-indices-c2c136d253823417.js | 1 - react/pr-947/components.html | 8 ++++---- react/pr-947/components/accordion.html | 8 ++++---- react/pr-947/components/alert.html | 8 ++++---- react/pr-947/components/badge.html | 8 ++++---- react/pr-947/components/box.html | 8 ++++---- react/pr-947/components/button-base.html | 8 ++++---- react/pr-947/components/button-group.html | 8 ++++---- react/pr-947/components/button-link.html | 8 ++++---- react/pr-947/components/button.html | 8 ++++---- react/pr-947/components/checkbox-group.html | 8 ++++---- react/pr-947/components/checkbox.html | 8 ++++---- react/pr-947/components/code.html | 8 ++++---- react/pr-947/components/color-mode.html | 8 ++++---- react/pr-947/components/color-mode/dark-mode.html | 8 ++++---- react/pr-947/components/color-mode/inverted-mode.html | 8 ++++---- react/pr-947/components/color-mode/light-mode.html | 8 ++++---- react/pr-947/components/color-mode/useColorMode.html | 8 ++++---- react/pr-947/components/color-style.html | 8 ++++---- react/pr-947/components/color-style/useColorStyle.html | 8 ++++---- react/pr-947/components/css-baseline.html | 8 ++++---- react/pr-947/components/date-pickers.html | 8 ++++---- react/pr-947/components/date-pickers/calendar.html | 8 ++++---- react/pr-947/components/date-pickers/date-picker.html | 8 ++++---- react/pr-947/components/divider.html | 8 ++++---- react/pr-947/components/drawer.html | 8 ++++---- react/pr-947/components/flex.html | 8 ++++---- react/pr-947/components/grid.html | 8 ++++---- react/pr-947/components/icon.html | 8 ++++---- react/pr-947/components/image.html | 8 ++++---- react/pr-947/components/input-base.html | 8 ++++---- react/pr-947/components/input-control.html | 8 ++++---- react/pr-947/components/input-group.html | 8 ++++---- react/pr-947/components/input.html | 8 ++++---- react/pr-947/components/link-button.html | 8 ++++---- react/pr-947/components/link.html | 8 ++++---- react/pr-947/components/menu.html | 8 ++++---- react/pr-947/components/modal.html | 8 ++++---- react/pr-947/components/overflow-tooltip.html | 8 ++++---- react/pr-947/components/pagination.html | 8 ++++---- react/pr-947/components/pagination/usePagination.html | 8 ++++---- react/pr-947/components/popover.html | 8 ++++---- react/pr-947/components/portal-manager.html | 8 ++++---- .../components/portal-manager/usePortalManager.html | 8 ++++---- react/pr-947/components/portal.html | 8 ++++---- react/pr-947/components/progress.html | 8 ++++---- react/pr-947/components/radio-group.html | 8 ++++---- react/pr-947/components/radio.html | 8 ++++---- react/pr-947/components/resize-handle.html | 8 ++++---- react/pr-947/components/scrollbar.html | 8 ++++---- react/pr-947/components/search-input.html | 8 ++++---- react/pr-947/components/select.html | 8 ++++---- react/pr-947/components/skeleton.html | 8 ++++---- react/pr-947/components/space.html | 8 ++++---- react/pr-947/components/spinner.html | 8 ++++---- react/pr-947/components/stack.html | 8 ++++---- react/pr-947/components/svg-icon.html | 8 ++++---- react/pr-947/components/switch.html | 8 ++++---- react/pr-947/components/table.html | 8 ++++---- react/pr-947/components/tabs.html | 8 ++++---- react/pr-947/components/tag.html | 8 ++++---- react/pr-947/components/text-label.html | 8 ++++---- react/pr-947/components/text.html | 8 ++++---- react/pr-947/components/textarea.html | 8 ++++---- react/pr-947/components/toast-manager.html | 8 ++++---- .../pr-947/components/toast-manager/useToastManager.html | 8 ++++---- react/pr-947/components/toast.html | 8 ++++---- react/pr-947/components/tooltip.html | 8 ++++---- react/pr-947/components/transitions.html | 8 ++++---- react/pr-947/components/transitions/collapse.html | 8 ++++---- react/pr-947/components/transitions/fade.html | 8 ++++---- react/pr-947/components/transitions/grow.html | 8 ++++---- react/pr-947/components/transitions/scale.html | 8 ++++---- react/pr-947/components/transitions/slide.html | 8 ++++---- react/pr-947/components/transitions/zoom.html | 8 ++++---- react/pr-947/components/tree.html | 8 ++++---- react/pr-947/components/truncate.html | 8 ++++---- react/pr-947/components/visually-hidden.html | 8 ++++---- react/pr-947/contributing.html | 8 ++++---- react/pr-947/contributing/publishing.html | 8 ++++---- react/pr-947/contributing/pull-request-review.html | 8 ++++---- react/pr-947/contributing/react-components-part-1.html | 8 ++++---- react/pr-947/contributing/react-components-part-2.html | 8 ++++---- react/pr-947/contributing/react-documentation-site.html | 8 ++++---- react/pr-947/contributing/react-icons.html | 8 ++++---- react/pr-947/getting-started.html | 8 ++++---- react/pr-947/getting-started/color-mode.html | 8 ++++---- react/pr-947/getting-started/color-style.html | 8 ++++---- react/pr-947/getting-started/css-variables.html | 8 ++++---- react/pr-947/getting-started/icons.html | 8 ++++---- react/pr-947/getting-started/installation.html | 8 ++++---- react/pr-947/getting-started/security.html | 8 ++++---- react/pr-947/getting-started/the-sx-prop.html | 8 ++++---- react/pr-947/getting-started/usage.html | 8 ++++---- react/pr-947/getting-started/versions.html | 8 ++++---- react/pr-947/hooks.html | 8 ++++---- react/pr-947/hooks/useConst.html | 8 ++++---- react/pr-947/hooks/useCopyToClipboard.html | 8 ++++---- react/pr-947/hooks/useEffectOnce.html | 8 ++++---- react/pr-947/hooks/useEffectOnceWhen.html | 8 ++++---- react/pr-947/hooks/useEventCallback.html | 8 ++++---- react/pr-947/hooks/useEventListener.html | 8 ++++---- react/pr-947/hooks/useHydrated.html | 8 ++++---- react/pr-947/hooks/useIsomorphicEffect.html | 8 ++++---- react/pr-947/hooks/useLatestRef.html | 8 ++++---- react/pr-947/hooks/useMediaQuery.html | 8 ++++---- react/pr-947/hooks/useMergeRefs.html | 8 ++++---- react/pr-947/hooks/useOnce.html | 8 ++++---- react/pr-947/hooks/useOnceWhen.html | 8 ++++---- react/pr-947/hooks/useOutsideClick.html | 8 ++++---- react/pr-947/hooks/usePrevious.html | 8 ++++---- react/pr-947/hooks/useToggle.html | 8 ++++---- react/pr-947/icons.html | 8 ++++---- react/pr-947/icons/svg-icon.html | 8 ++++---- react/pr-947/index.html | 8 ++++---- react/pr-947/migrations.html | 8 ++++---- react/pr-947/migrations/migrating-from-v0-to-v1.html | 8 ++++---- react/pr-947/migrations/migrating-from-v1-to-v2.html | 8 ++++---- react/pr-947/patterns.html | 8 ++++---- react/pr-947/patterns/notification.html | 8 ++++---- react/pr-947/patterns/table-display.html | 8 ++++---- react/pr-947/playground.html | 8 ++++---- react/pr-947/playground/othello.html | 8 ++++---- react/pr-947/styled-system.html | 8 ++++---- react/pr-947/styled-system/pseudo-style-props.html | 8 ++++---- react/pr-947/styled-system/responsive-values.html | 8 ++++---- react/pr-947/styled-system/style-props.html | 8 ++++---- react/pr-947/theme.html | 8 ++++---- react/pr-947/theme/borders.html | 8 ++++---- react/pr-947/theme/breakpoints.html | 8 ++++---- react/pr-947/theme/colors.html | 8 ++++---- react/pr-947/theme/font-sizes.html | 8 ++++---- react/pr-947/theme/font-weights.html | 8 ++++---- react/pr-947/theme/fonts.html | 8 ++++---- react/pr-947/theme/letter-spacings.html | 8 ++++---- react/pr-947/theme/line-heights.html | 8 ++++---- react/pr-947/theme/outlines.html | 8 ++++---- react/pr-947/theme/radii.html | 8 ++++---- react/pr-947/theme/shadows.html | 8 ++++---- react/pr-947/theme/sizes.html | 8 ++++---- react/pr-947/theme/space.html | 8 ++++---- react/pr-947/theme/z-indices.html | 8 ++++---- 265 files changed, 672 insertions(+), 672 deletions(-) rename react/pr-947/_next/static/{wwJ_TL5BDXeXF-i3F-l0s => Jyy1px2xK1PEoSKE3opHU}/_buildManifest.js (52%) rename react/pr-947/_next/static/{wwJ_TL5BDXeXF-i3F-l0s => Jyy1px2xK1PEoSKE3opHU}/_ssgManifest.js (100%) delete mode 100644 react/pr-947/_next/static/chunks/1668-d85c25a288b9fcb5.js create mode 100644 react/pr-947/_next/static/chunks/1668-f0ae5c958e686b62.js create mode 100644 react/pr-947/_next/static/chunks/2089-10835a27b5090118.js delete mode 100644 react/pr-947/_next/static/chunks/2089-96d72442565c4615.js rename react/pr-947/_next/static/chunks/{7882-9160f55740918538.js => 7882-f859c48ba5edf8bd.js} (67%) delete mode 100644 react/pr-947/_next/static/chunks/978-906158bad5e4cbf7.js create mode 100644 react/pr-947/_next/static/chunks/978-e84144ff1b3bad21.js rename react/pr-947/_next/static/chunks/pages/{_app-307af215cd855630.js => _app-f5da24ee7fe83ee2.js} (99%) rename react/pr-947/_next/static/chunks/pages/components/{accordion-911194ccb61e5834.js => accordion-ef99ea5d244f4397.js} (88%) rename react/pr-947/_next/static/chunks/pages/components/{alert-31b0a8fcea10b7f2.js => alert-010f11008f4c91dd.js} (93%) rename react/pr-947/_next/static/chunks/pages/components/{box-efda112fcbd59d22.js => box-d30719bd2a5efc4a.js} (79%) rename react/pr-947/_next/static/chunks/pages/components/{button-base-8c30c90000100589.js => button-base-fc85b3357c17dad5.js} (82%) rename react/pr-947/_next/static/chunks/pages/components/{button-d608041485dce1ac.js => button-fc494c837f365b33.js} (86%) rename react/pr-947/_next/static/chunks/pages/components/{button-group-6c7aeb8f687d94b8.js => button-group-f06acce52be7721e.js} (90%) rename react/pr-947/_next/static/chunks/pages/components/{button-link-cce0be12fbf93405.js => button-link-380b27017c25a30f.js} (66%) rename react/pr-947/_next/static/chunks/pages/components/{checkbox-4d9ef1aae15350e6.js => checkbox-3953ed919c5dd683.js} (75%) rename react/pr-947/_next/static/chunks/pages/components/{checkbox-group-ee879ff86078082f.js => checkbox-group-04a84334a6e96fe2.js} (75%) rename react/pr-947/_next/static/chunks/pages/components/{code-b9bfb1e60d3cd4bf.js => code-dc35c9899238c15d.js} (71%) rename react/pr-947/_next/static/chunks/pages/components/color-mode/{dark-mode-ab08024884d0660f.js => dark-mode-6d19c673410b3079.js} (76%) rename react/pr-947/_next/static/chunks/pages/components/color-mode/{inverted-mode-cba3a265c7627cc2.js => inverted-mode-1a0c4b9e372e2cf4.js} (78%) rename react/pr-947/_next/static/chunks/pages/components/color-mode/{light-mode-29de9cb542ad1763.js => light-mode-5a6f26a2ddf147b9.js} (73%) rename react/pr-947/_next/static/chunks/pages/components/color-mode/{useColorMode-09f57034968f24d7.js => useColorMode-67ef36882756aa59.js} (76%) rename react/pr-947/_next/static/chunks/pages/components/color-style/{useColorStyle-57555aaee23822d4.js => useColorStyle-de09bef7699db0e4.js} (87%) create mode 100644 react/pr-947/_next/static/chunks/pages/components/date-pickers/calendar-443315881821384d.js delete mode 100644 react/pr-947/_next/static/chunks/pages/components/date-pickers/calendar-dd38a2c5426e77ff.js delete mode 100644 react/pr-947/_next/static/chunks/pages/components/date-pickers/date-picker-562ca322e05c65f1.js create mode 100644 react/pr-947/_next/static/chunks/pages/components/date-pickers/date-picker-f2ad2f37fe915169.js rename react/pr-947/_next/static/chunks/pages/components/{divider-a00a791ea5065181.js => divider-e2e6859ef0fc8295.js} (79%) create mode 100644 react/pr-947/_next/static/chunks/pages/components/drawer-a74a884d533100fd.js delete mode 100644 react/pr-947/_next/static/chunks/pages/components/drawer-b8b6f522cc0c096a.js rename react/pr-947/_next/static/chunks/pages/components/{flex-595f5ef426d4b073.js => flex-0e1c12fbde3e19e5.js} (94%) rename react/pr-947/_next/static/chunks/pages/components/{grid-ac2b0dfda5dd406f.js => grid-e9883dff290377ff.js} (95%) rename react/pr-947/_next/static/chunks/pages/components/{icon-f98a2e3393947376.js => icon-91bd6696a7bf1c23.js} (64%) rename react/pr-947/_next/static/chunks/pages/components/{image-fd3f046e3698427f.js => image-c9acad52df610037.js} (82%) rename react/pr-947/_next/static/chunks/pages/components/{input-96ba0260554af772.js => input-4dd54adfd820efdc.js} (84%) rename react/pr-947/_next/static/chunks/pages/components/{input-base-ed8e8fad1ea9c08d.js => input-base-19f84b7f8f0e9099.js} (78%) rename react/pr-947/_next/static/chunks/pages/components/{input-control-5136aaff7faaab59.js => input-control-d6a9fa3c3b7082d9.js} (69%) rename react/pr-947/_next/static/chunks/pages/components/{input-group-2f33a619c0d072ec.js => input-group-b357005eb4473dc5.js} (83%) rename react/pr-947/_next/static/chunks/pages/components/{link-493e923010bfe35d.js => link-80dd99995acc6709.js} (79%) rename react/pr-947/_next/static/chunks/pages/components/{link-button-e0fa139d31176330.js => link-button-027527cf971b2858.js} (77%) create mode 100644 react/pr-947/_next/static/chunks/pages/components/modal-7ffa3dd8137db54d.js delete mode 100644 react/pr-947/_next/static/chunks/pages/components/modal-d0315cefda8c7bb0.js rename react/pr-947/_next/static/chunks/pages/components/{pagination-defa654ab1db4bdf.js => pagination-be06fc14d5d92d8b.js} (88%) rename react/pr-947/_next/static/chunks/pages/components/pagination/{usePagination-87aa9d09c3ac0b16.js => usePagination-0f9e68ed3733c29e.js} (67%) rename react/pr-947/_next/static/chunks/pages/components/{portal-8d34be0dbb7efcf2.js => portal-c98fc2e7355e315f.js} (84%) rename react/pr-947/_next/static/chunks/pages/components/portal-manager/{usePortalManager-4943ed583b2b23d3.js => usePortalManager-2528a9de62039f9a.js} (77%) rename react/pr-947/_next/static/chunks/pages/components/{progress-32f1b81eb56f950e.js => progress-2d8bec605de4e766.js} (86%) rename react/pr-947/_next/static/chunks/pages/components/{radio-ac38c51592e410fa.js => radio-ce98db7bae67ebbf.js} (75%) rename react/pr-947/_next/static/chunks/pages/components/{radio-group-5804727a6461b52c.js => radio-group-9a62f1973cb993bc.js} (77%) rename react/pr-947/_next/static/chunks/pages/components/{resize-handle-63babd50a8361777.js => resize-handle-70a274865b9aa1a5.js} (75%) rename react/pr-947/_next/static/chunks/pages/components/{search-input-f43eadd006324b60.js => search-input-6ffb2ad034409dde.js} (91%) rename react/pr-947/_next/static/chunks/pages/components/{select-822a10c491c0d4f0.js => select-facad091fa201489.js} (89%) rename react/pr-947/_next/static/chunks/pages/components/{skeleton-e6f9406c69e1eff4.js => skeleton-e665bda68e3833c4.js} (76%) rename react/pr-947/_next/static/chunks/pages/components/{space-1e22ea64480e8bfd.js => space-9e6d961baeace4ef.js} (68%) rename react/pr-947/_next/static/chunks/pages/components/{spinner-15ab4235dee028d4.js => spinner-5986ffe564e754fa.js} (85%) rename react/pr-947/_next/static/chunks/pages/components/{stack-b6166041bceb9fe4.js => stack-4f07736f194704dd.js} (65%) rename react/pr-947/_next/static/chunks/pages/components/{switch-738567ad41c339b2.js => switch-bf1ccc60ade77e19.js} (77%) rename react/pr-947/_next/static/chunks/pages/components/{tabs-831255f8fde81b53.js => tabs-ff988623a5c53ee9.js} (94%) rename react/pr-947/_next/static/chunks/pages/components/{tag-f90e16e49bb4b408.js => tag-04023c6dd4714ab0.js} (91%) rename react/pr-947/_next/static/chunks/pages/components/{text-ff42d280fc5cddab.js => text-dd32c2a9a289bac2.js} (92%) rename react/pr-947/_next/static/chunks/pages/components/{text-label-0a86463c7c94ab73.js => text-label-09f557f9c73ab63f.js} (59%) rename react/pr-947/_next/static/chunks/pages/components/{textarea-737b84fbf52039e3.js => textarea-dce8cf07b43acd40.js} (89%) rename react/pr-947/_next/static/chunks/pages/components/{toast-409ac895f0fba7f6.js => toast-f0d725c51a6a91d3.js} (88%) rename react/pr-947/_next/static/chunks/pages/components/{toast-manager-c1e15a000a2cb78b.js => toast-manager-ca0474239baa5d44.js} (69%) rename react/pr-947/_next/static/chunks/pages/components/toast-manager/{useToastManager-51062515a876bd7a.js => useToastManager-e656b957a163c8c8.js} (68%) delete mode 100644 react/pr-947/_next/static/chunks/pages/components/transitions/collapse-368fc5d46bc9a2df.js create mode 100644 react/pr-947/_next/static/chunks/pages/components/transitions/collapse-4967d53085c3ad50.js rename react/pr-947/_next/static/chunks/pages/components/transitions/{fade-8c139c3abc1d6308.js => fade-38499caeb79e6d0f.js} (84%) rename react/pr-947/_next/static/chunks/pages/components/transitions/{grow-faa09847a66532f0.js => grow-95f6343bb83eefea.js} (84%) rename react/pr-947/_next/static/chunks/pages/components/transitions/{scale-6a385cee26332780.js => scale-f04508015776691f.js} (84%) rename react/pr-947/_next/static/chunks/pages/components/transitions/{slide-f9d4258d9c7f6520.js => slide-656a06a02cc3e027.js} (79%) create mode 100644 react/pr-947/_next/static/chunks/pages/components/transitions/zoom-0ff07b31bb2ac336.js delete mode 100644 react/pr-947/_next/static/chunks/pages/components/transitions/zoom-47aa60d305565936.js rename react/pr-947/_next/static/chunks/pages/components/{truncate-cf1b5c8243e431c8.js => truncate-93dc6331a6440336.js} (78%) rename react/pr-947/_next/static/chunks/pages/components/{visually-hidden-8f1657eef1eb2796.js => visually-hidden-1e7af8fa7a920c46.js} (69%) rename react/pr-947/_next/static/chunks/pages/contributing/{react-components-part-1-1c58fa71e32fc683.js => react-components-part-1-9c00b8465694377e.js} (88%) rename react/pr-947/_next/static/chunks/pages/getting-started/{css-variables-dd6ea9552f2de163.js => css-variables-f4d0c2c2147941c6.js} (78%) rename react/pr-947/_next/static/chunks/pages/getting-started/{the-sx-prop-a39cb42d179675a9.js => the-sx-prop-6598878237a63131.js} (86%) rename react/pr-947/_next/static/chunks/pages/getting-started/{usage-76e0ff5315a53ff8.js => usage-53b3e5191c788f76.js} (95%) rename react/pr-947/_next/static/chunks/pages/hooks/{useConst-c6bbf57442879789.js => useConst-de48c265315e2f39.js} (75%) rename react/pr-947/_next/static/chunks/pages/hooks/{useCopyToClipboard-f4236014384fc05e.js => useCopyToClipboard-252de9f080a9abe1.js} (86%) rename react/pr-947/_next/static/chunks/pages/hooks/{useEffectOnce-40352e9ed5707aeb.js => useEffectOnce-e42cdabe160655b2.js} (79%) rename react/pr-947/_next/static/chunks/pages/hooks/{useEffectOnceWhen-01d333287f9a16ba.js => useEffectOnceWhen-379c0a823fb20d94.js} (76%) rename react/pr-947/_next/static/chunks/pages/hooks/{useEventCallback-24ad0abdbaaa8d0b.js => useEventCallback-23591a716ded6743.js} (83%) rename react/pr-947/_next/static/chunks/pages/hooks/{useEventListener-8fe97bfb52b3d35b.js => useEventListener-e8507a371a47ba07.js} (76%) rename react/pr-947/_next/static/chunks/pages/hooks/{useHydrated-e5824f792b4e57ea.js => useHydrated-e5f902ccdcf0df1f.js} (63%) rename react/pr-947/_next/static/chunks/pages/hooks/{useIsomorphicEffect-4fc04d9e3cc0fd80.js => useIsomorphicEffect-068a788efa499232.js} (74%) rename react/pr-947/_next/static/chunks/pages/hooks/{useLatestRef-35b22dc3db7ba1c2.js => useLatestRef-9d3f58bb2dd61135.js} (81%) delete mode 100644 react/pr-947/_next/static/chunks/pages/hooks/useMediaQuery-0ea755cbf28d17bd.js create mode 100644 react/pr-947/_next/static/chunks/pages/hooks/useMediaQuery-8480040257a2bcfe.js rename react/pr-947/_next/static/chunks/pages/hooks/{useMergeRefs-8002e63485e0f2c2.js => useMergeRefs-e51d694e27db4a34.js} (77%) rename react/pr-947/_next/static/chunks/pages/hooks/{useOnce-ce7a5a1224623ccb.js => useOnce-ef5ec43fab7d8bb6.js} (60%) rename react/pr-947/_next/static/chunks/pages/hooks/{useOnceWhen-6834404b9de47f2b.js => useOnceWhen-e626631c3664c7ef.js} (75%) delete mode 100644 react/pr-947/_next/static/chunks/pages/hooks/useOutsideClick-08d65d9c9387a091.js create mode 100644 react/pr-947/_next/static/chunks/pages/hooks/useOutsideClick-50bfb6687a964e1a.js rename react/pr-947/_next/static/chunks/pages/hooks/{usePrevious-803e94a4d0955cba.js => usePrevious-41510e582f20b672.js} (77%) rename react/pr-947/_next/static/chunks/pages/hooks/{useToggle-4dd2294b5a89536f.js => useToggle-cad60d8d9e45ffc8.js} (79%) rename react/pr-947/_next/static/chunks/pages/icons/{svg-icon-2ea9e94aeb494bdd.js => svg-icon-0c704bcd52076bf7.js} (86%) rename react/pr-947/_next/static/chunks/pages/playground/{othello-f074930e1e244d1a.js => othello-cf347f5ac7f4ad85.js} (92%) rename react/pr-947/_next/static/chunks/pages/styled-system/{pseudo-style-props-9a6cba2aa51cba49.js => pseudo-style-props-f791c5f0d6b6d7a0.js} (93%) rename react/pr-947/_next/static/chunks/pages/theme/{borders-80497ec8132036f5.js => borders-9edae82ea7f23dd3.js} (68%) create mode 100644 react/pr-947/_next/static/chunks/pages/theme/breakpoints-ae086320424261c4.js delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/breakpoints-bff9a5aabcc2fed8.js rename react/pr-947/_next/static/chunks/pages/theme/{colors-6d25ee78ea1bbe30.js => colors-6a8e1cddd39b81b4.js} (97%) delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/font-sizes-4c0dfdbf679c2484.js create mode 100644 react/pr-947/_next/static/chunks/pages/theme/font-sizes-c52bc7b1d07c161c.js create mode 100644 react/pr-947/_next/static/chunks/pages/theme/font-weights-02f461cbf43fd5fc.js delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/font-weights-5f7ae3b130b055af.js create mode 100644 react/pr-947/_next/static/chunks/pages/theme/fonts-62016933665abd8e.js delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/fonts-9dd3c73ece911172.js rename react/pr-947/_next/static/chunks/pages/theme/{letter-spacings-01b99d659e298643.js => letter-spacings-8daef42dcfc3e324.js} (95%) create mode 100644 react/pr-947/_next/static/chunks/pages/theme/line-heights-4784bc422d3c97fc.js delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/line-heights-4fc3041677a03ade.js rename react/pr-947/_next/static/chunks/pages/theme/{outlines-d9051b5ac3631bc0.js => outlines-cb7ae4bc1ec41576.js} (62%) rename react/pr-947/_next/static/chunks/pages/theme/{radii-eb7278f94e95407d.js => radii-b1fd8085b5c81f3d.js} (56%) delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/shadows-9014dd3960dbcbf0.js create mode 100644 react/pr-947/_next/static/chunks/pages/theme/shadows-d13f7db4d9d3af1a.js rename react/pr-947/_next/static/chunks/pages/theme/{sizes-c7cba21937f0d761.js => sizes-b11b018e0f041652.js} (61%) rename react/pr-947/_next/static/chunks/pages/theme/{space-121680df175cace2.js => space-b994b732f6f43827.js} (57%) create mode 100644 react/pr-947/_next/static/chunks/pages/theme/z-indices-1597bfb57153f295.js delete mode 100644 react/pr-947/_next/static/chunks/pages/theme/z-indices-c2c136d253823417.js diff --git a/react/pr-947/404.html b/react/pr-947/404.html index c4197c72cd..f92a9e04f0 100644 --- a/react/pr-947/404.html +++ b/react/pr-947/404.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/pr-947/_next/static/wwJ_TL5BDXeXF-i3F-l0s/_buildManifest.js b/react/pr-947/_next/static/Jyy1px2xK1PEoSKE3opHU/_buildManifest.js similarity index 52% rename from react/pr-947/_next/static/wwJ_TL5BDXeXF-i3F-l0s/_buildManifest.js rename to react/pr-947/_next/static/Jyy1px2xK1PEoSKE3opHU/_buildManifest.js index 8cf1d3ec25..811ace6152 100644 --- a/react/pr-947/_next/static/wwJ_TL5BDXeXF-i3F-l0s/_buildManifest.js +++ b/react/pr-947/_next/static/Jyy1px2xK1PEoSKE3opHU/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,e,t,n,o,c,a,i,p,m,r,d,u,g,h,k,b,l,f){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,"static/chunks/pages/index-b69acea258ae8409.js"],"/404":["static/chunks/pages/404-e246ffc50d3c4e0b.js"],"/_error":["static/chunks/pages/_error-655c54429e8e39bb.js"],"/components":["static/chunks/pages/components-0e2a913008bead98.js"],"/components/accordion":["static/chunks/pages/components/accordion-911194ccb61e5834.js"],"/components/alert":[e,"static/chunks/pages/components/alert-31b0a8fcea10b7f2.js"],"/components/badge":[u,"static/chunks/pages/components/badge-893557b03c57e41d.js"],"/components/box":["static/chunks/pages/components/box-efda112fcbd59d22.js"],"/components/button":["static/chunks/pages/components/button-d608041485dce1ac.js"],"/components/button-base":[e,"static/chunks/pages/components/button-base-8c30c90000100589.js"],"/components/button-group":["static/chunks/pages/components/button-group-6c7aeb8f687d94b8.js"],"/components/button-link":["static/chunks/pages/components/button-link-cce0be12fbf93405.js"],"/components/checkbox":["static/chunks/pages/components/checkbox-4d9ef1aae15350e6.js"],"/components/checkbox-group":["static/chunks/pages/components/checkbox-group-ee879ff86078082f.js"],"/components/code":["static/chunks/pages/components/code-b9bfb1e60d3cd4bf.js"],"/components/color-mode":["static/chunks/pages/components/color-mode-0dc25197d772f011.js"],"/components/color-mode/dark-mode":["static/chunks/pages/components/color-mode/dark-mode-ab08024884d0660f.js"],"/components/color-mode/inverted-mode":["static/chunks/pages/components/color-mode/inverted-mode-cba3a265c7627cc2.js"],"/components/color-mode/light-mode":["static/chunks/pages/components/color-mode/light-mode-29de9cb542ad1763.js"],"/components/color-mode/useColorMode":["static/chunks/pages/components/color-mode/useColorMode-09f57034968f24d7.js"],"/components/color-style":[a,g,"static/chunks/pages/components/color-style-40b2df0d229d6c4d.js"],"/components/color-style/useColorStyle":["static/chunks/pages/components/color-style/useColorStyle-57555aaee23822d4.js"],"/components/css-baseline":["static/chunks/pages/components/css-baseline-e59ebcbbe7d1f6fa.js"],"/components/date-pickers":[o,i,h,p,k,"static/chunks/pages/components/date-pickers-4322cd904edac5c8.js"],"/components/date-pickers/calendar":[o,i,b,p,"static/chunks/pages/components/date-pickers/calendar-dd38a2c5426e77ff.js"],"/components/date-pickers/date-picker":[o,i,b,h,p,k,"static/chunks/pages/components/date-pickers/date-picker-562ca322e05c65f1.js"],"/components/divider":["static/chunks/pages/components/divider-a00a791ea5065181.js"],"/components/drawer":[e,n,c,"static/chunks/pages/components/drawer-b8b6f522cc0c096a.js"],"/components/flex":["static/chunks/pages/components/flex-595f5ef426d4b073.js"],"/components/grid":["static/chunks/pages/components/grid-ac2b0dfda5dd406f.js"],"/components/icon":["static/chunks/pages/components/icon-f98a2e3393947376.js"],"/components/image":["static/chunks/pages/components/image-fd3f046e3698427f.js"],"/components/input":["static/chunks/pages/components/input-96ba0260554af772.js"],"/components/input-base":["static/chunks/pages/components/input-base-ed8e8fad1ea9c08d.js"],"/components/input-control":["static/chunks/pages/components/input-control-5136aaff7faaab59.js"],"/components/input-group":["static/chunks/pages/components/input-group-2f33a619c0d072ec.js"],"/components/link":["static/chunks/pages/components/link-493e923010bfe35d.js"],"/components/link-button":["static/chunks/pages/components/link-button-e0fa139d31176330.js"],"/components/menu":[s,m,l,"static/chunks/pages/components/menu-4c29cb58e85877c6.js"],"/components/modal":[e,n,"static/chunks/pages/components/modal-d0315cefda8c7bb0.js"],"/components/overflow-tooltip":[s,"static/chunks/pages/components/overflow-tooltip-3af3575ce920ff6a.js"],"/components/pagination":["static/chunks/pages/components/pagination-defa654ab1db4bdf.js"],"/components/pagination/usePagination":["static/chunks/pages/components/pagination/usePagination-87aa9d09c3ac0b16.js"],"/components/popover":[s,m,"static/chunks/pages/components/popover-cbba69c28a232329.js"],"/components/portal":["static/chunks/pages/components/portal-8d34be0dbb7efcf2.js"],"/components/portal-manager":["static/chunks/pages/components/portal-manager-f112a22e7150490b.js"],"/components/portal-manager/usePortalManager":["static/chunks/pages/components/portal-manager/usePortalManager-4943ed583b2b23d3.js"],"/components/progress":["static/chunks/pages/components/progress-32f1b81eb56f950e.js"],"/components/radio":["static/chunks/pages/components/radio-ac38c51592e410fa.js"],"/components/radio-group":["static/chunks/pages/components/radio-group-5804727a6461b52c.js"],"/components/resize-handle":["static/chunks/pages/components/resize-handle-63babd50a8361777.js"],"/components/scrollbar":["static/chunks/5414-b04bf2279187670a.js",s,t,"static/chunks/pages/components/scrollbar-613661af00a5a969.js"],"/components/search-input":["static/chunks/pages/components/search-input-f43eadd006324b60.js"],"/components/select":["static/chunks/pages/components/select-822a10c491c0d4f0.js"],"/components/skeleton":["static/chunks/pages/components/skeleton-e6f9406c69e1eff4.js"],"/components/space":["static/chunks/pages/components/space-1e22ea64480e8bfd.js"],"/components/spinner":["static/chunks/pages/components/spinner-15ab4235dee028d4.js"],"/components/stack":["static/chunks/pages/components/stack-b6166041bceb9fe4.js"],"/components/svg-icon":["static/chunks/pages/components/svg-icon-067551ab21cfe1be.js"],"/components/switch":["static/chunks/pages/components/switch-738567ad41c339b2.js"],"/components/table":[r,a,"static/chunks/7326-dcb1b37dde887809.js",s,c,d,"static/chunks/pages/components/table-ee2e152509c51491.js"],"/components/tabs":["static/chunks/1cc2734a-523c5a886698be94.js",f,"static/chunks/7641-cd82f85a940255e7.js",n,"static/chunks/pages/components/tabs-831255f8fde81b53.js"],"/components/tag":["static/chunks/pages/components/tag-f90e16e49bb4b408.js"],"/components/text":[n,"static/chunks/pages/components/text-ff42d280fc5cddab.js"],"/components/text-label":["static/chunks/pages/components/text-label-0a86463c7c94ab73.js"],"/components/textarea":["static/chunks/pages/components/textarea-737b84fbf52039e3.js"],"/components/toast":[c,"static/chunks/pages/components/toast-409ac895f0fba7f6.js"],"/components/toast-manager":["static/chunks/pages/components/toast-manager-c1e15a000a2cb78b.js"],"/components/toast-manager/useToastManager":["static/chunks/pages/components/toast-manager/useToastManager-51062515a876bd7a.js"],"/components/tooltip":[s,"static/chunks/pages/components/tooltip-5539d30feddd9fa4.js"],"/components/transitions":["static/chunks/pages/components/transitions-b198caa15c8308e6.js"],"/components/transitions/collapse":[t,"static/chunks/pages/components/transitions/collapse-368fc5d46bc9a2df.js"],"/components/transitions/fade":[t,"static/chunks/pages/components/transitions/fade-8c139c3abc1d6308.js"],"/components/transitions/grow":[t,"static/chunks/pages/components/transitions/grow-faa09847a66532f0.js"],"/components/transitions/scale":[t,"static/chunks/pages/components/transitions/scale-6a385cee26332780.js"],"/components/transitions/slide":[t,"static/chunks/pages/components/transitions/slide-f9d4258d9c7f6520.js"],"/components/transitions/zoom":[t,"static/chunks/pages/components/transitions/zoom-47aa60d305565936.js"],"/components/tree":[r,f,"static/chunks/9293-f15268b2ecc2147f.js",s,d,"static/chunks/pages/components/tree-80d30f08a2450999.js"],"/components/truncate":["static/chunks/pages/components/truncate-cf1b5c8243e431c8.js"],"/components/visually-hidden":["static/chunks/pages/components/visually-hidden-8f1657eef1eb2796.js"],"/contributing":["static/chunks/pages/contributing-9ecf476878e53bde.js"],"/contributing/publishing":["static/chunks/pages/contributing/publishing-6287d44c32e53d25.js"],"/contributing/pull-request-review":["static/chunks/pages/contributing/pull-request-review-c75eaf0a902d627c.js"],"/contributing/react-components-part-1":["static/chunks/pages/contributing/react-components-part-1-1c58fa71e32fc683.js"],"/contributing/react-components-part-2":["static/chunks/pages/contributing/react-components-part-2-d3fddd6d15e0dbb6.js"],"/contributing/react-documentation-site":["static/chunks/pages/contributing/react-documentation-site-15aab5c3c85c9434.js"],"/contributing/react-icons":["static/chunks/pages/contributing/react-icons-60d960e361caf206.js"],"/getting-started":["static/chunks/pages/getting-started-48d0b8a31d976e99.js"],"/getting-started/color-mode":["static/chunks/pages/getting-started/color-mode-1f172114a3f69008.js"],"/getting-started/color-style":[a,g,"static/chunks/pages/getting-started/color-style-ae5d2807db6d47a5.js"],"/getting-started/css-variables":["static/chunks/pages/getting-started/css-variables-dd6ea9552f2de163.js"],"/getting-started/icons":["static/chunks/pages/getting-started/icons-afc6068d4b8da006.js"],"/getting-started/installation":["static/chunks/pages/getting-started/installation-7541d3b15134cfb2.js"],"/getting-started/security":["static/chunks/pages/getting-started/security-f060cf84888464b8.js"],"/getting-started/the-sx-prop":["static/chunks/pages/getting-started/the-sx-prop-a39cb42d179675a9.js"],"/getting-started/usage":["static/chunks/pages/getting-started/usage-76e0ff5315a53ff8.js"],"/getting-started/versions":["static/chunks/pages/getting-started/versions-f7da9e2d9100a1e6.js"],"/hooks":["static/chunks/pages/hooks-d17c378f329d68b6.js"],"/hooks/useConst":["static/chunks/pages/hooks/useConst-c6bbf57442879789.js"],"/hooks/useCopyToClipboard":["static/chunks/pages/hooks/useCopyToClipboard-f4236014384fc05e.js"],"/hooks/useEffectOnce":["static/chunks/pages/hooks/useEffectOnce-40352e9ed5707aeb.js"],"/hooks/useEffectOnceWhen":["static/chunks/pages/hooks/useEffectOnceWhen-01d333287f9a16ba.js"],"/hooks/useEventCallback":["static/chunks/pages/hooks/useEventCallback-24ad0abdbaaa8d0b.js"],"/hooks/useEventListener":["static/chunks/pages/hooks/useEventListener-8fe97bfb52b3d35b.js"],"/hooks/useHydrated":["static/chunks/pages/hooks/useHydrated-e5824f792b4e57ea.js"],"/hooks/useIsomorphicEffect":["static/chunks/pages/hooks/useIsomorphicEffect-4fc04d9e3cc0fd80.js"],"/hooks/useLatestRef":["static/chunks/pages/hooks/useLatestRef-35b22dc3db7ba1c2.js"],"/hooks/useMediaQuery":["static/chunks/pages/hooks/useMediaQuery-0ea755cbf28d17bd.js"],"/hooks/useMergeRefs":["static/chunks/pages/hooks/useMergeRefs-8002e63485e0f2c2.js"],"/hooks/useOnce":["static/chunks/pages/hooks/useOnce-ce7a5a1224623ccb.js"],"/hooks/useOnceWhen":["static/chunks/pages/hooks/useOnceWhen-6834404b9de47f2b.js"],"/hooks/useOutsideClick":["static/chunks/pages/hooks/useOutsideClick-08d65d9c9387a091.js"],"/hooks/usePrevious":["static/chunks/pages/hooks/usePrevious-803e94a4d0955cba.js"],"/hooks/useToggle":["static/chunks/pages/hooks/useToggle-4dd2294b5a89536f.js"],"/icons":[e,u,"static/chunks/pages/icons-5f8182475c413180.js"],"/icons/svg-icon":["static/chunks/pages/icons/svg-icon-2ea9e94aeb494bdd.js"],"/migrations":["static/chunks/pages/migrations-02777f26435c348c.js"],"/migrations/migrating-from-v0-to-v1":["static/chunks/pages/migrations/migrating-from-v0-to-v1-7e948afda24252ef.js"],"/migrations/migrating-from-v1-to-v2":["static/chunks/pages/migrations/migrating-from-v1-to-v2-431c4987d6ca5038.js"],"/patterns":["static/chunks/pages/patterns-42fad79265fd7b32.js"],"/patterns/notification":[o,"static/chunks/6314-ddc4e0b5b6964ea0.js",s,e,n,c,"static/chunks/pages/patterns/notification-6ffadbbb9ad6ac1a.js"],"/patterns/table-display":[r,s,m,d,l,"static/chunks/pages/patterns/table-display-1b157b14ece77899.js"],"/playground":["static/chunks/pages/playground-19aa8c1f7d6b3af9.js"],"/playground/othello":["static/chunks/pages/playground/othello-f074930e1e244d1a.js"],"/styled-system":["static/chunks/pages/styled-system-5fea692e845d4f12.js"],"/styled-system/pseudo-style-props":["static/chunks/pages/styled-system/pseudo-style-props-9a6cba2aa51cba49.js"],"/styled-system/responsive-values":["static/chunks/pages/styled-system/responsive-values-98c887fab20eae36.js"],"/styled-system/style-props":["static/chunks/pages/styled-system/style-props-fac8b545c5163814.js"],"/theme":["static/chunks/pages/theme-043b088bdb52c929.js"],"/theme/borders":["static/chunks/pages/theme/borders-80497ec8132036f5.js"],"/theme/breakpoints":["static/chunks/pages/theme/breakpoints-bff9a5aabcc2fed8.js"],"/theme/colors":["static/chunks/pages/theme/colors-6d25ee78ea1bbe30.js"],"/theme/font-sizes":["static/chunks/pages/theme/font-sizes-4c0dfdbf679c2484.js"],"/theme/font-weights":["static/chunks/pages/theme/font-weights-5f7ae3b130b055af.js"],"/theme/fonts":["static/chunks/pages/theme/fonts-9dd3c73ece911172.js"],"/theme/letter-spacings":["static/chunks/pages/theme/letter-spacings-01b99d659e298643.js"],"/theme/line-heights":["static/chunks/pages/theme/line-heights-4fc3041677a03ade.js"],"/theme/outlines":["static/chunks/pages/theme/outlines-d9051b5ac3631bc0.js"],"/theme/radii":["static/chunks/pages/theme/radii-eb7278f94e95407d.js"],"/theme/shadows":["static/chunks/pages/theme/shadows-9014dd3960dbcbf0.js"],"/theme/sizes":["static/chunks/pages/theme/sizes-c7cba21937f0d761.js"],"/theme/space":["static/chunks/pages/theme/space-121680df175cace2.js"],"/theme/z-indices":["static/chunks/pages/theme/z-indices-c2c136d253823417.js"],sortedPages:["/","/404","/_app","/_error","/components","/components/accordion","/components/alert","/components/badge","/components/box","/components/button","/components/button-base","/components/button-group","/components/button-link","/components/checkbox","/components/checkbox-group","/components/code","/components/color-mode","/components/color-mode/dark-mode","/components/color-mode/inverted-mode","/components/color-mode/light-mode","/components/color-mode/useColorMode","/components/color-style","/components/color-style/useColorStyle","/components/css-baseline","/components/date-pickers","/components/date-pickers/calendar","/components/date-pickers/date-picker","/components/divider","/components/drawer","/components/flex","/components/grid","/components/icon","/components/image","/components/input","/components/input-base","/components/input-control","/components/input-group","/components/link","/components/link-button","/components/menu","/components/modal","/components/overflow-tooltip","/components/pagination","/components/pagination/usePagination","/components/popover","/components/portal","/components/portal-manager","/components/portal-manager/usePortalManager","/components/progress","/components/radio","/components/radio-group","/components/resize-handle","/components/scrollbar","/components/search-input","/components/select","/components/skeleton","/components/space","/components/spinner","/components/stack","/components/svg-icon","/components/switch","/components/table","/components/tabs","/components/tag","/components/text","/components/text-label","/components/textarea","/components/toast","/components/toast-manager","/components/toast-manager/useToastManager","/components/tooltip","/components/transitions","/components/transitions/collapse","/components/transitions/fade","/components/transitions/grow","/components/transitions/scale","/components/transitions/slide","/components/transitions/zoom","/components/tree","/components/truncate","/components/visually-hidden","/contributing","/contributing/publishing","/contributing/pull-request-review","/contributing/react-components-part-1","/contributing/react-components-part-2","/contributing/react-documentation-site","/contributing/react-icons","/getting-started","/getting-started/color-mode","/getting-started/color-style","/getting-started/css-variables","/getting-started/icons","/getting-started/installation","/getting-started/security","/getting-started/the-sx-prop","/getting-started/usage","/getting-started/versions","/hooks","/hooks/useConst","/hooks/useCopyToClipboard","/hooks/useEffectOnce","/hooks/useEffectOnceWhen","/hooks/useEventCallback","/hooks/useEventListener","/hooks/useHydrated","/hooks/useIsomorphicEffect","/hooks/useLatestRef","/hooks/useMediaQuery","/hooks/useMergeRefs","/hooks/useOnce","/hooks/useOnceWhen","/hooks/useOutsideClick","/hooks/usePrevious","/hooks/useToggle","/icons","/icons/svg-icon","/migrations","/migrations/migrating-from-v0-to-v1","/migrations/migrating-from-v1-to-v2","/patterns","/patterns/notification","/patterns/table-display","/playground","/playground/othello","/styled-system","/styled-system/pseudo-style-props","/styled-system/responsive-values","/styled-system/style-props","/theme","/theme/borders","/theme/breakpoints","/theme/colors","/theme/font-sizes","/theme/font-weights","/theme/fonts","/theme/letter-spacings","/theme/line-heights","/theme/outlines","/theme/radii","/theme/shadows","/theme/sizes","/theme/space","/theme/z-indices"]}}("static/chunks/978-906158bad5e4cbf7.js","static/chunks/9860-78f03667ad77447d.js","static/chunks/4575-fcf235c18d03e610.js","static/chunks/1096-2998516ce538165c.js","static/chunks/2885-5ae4f9b42dce21a7.js","static/chunks/3732-8c0c9ccdb0a83fce.js","static/chunks/1630-2e46e2811276207a.js","static/chunks/6441-3d027df4e2490f7a.js","static/chunks/1668-d85c25a288b9fcb5.js","static/chunks/7283-de54b7272cf103f5.js","static/chunks/5220-cd4c3ad0764750f4.js","static/chunks/6120-34893289958e5562.js","static/chunks/2089-96d72442565c4615.js","static/chunks/7882-9160f55740918538.js","static/chunks/4791-5b920d11f6acba4f.js","static/chunks/4739-2f9b2d0b0facbbe3.js","static/chunks/4960-c3b7a9c38255bbc8.js","static/chunks/5375-668c5e3a722d200b.js","static/chunks/8726-814eb336c1beaadd.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,e,t,n,o,c,a,i,p,m,r,d,u,g,h,b,k,l,f){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,"static/chunks/pages/index-b69acea258ae8409.js"],"/404":["static/chunks/pages/404-e246ffc50d3c4e0b.js"],"/_error":["static/chunks/pages/_error-655c54429e8e39bb.js"],"/components":["static/chunks/pages/components-0e2a913008bead98.js"],"/components/accordion":["static/chunks/pages/components/accordion-ef99ea5d244f4397.js"],"/components/alert":[e,"static/chunks/pages/components/alert-010f11008f4c91dd.js"],"/components/badge":[u,"static/chunks/pages/components/badge-893557b03c57e41d.js"],"/components/box":["static/chunks/pages/components/box-d30719bd2a5efc4a.js"],"/components/button":["static/chunks/pages/components/button-fc494c837f365b33.js"],"/components/button-base":[e,"static/chunks/pages/components/button-base-fc85b3357c17dad5.js"],"/components/button-group":["static/chunks/pages/components/button-group-f06acce52be7721e.js"],"/components/button-link":["static/chunks/pages/components/button-link-380b27017c25a30f.js"],"/components/checkbox":["static/chunks/pages/components/checkbox-3953ed919c5dd683.js"],"/components/checkbox-group":["static/chunks/pages/components/checkbox-group-04a84334a6e96fe2.js"],"/components/code":["static/chunks/pages/components/code-dc35c9899238c15d.js"],"/components/color-mode":["static/chunks/pages/components/color-mode-0dc25197d772f011.js"],"/components/color-mode/dark-mode":["static/chunks/pages/components/color-mode/dark-mode-6d19c673410b3079.js"],"/components/color-mode/inverted-mode":["static/chunks/pages/components/color-mode/inverted-mode-1a0c4b9e372e2cf4.js"],"/components/color-mode/light-mode":["static/chunks/pages/components/color-mode/light-mode-5a6f26a2ddf147b9.js"],"/components/color-mode/useColorMode":["static/chunks/pages/components/color-mode/useColorMode-67ef36882756aa59.js"],"/components/color-style":[a,g,"static/chunks/pages/components/color-style-40b2df0d229d6c4d.js"],"/components/color-style/useColorStyle":["static/chunks/pages/components/color-style/useColorStyle-de09bef7699db0e4.js"],"/components/css-baseline":["static/chunks/pages/components/css-baseline-e59ebcbbe7d1f6fa.js"],"/components/date-pickers":[o,i,h,p,b,"static/chunks/pages/components/date-pickers-4322cd904edac5c8.js"],"/components/date-pickers/calendar":[o,i,k,p,"static/chunks/pages/components/date-pickers/calendar-443315881821384d.js"],"/components/date-pickers/date-picker":[o,i,k,h,p,b,"static/chunks/pages/components/date-pickers/date-picker-f2ad2f37fe915169.js"],"/components/divider":["static/chunks/pages/components/divider-e2e6859ef0fc8295.js"],"/components/drawer":[e,n,c,"static/chunks/pages/components/drawer-a74a884d533100fd.js"],"/components/flex":["static/chunks/pages/components/flex-0e1c12fbde3e19e5.js"],"/components/grid":["static/chunks/pages/components/grid-e9883dff290377ff.js"],"/components/icon":["static/chunks/pages/components/icon-91bd6696a7bf1c23.js"],"/components/image":["static/chunks/pages/components/image-c9acad52df610037.js"],"/components/input":["static/chunks/pages/components/input-4dd54adfd820efdc.js"],"/components/input-base":["static/chunks/pages/components/input-base-19f84b7f8f0e9099.js"],"/components/input-control":["static/chunks/pages/components/input-control-d6a9fa3c3b7082d9.js"],"/components/input-group":["static/chunks/pages/components/input-group-b357005eb4473dc5.js"],"/components/link":["static/chunks/pages/components/link-80dd99995acc6709.js"],"/components/link-button":["static/chunks/pages/components/link-button-027527cf971b2858.js"],"/components/menu":[s,m,l,"static/chunks/pages/components/menu-4c29cb58e85877c6.js"],"/components/modal":[e,n,"static/chunks/pages/components/modal-7ffa3dd8137db54d.js"],"/components/overflow-tooltip":[s,"static/chunks/pages/components/overflow-tooltip-3af3575ce920ff6a.js"],"/components/pagination":["static/chunks/pages/components/pagination-be06fc14d5d92d8b.js"],"/components/pagination/usePagination":["static/chunks/pages/components/pagination/usePagination-0f9e68ed3733c29e.js"],"/components/popover":[s,m,"static/chunks/pages/components/popover-cbba69c28a232329.js"],"/components/portal":["static/chunks/pages/components/portal-c98fc2e7355e315f.js"],"/components/portal-manager":["static/chunks/pages/components/portal-manager-f112a22e7150490b.js"],"/components/portal-manager/usePortalManager":["static/chunks/pages/components/portal-manager/usePortalManager-2528a9de62039f9a.js"],"/components/progress":["static/chunks/pages/components/progress-2d8bec605de4e766.js"],"/components/radio":["static/chunks/pages/components/radio-ce98db7bae67ebbf.js"],"/components/radio-group":["static/chunks/pages/components/radio-group-9a62f1973cb993bc.js"],"/components/resize-handle":["static/chunks/pages/components/resize-handle-70a274865b9aa1a5.js"],"/components/scrollbar":["static/chunks/5414-b04bf2279187670a.js",s,t,"static/chunks/pages/components/scrollbar-613661af00a5a969.js"],"/components/search-input":["static/chunks/pages/components/search-input-6ffb2ad034409dde.js"],"/components/select":["static/chunks/pages/components/select-facad091fa201489.js"],"/components/skeleton":["static/chunks/pages/components/skeleton-e665bda68e3833c4.js"],"/components/space":["static/chunks/pages/components/space-9e6d961baeace4ef.js"],"/components/spinner":["static/chunks/pages/components/spinner-5986ffe564e754fa.js"],"/components/stack":["static/chunks/pages/components/stack-4f07736f194704dd.js"],"/components/svg-icon":["static/chunks/pages/components/svg-icon-067551ab21cfe1be.js"],"/components/switch":["static/chunks/pages/components/switch-bf1ccc60ade77e19.js"],"/components/table":[r,a,"static/chunks/7326-dcb1b37dde887809.js",s,c,d,"static/chunks/pages/components/table-ee2e152509c51491.js"],"/components/tabs":["static/chunks/1cc2734a-523c5a886698be94.js",f,"static/chunks/7641-cd82f85a940255e7.js",n,"static/chunks/pages/components/tabs-ff988623a5c53ee9.js"],"/components/tag":["static/chunks/pages/components/tag-04023c6dd4714ab0.js"],"/components/text":[n,"static/chunks/pages/components/text-dd32c2a9a289bac2.js"],"/components/text-label":["static/chunks/pages/components/text-label-09f557f9c73ab63f.js"],"/components/textarea":["static/chunks/pages/components/textarea-dce8cf07b43acd40.js"],"/components/toast":[c,"static/chunks/pages/components/toast-f0d725c51a6a91d3.js"],"/components/toast-manager":["static/chunks/pages/components/toast-manager-ca0474239baa5d44.js"],"/components/toast-manager/useToastManager":["static/chunks/pages/components/toast-manager/useToastManager-e656b957a163c8c8.js"],"/components/tooltip":[s,"static/chunks/pages/components/tooltip-5539d30feddd9fa4.js"],"/components/transitions":["static/chunks/pages/components/transitions-b198caa15c8308e6.js"],"/components/transitions/collapse":[t,"static/chunks/pages/components/transitions/collapse-4967d53085c3ad50.js"],"/components/transitions/fade":[t,"static/chunks/pages/components/transitions/fade-38499caeb79e6d0f.js"],"/components/transitions/grow":[t,"static/chunks/pages/components/transitions/grow-95f6343bb83eefea.js"],"/components/transitions/scale":[t,"static/chunks/pages/components/transitions/scale-f04508015776691f.js"],"/components/transitions/slide":[t,"static/chunks/pages/components/transitions/slide-656a06a02cc3e027.js"],"/components/transitions/zoom":[t,"static/chunks/pages/components/transitions/zoom-0ff07b31bb2ac336.js"],"/components/tree":[r,f,"static/chunks/9293-f15268b2ecc2147f.js",s,d,"static/chunks/pages/components/tree-80d30f08a2450999.js"],"/components/truncate":["static/chunks/pages/components/truncate-93dc6331a6440336.js"],"/components/visually-hidden":["static/chunks/pages/components/visually-hidden-1e7af8fa7a920c46.js"],"/contributing":["static/chunks/pages/contributing-9ecf476878e53bde.js"],"/contributing/publishing":["static/chunks/pages/contributing/publishing-6287d44c32e53d25.js"],"/contributing/pull-request-review":["static/chunks/pages/contributing/pull-request-review-c75eaf0a902d627c.js"],"/contributing/react-components-part-1":["static/chunks/pages/contributing/react-components-part-1-9c00b8465694377e.js"],"/contributing/react-components-part-2":["static/chunks/pages/contributing/react-components-part-2-d3fddd6d15e0dbb6.js"],"/contributing/react-documentation-site":["static/chunks/pages/contributing/react-documentation-site-15aab5c3c85c9434.js"],"/contributing/react-icons":["static/chunks/pages/contributing/react-icons-60d960e361caf206.js"],"/getting-started":["static/chunks/pages/getting-started-48d0b8a31d976e99.js"],"/getting-started/color-mode":["static/chunks/pages/getting-started/color-mode-1f172114a3f69008.js"],"/getting-started/color-style":[a,g,"static/chunks/pages/getting-started/color-style-ae5d2807db6d47a5.js"],"/getting-started/css-variables":["static/chunks/pages/getting-started/css-variables-f4d0c2c2147941c6.js"],"/getting-started/icons":["static/chunks/pages/getting-started/icons-afc6068d4b8da006.js"],"/getting-started/installation":["static/chunks/pages/getting-started/installation-7541d3b15134cfb2.js"],"/getting-started/security":["static/chunks/pages/getting-started/security-f060cf84888464b8.js"],"/getting-started/the-sx-prop":["static/chunks/pages/getting-started/the-sx-prop-6598878237a63131.js"],"/getting-started/usage":["static/chunks/pages/getting-started/usage-53b3e5191c788f76.js"],"/getting-started/versions":["static/chunks/pages/getting-started/versions-f7da9e2d9100a1e6.js"],"/hooks":["static/chunks/pages/hooks-d17c378f329d68b6.js"],"/hooks/useConst":["static/chunks/pages/hooks/useConst-de48c265315e2f39.js"],"/hooks/useCopyToClipboard":["static/chunks/pages/hooks/useCopyToClipboard-252de9f080a9abe1.js"],"/hooks/useEffectOnce":["static/chunks/pages/hooks/useEffectOnce-e42cdabe160655b2.js"],"/hooks/useEffectOnceWhen":["static/chunks/pages/hooks/useEffectOnceWhen-379c0a823fb20d94.js"],"/hooks/useEventCallback":["static/chunks/pages/hooks/useEventCallback-23591a716ded6743.js"],"/hooks/useEventListener":["static/chunks/pages/hooks/useEventListener-e8507a371a47ba07.js"],"/hooks/useHydrated":["static/chunks/pages/hooks/useHydrated-e5f902ccdcf0df1f.js"],"/hooks/useIsomorphicEffect":["static/chunks/pages/hooks/useIsomorphicEffect-068a788efa499232.js"],"/hooks/useLatestRef":["static/chunks/pages/hooks/useLatestRef-9d3f58bb2dd61135.js"],"/hooks/useMediaQuery":["static/chunks/pages/hooks/useMediaQuery-8480040257a2bcfe.js"],"/hooks/useMergeRefs":["static/chunks/pages/hooks/useMergeRefs-e51d694e27db4a34.js"],"/hooks/useOnce":["static/chunks/pages/hooks/useOnce-ef5ec43fab7d8bb6.js"],"/hooks/useOnceWhen":["static/chunks/pages/hooks/useOnceWhen-e626631c3664c7ef.js"],"/hooks/useOutsideClick":["static/chunks/pages/hooks/useOutsideClick-50bfb6687a964e1a.js"],"/hooks/usePrevious":["static/chunks/pages/hooks/usePrevious-41510e582f20b672.js"],"/hooks/useToggle":["static/chunks/pages/hooks/useToggle-cad60d8d9e45ffc8.js"],"/icons":[e,u,"static/chunks/pages/icons-5f8182475c413180.js"],"/icons/svg-icon":["static/chunks/pages/icons/svg-icon-0c704bcd52076bf7.js"],"/migrations":["static/chunks/pages/migrations-02777f26435c348c.js"],"/migrations/migrating-from-v0-to-v1":["static/chunks/pages/migrations/migrating-from-v0-to-v1-7e948afda24252ef.js"],"/migrations/migrating-from-v1-to-v2":["static/chunks/pages/migrations/migrating-from-v1-to-v2-431c4987d6ca5038.js"],"/patterns":["static/chunks/pages/patterns-42fad79265fd7b32.js"],"/patterns/notification":[o,"static/chunks/6314-ddc4e0b5b6964ea0.js",s,e,n,c,"static/chunks/pages/patterns/notification-6ffadbbb9ad6ac1a.js"],"/patterns/table-display":[r,s,m,d,l,"static/chunks/pages/patterns/table-display-1b157b14ece77899.js"],"/playground":["static/chunks/pages/playground-19aa8c1f7d6b3af9.js"],"/playground/othello":["static/chunks/pages/playground/othello-cf347f5ac7f4ad85.js"],"/styled-system":["static/chunks/pages/styled-system-5fea692e845d4f12.js"],"/styled-system/pseudo-style-props":["static/chunks/pages/styled-system/pseudo-style-props-f791c5f0d6b6d7a0.js"],"/styled-system/responsive-values":["static/chunks/pages/styled-system/responsive-values-98c887fab20eae36.js"],"/styled-system/style-props":["static/chunks/pages/styled-system/style-props-fac8b545c5163814.js"],"/theme":["static/chunks/pages/theme-043b088bdb52c929.js"],"/theme/borders":["static/chunks/pages/theme/borders-9edae82ea7f23dd3.js"],"/theme/breakpoints":["static/chunks/pages/theme/breakpoints-ae086320424261c4.js"],"/theme/colors":["static/chunks/pages/theme/colors-6a8e1cddd39b81b4.js"],"/theme/font-sizes":["static/chunks/pages/theme/font-sizes-c52bc7b1d07c161c.js"],"/theme/font-weights":["static/chunks/pages/theme/font-weights-02f461cbf43fd5fc.js"],"/theme/fonts":["static/chunks/pages/theme/fonts-62016933665abd8e.js"],"/theme/letter-spacings":["static/chunks/pages/theme/letter-spacings-8daef42dcfc3e324.js"],"/theme/line-heights":["static/chunks/pages/theme/line-heights-4784bc422d3c97fc.js"],"/theme/outlines":["static/chunks/pages/theme/outlines-cb7ae4bc1ec41576.js"],"/theme/radii":["static/chunks/pages/theme/radii-b1fd8085b5c81f3d.js"],"/theme/shadows":["static/chunks/pages/theme/shadows-d13f7db4d9d3af1a.js"],"/theme/sizes":["static/chunks/pages/theme/sizes-b11b018e0f041652.js"],"/theme/space":["static/chunks/pages/theme/space-b994b732f6f43827.js"],"/theme/z-indices":["static/chunks/pages/theme/z-indices-1597bfb57153f295.js"],sortedPages:["/","/404","/_app","/_error","/components","/components/accordion","/components/alert","/components/badge","/components/box","/components/button","/components/button-base","/components/button-group","/components/button-link","/components/checkbox","/components/checkbox-group","/components/code","/components/color-mode","/components/color-mode/dark-mode","/components/color-mode/inverted-mode","/components/color-mode/light-mode","/components/color-mode/useColorMode","/components/color-style","/components/color-style/useColorStyle","/components/css-baseline","/components/date-pickers","/components/date-pickers/calendar","/components/date-pickers/date-picker","/components/divider","/components/drawer","/components/flex","/components/grid","/components/icon","/components/image","/components/input","/components/input-base","/components/input-control","/components/input-group","/components/link","/components/link-button","/components/menu","/components/modal","/components/overflow-tooltip","/components/pagination","/components/pagination/usePagination","/components/popover","/components/portal","/components/portal-manager","/components/portal-manager/usePortalManager","/components/progress","/components/radio","/components/radio-group","/components/resize-handle","/components/scrollbar","/components/search-input","/components/select","/components/skeleton","/components/space","/components/spinner","/components/stack","/components/svg-icon","/components/switch","/components/table","/components/tabs","/components/tag","/components/text","/components/text-label","/components/textarea","/components/toast","/components/toast-manager","/components/toast-manager/useToastManager","/components/tooltip","/components/transitions","/components/transitions/collapse","/components/transitions/fade","/components/transitions/grow","/components/transitions/scale","/components/transitions/slide","/components/transitions/zoom","/components/tree","/components/truncate","/components/visually-hidden","/contributing","/contributing/publishing","/contributing/pull-request-review","/contributing/react-components-part-1","/contributing/react-components-part-2","/contributing/react-documentation-site","/contributing/react-icons","/getting-started","/getting-started/color-mode","/getting-started/color-style","/getting-started/css-variables","/getting-started/icons","/getting-started/installation","/getting-started/security","/getting-started/the-sx-prop","/getting-started/usage","/getting-started/versions","/hooks","/hooks/useConst","/hooks/useCopyToClipboard","/hooks/useEffectOnce","/hooks/useEffectOnceWhen","/hooks/useEventCallback","/hooks/useEventListener","/hooks/useHydrated","/hooks/useIsomorphicEffect","/hooks/useLatestRef","/hooks/useMediaQuery","/hooks/useMergeRefs","/hooks/useOnce","/hooks/useOnceWhen","/hooks/useOutsideClick","/hooks/usePrevious","/hooks/useToggle","/icons","/icons/svg-icon","/migrations","/migrations/migrating-from-v0-to-v1","/migrations/migrating-from-v1-to-v2","/patterns","/patterns/notification","/patterns/table-display","/playground","/playground/othello","/styled-system","/styled-system/pseudo-style-props","/styled-system/responsive-values","/styled-system/style-props","/theme","/theme/borders","/theme/breakpoints","/theme/colors","/theme/font-sizes","/theme/font-weights","/theme/fonts","/theme/letter-spacings","/theme/line-heights","/theme/outlines","/theme/radii","/theme/shadows","/theme/sizes","/theme/space","/theme/z-indices"]}}("static/chunks/978-e84144ff1b3bad21.js","static/chunks/9860-78f03667ad77447d.js","static/chunks/4575-fcf235c18d03e610.js","static/chunks/1096-2998516ce538165c.js","static/chunks/2885-5ae4f9b42dce21a7.js","static/chunks/3732-8c0c9ccdb0a83fce.js","static/chunks/1630-2e46e2811276207a.js","static/chunks/6441-3d027df4e2490f7a.js","static/chunks/1668-f0ae5c958e686b62.js","static/chunks/7283-de54b7272cf103f5.js","static/chunks/5220-cd4c3ad0764750f4.js","static/chunks/6120-34893289958e5562.js","static/chunks/2089-10835a27b5090118.js","static/chunks/7882-f859c48ba5edf8bd.js","static/chunks/4791-5b920d11f6acba4f.js","static/chunks/4739-2f9b2d0b0facbbe3.js","static/chunks/4960-c3b7a9c38255bbc8.js","static/chunks/5375-668c5e3a722d200b.js","static/chunks/8726-814eb336c1beaadd.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/react/pr-947/_next/static/wwJ_TL5BDXeXF-i3F-l0s/_ssgManifest.js b/react/pr-947/_next/static/Jyy1px2xK1PEoSKE3opHU/_ssgManifest.js similarity index 100% rename from react/pr-947/_next/static/wwJ_TL5BDXeXF-i3F-l0s/_ssgManifest.js rename to react/pr-947/_next/static/Jyy1px2xK1PEoSKE3opHU/_ssgManifest.js diff --git a/react/pr-947/_next/static/chunks/1668-d85c25a288b9fcb5.js b/react/pr-947/_next/static/chunks/1668-d85c25a288b9fcb5.js deleted file mode 100644 index afba9ce29f..0000000000 --- a/react/pr-947/_next/static/chunks/1668-d85c25a288b9fcb5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1668],{96835:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(27216),a=n(40596),o=n(49857),l=n(73645),i=n(99870),u=n(62272),c=n(14594),d=n(65019),f=n(37384),s=n(99554),Z=n(69111),v=n(5632),m=n(2784),h=n(65245);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},b=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,m.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],u=!0,c=!1;try{for(o=(n=n.call(e)).next;!(u=(r=o.call(n)).done)&&(i.push(r.value),2!==i.length);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return p(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],a=n[1];return{value:e,onCopy:function(){y(e),a(!0),setTimeout(function(){return a(!1)},1500)},hasCopied:r}},g=n(63768),x=n(76761),D=n(73205),C=n(98107),k=n(44285),w=["component","defaultExpanded","expanded","file","sandbox"];function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}}}(e,w);var R=(0,v.useRouter)(),A=j((0,m.useReducer)(function(e){return!e},!1),2),O=A[0],I=A[1],z=(0,r.u)(),T=j((0,a.Z)(),1)[0],M={dark:x.y,light:x.q}[T],_=j((0,d.Z)(null!=y?y:void 0!==p&&p),2),N=_[0],W=_[1],G=b(null==E?void 0:E.data),B=G.onCopy,K=G.hasCopied,L=(0,m.useCallback)(function(){B()},[B]),Q=(0,m.useCallback)(function(){(0,D.b)(S)},[S]),F=(0,m.useCallback)(function(){I(),W(!1)},[I,W]);return((0,m.useEffect)(function(){void 0!==y&&y!==N&&W(y)},[y,N,W]),n)?m.createElement(h.nu,{code:null==E?void 0:E.data,disabled:!0,language:"jsx",theme:M},m.createElement(o.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[T],p:"4x"},m.createElement(o.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:O},m.createElement(n,null)))),m.createElement(l.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(k.Z,{"data-track":N?"CodeBlock|hide_source|".concat((0,C.Z)({path:R.pathname})):"CodeBlock|show_source|".concat((0,C.Z)({path:R.pathname})),onClick:W},m.createElement(i.Z,{label:N?"Hide the source":"Show the source"},m.createElement(f.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|copy_source|".concat((0,C.Z)({path:R.pathname})),onClick:L},m.createElement(i.Z,{label:K?"Copied":"Copy the source"},m.createElement(s.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(R.pathname),onClick:Q},m.createElement(i.Z,{label:"Edit in CodeSandbox"},m.createElement(g.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|reset|".concat(R.pathname),onClick:F},m.createElement(i.Z,{label:"Reset the demo"},m.createElement(Z.Z,null)))),m.createElement(u.Z,{in:N},m.createElement(c.Z,{in:N,unmountOnExit:!0},m.createElement(o.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==z?void 0:null===(t=z.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(h.nu,{code:null==E?void 0:E.data,disabled:!0,language:"jsx",theme:M},m.createElement(o.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};S.displayName="Demo";var R=S},99554:function(e,t,n){n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,n){n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},71267:function(e,t,n){n.d(t,{Z:function(){return em}});var r=n(53860),a=n(29970),o=n(25013),l=n(13409),i=n(70404),u=n(33558),c=n(8849),d=n(28187),f=n(11106),s=n(97361),Z=n(72968),v=n(53009),m=n(31794),h=n(4478),p=n(10405),y=n(12414),b=n(49122),g=n(94873),x=n(92307),D=n.n(x),C=n(2784),k=n(98827),w=n(84809),j=(0,C.createContext)(),E=j.Provider,S=n(40596),R=n(85017),A=function(e){var t=e.tabIndex,n=(0,S.Z)(),a=(0,r.ZQ)(n,1)[0],o=(0,R.Z)({colorMode:a}),l=(0,r.ZQ)(o,1)[0],i={dark:"gray:70",light:"gray:30"}[a];return{display:"inline-flex",flexDirection:"column",alignItems:"stretch",justifyContent:"stretch",minWidth:"328px",minHeight:"308px",backgroundColor:l.background.secondary,border:1,borderColor:i,borderRadius:"sm",boxShadow:l.shadow.medium,outline:t<0?0:void 0,px:"6x",py:"3x"}},O=function(){var e=(0,S.Z)();return{display:"flex",flexGrow:1,alignItems:"center",justifyContent:"center",fontSize:"md",lineHeight:"md",outline:0,_hover:{"& > * > button":{opacity:1,visibility:"visible"}},_focusVisible:{"& > * > button ":{opacity:1,visibility:"visible"},outlineColor:({dark:"blue:60",light:"blue:60"})[(0,r.ZQ)(e,1)[0]],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"}}},I=function(){var e=(0,S.Z)(),t={dark:"blue:40",light:"blue:60"}[(0,r.ZQ)(e,1)[0]];return{minHeight:"auto",px:0,width:"4x",height:"4x",opacity:0,visibility:"hidden",_hover:{borderColor:"transparent",color:t},_active:{borderColor:"transparent",color:t}}},z=function(e){var t=e.isSameMonth,n=e.isSelectable,a=e.isToday,o=(0,S.Z)(),l=(0,r.ZQ)(o,1)[0],i=(0,R.Z)({colorMode:l}),u=(0,r.ZQ)(i,1)[0],c=function(e){if(a){var r,o;return({dark:"blue:40",light:"blue:40"})[l]}return n?t?null==u?void 0:null===(e=u.color)||void 0===e?void 0:e.primary:null==u?void 0:null===(o=u.color)||void 0===o?void 0:o.tertiary:null==u?void 0:null===(r=u.color)||void 0===r?void 0:r.disabled}();return(0,r.Zj)((0,r.Zj)({},{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"10x",color:c,cursor:n?"pointer":"default",_hover:{backgroundColor:n?({dark:"gray:80",light:"gray:50"})[l]:void 0},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[l],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"}}),{},{_selected:{color:{dark:"white:primary",light:"white:primary"}[l],backgroundColor:{dark:"blue:60",light:"blue:60"}[l],"&:hover":{backgroundColor:{dark:"blue:50",light:"blue:50"}[l]}}})},T=function(){var e,t=(0,S.Z)(),n=(0,r.ZQ)(t,1)[0],a=(0,R.Z)({colorMode:n}),o=(0,r.ZQ)(a,1)[0],l={display:"inline-flex",alignItems:"center",justifyContent:"center",height:"10x",color:null==o?void 0:null===(e=o.color)||void 0===e?void 0:e.primary,cursor:"default"};return(0,r.Zj)({},l)},M=n(63761),_=n(6194),N=function(){if(!C.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,C.useContext)(j)},W=n(52903),G=n(49857),B=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.firstDayOfWeek,i=a.formatDate,u=(0,b.Z)(o,{weekStartsOn:l}),c=T();return(0,W.tZ)(_.Z,(0,r.Zj)((0,r.Zj)({ref:t,templateColumns:"repeat(7, 40px)",templateRows:"auto"},e),{},{children:[0,1,2,3,4,5,6].map(function(e){var t=(0,M.Z)(u,e);return(0,W.tZ)(G.Z,(0,r.Zj)((0,r.Zj)({title:i(t,"EEEE")},c),{},{children:i(t,"EEEEEE")}),e)})}))});B.displayName="DaysOfWeek";var K=n(85014),L=n(93631),Q=n(56818),F=n(46102),H=n(42598),P=n(63063),X=n(82276),q=["date"],U=(0,C.forwardRef)(function(e,t){var n=e.date,a=(0,r.Kd)(e,q),o=N(),l=(0,r.Zj)({},o),i=l.activeDate,u=l.date,c=l.formatDate,d=l.maxDate,f=l.minDate,s=l.onChange,Z=l.setActiveDate,m=l.shouldDisableDate,h=!(f&&(0,P.Z)(n,f)||d&&(0,H.Z)(n,d)||null!=m&&m(n)),p=(0,X.Z)(n,new Date(u)),y=(0,X.Z)(n,new Date),b=(0,v.Z)(n,i)?0:-1,g=z({isSameMonth:(0,v.Z)(n,i),isSelectable:h,isToday:y}),x=(0,L.Z)(function(e){Z(n),s(n)},[n,Z,s]),D=(0,L.Z)(function(e){(" "===e.key||"Enter"===e.key)&&(Z(n),s(n),e.preventDefault())},[n,Z,s]);return(0,W.tZ)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"data-date":(0,F.Z)(n,{representation:"date"}),"data-selected":(0,Q.PB)(p),onClick:h?x:void 0,onKeyDown:h?D:void 0,tabIndex:b},g),a),{},{children:c(n,"d")}))});U.displayName="Day";var V=function(e){var t=e.startDateOfWeek;return[0,1,2,3,4,5,6].map(function(e){var n=(0,M.Z)(t,e);return(0,W.tZ)(U,{date:n},n.getTime())})};V.displayName="Week";var Y=function(e,t){var n=(0,M.Z)(e,6);return(0,v.Z)(e,t)||(0,v.Z)(n,t)},$=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.firstDayOfWeek,i=[],u=(0,b.Z)((0,y.Z)(o),{weekStartsOn:l});do{var c=(0,W.tZ)(V,{startDateOfWeek:u},u.getTime());i.push(c),u=(0,K.Z)(u,1)}while(Y(u,o));return(0,W.tZ)(_.Z,(0,r.Zj)((0,r.Zj)({ref:t,templateColumns:"repeat(7, 40px)",templateRows:"auto"},e),{},{children:i}))});$.displayName="Weeks";var J=(0,C.forwardRef)(function(e,t){return(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},{flex:"auto"}),e),{},{children:[(0,W.tZ)(B,{}),(0,W.tZ)($,{})]}))});J.displayName="MonthDate";var ee=n(40809),et=n(85163),en=n(20012),er=n(45795),ea=n(52946),eo=n(46318),el=n(62080),ei=n(70758),eu=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.formatDate,u=a.setActiveDate,c=(0,L.Z)(function(e){u((0,eo.Z)(o,1))},[o]),f=(0,L.Z)(function(e){u((0,ea.Z)(o,1))},[o]),s=(0,L.Z)(function(e){u((0,g.Z)(o,1))},[o]),Z=(0,L.Z)(function(e){u((0,d.Z)(o,1))},[o]),v={width:"8x",height:"8x"},m=O(),h=I(),p=(0,C.useRef)(),y={};return y.onKeyDown=(0,C.useCallback)(function(e){var t=null==e?void 0:e.key,n="Tab"===t&&!e.shiftKey;if("ArrowUp"===t){u((0,eo.Z)(o,1)),e.preventDefault();return}if("ArrowDown"===t){u((0,ea.Z)(o,1)),e.preventDefault();return}if(" "===t){e.preventDefault();return}if(n){var r=(0,i.t)(p.current),a=r[r.length-1];a&&(null==a||a.focus())}},[o,u]),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},{display:"flex",flex:"none",mb:"3x"}),e),{},{children:[(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Previous month",variant:"ghost",onClick:s},v),{},{children:(0,W.tZ)(ee.Z,{size:"4x"})})),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:p,tabIndex:0},y),m),{},{children:[(0,W.tZ)(ei.Z,{children:l(o,"LLL yyyy")}),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)({},{display:"inline-flex",flexDirection:"column",ml:"2x"}),{},{children:[(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Previous year",variant:"ghost",onClick:c},h),{},{children:(0,W.tZ)(et.Z,{size:"4x"})})),(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Next year",variant:"ghost",onClick:f},h),{},{children:(0,W.tZ)(en.Z,{size:"4x"})}))]}))]})),(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Next month",variant:"ghost",onClick:Z},v),{},{children:(0,W.tZ)(er.Z,{size:"4x"})}))]}))});eu.displayName="YearMonthPicker";var ec=["children","date","defaultDate","firstDayOfWeek","formatDate","maxDate","minDate","onChange","onError","shouldDisableDate"],ed=D()(function(e){return(0,r.Zj)({},e)}),ef=function(e){if((0,l.le)(e))return null;var t=new Date(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?t:null},es=function(e){var t=ef(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?(0,p.Z)(t):null},eZ=function(e){var t=ef(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?(0,f.Z)(t):null},ev=(0,C.forwardRef)(function(e,t){var n=(0,k.Z)({props:e,name:"Calendar"});n.children;var f=n.date,Z=n.defaultDate,x=n.firstDayOfWeek,D=void 0===x?0:x,j=n.formatDate,S=n.maxDate,R=n.minDate,O=n.onChange,I=n.onError,z=n.shouldDisableDate,T=(0,r.Kd)(n,ec),M=(0,a.Z)(function(){return ef(null!=f?f:Z)}),_=(0,a.Z)(function(){var e=es(new Date);return(0,h.Z)(M)?M:e}),N=(0,C.useRef)(!1),B=(0,C.useRef)(),K=(0,C.useRef)(),L=(0,C.useState)(_),Q=(0,r.ZQ)(L,2),F=Q[0],H=Q[1],P=(0,C.useState)(M),X=(0,r.ZQ)(P,2),q=X[0],U=X[1],V=(0,o.Z)(q),Y=(0,C.useCallback)(function(e,t,n){return e?"function"==typeof j?j(e,t,n):(0,s.Z)(e,t,n):null},[j]),$=eZ(S),ee=es(R),et=(0,w.q)(q,{maxDate:$,minDate:ee,shouldDisableDate:z}),en=(0,o.Z)(et);(0,C.useEffect)(function(){var e=function(e){"Tab"===e.key&&(N.current=!0)},t=function(e){N.current=!1};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),function(){document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,C.useEffect)(function(){et!==en&&(null==I||I(et,q))},[q,I,en,et]),(0,C.useEffect)(function(){void 0!==f&&U(f)},[f]),(0,C.useEffect)(function(){var e=!!q&&q!==V,t=new Date(q),n=(0,m.Z)(F,t)&&(0,v.Z)(F,t),r=(0,h.Z)(t)&&!n;e&&r&&H(t)},[q,V,F]),(0,C.useEffect)(function(){if(!(0,l.le)(K.current)){var e=K.current,t=(0,i.t)(B.current),n=e<0?t[t.length+e]:t[e];K.current=null,requestAnimationFrame(function(){n&&(null==n||n.focus())})}},[F]);var er=(0,C.useCallback)(function(e){void 0!==f||U(e),null==O||O(e)},[f,O]),ea={};ea.onKeyDown=(0,C.useCallback)(function(e){var t,n,r=null==e?void 0:e.key,a=e.shiftKey,o=(0,i.t)(B.current),l=(0,u.vY)(e.target),c=function(e){var t=o.indexOf(l);if(!(t<0)){var n=t+e;if(n<0||n>=o.length){if(H(e<0?(0,g.Z)(F,1):(0,d.Z)(F,1)),n<0){K.current=n;var r=o[0];(null==r?void 0:r.tabIndex)<0&&(K.current-=7)}else if(n>=o.length){K.current=n-o.length;var a=o[o.length-1];(null==a?void 0:a.tabIndex)<0&&(K.current+=7)}return}var i=o[n];if(i){if((null==i?void 0:i.tabIndex)<0){H(e<0?(0,g.Z)(F,1):(0,d.Z)(F,1)),K.current=e<0?n-7:n+7-o.length;return}null==i||i.focus()}}};if("ArrowLeft"===r&&(c(-1),e.preventDefault()),"ArrowRight"===r&&(c(1),e.preventDefault()),"ArrowUp"===r&&(c(-7),e.preventDefault()),"ArrowDown"===r&&(c(7),e.preventDefault()),"Home"===r&&((t=o.find(function(e){return(null==e?void 0:e.tabIndex)>=0}))&&(null==t||t.focus()),e.preventDefault()),"End"===r&&((n=o.reverse().find(function(e){return(null==e?void 0:e.tabIndex)>=0}))&&(null==n||n.focus()),e.preventDefault()),"Tab"===r&&o.indexOf(l)>=0){a?o[0].focus():o[o.length-1].focus();return}},[F]),ea.onFocus=(0,C.useCallback)(function(e){var t=!!N.current,n=e.relatedTarget;if(t&&n&&!e.currentTarget.contains(n)){var r=new Date,a=q?(0,p.Z)(q):(0,p.Z)(r),o=(0,b.Z)((0,y.Z)(a),{weekStartsOn:D}),l=(0,c.Z)(a,o);K.current=l,H(a)}},[q,D]);var eo=ed({activeDate:F,date:q,firstDayOfWeek:D,formatDate:Y,maxDate:$,minDate:ee,onChange:er,setActiveDate:H,shouldDisableDate:z}),el=A({tabIndex:-1});return(0,W.tZ)(E,{value:eo,children:(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,tabIndex:-1},el),T),{},{children:[(0,W.tZ)(eu,{}),(0,W.tZ)(J,(0,r.Zj)({ref:B},ea))]}))})});ev.displayName="Calendar";var em=ev},84809:function(e,t,n){n.d(t,{q:function(){return u}});var r=n(53860),a=n(13409),o=n(42598),l=n(63063),i=n(4478),u=function(e,t){var n=(0,r.Zj)({},t),u=n.maxDate,c=n.minDate,d=n.shouldDisableDate;if(!(0,a.le)(e)){var f=new Date(e);return(0,i.Z)(f)?u&&c&&(0,l.Z)(u,c)?'"maxDate" must not be before "minDate"':u&&c&&((0,l.Z)(f,c)||(0,o.Z)(f,u))||u&&(0,o.Z)(f,u)||c&&(0,l.Z)(f,c)?"Invalid date range":(null==d?void 0:d(f))===!0?"Disabled date":void 0:"Invalid date"}}},6194:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(53860),a=n(2784),o=n(98827),l=n(52903),i=n(49857),u=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],c=(0,a.forwardRef)(function(e,t){var n=(0,o.Z)({props:e,name:"Grid"}),a=n.gap,c=n.rowGap,d=n.columnGap,f=n.column,s=n.row,Z=n.area,v=n.autoFlow,m=n.autoRows,h=n.autoColumns,p=n.templateRows,y=n.templateColumns,b=n.templateAreas,g=(0,r.Kd)(n,u);return(0,l.tZ)(i.Z,(0,r.Zj)({ref:t,display:"grid",gridGap:a,gridRowGap:c,gridColumnGap:d,gridColumn:f,gridRow:s,gridArea:Z,gridAutoFlow:v,gridAutoRows:m,gridAutoColumns:h,gridTemplateRows:p,gridTemplateColumns:y,gridTemplateAreas:b},g))});c.displayName="Grid";var d=c},3398:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(53860),a=n(2784),o=n(98827),l=n(70202),i=n(28729),u=n(40374),c=n(52737),d=n(52903),f=["size","variant","css"],s=(0,a.forwardRef)(function(e,t){var n,a,s=(0,o.Z)({props:e,name:"Input"}),Z=s.size,v=s.variant,m=s.css,h=(0,r.Kd)(s,f),p=(0,u.Z)(),y=(0,r.Zj)({},p),b=y.size,g=y.variant,x=null!==(n=null!=Z?Z:b)&&void 0!==n?n:c.zm,D=null!==(a=null!=v?v:g)&&void 0!==a?a:c.oD,C=p?[(0,i.zM)({variant:D}),m]:m,k=(0,i.zG)({size:x,variant:D});return(0,d.tZ)(l.Z,(0,r.Zj)((0,r.Zj)({ref:t,as:"input",css:C},k),h))});s.displayName="Input";var Z=s},67622:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(53860),a=n(2784),o=n(98827),l=n(70758),i=n(91334),u=n(52903),c=["size"],d=(0,a.forwardRef)(function(e,t){var n=(0,o.Z)({props:e,name:"TextLabel"}),a=n.size,d=(0,r.Kd)(n,c),f=(0,i.w)({size:a});return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)({as:"label",ref:t},f),d))});d.displayName="TextLabel";var f=d}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/1668-f0ae5c958e686b62.js b/react/pr-947/_next/static/chunks/1668-f0ae5c958e686b62.js new file mode 100644 index 0000000000..622cce4c38 --- /dev/null +++ b/react/pr-947/_next/static/chunks/1668-f0ae5c958e686b62.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1668],{96835:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(27216),a=n(40596),o=n(49857),l=n(73645),i=n(99870),u=n(62272),c=n(14594),d=n(65019),f=n(37384),s=n(99554),Z=n(69111),v=n(5632),m=n(2784),h=n(65245);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},b=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,m.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],u=!0,c=!1;try{for(o=(n=n.call(e)).next;!(u=(r=o.call(n)).done)&&(i.push(r.value),2!==i.length);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return p(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],a=n[1];return{value:e,onCopy:function(){y(e),a(!0),setTimeout(function(){return a(!1)},1500)},hasCopied:r}},g=n(63768),x=n(76761),D=n(73205),C=n(98107),w=n(44285),j=["component","defaultExpanded","expanded","file","sandbox"];function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}}}(e,j);var R=(0,v.useRouter)(),A=k((0,m.useReducer)(function(e){return!e},!1),2),O=A[0],I=A[1],z=(0,r.u)(),T=k((0,a.Z)(),1)[0],M={dark:x.y,light:x.q}[T],_=k((0,d.Z)(null!=y?y:void 0!==p&&p),2),N=_[0],W=_[1],G=b(null==E?void 0:E.data),K=G.onCopy,L=G.hasCopied,Q=(0,m.useCallback)(function(){K()},[K]),F=(0,m.useCallback)(function(){(0,D.b)(S)},[S]),H=(0,m.useCallback)(function(){I(),W(!1)},[I,W]);return((0,m.useEffect)(function(){void 0!==y&&y!==N&&W(y)},[y,N,W]),n)?m.createElement(h.nu,{code:null==E?void 0:E.data,disabled:!0,language:"jsx",theme:M},m.createElement(o.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[T],p:"4x"},m.createElement(o.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:O},m.createElement(n,null)))),m.createElement(l.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(w.Z,{"data-track":N?"Code|hide_source|".concat((0,C.Z)({path:R.pathname})):"Code|show_source|".concat((0,C.Z)({path:R.pathname})),onClick:W},m.createElement(i.Z,{label:N?"Hide the source":"Show the source"},m.createElement(f.Z,null))),m.createElement(w.Z,{"data-track":"Code|copy_source|".concat((0,C.Z)({path:R.pathname})),onClick:Q},m.createElement(i.Z,{label:L?"Copied":"Copy the source"},m.createElement(s.Z,null))),m.createElement(w.Z,{"data-track":"Code|edit_in_codesandbox|".concat(R.pathname),onClick:F},m.createElement(i.Z,{label:"Edit in CodeSandbox"},m.createElement(g.Z,null))),m.createElement(w.Z,{"data-track":"Code|reset|".concat(R.pathname),onClick:H},m.createElement(i.Z,{label:"Reset the demo"},m.createElement(Z.Z,null)))),m.createElement(u.Z,{in:N},m.createElement(c.Z,{in:N,unmountOnExit:!0},m.createElement(o.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==z?void 0:null===(t=z.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(h.nu,{code:null==E?void 0:E.data,disabled:!0,language:"jsx",theme:M},m.createElement(o.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};S.displayName="Demo";var R=S},99554:function(e,t,n){n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,n){n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},71267:function(e,t,n){n.d(t,{Z:function(){return em}});var r=n(53860),a=n(29970),o=n(25013),l=n(13409),i=n(70404),u=n(33558),c=n(8849),d=n(28187),f=n(11106),s=n(97361),Z=n(72968),v=n(53009),m=n(31794),h=n(4478),p=n(10405),y=n(12414),b=n(49122),g=n(94873),x=n(92307),D=n.n(x),C=n(2784),w=n(98827),j=n(84809),k=(0,C.createContext)(),E=k.Provider,S=n(40596),R=n(85017),A=function(e){var t=e.tabIndex,n=(0,S.Z)(),a=(0,r.ZQ)(n,1)[0],o=(0,R.Z)({colorMode:a}),l=(0,r.ZQ)(o,1)[0],i={dark:"gray:70",light:"gray:30"}[a];return{display:"inline-flex",flexDirection:"column",alignItems:"stretch",justifyContent:"stretch",minWidth:"328px",minHeight:"308px",backgroundColor:l.background.secondary,border:1,borderColor:i,borderRadius:"sm",boxShadow:l.shadow.medium,outline:t<0?0:void 0,px:"6x",py:"3x"}},O=function(){var e=(0,S.Z)();return{display:"flex",flexGrow:1,alignItems:"center",justifyContent:"center",fontSize:"md",lineHeight:"md",outline:0,_hover:{"& > * > button":{opacity:1,visibility:"visible"}},_focusVisible:{"& > * > button ":{opacity:1,visibility:"visible"},outlineColor:({dark:"blue:60",light:"blue:60"})[(0,r.ZQ)(e,1)[0]],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"}}},I=function(){var e=(0,S.Z)(),t={dark:"blue:40",light:"blue:60"}[(0,r.ZQ)(e,1)[0]];return{minHeight:"auto",px:0,width:"4x",height:"4x",opacity:0,visibility:"hidden",_hover:{borderColor:"transparent",color:t},_active:{borderColor:"transparent",color:t}}},z=function(e){var t=e.isSameMonth,n=e.isSelectable,a=e.isToday,o=(0,S.Z)(),l=(0,r.ZQ)(o,1)[0],i=(0,R.Z)({colorMode:l}),u=(0,r.ZQ)(i,1)[0],c=function(e){if(a){var r,o;return({dark:"blue:40",light:"blue:40"})[l]}return n?t?null==u?void 0:null===(e=u.color)||void 0===e?void 0:e.primary:null==u?void 0:null===(o=u.color)||void 0===o?void 0:o.tertiary:null==u?void 0:null===(r=u.color)||void 0===r?void 0:r.disabled}();return(0,r.Zj)((0,r.Zj)({},{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"10x",color:c,cursor:n?"pointer":"default",_hover:{backgroundColor:n?({dark:"gray:80",light:"gray:50"})[l]:void 0},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[l],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"}}),{},{_selected:{color:{dark:"white:primary",light:"white:primary"}[l],backgroundColor:{dark:"blue:60",light:"blue:60"}[l],"&:hover":{backgroundColor:{dark:"blue:50",light:"blue:50"}[l]}}})},T=function(){var e,t=(0,S.Z)(),n=(0,r.ZQ)(t,1)[0],a=(0,R.Z)({colorMode:n}),o=(0,r.ZQ)(a,1)[0],l={display:"inline-flex",alignItems:"center",justifyContent:"center",height:"10x",color:null==o?void 0:null===(e=o.color)||void 0===e?void 0:e.primary,cursor:"default"};return(0,r.Zj)({},l)},M=n(63761),_=n(6194),N=function(){if(!C.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,C.useContext)(k)},W=n(52903),G=n(49857),K=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.firstDayOfWeek,i=a.formatDate,u=(0,b.Z)(o,{weekStartsOn:l}),c=T();return(0,W.tZ)(_.Z,(0,r.Zj)((0,r.Zj)({ref:t,templateColumns:"repeat(7, 40px)",templateRows:"auto"},e),{},{children:[0,1,2,3,4,5,6].map(function(e){var t=(0,M.Z)(u,e);return(0,W.tZ)(G.Z,(0,r.Zj)((0,r.Zj)({title:i(t,"EEEE")},c),{},{children:i(t,"EEEEEE")}),e)})}))});K.displayName="DaysOfWeek";var L=n(85014),Q=n(93631),F=n(56818),H=n(46102),P=n(42598),X=n(63063),B=n(82276),q=["date"],U=(0,C.forwardRef)(function(e,t){var n=e.date,a=(0,r.Kd)(e,q),o=N(),l=(0,r.Zj)({},o),i=l.activeDate,u=l.date,c=l.formatDate,d=l.maxDate,f=l.minDate,s=l.onChange,Z=l.setActiveDate,m=l.shouldDisableDate,h=!(f&&(0,X.Z)(n,f)||d&&(0,P.Z)(n,d)||null!=m&&m(n)),p=(0,B.Z)(n,new Date(u)),y=(0,B.Z)(n,new Date),b=(0,v.Z)(n,i)?0:-1,g=z({isSameMonth:(0,v.Z)(n,i),isSelectable:h,isToday:y}),x=(0,Q.Z)(function(e){Z(n),s(n)},[n,Z,s]),D=(0,Q.Z)(function(e){(" "===e.key||"Enter"===e.key)&&(Z(n),s(n),e.preventDefault())},[n,Z,s]);return(0,W.tZ)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"data-date":(0,H.Z)(n,{representation:"date"}),"data-selected":(0,F.PB)(p),onClick:h?x:void 0,onKeyDown:h?D:void 0,tabIndex:b},g),a),{},{children:c(n,"d")}))});U.displayName="Day";var V=function(e){var t=e.startDateOfWeek;return[0,1,2,3,4,5,6].map(function(e){var n=(0,M.Z)(t,e);return(0,W.tZ)(U,{date:n},n.getTime())})};V.displayName="Week";var Y=function(e,t){var n=(0,M.Z)(e,6);return(0,v.Z)(e,t)||(0,v.Z)(n,t)},$=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.firstDayOfWeek,i=[],u=(0,b.Z)((0,y.Z)(o),{weekStartsOn:l});do{var c=(0,W.tZ)(V,{startDateOfWeek:u},u.getTime());i.push(c),u=(0,L.Z)(u,1)}while(Y(u,o));return(0,W.tZ)(_.Z,(0,r.Zj)((0,r.Zj)({ref:t,templateColumns:"repeat(7, 40px)",templateRows:"auto"},e),{},{children:i}))});$.displayName="Weeks";var J=(0,C.forwardRef)(function(e,t){return(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},{flex:"auto"}),e),{},{children:[(0,W.tZ)(K,{}),(0,W.tZ)($,{})]}))});J.displayName="MonthDate";var ee=n(40809),et=n(85163),en=n(20012),er=n(45795),ea=n(52946),eo=n(46318),el=n(62080),ei=n(70758),eu=(0,C.forwardRef)(function(e,t){var n=N(),a=(0,r.Zj)({},n),o=a.activeDate,l=a.formatDate,u=a.setActiveDate,c=(0,Q.Z)(function(e){u((0,eo.Z)(o,1))},[o]),f=(0,Q.Z)(function(e){u((0,ea.Z)(o,1))},[o]),s=(0,Q.Z)(function(e){u((0,g.Z)(o,1))},[o]),Z=(0,Q.Z)(function(e){u((0,d.Z)(o,1))},[o]),v={width:"8x",height:"8x"},m=O(),h=I(),p=(0,C.useRef)(),y={};return y.onKeyDown=(0,C.useCallback)(function(e){var t=null==e?void 0:e.key,n="Tab"===t&&!e.shiftKey;if("ArrowUp"===t){u((0,eo.Z)(o,1)),e.preventDefault();return}if("ArrowDown"===t){u((0,ea.Z)(o,1)),e.preventDefault();return}if(" "===t){e.preventDefault();return}if(n){var r=(0,i.t)(p.current),a=r[r.length-1];a&&(null==a||a.focus())}},[o,u]),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},{display:"flex",flex:"none",mb:"3x"}),e),{},{children:[(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Previous month",variant:"ghost",onClick:s},v),{},{children:(0,W.tZ)(ee.Z,{size:"4x"})})),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:p,tabIndex:0},y),m),{},{children:[(0,W.tZ)(ei.Z,{children:l(o,"LLL yyyy")}),(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)({},{display:"inline-flex",flexDirection:"column",ml:"2x"}),{},{children:[(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Previous year",variant:"ghost",onClick:c},h),{},{children:(0,W.tZ)(et.Z,{size:"4x"})})),(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Next year",variant:"ghost",onClick:f},h),{},{children:(0,W.tZ)(en.Z,{size:"4x"})}))]}))]})),(0,W.tZ)(el.Z,(0,r.Zj)((0,r.Zj)({"aria-label":"Next month",variant:"ghost",onClick:Z},v),{},{children:(0,W.tZ)(er.Z,{size:"4x"})}))]}))});eu.displayName="YearMonthPicker";var ec=["children","date","defaultDate","firstDayOfWeek","formatDate","maxDate","minDate","onChange","onError","shouldDisableDate"],ed=D()(function(e){return(0,r.Zj)({},e)}),ef=function(e){if((0,l.le)(e))return null;var t=new Date(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?t:null},es=function(e){var t=ef(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?(0,p.Z)(t):null},eZ=function(e){var t=ef(e);return(0,Z.Z)(t)&&(0,h.Z)(t)?(0,f.Z)(t):null},ev=(0,C.forwardRef)(function(e,t){var n=(0,w.Z)({props:e,name:"Calendar"});n.children;var f=n.date,Z=n.defaultDate,x=n.firstDayOfWeek,D=void 0===x?0:x,k=n.formatDate,S=n.maxDate,R=n.minDate,O=n.onChange,I=n.onError,z=n.shouldDisableDate,T=(0,r.Kd)(n,ec),M=(0,a.Z)(function(){return ef(null!=f?f:Z)}),_=(0,a.Z)(function(){var e=es(new Date);return(0,h.Z)(M)?M:e}),N=(0,C.useRef)(!1),K=(0,C.useRef)(),L=(0,C.useRef)(),Q=(0,C.useState)(_),F=(0,r.ZQ)(Q,2),H=F[0],P=F[1],X=(0,C.useState)(M),B=(0,r.ZQ)(X,2),q=B[0],U=B[1],V=(0,o.Z)(q),Y=(0,C.useCallback)(function(e,t,n){return e?"function"==typeof k?k(e,t,n):(0,s.Z)(e,t,n):null},[k]),$=eZ(S),ee=es(R),et=(0,j.q)(q,{maxDate:$,minDate:ee,shouldDisableDate:z}),en=(0,o.Z)(et);(0,C.useEffect)(function(){var e=function(e){"Tab"===e.key&&(N.current=!0)},t=function(e){N.current=!1};return document.addEventListener("keydown",e),document.addEventListener("keyup",t),function(){document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,C.useEffect)(function(){et!==en&&(null==I||I(et,q))},[q,I,en,et]),(0,C.useEffect)(function(){void 0!==f&&U(f)},[f]),(0,C.useEffect)(function(){var e=!!q&&q!==V,t=new Date(q),n=(0,m.Z)(H,t)&&(0,v.Z)(H,t),r=(0,h.Z)(t)&&!n;e&&r&&P(t)},[q,V,H]),(0,C.useEffect)(function(){if(!(0,l.le)(L.current)){var e=L.current,t=(0,i.t)(K.current),n=e<0?t[t.length+e]:t[e];L.current=null,requestAnimationFrame(function(){n&&(null==n||n.focus())})}},[H]);var er=(0,C.useCallback)(function(e){void 0!==f||U(e),null==O||O(e)},[f,O]),ea={};ea.onKeyDown=(0,C.useCallback)(function(e){var t,n,r=null==e?void 0:e.key,a=e.shiftKey,o=(0,i.t)(K.current),l=(0,u.vY)(e.target),c=function(e){var t=o.indexOf(l);if(!(t<0)){var n=t+e;if(n<0||n>=o.length){if(P(e<0?(0,g.Z)(H,1):(0,d.Z)(H,1)),n<0){L.current=n;var r=o[0];(null==r?void 0:r.tabIndex)<0&&(L.current-=7)}else if(n>=o.length){L.current=n-o.length;var a=o[o.length-1];(null==a?void 0:a.tabIndex)<0&&(L.current+=7)}return}var i=o[n];if(i){if((null==i?void 0:i.tabIndex)<0){P(e<0?(0,g.Z)(H,1):(0,d.Z)(H,1)),L.current=e<0?n-7:n+7-o.length;return}null==i||i.focus()}}};if("ArrowLeft"===r&&(c(-1),e.preventDefault()),"ArrowRight"===r&&(c(1),e.preventDefault()),"ArrowUp"===r&&(c(-7),e.preventDefault()),"ArrowDown"===r&&(c(7),e.preventDefault()),"Home"===r&&((t=o.find(function(e){return(null==e?void 0:e.tabIndex)>=0}))&&(null==t||t.focus()),e.preventDefault()),"End"===r&&((n=o.reverse().find(function(e){return(null==e?void 0:e.tabIndex)>=0}))&&(null==n||n.focus()),e.preventDefault()),"Tab"===r&&o.indexOf(l)>=0){a?o[0].focus():o[o.length-1].focus();return}},[H]),ea.onFocus=(0,C.useCallback)(function(e){var t=!!N.current,n=e.relatedTarget;if(t&&n&&!e.currentTarget.contains(n)){var r=new Date,a=q?(0,p.Z)(q):(0,p.Z)(r),o=(0,b.Z)((0,y.Z)(a),{weekStartsOn:D}),l=(0,c.Z)(a,o);L.current=l,P(a)}},[q,D]);var eo=ed({activeDate:H,date:q,firstDayOfWeek:D,formatDate:Y,maxDate:$,minDate:ee,onChange:er,setActiveDate:P,shouldDisableDate:z}),el=A({tabIndex:-1});return(0,W.tZ)(E,{value:eo,children:(0,W.BX)(G.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,tabIndex:-1},el),T),{},{children:[(0,W.tZ)(eu,{}),(0,W.tZ)(J,(0,r.Zj)({ref:K},ea))]}))})});ev.displayName="Calendar";var em=ev},84809:function(e,t,n){n.d(t,{q:function(){return u}});var r=n(53860),a=n(13409),o=n(42598),l=n(63063),i=n(4478),u=function(e,t){var n=(0,r.Zj)({},t),u=n.maxDate,c=n.minDate,d=n.shouldDisableDate;if(!(0,a.le)(e)){var f=new Date(e);return(0,i.Z)(f)?u&&c&&(0,l.Z)(u,c)?'"maxDate" must not be before "minDate"':u&&c&&((0,l.Z)(f,c)||(0,o.Z)(f,u))||u&&(0,o.Z)(f,u)||c&&(0,l.Z)(f,c)?"Invalid date range":(null==d?void 0:d(f))===!0?"Disabled date":void 0:"Invalid date"}}},6194:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(53860),a=n(2784),o=n(98827),l=n(52903),i=n(49857),u=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],c=(0,a.forwardRef)(function(e,t){var n=(0,o.Z)({props:e,name:"Grid"}),a=n.gap,c=n.rowGap,d=n.columnGap,f=n.column,s=n.row,Z=n.area,v=n.autoFlow,m=n.autoRows,h=n.autoColumns,p=n.templateRows,y=n.templateColumns,b=n.templateAreas,g=(0,r.Kd)(n,u);return(0,l.tZ)(i.Z,(0,r.Zj)({ref:t,display:"grid",gridGap:a,gridRowGap:c,gridColumnGap:d,gridColumn:f,gridRow:s,gridArea:Z,gridAutoFlow:v,gridAutoRows:m,gridAutoColumns:h,gridTemplateRows:p,gridTemplateColumns:y,gridTemplateAreas:b},g))});c.displayName="Grid";var d=c},3398:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(53860),a=n(2784),o=n(98827),l=n(70202),i=n(28729),u=n(40374),c=n(52737),d=n(52903),f=["size","variant","css"],s=(0,a.forwardRef)(function(e,t){var n,a,s=(0,o.Z)({props:e,name:"Input"}),Z=s.size,v=s.variant,m=s.css,h=(0,r.Kd)(s,f),p=(0,u.Z)(),y=(0,r.Zj)({},p),b=y.size,g=y.variant,x=null!==(n=null!=Z?Z:b)&&void 0!==n?n:c.zm,D=null!==(a=null!=v?v:g)&&void 0!==a?a:c.oD,C=p?[(0,i.zM)({variant:D}),m]:m,w=(0,i.zG)({size:x,variant:D});return(0,d.tZ)(l.Z,(0,r.Zj)((0,r.Zj)({ref:t,as:"input",css:C},w),h))});s.displayName="Input";var Z=s},67622:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(53860),a=n(2784),o=n(98827),l=n(70758),i=n(91334),u=n(52903),c=["size"],d=(0,a.forwardRef)(function(e,t){var n=(0,o.Z)({props:e,name:"TextLabel"}),a=n.size,d=(0,r.Kd)(n,c),f=(0,i.w)({size:a});return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)({as:"label",ref:t},f),d))});d.displayName="TextLabel";var f=d}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/2089-10835a27b5090118.js b/react/pr-947/_next/static/chunks/2089-10835a27b5090118.js new file mode 100644 index 0000000000..d4993c12a0 --- /dev/null +++ b/react/pr-947/_next/static/chunks/2089-10835a27b5090118.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2089],{96835:function(e,t,n){n.d(t,{Z:function(){return M}});var r=n(27216),l=n(40596),c=n(49857),o=n(73645),a=n(99870),u=n(62272),i=n(14594),d=n(65019),m=n(37384),f=n(99554),s=n(69111),v=n(5632),p=n(2784),h=n(65245);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},b=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,p.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,c,o,a=[],u=!0,i=!1;try{for(c=(n=n.call(e)).next;!(u=(r=c.call(n)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(e){i=!0,l=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(i)throw l}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return y(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],l=n[1];return{value:e,onCopy:function(){g(e),l(!0),setTimeout(function(){return l(!1)},1500)},hasCopied:r}},Z=n(63768),C=n(76761),E=n(73205),w=n(98107),x=n(44285),A=["component","defaultExpanded","expanded","file","sandbox"];function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,c,o,a=[],u=!0,i=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=c.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(e){i=!0,l=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(i)throw l}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}}}(e,A);var M=(0,v.useRouter)(),j=S((0,p.useReducer)(function(e){return!e},!1),2),O=j[0],R=j[1],I=(0,r.u)(),G=S((0,l.Z)(),1)[0],_={dark:C.y,light:C.q}[G],F=S((0,d.Z)(null!=g?g:void 0!==y&&y),2),T=F[0],q=F[1],N=b(null==z?void 0:z.data),H=N.onCopy,P=N.hasCopied,U=(0,p.useCallback)(function(){H()},[H]),X=(0,p.useCallback)(function(){(0,E.b)(k)},[k]),$=(0,p.useCallback)(function(){R(),q(!1)},[R,q]);return((0,p.useEffect)(function(){void 0!==g&&g!==T&&q(g)},[g,T,q]),n)?p.createElement(h.nu,{code:null==z?void 0:z.data,disabled:!0,language:"jsx",theme:_},p.createElement(c.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[G],p:"4x"},p.createElement(c.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:O},p.createElement(n,null)))),p.createElement(o.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(x.Z,{"data-track":T?"Code|hide_source|".concat((0,w.Z)({path:M.pathname})):"Code|show_source|".concat((0,w.Z)({path:M.pathname})),onClick:q},p.createElement(a.Z,{label:T?"Hide the source":"Show the source"},p.createElement(m.Z,null))),p.createElement(x.Z,{"data-track":"Code|copy_source|".concat((0,w.Z)({path:M.pathname})),onClick:U},p.createElement(a.Z,{label:P?"Copied":"Copy the source"},p.createElement(f.Z,null))),p.createElement(x.Z,{"data-track":"Code|edit_in_codesandbox|".concat(M.pathname),onClick:X},p.createElement(a.Z,{label:"Edit in CodeSandbox"},p.createElement(Z.Z,null))),p.createElement(x.Z,{"data-track":"Code|reset|".concat(M.pathname),onClick:$},p.createElement(a.Z,{label:"Reset the demo"},p.createElement(s.Z,null)))),p.createElement(u.Z,{in:T},p.createElement(i.Z,{in:T,unmountOnExit:!0},p.createElement(c.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==I?void 0:null===(t=I.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(h.nu,{code:null==z?void 0:z.data,disabled:!0,language:"jsx",theme:_},p.createElement(c.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};k.displayName="Demo";var M=k},10525:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(2784),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.useRef)(!1);t&&!n.current&&("function"==typeof e&&e(),n.current=!0)}},43116:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M15 9h-6v6h-2v-6h-6v-2h6v-6h2v6h6v2z"}),"AddIcon")},50397:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M6 14h4c0 1.105-0.895 2-2 2s-2-0.895-2-2v0zM15 12c-1.237-1.248-2.001-2.967-2.001-4.863 0-0.048 0-0.096 0.001-0.144l-0 0.007v-1c0-0 0-0.001 0-0.001 0-2.407-1.701-4.417-3.967-4.893l-0.033-0.006s0-0.1 0-0.1c0-0.552-0.448-1-1-1s-1 0.448-1 1v0s0 0.070 0 0.1c-2.299 0.482-4 2.492-4 4.899 0 0 0 0.001 0 0.001v-0 1c0.001 0.041 0.001 0.089 0.001 0.137 0 1.897-0.764 3.615-2.002 4.864l0.001-0.001v1h14v-1z"}),"AlertIcon")},99554:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},86299:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M1 9v-2h14v2h-14z"}),"MinusIcon")},69111:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},64940:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M4.687 8.398c-0.001 0.024-0.001 0.052-0.001 0.080 0 1.249 0.69 2.336 1.71 2.902l0.017 0.009c-0.087 0.491-0.295 0.923-0.592 1.278l0.003-0.004c-1.521-0.802-2.539-2.372-2.539-4.181 0-0.074 0.002-0.147 0.005-0.22v0.010c0.139-0.025 0.3-0.040 0.463-0.040 0.335 0 0.657 0.061 0.953 0.173l-0.019-0.006zM6.273 5.65c0.492-0.304 1.088-0.485 1.726-0.485s1.235 0.18 1.741 0.493l-0.014-0.008c0.359-0.3 0.637-0.687 0.802-1.128l0.006-0.019c-0.717-0.464-1.594-0.74-2.535-0.74s-1.817 0.276-2.553 0.751l0.019-0.011c0.171 0.46 0.449 0.846 0.804 1.143l0.004 0.003zM14.975 13.209l-0.123-0.071c-0.014-0.008-0.032-0.013-0.050-0.013-0.030 0-0.057 0.013-0.076 0.034v0c-0.612 0.678-1.493 1.102-2.474 1.102-1.838 0-3.328-1.49-3.328-3.328 0-0.512 0.116-0.998 0.323-1.431l-0.009 0.020c0.005-0.011 0.008-0.024 0.008-0.038 0-0.033-0.018-0.062-0.044-0.077v0l-0.441-0.254c-0.016-0.009-0.034-0.015-0.054-0.015-0.028 0-0.054 0.011-0.073 0.028v0c-0.055 0.050-0.116 0.095-0.183 0.131l-0.005 0.002-0.016 0.008c-0.019 0.010-0.038 0.019-0.057 0.028l-0.009 0.004c-0.022 0.009-0.043 0.018-0.066 0.025l-0.003 0.001c-0.041 0.014-0.091 0.027-0.142 0.036l-0.006 0.001-0.005 0.001q-0.035 0.005-0.069 0.008l-0.020 0.001c-0.018 0.001-0.037 0.002-0.055 0.002l-0.039-0.001-0.035-0.002c-0.018-0.002-0.037-0.004-0.055-0.007l-0.019-0.003c-0.021-0.003-0.042-0.008-0.063-0.013l-0.012-0.003c-0.021-0.005-0.042-0.011-0.063-0.018l-0.013-0.004c-0.019-0.007-0.038-0.014-0.057-0.022l-0.018-0.007c-0.017-0.007-0.034-0.016-0.050-0.024l-0.023-0.012c-0.070-0.039-0.131-0.083-0.186-0.133l0.001 0.001c-0.019-0.017-0.044-0.028-0.072-0.028-0.020 0-0.039 0.005-0.055 0.015v0l-0.441 0.254c-0.027 0.016-0.045 0.044-0.045 0.077 0 0.014 0.003 0.027 0.009 0.038v-0.001c0.198 0.413 0.314 0.899 0.314 1.411 0 1.838-1.49 3.328-3.328 3.328-0.981 0-1.862-0.424-2.472-1.099l-0.003-0.003c-0.019-0.021-0.046-0.034-0.076-0.034-0.019 0-0.036 0.005-0.051 0.014v0l-0.123 0.071c-0.022 0.012-0.037 0.035-0.037 0.062 0 0.016 0.005 0.030 0.014 0.042v0c0.845 1.050 2.13 1.716 3.57 1.716 1.363 0 2.586-0.596 3.424-1.542l0.004-0.005c0.842 0.95 2.065 1.546 3.428 1.546 1.441 0 2.725-0.666 3.564-1.707l0.007-0.009c0.009-0.012 0.014-0.026 0.014-0.042 0-0.027-0.015-0.050-0.037-0.062v0zM13.714 6.499c-0.398-0.234-0.86-0.415-1.351-0.517l-0.030-0.005c0.151-0.434 0.238-0.935 0.238-1.456 0-2.282-1.672-4.174-3.858-4.517l-0.026-0.003c-0.002 0-0.005-0.001-0.008-0.001-0.039 0-0.070 0.031-0.070 0.070 0 0.001 0 0.002 0 0.002v0 0.142c0 0.049 0.035 0.089 0.081 0.099h0.001c1.518 0.33 2.638 1.662 2.638 3.255 0 1.738-1.332 3.164-3.030 3.315l-0.013 0.001c-0.046 0.004-0.081 0.042-0.081 0.089 0 0 0 0 0 0v0 0.509c0 0 0 0 0 0 0 0.048 0.031 0.089 0.075 0.103h0.001c0.080 0.025 0.149 0.058 0.213 0.098l-0.004-0.002 0.015 0.009c0.018 0.011 0.035 0.023 0.052 0.036l0.008 0.006c0.019 0.014 0.037 0.029 0.055 0.044l0.002 0.002c0.038 0.034 0.073 0.070 0.104 0.108l0.001 0.002 0.003 0.004q0.022 0.027 0.042 0.056l0.011 0.016c0.010 0.015 0.020 0.031 0.029 0.047l0.018 0.034 0.016 0.032c0.008 0.017 0.015 0.034 0.022 0.051l0.008 0.019c0.008 0.020 0.014 0.040 0.020 0.060l0.004 0.012c0.006 0.021 0.011 0.042 0.015 0.063l0.003 0.013c0.004 0.020 0.007 0.040 0.009 0.060l0.003 0.019c0.002 0.018 0.003 0.037 0.004 0.055l0.001 0.026c0 0.007 0 0.015 0 0.023 0 0.072-0.008 0.143-0.024 0.21l0.001-0.006c-0.002 0.007-0.002 0.015-0.002 0.023 0 0.040 0.022 0.075 0.054 0.093h0.001l0.441 0.255c0.013 0.008 0.028 0.012 0.045 0.012 0.030 0 0.057-0.015 0.073-0.038v0c0.609-0.865 1.604-1.423 2.729-1.423 1.838 0 3.328 1.49 3.328 3.328 0 0.368-0.060 0.722-0.17 1.053l0.007-0.024c-0.003 0.010-0.005 0.021-0.005 0.032 0 0.037 0.020 0.070 0.050 0.088v0l0.123 0.071c0.011 0.007 0.023 0.011 0.037 0.011 0.029 0 0.053-0.017 0.064-0.042v0c0.198-0.493 0.314-1.065 0.314-1.664 0-1.683-0.909-3.154-2.264-3.947l-0.022-0.012zM9.587 11.388c0.087 0.491 0.295 0.923 0.592 1.278l-0.003-0.004c1.521-0.802 2.539-2.372 2.539-4.18 0-0.074-0.002-0.147-0.005-0.22v0.010c-0.139-0.025-0.3-0.040-0.463-0.040-0.335 0-0.656 0.061-0.953 0.173l0.019-0.006c0.001 0.024 0.001 0.052 0.001 0.080 0 1.249-0.69 2.336-1.71 2.902l-0.017 0.009zM2.084 8.051c0.477-0.28 1.051-0.446 1.664-0.446 1.125 0 2.12 0.558 2.722 1.413l0.007 0.011c0.016 0.023 0.043 0.038 0.073 0.038 0.016 0 0.032-0.004 0.045-0.012v0l0.441-0.255c0.033-0.019 0.054-0.054 0.054-0.094 0-0.008-0.001-0.016-0.003-0.024v0.001c-0.014-0.061-0.022-0.131-0.022-0.204 0-0.009 0-0.018 0-0.027v0.001l0.001-0.017c0.001-0.021 0.002-0.042 0.005-0.064l0.001-0.010c0.003-0.023 0.006-0.046 0.011-0.069l0.001-0.003c0.005-0.025 0.011-0.049 0.018-0.073v0q0.011-0.037 0.024-0.072l0.002-0.005c0.008-0.022 0.017-0.043 0.027-0.064l0.009-0.018c0.008-0.016 0.016-0.032 0.026-0.048l0.021-0.033 0.019-0.030c0.011-0.015 0.022-0.030 0.033-0.045l0.012-0.015c0.014-0.017 0.028-0.033 0.042-0.048l0.008-0.009c0.015-0.016 0.031-0.030 0.047-0.045l0.010-0.009c0.015-0.013 0.031-0.026 0.047-0.038l0.016-0.012c0.015-0.011 0.030-0.021 0.046-0.031l0.022-0.014c0.060-0.037 0.128-0.069 0.201-0.092l0.007-0.002c0.044-0.014 0.075-0.055 0.075-0.103 0 0 0 0 0 0v0-0.509c0 0 0 0 0 0 0-0.047-0.036-0.085-0.081-0.089v0c-1.711-0.151-3.043-1.578-3.043-3.315 0-1.593 1.12-2.925 2.615-3.251l0.022-0.004c0.047-0.010 0.081-0.051 0.081-0.099v-0.142c0-0.001 0-0.001 0-0.002 0-0.039-0.031-0.070-0.070-0.070-0.003 0-0.006 0-0.009 0.001v0c-2.212 0.346-3.884 2.238-3.884 4.52 0 0.521 0.087 1.022 0.248 1.488l-0.010-0.032c-2.106 0.437-3.666 2.278-3.666 4.482 0 0.599 0.115 1.17 0.324 1.694l-0.011-0.031c0.011 0.025 0.036 0.042 0.064 0.042 0.014 0 0.027-0.004 0.037-0.011v0l0.123-0.071c0.030-0.018 0.050-0.051 0.050-0.088 0-0.011-0.002-0.022-0.005-0.033v0.001c-0.103-0.307-0.163-0.661-0.163-1.029 0-1.225 0.662-2.296 1.648-2.874l0.016-0.008z"}),"VirusIcon")},6194:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(53860),l=n(2784),c=n(98827),o=n(52903),a=n(49857),u=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],i=(0,l.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Grid"}),l=n.gap,i=n.rowGap,d=n.columnGap,m=n.column,f=n.row,s=n.area,v=n.autoFlow,p=n.autoRows,h=n.autoColumns,y=n.templateRows,g=n.templateColumns,b=n.templateAreas,Z=(0,r.Kd)(n,u);return(0,o.tZ)(a.Z,(0,r.Zj)({ref:t,display:"grid",gridGap:l,gridRowGap:i,gridColumnGap:d,gridColumn:m,gridRow:f,gridArea:s,gridAutoFlow:v,gridAutoRows:p,gridAutoColumns:h,gridTemplateRows:y,gridTemplateColumns:g,gridTemplateAreas:b},Z))});i.displayName="Grid";var d=i}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/2089-96d72442565c4615.js b/react/pr-947/_next/static/chunks/2089-96d72442565c4615.js deleted file mode 100644 index c2f6e57de9..0000000000 --- a/react/pr-947/_next/static/chunks/2089-96d72442565c4615.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2089],{96835:function(e,t,n){n.d(t,{Z:function(){return M}});var r=n(27216),l=n(40596),c=n(49857),o=n(73645),a=n(99870),u=n(62272),i=n(14594),d=n(65019),m=n(37384),f=n(99554),s=n(69111),v=n(5632),p=n(2784),h=n(65245);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},b=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,p.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,c,o,a=[],u=!0,i=!1;try{for(c=(n=n.call(e)).next;!(u=(r=c.call(n)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(e){i=!0,l=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(i)throw l}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return y(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],l=n[1];return{value:e,onCopy:function(){g(e),l(!0),setTimeout(function(){return l(!1)},1500)},hasCopied:r}},Z=n(63768),C=n(76761),E=n(73205),w=n(98107),x=n(44285),k=["component","defaultExpanded","expanded","file","sandbox"];function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,c,o,a=[],u=!0,i=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=c.call(n)).done)&&(a.push(r.value),a.length!==t);u=!0);}catch(e){i=!0,l=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(i)throw l}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}}}(e,k);var M=(0,v.useRouter)(),j=A((0,p.useReducer)(function(e){return!e},!1),2),O=j[0],R=j[1],I=(0,r.u)(),G=A((0,l.Z)(),1)[0],_={dark:C.y,light:C.q}[G],F=A((0,d.Z)(null!=g?g:void 0!==y&&y),2),T=F[0],B=F[1],q=b(null==S?void 0:S.data),N=q.onCopy,H=q.hasCopied,P=(0,p.useCallback)(function(){N()},[N]),U=(0,p.useCallback)(function(){(0,E.b)(z)},[z]),X=(0,p.useCallback)(function(){R(),B(!1)},[R,B]);return((0,p.useEffect)(function(){void 0!==g&&g!==T&&B(g)},[g,T,B]),n)?p.createElement(h.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:_},p.createElement(c.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[G],p:"4x"},p.createElement(c.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:O},p.createElement(n,null)))),p.createElement(o.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(x.Z,{"data-track":T?"CodeBlock|hide_source|".concat((0,w.Z)({path:M.pathname})):"CodeBlock|show_source|".concat((0,w.Z)({path:M.pathname})),onClick:B},p.createElement(a.Z,{label:T?"Hide the source":"Show the source"},p.createElement(m.Z,null))),p.createElement(x.Z,{"data-track":"CodeBlock|copy_source|".concat((0,w.Z)({path:M.pathname})),onClick:P},p.createElement(a.Z,{label:H?"Copied":"Copy the source"},p.createElement(f.Z,null))),p.createElement(x.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(M.pathname),onClick:U},p.createElement(a.Z,{label:"Edit in CodeSandbox"},p.createElement(Z.Z,null))),p.createElement(x.Z,{"data-track":"CodeBlock|reset|".concat(M.pathname),onClick:X},p.createElement(a.Z,{label:"Reset the demo"},p.createElement(s.Z,null)))),p.createElement(u.Z,{in:T},p.createElement(i.Z,{in:T,unmountOnExit:!0},p.createElement(c.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==I?void 0:null===(t=I.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(h.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:_},p.createElement(c.Z,{as:h.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};z.displayName="Demo";var M=z},10525:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(2784),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.useRef)(!1);t&&!n.current&&("function"==typeof e&&e(),n.current=!0)}},43116:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M15 9h-6v6h-2v-6h-6v-2h6v-6h2v6h6v2z"}),"AddIcon")},50397:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M6 14h4c0 1.105-0.895 2-2 2s-2-0.895-2-2v0zM15 12c-1.237-1.248-2.001-2.967-2.001-4.863 0-0.048 0-0.096 0.001-0.144l-0 0.007v-1c0-0 0-0.001 0-0.001 0-2.407-1.701-4.417-3.967-4.893l-0.033-0.006s0-0.1 0-0.1c0-0.552-0.448-1-1-1s-1 0.448-1 1v0s0 0.070 0 0.1c-2.299 0.482-4 2.492-4 4.899 0 0 0 0.001 0 0.001v-0 1c0.001 0.041 0.001 0.089 0.001 0.137 0 1.897-0.764 3.615-2.002 4.864l0.001-0.001v1h14v-1z"}),"AlertIcon")},99554:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},86299:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M1 9v-2h14v2h-14z"}),"MinusIcon")},69111:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},64940:function(e,t,n){n.d(t,{Z:function(){return c}}),n(2784);var r=n(75928),l=n(52903),c=(0,r.Z)((0,l.tZ)("path",{d:"M4.687 8.398c-0.001 0.024-0.001 0.052-0.001 0.080 0 1.249 0.69 2.336 1.71 2.902l0.017 0.009c-0.087 0.491-0.295 0.923-0.592 1.278l0.003-0.004c-1.521-0.802-2.539-2.372-2.539-4.181 0-0.074 0.002-0.147 0.005-0.22v0.010c0.139-0.025 0.3-0.040 0.463-0.040 0.335 0 0.657 0.061 0.953 0.173l-0.019-0.006zM6.273 5.65c0.492-0.304 1.088-0.485 1.726-0.485s1.235 0.18 1.741 0.493l-0.014-0.008c0.359-0.3 0.637-0.687 0.802-1.128l0.006-0.019c-0.717-0.464-1.594-0.74-2.535-0.74s-1.817 0.276-2.553 0.751l0.019-0.011c0.171 0.46 0.449 0.846 0.804 1.143l0.004 0.003zM14.975 13.209l-0.123-0.071c-0.014-0.008-0.032-0.013-0.050-0.013-0.030 0-0.057 0.013-0.076 0.034v0c-0.612 0.678-1.493 1.102-2.474 1.102-1.838 0-3.328-1.49-3.328-3.328 0-0.512 0.116-0.998 0.323-1.431l-0.009 0.020c0.005-0.011 0.008-0.024 0.008-0.038 0-0.033-0.018-0.062-0.044-0.077v0l-0.441-0.254c-0.016-0.009-0.034-0.015-0.054-0.015-0.028 0-0.054 0.011-0.073 0.028v0c-0.055 0.050-0.116 0.095-0.183 0.131l-0.005 0.002-0.016 0.008c-0.019 0.010-0.038 0.019-0.057 0.028l-0.009 0.004c-0.022 0.009-0.043 0.018-0.066 0.025l-0.003 0.001c-0.041 0.014-0.091 0.027-0.142 0.036l-0.006 0.001-0.005 0.001q-0.035 0.005-0.069 0.008l-0.020 0.001c-0.018 0.001-0.037 0.002-0.055 0.002l-0.039-0.001-0.035-0.002c-0.018-0.002-0.037-0.004-0.055-0.007l-0.019-0.003c-0.021-0.003-0.042-0.008-0.063-0.013l-0.012-0.003c-0.021-0.005-0.042-0.011-0.063-0.018l-0.013-0.004c-0.019-0.007-0.038-0.014-0.057-0.022l-0.018-0.007c-0.017-0.007-0.034-0.016-0.050-0.024l-0.023-0.012c-0.070-0.039-0.131-0.083-0.186-0.133l0.001 0.001c-0.019-0.017-0.044-0.028-0.072-0.028-0.020 0-0.039 0.005-0.055 0.015v0l-0.441 0.254c-0.027 0.016-0.045 0.044-0.045 0.077 0 0.014 0.003 0.027 0.009 0.038v-0.001c0.198 0.413 0.314 0.899 0.314 1.411 0 1.838-1.49 3.328-3.328 3.328-0.981 0-1.862-0.424-2.472-1.099l-0.003-0.003c-0.019-0.021-0.046-0.034-0.076-0.034-0.019 0-0.036 0.005-0.051 0.014v0l-0.123 0.071c-0.022 0.012-0.037 0.035-0.037 0.062 0 0.016 0.005 0.030 0.014 0.042v0c0.845 1.050 2.13 1.716 3.57 1.716 1.363 0 2.586-0.596 3.424-1.542l0.004-0.005c0.842 0.95 2.065 1.546 3.428 1.546 1.441 0 2.725-0.666 3.564-1.707l0.007-0.009c0.009-0.012 0.014-0.026 0.014-0.042 0-0.027-0.015-0.050-0.037-0.062v0zM13.714 6.499c-0.398-0.234-0.86-0.415-1.351-0.517l-0.030-0.005c0.151-0.434 0.238-0.935 0.238-1.456 0-2.282-1.672-4.174-3.858-4.517l-0.026-0.003c-0.002 0-0.005-0.001-0.008-0.001-0.039 0-0.070 0.031-0.070 0.070 0 0.001 0 0.002 0 0.002v0 0.142c0 0.049 0.035 0.089 0.081 0.099h0.001c1.518 0.33 2.638 1.662 2.638 3.255 0 1.738-1.332 3.164-3.030 3.315l-0.013 0.001c-0.046 0.004-0.081 0.042-0.081 0.089 0 0 0 0 0 0v0 0.509c0 0 0 0 0 0 0 0.048 0.031 0.089 0.075 0.103h0.001c0.080 0.025 0.149 0.058 0.213 0.098l-0.004-0.002 0.015 0.009c0.018 0.011 0.035 0.023 0.052 0.036l0.008 0.006c0.019 0.014 0.037 0.029 0.055 0.044l0.002 0.002c0.038 0.034 0.073 0.070 0.104 0.108l0.001 0.002 0.003 0.004q0.022 0.027 0.042 0.056l0.011 0.016c0.010 0.015 0.020 0.031 0.029 0.047l0.018 0.034 0.016 0.032c0.008 0.017 0.015 0.034 0.022 0.051l0.008 0.019c0.008 0.020 0.014 0.040 0.020 0.060l0.004 0.012c0.006 0.021 0.011 0.042 0.015 0.063l0.003 0.013c0.004 0.020 0.007 0.040 0.009 0.060l0.003 0.019c0.002 0.018 0.003 0.037 0.004 0.055l0.001 0.026c0 0.007 0 0.015 0 0.023 0 0.072-0.008 0.143-0.024 0.21l0.001-0.006c-0.002 0.007-0.002 0.015-0.002 0.023 0 0.040 0.022 0.075 0.054 0.093h0.001l0.441 0.255c0.013 0.008 0.028 0.012 0.045 0.012 0.030 0 0.057-0.015 0.073-0.038v0c0.609-0.865 1.604-1.423 2.729-1.423 1.838 0 3.328 1.49 3.328 3.328 0 0.368-0.060 0.722-0.17 1.053l0.007-0.024c-0.003 0.010-0.005 0.021-0.005 0.032 0 0.037 0.020 0.070 0.050 0.088v0l0.123 0.071c0.011 0.007 0.023 0.011 0.037 0.011 0.029 0 0.053-0.017 0.064-0.042v0c0.198-0.493 0.314-1.065 0.314-1.664 0-1.683-0.909-3.154-2.264-3.947l-0.022-0.012zM9.587 11.388c0.087 0.491 0.295 0.923 0.592 1.278l-0.003-0.004c1.521-0.802 2.539-2.372 2.539-4.18 0-0.074-0.002-0.147-0.005-0.22v0.010c-0.139-0.025-0.3-0.040-0.463-0.040-0.335 0-0.656 0.061-0.953 0.173l0.019-0.006c0.001 0.024 0.001 0.052 0.001 0.080 0 1.249-0.69 2.336-1.71 2.902l-0.017 0.009zM2.084 8.051c0.477-0.28 1.051-0.446 1.664-0.446 1.125 0 2.12 0.558 2.722 1.413l0.007 0.011c0.016 0.023 0.043 0.038 0.073 0.038 0.016 0 0.032-0.004 0.045-0.012v0l0.441-0.255c0.033-0.019 0.054-0.054 0.054-0.094 0-0.008-0.001-0.016-0.003-0.024v0.001c-0.014-0.061-0.022-0.131-0.022-0.204 0-0.009 0-0.018 0-0.027v0.001l0.001-0.017c0.001-0.021 0.002-0.042 0.005-0.064l0.001-0.010c0.003-0.023 0.006-0.046 0.011-0.069l0.001-0.003c0.005-0.025 0.011-0.049 0.018-0.073v0q0.011-0.037 0.024-0.072l0.002-0.005c0.008-0.022 0.017-0.043 0.027-0.064l0.009-0.018c0.008-0.016 0.016-0.032 0.026-0.048l0.021-0.033 0.019-0.030c0.011-0.015 0.022-0.030 0.033-0.045l0.012-0.015c0.014-0.017 0.028-0.033 0.042-0.048l0.008-0.009c0.015-0.016 0.031-0.030 0.047-0.045l0.010-0.009c0.015-0.013 0.031-0.026 0.047-0.038l0.016-0.012c0.015-0.011 0.030-0.021 0.046-0.031l0.022-0.014c0.060-0.037 0.128-0.069 0.201-0.092l0.007-0.002c0.044-0.014 0.075-0.055 0.075-0.103 0 0 0 0 0 0v0-0.509c0 0 0 0 0 0 0-0.047-0.036-0.085-0.081-0.089v0c-1.711-0.151-3.043-1.578-3.043-3.315 0-1.593 1.12-2.925 2.615-3.251l0.022-0.004c0.047-0.010 0.081-0.051 0.081-0.099v-0.142c0-0.001 0-0.001 0-0.002 0-0.039-0.031-0.070-0.070-0.070-0.003 0-0.006 0-0.009 0.001v0c-2.212 0.346-3.884 2.238-3.884 4.52 0 0.521 0.087 1.022 0.248 1.488l-0.010-0.032c-2.106 0.437-3.666 2.278-3.666 4.482 0 0.599 0.115 1.17 0.324 1.694l-0.011-0.031c0.011 0.025 0.036 0.042 0.064 0.042 0.014 0 0.027-0.004 0.037-0.011v0l0.123-0.071c0.030-0.018 0.050-0.051 0.050-0.088 0-0.011-0.002-0.022-0.005-0.033v0.001c-0.103-0.307-0.163-0.661-0.163-1.029 0-1.225 0.662-2.296 1.648-2.874l0.016-0.008z"}),"VirusIcon")},6194:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(53860),l=n(2784),c=n(98827),o=n(52903),a=n(49857),u=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],i=(0,l.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Grid"}),l=n.gap,i=n.rowGap,d=n.columnGap,m=n.column,f=n.row,s=n.area,v=n.autoFlow,p=n.autoRows,h=n.autoColumns,y=n.templateRows,g=n.templateColumns,b=n.templateAreas,Z=(0,r.Kd)(n,u);return(0,o.tZ)(a.Z,(0,r.Zj)({ref:t,display:"grid",gridGap:l,gridRowGap:i,gridColumnGap:d,gridColumn:m,gridRow:f,gridArea:s,gridAutoFlow:v,gridAutoRows:p,gridAutoColumns:h,gridTemplateRows:y,gridTemplateColumns:g,gridTemplateAreas:b},Z))});i.displayName="Grid";var d=i}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/7882-9160f55740918538.js b/react/pr-947/_next/static/chunks/7882-f859c48ba5edf8bd.js similarity index 67% rename from react/pr-947/_next/static/chunks/7882-9160f55740918538.js rename to react/pr-947/_next/static/chunks/7882-f859c48ba5edf8bd.js index 3d0889444b..6981f09a97 100644 --- a/react/pr-947/_next/static/chunks/7882-9160f55740918538.js +++ b/react/pr-947/_next/static/chunks/7882-f859c48ba5edf8bd.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7882],{32726:function(e){var r=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&r.call(e,n)}},93352:function(e,r,n){var l=n(32726),i=n(1369);e.exports=function(e,r){return null!=e&&i(e,r,l)}},77882:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return Y}});var l=n(52322),i=n(45392),o=n(61619),t=n(34925),a=n(73645),s=n(70758),c=n(72448),d=n(69821),h=n(67622),u=n(49857),x=n(57999),g=n(20365),f=n(50397),y=n(26762),j=n(27216),m=n(40596),p=n(85017),v=n(6194),b=n(5081),Z=n(72579),w=n.n(Z),k=n(93352),S=n.n(k),O=n(2784),C=n(46943),T=["colorLabel","colorType","colorKey","colorTokens","colorValues"];function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);n=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,T),d=I((0,m.Z)(),1)[0],h=I((0,p.Z)({colorMode:d}),1)[0],x=null==h?void 0:null===(r=h.color)||void 0===r?void 0:r.primary,g=null==h?void 0:null===(n=h.color)||void 0===n?void 0:n.secondary,f=function(){var e={},r={dark:"gray:100",light:"white:emphasis"}[d],n={dark:"gray:70",light:"gray:20"}[d];if("gradient"===i){var l=I(a,2),o=l[0],s=l[1];return e.background="linear-gradient(45deg, ".concat(o,", ").concat(s,")"),e}return"shadow"===i?(e.backgroundColor=({dark:"gray:90",light:"white"})[d],e.boxShadow=a[0]):(e.backgroundColor=a[0],r===t[0]&&(e.border=1,e.borderColor=n)),e}();return O.createElement(u.Z,c,O.createElement(u.Z,z({maxWidth:120,height:120,px:"3x",mb:"4x"},f)),O.createElement(u.Z,{mb:"3x"},l&&O.createElement(s.Z,{color:x,fontSize:"md",lineHeight:"md",fontWeight:"semibold"},l)),t.length>0&&O.createElement(O.Fragment,null,O.createElement(o.Z,{direction:"row",spacing:"2x"},t.map(function(e){return e?O.createElement(C.Z,{key:e,variant:"solid",fontFamily:"mono",fontSize:"sm",lineHeight:"sm",mb:"1x"},e):null})),O.createElement(o.Z,{direction:"row",spacing:"2x",mb:"1x"},a.map(function(e){return O.createElement(s.Z,{key:e,color:g,fontFamily:"mono",fontSize:"sm",lineHeight:"sm"},e)}))))},N=["colorStyle","colorType"];function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);n=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,N),a=(0,j.u)(),s=G((0,m.Z)(),1)[0],c=G((0,p.Z)({colorMode:s}),1)[0],d=null!==(n=w()(i,o))&&void 0!==n?n:w()(c,o),h="object"===P(d)?Object.keys(d).map(function(e){var r,n=Array.isArray(d)?"":"".concat(o,".").concat(e),l=null!==(r=w()(i,"".concat(o,".").concat(e)))&&void 0!==r?r:w()(c,"".concat(o,".").concat(e)),t=(0,b.rY)(l).map(function(e){return S()(a,["colors",e])?e:null}),s=(0,b.rY)(l).map(function(e){var r;return null!==(r=w()(a,["colors",e]))&&void 0!==r?r:e});return Array.isArray(d)&&(e="#"+(Number(e)+1)),{colorLabel:n,colorType:o,colorKey:e,colorTokens:t,colorValues:s}}):[{colorLabel:o,colorType:o,colorKey:o,colorTokens:[S()(a,["colors",d])?d:null],colorValues:[null!==(r=w()(a,["colors",d]))&&void 0!==r?r:d]}];return O.createElement(v.Z,M({rowGap:"8x",columnGap:"12x",templateColumns:"repeat(auto-fill, minmax(".concat(180,"px, 1fr))")},t),h.map(function(e){var r=e.colorLabel,n=e.colorType,l=e.colorKey,i=e.colorTokens,o=e.colorValues;return O.createElement(A,{key:l,colorLabel:r,colorType:n,colorKey:l,colorTokens:i,colorValues:o})}))};function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);ne.length)&&(r=e.length);for(var n=0,l=Array(r);n\n \n \n );\n}\n"})}),"\n",(0,l.jsx)(r.p,{children:"The above setup is equivalent to:"}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{className:"language-jsx",children:"\n \n\n"})}),"\n",(0,l.jsxs)(r.h3,{id:"color-style-settings",children:["Color style settings",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#color-style-settings",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["To get the default color style settings, import ",(0,l.jsx)(r.code,{children:"colorStyle"})," as shown below:"]}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{children:"import { colorStyle } from '@tonic-ui/react';\n"})}),"\n",(0,l.jsx)(r.p,{children:"The full configuration is displayed below:"}),"\n",(0,l.jsx)(y.Z,{mb:"4x",children:(0,W.Z)($)}),"\n",(0,l.jsxs)(r.p,{children:["To manage color style in your application, you can use the ",(0,l.jsx)(r.a,{href:"../components/color-style/useColorStyle",children:"useColorStyle"})," hook."]}),"\n",(0,l.jsxs)(r.h3,{id:"overriding-color-style",children:["Overriding color style",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#overriding-color-style",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["To override default color style, you can create a color style object in accordance to the color mode, and pass the object to ",(0,l.jsx)(r.code,{children:"TonicProvider"})," with either the ",(0,l.jsx)(r.code,{children:"value"})," or the ",(0,l.jsx)(r.code,{children:"defaultValue"})," property."]}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{className:"language-jsx",children:"import { Box, TonicProvider, colorStyle } from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport React from 'react';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst App = () => (\n \n \n \n);\n"})}),"\n",(0,l.jsxs)(r.h2,{id:"default-color-values",children:["Default Color Values",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#default-color-values",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.h3,{id:"background",children:["Background",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#background",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"background"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"background"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"color",children:["Color",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#color",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"color"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"color"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"divider",children:["Divider",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#divider",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"divider"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"divider"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"text",children:["Text",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#text",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"text"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"text"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"shadow",children:["Shadow",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#shadow",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"shadow",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorType:"shadow",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"severity-deprecated",children:["Severity (deprecated)",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severity-deprecated",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(h.Z,{children:(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",mb:"2x",children:[(0,l.jsx)(f.Z,{})," DEPRECATION NOTICE"]})}),"\nThis color style have been deprecated since v2 and will be removed in the next major release. Please manually define ",(0,l.jsx)(r.a,{href:"#severity",children:"severity"})," colors to avoid breaking changes in the future."]}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"Here is the deprecated configuration for the severity:"}),"\n",(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"}},light:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"}}})}),"\n",(0,l.jsxs)(r.h3,{id:"chart-deprecated",children:["Chart (deprecated)",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#chart-deprecated",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(h.Z,{children:(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",mb:"2x",children:[(0,l.jsx)(f.Z,{})," DEPRECATION NOTICE"]})}),"\nThis color style have been deprecated since v2 and will be removed in the next major release. Please manually define ",(0,l.jsx)(r.a,{href:"#chart",children:"chart"})," colors to avoid breaking changes in the future."]}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"Here is the deprecated configuration for the chart:"}),"\n",(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},light:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}}})}),"\n",(0,l.jsxs)(r.h2,{id:"custom-color-values",children:["Custom Color Values",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#custom-color-values",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"The color values provided here are examples and are not defined in the color style system. You can customize your own color values as needed."}),"\n",(0,l.jsxs)(r.h3,{id:"notification",children:["Notification",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#notification",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"The purpose of notifications is to provide feedback to users regarding the success, information, warning, or error associated with their operations. They offer users insights into the outcomes of their actions."}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{notification:{success:"green:40",info:"blue:50",warning:"yellow:50",error:"red:50"}},light:{notification:{success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{notification:{success:"green:40",info:"blue:50",warning:"yellow:50",error:"red:50"}},colorType:"notification"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{notification:{success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"}},colorType:"notification"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"risk",children:["Risk",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#risk",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{align:"left",children:"Risk"}),(0,l.jsx)(r.th,{align:"left",children:"Risk Score"}),(0,l.jsx)(r.th,{align:"left",children:"Definition"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"High"}),(0,l.jsx)(r.td,{align:"left",children:"70-100"}),(0,l.jsx)(r.td,{align:"left",children:"Assigned to vulnerabilities or events with a risk score indicating high likelihood and significant potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Medium"}),(0,l.jsx)(r.td,{align:"left",children:"31-69"}),(0,l.jsx)(r.td,{align:"left",children:"Applied when the risk score indicates moderate likelihood and impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Low"}),(0,l.jsx)(r.td,{align:"left",children:"0-30"}),(0,l.jsx)(r.td,{align:"left",children:"Designated for vulnerabilities or events with a risk score indicating low likelihood and impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"None"}),(0,l.jsx)(r.td,{align:"left",children:"N/A"}),(0,l.jsx)(r.td,{align:"left",children:"Used when it's impossible to determine either the likelihood or potential impact."})]})]})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{risk:{high:"red:50",medium:"yellow:50",low:"green:40",none:"gray:50"}},light:{risk:{high:"red:60",medium:"yellow:50",low:"green:50",none:"gray:50"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{risk:{high:"red:50",medium:"yellow:50",low:"green:40",none:"gray:50"}},colorType:"risk"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{risk:{high:"red:60",medium:"yellow:50",low:"green:50",none:"gray:50"}},colorType:"risk"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"severity",children:["Severity",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severity",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["Severity represents the impact and seriousness of an event or situation. It is commonly utilized to assess the immediate consequences of a security incident. Severity is often classified using predefined scales such as ",(0,l.jsx)(r.code,{children:"Critical"}),", ",(0,l.jsx)(r.code,{children:"High"}),", ",(0,l.jsx)(r.code,{children:"Medium"}),", ",(0,l.jsx)(r.code,{children:"Low"}),", or ",(0,l.jsx)(r.code,{children:"Informational"}),"."]}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{align:"left",children:"Severity"}),(0,l.jsx)(r.th,{align:"left",children:"Definition"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Critical"}),(0,l.jsx)(r.td,{align:"left",children:"For the most severe security events with devastating potential consequences."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"High"}),(0,l.jsx)(r.td,{align:"left",children:"Designated for vulnerabilities or events with significant potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Medium"}),(0,l.jsx)(r.td,{align:"left",children:"Applied to events with a moderate impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Low"}),(0,l.jsx)(r.td,{align:"left",children:"Allocated to minor vulnerabilities or events with limited potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Informational"}),(0,l.jsx)(r.td,{align:"left",children:"Used for non-severe information and general guidance."})]})]})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",info:"gray:50"}},light:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",info:"gray:50"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",info:"gray:50"}},colorType:"severity"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",info:"gray:50"}},colorType:"severity"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"chart",children:["Chart",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#chart",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},light:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},colorType:"chart.classic.colors"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(q,{children:[(0,l.jsxs)(K,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}},colorType:"chart.classic.colors"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"gradient",children:["Gradient",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#gradient",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsx)(r.p,{children:"This color scheme is designed specifically for dark mode."}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{gradient:{severity:{high:["purple:60","red:50"],medium:["red:50","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:40"]},others:{1:["purple:50","magenta:40"],2:["purple:60","blue:50"],3:["blue:50","teal:40"],4:["cyan:40","teal:30"],5:["blue:60","teal:40"],6:["green:40","cyan:30"],7:["magenta:60","red:40"],8:["magenta:50","blue:60"]}}}})}),(0,l.jsxs)(q,{display:"flex",flexDirection:"column",rowGap:"8x",children:[(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(K,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Gradient - Severity"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{gradient:{high:["purple:60","red:50"],medium:["red:50","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:40"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(K,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Gradient - Others"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{gradient:{1:["purple:50","magenta:40"],2:["purple:60","blue:50"],3:["blue:50","teal:40"],4:["cyan:40","teal:30"],5:["blue:60","teal:40"],6:["green:40","cyan:30"],7:["magenta:60","red:40"],8:["magenta:50","blue:60"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})]})]}),"\n",(0,l.jsxs)(r.h3,{id:"blindness",children:["Blindness",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#blindness",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsx)(r.p,{children:"This color scheme is designed specifically for dark mode."}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(y.Z,{children:(0,W.Z)({dark:{blindness:{severity:{high:"magenta:60",medium:"orange:50",low:"yellow:50",safe:"green:30",info:"gray:50",unknown:"gray:50"},chart:{classic:{colors:["gray:50","blue:30","green:30","orange:50","cyan:30","magenta:60","purple:50","teal:40","purple:30","cyan:70","yellow:50"]}},gradient:{severity:{high:["purple:60","magenta:60"],medium:["magenta:60","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:30"]}}}}})}),(0,l.jsxs)(q,{display:"flex",flexDirection:"column",rowGap:"8x",children:[(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(K,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Severity"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{severity:{high:"magenta:60",medium:"orange:50",low:"yellow:50",safe:"green:30",info:"gray:50",unknown:"gray:50"}},colorType:"severity"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(K,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Chart"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{chart:{classic:{colors:["gray:50","blue:30","green:30","orange:50","cyan:30","magenta:60","purple:50","teal:40","purple:30","cyan:70","yellow:50"]}}},colorType:"chart.classic.colors"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(K,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Gradient"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(D,{colorStyle:{gradient:{high:["purple:60","magenta:60"],medium:["magenta:60","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:30"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})]})]})]})}var Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign({},(0,i.ah)(),e.components).wrapper;return r?(0,l.jsx)(r,Object.assign({},e,{children:(0,l.jsx)(Q,e)})):Q(e)}},26762:function(e,r,n){"use strict";var l=n(85017),i=n(49857),o=n(2784);function t(){return(t=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);ne.length)&&(r=e.length);for(var n=0,l=Array(r);n=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,I),d=A((0,v.Z)(),1)[0],h=A((0,b.Z)({colorMode:d}),1)[0],x=null==h?void 0:null===(r=h.color)||void 0===r?void 0:r.primary,g=null==h?void 0:null===(n=h.color)||void 0===n?void 0:n.secondary,f=function(){var e={},r={dark:"gray:100",light:"white:emphasis"}[d],n={dark:"gray:70",light:"gray:20"}[d];if("gradient"===i){var l=A(a,2),o=l[0],s=l[1];return e.background="linear-gradient(45deg, ".concat(o,", ").concat(s,")"),e}return"shadow"===i?(e.backgroundColor=({dark:"gray:90",light:"white"})[d],e.boxShadow=a[0]):(e.backgroundColor=a[0],r===t[0]&&(e.border=1,e.borderColor=n)),e}();return T.createElement(u.Z,c,T.createElement(u.Z,H({maxWidth:120,height:120,px:"3x",mb:"4x"},f)),T.createElement(u.Z,{mb:"3x"},l&&T.createElement(s.Z,{color:x,fontSize:"md",lineHeight:"md",fontWeight:"semibold"},l)),t.length>0&&T.createElement(T.Fragment,null,T.createElement(o.Z,{direction:"row",spacing:"2x"},t.map(function(e){return e?T.createElement(z.Z,{key:e,variant:"solid",fontFamily:"mono",fontSize:"sm",lineHeight:"sm",mb:"1x"},e):null})),T.createElement(o.Z,{direction:"row",spacing:"2x",mb:"1x"},a.map(function(e){return T.createElement(s.Z,{key:e,color:g,fontFamily:"mono",fontSize:"sm",lineHeight:"sm"},e)}))))},P=["colorStyle","colorType"];function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);n=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,P),a=(0,p.u)(),s=D((0,v.Z)(),1)[0],c=D((0,b.Z)({colorMode:s}),1)[0],d=null!==(n=S()(i,o))&&void 0!==n?n:S()(c,o),h="object"===E(d)?Object.keys(d).map(function(e){var r,n=Array.isArray(d)?"":"".concat(o,".").concat(e),l=null!==(r=S()(i,"".concat(o,".").concat(e)))&&void 0!==r?r:S()(c,"".concat(o,".").concat(e)),t=(0,w.rY)(l).map(function(e){return C()(a,["colors",e])?e:null}),s=(0,w.rY)(l).map(function(e){var r;return null!==(r=S()(a,["colors",e]))&&void 0!==r?r:e});return Array.isArray(d)&&(e="#"+(Number(e)+1)),{colorLabel:n,colorType:o,colorKey:e,colorTokens:t,colorValues:s}}):[{colorLabel:o,colorType:o,colorKey:o,colorTokens:[C()(a,["colors",d])?d:null],colorValues:[null!==(r=S()(a,["colors",d]))&&void 0!==r?r:d]}];return T.createElement(Z.Z,G({rowGap:"8x",columnGap:"12x",templateColumns:"repeat(auto-fill, minmax(".concat(180,"px, 1fr))")},t),h.map(function(e){var r=e.colorLabel,n=e.colorType,l=e.colorKey,i=e.colorTokens,o=e.colorValues;return T.createElement(M,{key:l,colorLabel:r,colorType:n,colorKey:l,colorTokens:i,colorValues:o})}))};function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);ne.length)&&(r=e.length);for(var n=0,l=Array(r);n\n \n \n );\n}\n"})}),"\n",(0,l.jsx)(r.p,{children:"The above setup is equivalent to:"}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{className:"language-jsx",children:"\n \n\n"})}),"\n",(0,l.jsxs)(r.h3,{id:"color-style-settings",children:["Color style settings",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#color-style-settings",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["To get the default color style settings, import ",(0,l.jsx)(r.code,{children:"colorStyle"})," as shown below:"]}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{children:"import { colorStyle } from '@tonic-ui/react';\n"})}),"\n",(0,l.jsx)(r.p,{children:"The full configuration is displayed below:"}),"\n",(0,l.jsx)($.Z,{mb:"4x",children:(0,W.Z)(m)}),"\n",(0,l.jsxs)(r.p,{children:["To manage color style in your application, you can use the ",(0,l.jsx)(r.a,{href:"../components/color-style/useColorStyle",children:"useColorStyle"})," hook."]}),"\n",(0,l.jsxs)(r.h3,{id:"overriding-color-style",children:["Overriding color style",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#overriding-color-style",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["To override default color style, you can create a color style object in accordance to the color mode, and pass the object to ",(0,l.jsx)(r.code,{children:"TonicProvider"})," with either the ",(0,l.jsx)(r.code,{children:"value"})," or the ",(0,l.jsx)(r.code,{children:"defaultValue"})," property."]}),"\n",(0,l.jsx)(r.pre,{children:(0,l.jsx)(r.code,{className:"language-jsx",children:"import { Box, TonicProvider, colorStyle } from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport React from 'react';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst App = () => (\n \n \n \n);\n"})}),"\n",(0,l.jsxs)(r.h2,{id:"default-color-values",children:["Default Color Values",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#default-color-values",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.h3,{id:"background",children:["Background",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#background",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"background"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"background"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"color",children:["Color",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#color",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"color"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"color"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"divider",children:["Divider",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#divider",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"divider"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"divider"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"text",children:["Text",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#text",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"text"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"text"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"shadow",children:["Shadow",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#shadow",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"shadow",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorType:"shadow",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"severity-deprecated",children:["Severity (deprecated)",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severity-deprecated",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(h.Z,{children:(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",mb:"2x",children:[(0,l.jsx)(f.Z,{})," DEPRECATION NOTICE"]})}),"\nThis color style have been deprecated since v2 and will be removed in the next major release. Please manually define ",(0,l.jsx)(r.a,{href:"#severity",children:"severity"})," colors to avoid breaking changes in the future."]}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"Here is the deprecated configuration for the severity:"}),"\n",(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"}},light:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"}}})}),"\n",(0,l.jsxs)(r.h3,{id:"chart-deprecated",children:["Chart (deprecated)",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#chart-deprecated",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(h.Z,{children:(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",mb:"2x",children:[(0,l.jsx)(f.Z,{})," DEPRECATION NOTICE"]})}),"\nThis color style have been deprecated since v2 and will be removed in the next major release. Please manually define ",(0,l.jsx)(r.a,{href:"#chart",children:"chart"})," colors to avoid breaking changes in the future."]}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"Here is the deprecated configuration for the chart:"}),"\n",(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},light:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}}})}),"\n",(0,l.jsxs)(r.h2,{id:"custom-color-values",children:["Custom Color Values",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#custom-color-values",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"The color values provided here are examples and are not defined in the color style system. You can customize your own color values as needed."}),"\n",(0,l.jsxs)(r.h3,{id:"notification",children:["Notification",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#notification",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"The purpose of notifications is to provide feedback to users regarding the success, information, warning, or error associated with their operations. They offer users insights into the outcomes of their actions."}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{notification:{success:"green:40",info:"blue:50",warning:"yellow:50",error:"red:50"}},light:{notification:{success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{notification:{success:"green:40",info:"blue:50",warning:"yellow:50",error:"red:50"}},colorType:"notification"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{notification:{success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"}},colorType:"notification"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"risk",children:["Risk",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#risk",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{align:"left",children:"Risk"}),(0,l.jsx)(r.th,{align:"left",children:"Risk Score"}),(0,l.jsx)(r.th,{align:"left",children:"Definition"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"High"}),(0,l.jsx)(r.td,{align:"left",children:"70-100"}),(0,l.jsx)(r.td,{align:"left",children:"Assigned to vulnerabilities or events with a risk score indicating high likelihood and significant potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Medium"}),(0,l.jsx)(r.td,{align:"left",children:"31-69"}),(0,l.jsx)(r.td,{align:"left",children:"Applied when the risk score indicates moderate likelihood and impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Low"}),(0,l.jsx)(r.td,{align:"left",children:"0-30"}),(0,l.jsx)(r.td,{align:"left",children:"Designated for vulnerabilities or events with a risk score indicating low likelihood and impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"None"}),(0,l.jsx)(r.td,{align:"left",children:"N/A"}),(0,l.jsx)(r.td,{align:"left",children:"Used when it's impossible to determine either the likelihood or potential impact."})]})]})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{risk:{high:"red:50",medium:"yellow:50",low:"green:40",none:"gray:50"}},light:{risk:{high:"red:60",medium:"yellow:50",low:"green:50",none:"gray:50"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{risk:{high:"red:50",medium:"yellow:50",low:"green:40",none:"gray:50"}},colorType:"risk"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{risk:{high:"red:60",medium:"yellow:50",low:"green:50",none:"gray:50"}},colorType:"risk"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"severity",children:["Severity",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severity",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.p,{children:["Severity represents the impact and seriousness of an event or situation. It is commonly utilized to assess the immediate consequences of a security incident. Severity is often classified using predefined scales such as ",(0,l.jsx)(r.code,{children:"Critical"}),", ",(0,l.jsx)(r.code,{children:"High"}),", ",(0,l.jsx)(r.code,{children:"Medium"}),", ",(0,l.jsx)(r.code,{children:"Low"}),", or ",(0,l.jsx)(r.code,{children:"Informational"}),"."]}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{align:"left",children:"Severity"}),(0,l.jsx)(r.th,{align:"left",children:"Definition"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Critical"}),(0,l.jsx)(r.td,{align:"left",children:"For the most severe security events with devastating potential consequences."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"High"}),(0,l.jsx)(r.td,{align:"left",children:"Designated for vulnerabilities or events with significant potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Medium"}),(0,l.jsx)(r.td,{align:"left",children:"Applied to events with a moderate impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Low"}),(0,l.jsx)(r.td,{align:"left",children:"Allocated to minor vulnerabilities or events with limited potential impact."})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{align:"left",children:"Informational"}),(0,l.jsx)(r.td,{align:"left",children:"Used for non-severe information and general guidance."})]})]})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",info:"gray:50"}},light:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",info:"gray:50"}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{severity:{critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",info:"gray:50"}},colorType:"severity"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{severity:{critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",info:"gray:50"}},colorType:"severity"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"chart",children:["Chart",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#chart",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},light:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}}})}),(0,l.jsx)(t.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(x.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Dark Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{chart:{classic:{colors:["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"]}}},colorType:"chart.classic.colors"})]})}),(0,l.jsx)(d.Z,{children:(0,l.jsxs)(_,{children:[(0,l.jsxs)(U,{children:[(0,l.jsxs)(a.Z,{alignItems:"center",columnGap:"2x",children:[(0,l.jsx)(g.Z,{size:"6x",color:"yellow:50"}),(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:"Light Mode"})]}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{chart:{classic:{colors:["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"]}}},colorType:"chart.classic.colors"})]})})]}),"\n",(0,l.jsxs)(r.h3,{id:"gradient",children:["Gradient",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#gradient",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsx)(r.p,{children:"This color scheme is designed specifically for dark mode."}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{gradient:{severity:{high:["purple:60","red:50"],medium:["red:50","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:40"]},others:{1:["purple:50","magenta:40"],2:["purple:60","blue:50"],3:["blue:50","teal:40"],4:["cyan:40","teal:30"],5:["blue:60","teal:40"],6:["green:40","cyan:30"],7:["magenta:60","red:40"],8:["magenta:50","blue:60"]}}}})}),(0,l.jsxs)(_,{display:"flex",flexDirection:"column",rowGap:"8x",children:[(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(U,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Gradient - Severity"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{gradient:{high:["purple:60","red:50"],medium:["red:50","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:40"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(U,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Gradient - Others"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{gradient:{1:["purple:50","magenta:40"],2:["purple:60","blue:50"],3:["blue:50","teal:40"],4:["cyan:40","teal:30"],5:["blue:60","teal:40"],6:["green:40","cyan:30"],7:["magenta:60","red:40"],8:["magenta:50","blue:60"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})]})]}),"\n",(0,l.jsxs)(r.h3,{id:"blindness",children:["Blindness",(0,l.jsx)(r.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#blindness",children:(0,l.jsx)(r.svg,{children:(0,l.jsx)(r.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,l.jsxs)(r.blockquote,{children:["\n",(0,l.jsx)(r.p,{children:"This color scheme is designed specifically for dark mode."}),"\n"]}),"\n",(0,l.jsx)(r.p,{children:"See the example configuration below:"}),"\n",(0,l.jsxs)(o.Z,{spacing:"4x",children:[(0,l.jsx)($.Z,{children:(0,W.Z)({dark:{blindness:{severity:{high:"magenta:60",medium:"orange:50",low:"yellow:50",safe:"green:30",info:"gray:50",unknown:"gray:50"},chart:{classic:{colors:["gray:50","blue:30","green:30","orange:50","cyan:30","magenta:60","purple:50","teal:40","purple:30","cyan:70","yellow:50"]}},gradient:{severity:{high:["purple:60","magenta:60"],medium:["magenta:60","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:30"]}}}}})}),(0,l.jsxs)(_,{display:"flex",flexDirection:"column",rowGap:"8x",children:[(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(U,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Severity"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{severity:{high:"magenta:60",medium:"orange:50",low:"yellow:50",safe:"green:30",info:"gray:50",unknown:"gray:50"}},colorType:"severity"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(U,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Chart"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{chart:{classic:{colors:["gray:50","blue:30","green:30","orange:50","cyan:30","magenta:60","purple:50","teal:40","purple:30","cyan:70","yellow:50"]}}},colorType:"chart.classic.colors"})]}),(0,l.jsxs)(u.Z,{children:[(0,l.jsxs)(U,{children:[(0,l.jsx)(s.Z,{fontSize:"lg",lineHeight:"lg",children:(0,l.jsx)(r.p,{children:"Blindness - Gradient"})}),(0,l.jsx)(c.Z,{my:"2x"})]}),(0,l.jsx)(L,{colorStyle:{gradient:{high:["purple:60","magenta:60"],medium:["magenta:60","orange:50"],low:["orange:50","yellow:50"],safe:["teal:50","green:30"]}},colorType:"gradient",templateColumns:"repeat(auto-fill, minmax(240px, 1fr))"})]})]})]})]})}var Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign({},(0,i.ah)(),e.components).wrapper;return r?(0,l.jsx)(r,Object.assign({},e,{children:(0,l.jsx)(Q,e)})):Q(e)}},34951:function(e,r,n){"use strict";var l=n(85017),i=n(70758),o=n(2784);function t(){return(t=Object.assign?Object.assign.bind():function(e){for(var r=1;re.length)&&(r=e.length);for(var n=0,l=Array(r);ne.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),r&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r))},y=function(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,m.useState)(!1))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],c=!0,u=!1;try{for(l=(r=r.call(e)).next;!(c=(n=l.call(r)).done)&&(a.push(n.value),2!==a.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return b(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],o=r[1];return{value:e,onCopy:function(){g(e),o(!0),setTimeout(function(){return o(!1)},1500)},hasCopied:n}},Z=r(63768),k=r(76761),w=r(73205),C=r(98107),j=r(44285),E=["component","defaultExpanded","expanded","file","sandbox"];function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],c=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}}(e,E);var S=(0,v.useRouter)(),T=x((0,m.useReducer)(function(e){return!e},!1),2),W=T[0],M=T[1],L=(0,n.u)(),O=x((0,o.Z)(),1)[0],z={dark:k.y,light:k.q}[O],A=x((0,s.Z)(null!=g?g:void 0!==b&&b),2),X=A[0],D=A[1],N=y(null==R?void 0:R.data),V=N.onCopy,B=N.hasCopied,P=(0,m.useCallback)(function(){V()},[V]),Y=(0,m.useCallback)(function(){(0,w.b)(H)},[H]),I=(0,m.useCallback)(function(){M(),D(!1)},[M,D]);return((0,m.useEffect)(function(){void 0!==g&&g!==X&&D(g)},[g,X,D]),r)?m.createElement(p.nu,{code:null==R?void 0:R.data,disabled:!0,language:"jsx",theme:z},m.createElement(l.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[O],p:"4x"},m.createElement(l.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:W},m.createElement(r,null)))),m.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(j.Z,{"data-track":X?"CodeBlock|hide_source|".concat((0,C.Z)({path:S.pathname})):"CodeBlock|show_source|".concat((0,C.Z)({path:S.pathname})),onClick:D},m.createElement(a.Z,{label:X?"Hide the source":"Show the source"},m.createElement(d.Z,null))),m.createElement(j.Z,{"data-track":"CodeBlock|copy_source|".concat((0,C.Z)({path:S.pathname})),onClick:P},m.createElement(a.Z,{label:B?"Copied":"Copy the source"},m.createElement(f.Z,null))),m.createElement(j.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(S.pathname),onClick:Y},m.createElement(a.Z,{label:"Edit in CodeSandbox"},m.createElement(Z.Z,null))),m.createElement(j.Z,{"data-track":"CodeBlock|reset|".concat(S.pathname),onClick:I},m.createElement(a.Z,{label:"Reset the demo"},m.createElement(h.Z,null)))),m.createElement(c.Z,{in:X},m.createElement(u.Z,{in:X,unmountOnExit:!0},m.createElement(l.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==L?void 0:null===(t=L.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(p.nu,{code:null==R?void 0:R.data,disabled:!0,language:"jsx",theme:z},m.createElement(l.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};H.displayName="Demo";var S=H},99554:function(e,t,r){r.d(t,{Z:function(){return l}}),r(2784);var n=r(75928),o=r(52903),l=(0,n.Z)((0,o.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,r){r.d(t,{Z:function(){return l}}),r(2784);var n=r(75928),o=r(52903),l=(0,n.Z)((0,o.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},743:function(e,t,r){r.d(t,{Z:function(){return T}});var n=r(53860),o=r(912),l=r(20325),i=r(56818),a=r(5081),c=r(2784),u=r(98827),s=r(40596),d=function(e){e.width;var t=e.height,r=e.minWidth,o=e.maxWidth,l=e.minHeight,i=e.maxHeight,a={overflowX:"hidden"===e.overflowX?"hidden":"scroll",overflowY:"hidden"===e.overflowY?"hidden":"scroll",minWidth:r,maxWidth:o,minHeight:l,maxHeight:i,WebkitOverflowScrolling:"touch"};return"auto"===t?(0,n.Zj)((0,n.Zj)({},a),{},{position:"relative"}):(0,n.Zj)((0,n.Zj)({},a),{},{position:"absolute",top:0,left:0,right:0,bottom:0})},f=function(e){var t=e.overflowX;return(0,n.Zj)((0,n.Zj)({position:"absolute",height:"2x",right:0,bottom:0,left:0,visibility:"hidden"},"auto"===t&&{transition:"opacity 200ms",opacity:0}),"hidden"===t&&{display:"none"})},h=function(e){var t=e.overflowY;return(0,n.Zj)((0,n.Zj)({position:"absolute",width:"2x",right:0,bottom:0,top:0,visibility:"hidden"},"auto"===t&&{transition:"opacity 200ms",opacity:0}),"hidden"===t&&{display:"none"})},v=function(e){var t=(0,s.Z)(),r=(0,n.ZQ)(t,1)[0];return{position:"relative",height:"100%",cursor:"pointer",backgroundColor:({dark:"white:disabled",light:"black:disabled"})[r],borderRadius:"inherit",border:1,borderColor:"transparent",_hover:{backgroundColor:({dark:"white:tertiary",light:"black:tertiary"})[r],borderColor:({dark:"white:secondary",light:"black:secondary"})[r]}}},m=function(e){var t=(0,s.Z)(),r=(0,n.ZQ)(t,1)[0];return{position:"relative",display:"block",width:"100%",cursor:"pointer",backgroundColor:({dark:"white:disabled",light:"black:disabled"})[r],borderRadius:"inherit",border:1,borderColor:"transparent",_hover:{backgroundColor:({dark:"white:tertiary",light:"black:tertiary"})[r],borderColor:({dark:"white:secondary",light:"black:secondary"})[r]}}},p=r(33558),b=function(e){var t=parseFloat(null==e?void 0:e.clientHeight)||0,r=t;try{var n=(0,p.Dx)(e),o=parseFloat(null==n?void 0:n.paddingTop),l=parseFloat(null==n?void 0:n.paddingBottom);r=(0,a.Nu)(t-o-l)}catch(e){}return r},g=function(e){var t=parseFloat(null==e?void 0:e.clientWidth)||0,r=t;try{var n=(0,p.Dx)(e),o=parseFloat(null==n?void 0:n.paddingLeft),l=parseFloat(null==n?void 0:n.paddingRight);r=(0,a.Nu)(t-o-l)}catch(e){}return r},y=r(30608),Z=r(52903),k=r(49857),w=["css"],C=(0,c.forwardRef)(function(e,t){var r=e.css,o=(0,n.Kd)(e,w);return r=[(0,y.Z)({"::-webkit-scrollbar":{display:"none"},msOverflowStyle:"none",scrollbarWidth:"none"}),r],(0,Z.tZ)(k.Z,(0,n.Zj)({ref:t,css:r},o))});C.displayName="ScrollView";var j=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-track":"horizontal",ref:t},e))});j.displayName="HorizontalTrack";var E=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-track":"vertical",ref:t},e))});E.displayName="VerticalTrack";var x=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-thumb":"horizontal",ref:t},e))});x.displayName="HorizontalThumb";var R=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-thumb":"vertical",ref:t},e))});R.displayName="VerticalThumb";var H=["children","width","height","minWidth","maxWidth","minHeight","maxHeight","minThumbWidth","minThumbHeight","onScroll","onUpdate","overflow","overflowX","overflowY","scrollLeft","scrollTop","scrollViewProps","scrollViewRef"],S=(0,c.forwardRef)(function(e,t){var r,s,p,y,w,S=(0,u.Z)({props:e,name:"Scrollbar"}),T=S.children,W=S.width,M=void 0===W?"auto":W,L=S.height,O=void 0===L?"auto":L,z=S.minWidth,A=S.maxWidth,X=S.minHeight,D=S.maxHeight,N=S.minThumbWidth,V=void 0===N?32:N,B=S.minThumbHeight,P=void 0===B?32:B,Y=S.onScroll,I=S.onUpdate,_=S.overflow,F=void 0===_?"auto":_,U=S.overflowX,K=S.overflowY,Q=S.scrollLeft,$=S.scrollTop,q=S.scrollViewProps,G=S.scrollViewRef,J=(0,n.Kd)(S,H),ee=U,et=K;ee=null!==(s=ee)&&void 0!==s?s:F,et=null!==(p=et)&&void 0!==p?p:F,"visible"===ee&&(ee="scroll"),"visible"===et&&(et="scroll"),ee=null!==(y=ee)&&void 0!==y?y:"auto",et=null!==(w=et)&&void 0!==w?w:"auto";var er=(0,o.Z)(),en=(0,c.useRef)(0),eo=(0,c.useRef)(0),el=(0,c.useRef)(0),ei=(0,c.useRef)(0),ea=(0,c.useState)(!1),ec=(0,n.ZQ)(ea,2),eu=ec[0],es=ec[1],ed=(0,c.useRef)(!1),ef=(0,c.useRef)(!1),eh=(0,c.useRef)(!1),ev=(0,c.useRef)(!1),em=(0,c.useRef)(0),ep=(0,c.useRef)(0),eb=(0,c.useRef)(null),eg=(0,c.useRef)(null),ey=(0,c.useRef)(null),eZ=(0,c.useRef)(null),ek=(0,c.useRef)(null),ew=(0,c.useRef)(null),eC=(0,l.Z)(eb,t),ej=(0,l.Z)(eg,G);(0,c.useEffect)(function(){eg.current&&void 0!==Q&&(eg.current.scrollLeft=Q)},[Q]),(0,c.useEffect)(function(){eg.current&&void 0!==$&&(eg.current.scrollTop=$)},[$]);var eE=function(){var e=eg.current||{},t=e.scrollLeft,r=void 0===t?0:t,n=e.scrollTop,o=void 0===n?0:n,l=e.scrollWidth,i=void 0===l?0:l,c=e.scrollHeight,u=void 0===c?0:c,s=e.clientWidth,d=void 0===s?0:s,f=e.clientHeight,h=void 0===f?0:f;return{left:(0,a.Un)(r/(i-d)),top:(0,a.Un)(o/(u-h)),scrollLeft:r,scrollTop:o,scrollWidth:i,scrollHeight:u,clientWidth:d,clientHeight:h}},ex=(0,c.useCallback)(function(e){if(er&&ey.current&&eZ.current){var t=eE(),r=t.scrollLeft,o=t.clientWidth,l=t.scrollWidth,i=eR(),a=eH(),c=t.scrollTop,u=t.clientHeight,s=t.scrollHeight,d=eS(),f=eT();ey.current.style.visibility=l>o?"visible":"hidden",eZ.current.style.visibility=s>u?"visible":"hidden",ek.current.style.width="".concat(a,"px"),ek.current.style.transform="translateX(".concat(l-o!=0?r/(l-o)*(i-a):0,"px)"),ew.current.style.height="".concat(f,"px"),ew.current.style.transform="translateY(".concat(s-u!=0?c/(s-u)*(d-f):0,"px)"),"function"==typeof I&&I((0,n.Zj)({values:t,hasHorizontalScrollbar:l>o,hasVerticalScrollbar:s>u},t)),"function"==typeof e&&e(t)}},[eR,eH,eS,eT,er,I]),eR=(0,c.useCallback)(function(){return ey.current?g(ey.current):0},[]),eH=(0,c.useCallback)(function(){var e=eg.current,t=e.clientWidth,r=e.scrollWidth;if(t===r)return 0;var n=eR();return Math.max((0,a.Un)(V),(0,a.Un)(Math.ceil(t/r*n)))},[eR,V]),eS=(0,c.useCallback)(function(){return eZ.current?b(eZ.current):0},[]),eT=(0,c.useCallback)(function(){var e=eg.current,t=e.clientHeight,r=e.scrollHeight;if(t===r)return 0;var n=eS();return Math.max((0,a.Un)(P),(0,a.Un)(Math.ceil(t/r*n)))},[eS,P]),eW=(0,c.useCallback)(function(){"scroll"!==ee&&ey.current&&(ey.current.style.opacity=0)},[ee]),eM=(0,c.useCallback)(function(){"scroll"!==et&&eZ.current&&(eZ.current.style.opacity=0)},[et]),eL=(0,c.useCallback)(function(){var e=ed.current,t=ef.current,r=eh.current,n=ev.current;e||t||r||n||(eW(),eM())},[eW,eM]),eO=(0,c.useCallback)(function(){"hidden"!==ee&&ey.current&&(ey.current.style.opacity=1)},[ee]),ez=(0,c.useCallback)(function(){"hidden"!==et&&eZ.current&&(eZ.current.style.opacity=1)},[et]),eA=(0,c.useCallback)(function(){eO(),ez()},[eO,ez]),eX=(0,c.useCallback)(function(e){var t=eg.current,r=t.scrollWidth,n=t.clientWidth;return e/(eR()-eH())*(r-n)},[eR,eH]),eD=(0,c.useCallback)(function(e){var t=eg.current,r=t.scrollHeight,n=t.clientHeight;return e/(eS()-eT())*(r-n)},[eS,eT]),eN=(0,c.useCallback)(function(e){if("function"==typeof Y&&Y(e),ex(function(e){var t=e.scrollLeft,r=e.scrollTop;en.current=t,eo.current=r}),!ef.current){ef.current=!0;var t=setInterval(function(){el.current===en.current&&ei.current===eo.current&&(clearInterval(t),ef.current=!1),el.current=en.current,ei.current=eo.current},100)}},[Y,ex]),eV=(0,c.useCallback)(function(e){var t=em.current,r=ep.current;if(t){var n=e.clientX,o=ey.current.getBoundingClientRect().left,l=eH();eg.current.scrollLeft=eX(-o+n-(l-t))}if(r){var i=e.clientY,a=eZ.current.getBoundingClientRect().top,c=eT();eg.current.scrollTop=eD(-a+i-(c-r))}return!1},[eH,eX,eT,eD]),eB=(0,c.useCallback)(function(){es(!0),ed.current=!0},[es]),eP=(0,c.useCallback)(function(){es(!1),ed.current=!1,em.current=0,ep.current=0,eL()},[es,eL]),eY=(0,c.useCallback)(function(){ev.current=!0,eA()},[eA]),eI=(0,c.useCallback)(function(){ev.current=!1,eL()},[eL]),e_=(0,c.useCallback)(function(){eh.current=!0,eA()},[eA]),eF=(0,c.useCallback)(function(){eh.current=!1,eL()},[eL]),eU=(0,c.useCallback)(function(e){e.preventDefault();var t=e.target,r=e.clientX,n=t.getBoundingClientRect().left,o=eH();eg.current.scrollLeft=eX(Math.abs(n-r)-o/2)},[eH,eX]),eK=(0,c.useCallback)(function(e){e.preventDefault();var t=e.target,r=e.clientY,n=t.getBoundingClientRect().top,o=eT();eg.current.scrollTop=eD(Math.abs(n-r)-o/2)},[eT,eD]),eQ=(0,c.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),eB();var t=e.target,r=e.clientX,n=t.offsetWidth,o=t.getBoundingClientRect().left;em.current=n-(r-o)},[eB]),e$=(0,c.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),eB();var t=e.target,r=e.clientY,n=t.offsetHeight,o=t.getBoundingClientRect().top;ep.current=n-(r-o)},[eB]);(0,c.useEffect)(function(){var e=function(e){e.preventDefault(),e.stopPropagation();var t=e.deltaY,r=eg.current.scrollTop;eg.current.scrollTop=r+t},t=function(e){e.preventDefault(),e.stopPropagation();var t=e.deltaX||e.deltaY,r=eg.current.scrollLeft;eg.current.scrollLeft=r+t},r=eZ.current,n=ey.current;return null==r||r.addEventListener("wheel",e,{passive:!1}),null==n||n.addEventListener("wheel",t,{passive:!1}),function(){null==r||r.removeEventListener("wheel",e),null==n||n.removeEventListener("wheel",t)}},[]),(0,c.useEffect)(function(){var e=ed.current;return e&&(document.addEventListener("mousemove",eV),document.addEventListener("mouseup",eP)),e||(document.removeEventListener("mousemove",eV),document.removeEventListener("mouseup",eP)),function(){document.removeEventListener("mousemove",eV),document.removeEventListener("mouseup",eP)}},[eu,eV,eP]);var eq=null==eb?void 0:eb.current;(0,c.useEffect)(function(){if(eq){ex();var e,t=null,r=null,n=null!==(e=globalThis.MutationObserver)&&void 0!==e?e:globalThis.WebKitMutationObserver,o=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(e){e.some(function(e){var t;return(null==e?void 0:e.type)!=="attributes"||"function"!=typeof(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.getAttribute)||!(e.target.getAttribute("data-scrollbar-track")||e.target.getAttribute("data-scrollbar-thumb"))})&&ex()})).observe(eq,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),void 0!==o&&(r=new o(function(e){ex()})).observe(eq),function(){t&&t.disconnect(),r&&r.disconnect()}}},[ex,eq]);var eG={position:"relative",overflow:"hidden",width:(r={width:M,height:O,minWidth:z,maxWidth:A,minHeight:X,maxHeight:D}).width,height:r.height,minWidth:r.minWidth,maxWidth:r.maxWidth,minHeight:r.minHeight,maxHeight:r.maxHeight},eJ=d({width:M,height:O,minWidth:z,maxWidth:A,minHeight:X,maxHeight:D,overflowX:ee,overflowY:et}),e0=f({overflowX:ee}),e1=h({overflowY:et}),e3=v(),e2=m(),e5=function(){return(0,n.Zj)((0,n.Zj)((0,n.Zj)({children:T},eJ),q),{},{ref:ej,onScroll:(0,i.N)(null==q?void 0:q.onScroll,eN),onMouseEnter:(0,i.N)(null==q?void 0:q.onMouseEnter,eY),onMouseLeave:(0,i.N)(null==q?void 0:q.onMouseLeave,eI)})},e9=function(){return(0,n.Zj)((0,n.Zj)({},e0),{},{ref:ey,onMouseDown:eU,onMouseEnter:e_,onMouseLeave:eF})},e7=function(){return(0,n.Zj)((0,n.Zj)({},e3),{},{ref:ek,onMouseDown:eQ})},e4=function(){return(0,n.Zj)((0,n.Zj)({},e1),{},{ref:eZ,onMouseDown:eK,onMouseEnter:e_,onMouseLeave:eF})},e8=function(){return(0,n.Zj)((0,n.Zj)({},e2),{},{ref:ew,onMouseDown:e$})};return"function"==typeof T?(0,Z.tZ)(k.Z,(0,n.Zj)((0,n.Zj)((0,n.Zj)({ref:eC},eG),J),{},{children:T({ScrollView:C,HorizontalTrack:j,HorizontalThumb:x,VerticalTrack:E,VerticalThumb:R,getScrollViewProps:e5,getHorizontalTrackProps:e9,getHorizontalThumbProps:e7,getVerticalTrackProps:e4,getVerticalThumbProps:e8})})):(0,Z.BX)(k.Z,(0,n.Zj)((0,n.Zj)((0,n.Zj)({ref:eC},eG),J),{},{children:[(0,Z.tZ)(C,(0,n.Zj)({},e5())),(0,Z.tZ)(j,(0,n.Zj)((0,n.Zj)({},e9()),{},{children:(0,Z.tZ)(x,(0,n.Zj)({},e7()))})),(0,Z.tZ)(E,(0,n.Zj)((0,n.Zj)({},e4()),{},{children:(0,Z.tZ)(R,(0,n.Zj)({},e8()))}))]}))});S.displayName="Scrollbar";var T=S}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/978-e84144ff1b3bad21.js b/react/pr-947/_next/static/chunks/978-e84144ff1b3bad21.js new file mode 100644 index 0000000000..b71a8e6978 --- /dev/null +++ b/react/pr-947/_next/static/chunks/978-e84144ff1b3bad21.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[978],{96835:function(e,t,r){r.d(t,{Z:function(){return S}});var n=r(27216),o=r(40596),l=r(49857),i=r(73645),a=r(99870),c=r(62272),u=r(14594),s=r(65019),d=r(37384),f=r(99554),h=r(69111),v=r(5632),m=r(2784),p=r(65245);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),r&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r))},y=function(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,m.useState)(!1))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],c=!0,u=!1;try{for(l=(r=r.call(e)).next;!(c=(n=l.call(r)).done)&&(a.push(n.value),2!==a.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return b(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],o=r[1];return{value:e,onCopy:function(){g(e),o(!0),setTimeout(function(){return o(!1)},1500)},hasCopied:n}},Z=r(63768),k=r(76761),w=r(73205),C=r(98107),j=r(44285),E=["component","defaultExpanded","expanded","file","sandbox"];function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],c=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}}(e,E);var S=(0,v.useRouter)(),T=x((0,m.useReducer)(function(e){return!e},!1),2),W=T[0],M=T[1],L=(0,n.u)(),O=x((0,o.Z)(),1)[0],z={dark:k.y,light:k.q}[O],A=x((0,s.Z)(null!=g?g:void 0!==b&&b),2),X=A[0],D=A[1],N=y(null==R?void 0:R.data),V=N.onCopy,P=N.hasCopied,Y=(0,m.useCallback)(function(){V()},[V]),I=(0,m.useCallback)(function(){(0,w.b)(H)},[H]),_=(0,m.useCallback)(function(){M(),D(!1)},[M,D]);return((0,m.useEffect)(function(){void 0!==g&&g!==X&&D(g)},[g,X,D]),r)?m.createElement(p.nu,{code:null==R?void 0:R.data,disabled:!0,language:"jsx",theme:z},m.createElement(l.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[O],p:"4x"},m.createElement(l.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:W},m.createElement(r,null)))),m.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(j.Z,{"data-track":X?"Code|hide_source|".concat((0,C.Z)({path:S.pathname})):"Code|show_source|".concat((0,C.Z)({path:S.pathname})),onClick:D},m.createElement(a.Z,{label:X?"Hide the source":"Show the source"},m.createElement(d.Z,null))),m.createElement(j.Z,{"data-track":"Code|copy_source|".concat((0,C.Z)({path:S.pathname})),onClick:Y},m.createElement(a.Z,{label:P?"Copied":"Copy the source"},m.createElement(f.Z,null))),m.createElement(j.Z,{"data-track":"Code|edit_in_codesandbox|".concat(S.pathname),onClick:I},m.createElement(a.Z,{label:"Edit in CodeSandbox"},m.createElement(Z.Z,null))),m.createElement(j.Z,{"data-track":"Code|reset|".concat(S.pathname),onClick:_},m.createElement(a.Z,{label:"Reset the demo"},m.createElement(h.Z,null)))),m.createElement(c.Z,{in:X},m.createElement(u.Z,{in:X,unmountOnExit:!0},m.createElement(l.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==L?void 0:null===(t=L.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(p.nu,{code:null==R?void 0:R.data,disabled:!0,language:"jsx",theme:z},m.createElement(l.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};H.displayName="Demo";var S=H},99554:function(e,t,r){r.d(t,{Z:function(){return l}}),r(2784);var n=r(75928),o=r(52903),l=(0,n.Z)((0,o.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,r){r.d(t,{Z:function(){return l}}),r(2784);var n=r(75928),o=r(52903),l=(0,n.Z)((0,o.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},743:function(e,t,r){r.d(t,{Z:function(){return T}});var n=r(53860),o=r(912),l=r(20325),i=r(56818),a=r(5081),c=r(2784),u=r(98827),s=r(40596),d=function(e){e.width;var t=e.height,r=e.minWidth,o=e.maxWidth,l=e.minHeight,i=e.maxHeight,a={overflowX:"hidden"===e.overflowX?"hidden":"scroll",overflowY:"hidden"===e.overflowY?"hidden":"scroll",minWidth:r,maxWidth:o,minHeight:l,maxHeight:i,WebkitOverflowScrolling:"touch"};return"auto"===t?(0,n.Zj)((0,n.Zj)({},a),{},{position:"relative"}):(0,n.Zj)((0,n.Zj)({},a),{},{position:"absolute",top:0,left:0,right:0,bottom:0})},f=function(e){var t=e.overflowX;return(0,n.Zj)((0,n.Zj)({position:"absolute",height:"2x",right:0,bottom:0,left:0,visibility:"hidden"},"auto"===t&&{transition:"opacity 200ms",opacity:0}),"hidden"===t&&{display:"none"})},h=function(e){var t=e.overflowY;return(0,n.Zj)((0,n.Zj)({position:"absolute",width:"2x",right:0,bottom:0,top:0,visibility:"hidden"},"auto"===t&&{transition:"opacity 200ms",opacity:0}),"hidden"===t&&{display:"none"})},v=function(e){var t=(0,s.Z)(),r=(0,n.ZQ)(t,1)[0];return{position:"relative",height:"100%",cursor:"pointer",backgroundColor:({dark:"white:disabled",light:"black:disabled"})[r],borderRadius:"inherit",border:1,borderColor:"transparent",_hover:{backgroundColor:({dark:"white:tertiary",light:"black:tertiary"})[r],borderColor:({dark:"white:secondary",light:"black:secondary"})[r]}}},m=function(e){var t=(0,s.Z)(),r=(0,n.ZQ)(t,1)[0];return{position:"relative",display:"block",width:"100%",cursor:"pointer",backgroundColor:({dark:"white:disabled",light:"black:disabled"})[r],borderRadius:"inherit",border:1,borderColor:"transparent",_hover:{backgroundColor:({dark:"white:tertiary",light:"black:tertiary"})[r],borderColor:({dark:"white:secondary",light:"black:secondary"})[r]}}},p=r(33558),b=function(e){var t=parseFloat(null==e?void 0:e.clientHeight)||0,r=t;try{var n=(0,p.Dx)(e),o=parseFloat(null==n?void 0:n.paddingTop),l=parseFloat(null==n?void 0:n.paddingBottom);r=(0,a.Nu)(t-o-l)}catch(e){}return r},g=function(e){var t=parseFloat(null==e?void 0:e.clientWidth)||0,r=t;try{var n=(0,p.Dx)(e),o=parseFloat(null==n?void 0:n.paddingLeft),l=parseFloat(null==n?void 0:n.paddingRight);r=(0,a.Nu)(t-o-l)}catch(e){}return r},y=r(30608),Z=r(52903),k=r(49857),w=["css"],C=(0,c.forwardRef)(function(e,t){var r=e.css,o=(0,n.Kd)(e,w);return r=[(0,y.Z)({"::-webkit-scrollbar":{display:"none"},msOverflowStyle:"none",scrollbarWidth:"none"}),r],(0,Z.tZ)(k.Z,(0,n.Zj)({ref:t,css:r},o))});C.displayName="ScrollView";var j=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-track":"horizontal",ref:t},e))});j.displayName="HorizontalTrack";var E=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-track":"vertical",ref:t},e))});E.displayName="VerticalTrack";var x=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-thumb":"horizontal",ref:t},e))});x.displayName="HorizontalThumb";var R=(0,c.forwardRef)(function(e,t){return(0,Z.tZ)(k.Z,(0,n.Zj)({"data-scrollbar-thumb":"vertical",ref:t},e))});R.displayName="VerticalThumb";var H=["children","width","height","minWidth","maxWidth","minHeight","maxHeight","minThumbWidth","minThumbHeight","onScroll","onUpdate","overflow","overflowX","overflowY","scrollLeft","scrollTop","scrollViewProps","scrollViewRef"],S=(0,c.forwardRef)(function(e,t){var r,s,p,y,w,S=(0,u.Z)({props:e,name:"Scrollbar"}),T=S.children,W=S.width,M=void 0===W?"auto":W,L=S.height,O=void 0===L?"auto":L,z=S.minWidth,A=S.maxWidth,X=S.minHeight,D=S.maxHeight,N=S.minThumbWidth,V=void 0===N?32:N,P=S.minThumbHeight,Y=void 0===P?32:P,I=S.onScroll,_=S.onUpdate,F=S.overflow,U=void 0===F?"auto":F,B=S.overflowX,K=S.overflowY,Q=S.scrollLeft,$=S.scrollTop,q=S.scrollViewProps,G=S.scrollViewRef,J=(0,n.Kd)(S,H),ee=B,et=K;ee=null!==(s=ee)&&void 0!==s?s:U,et=null!==(p=et)&&void 0!==p?p:U,"visible"===ee&&(ee="scroll"),"visible"===et&&(et="scroll"),ee=null!==(y=ee)&&void 0!==y?y:"auto",et=null!==(w=et)&&void 0!==w?w:"auto";var er=(0,o.Z)(),en=(0,c.useRef)(0),eo=(0,c.useRef)(0),el=(0,c.useRef)(0),ei=(0,c.useRef)(0),ea=(0,c.useState)(!1),ec=(0,n.ZQ)(ea,2),eu=ec[0],es=ec[1],ed=(0,c.useRef)(!1),ef=(0,c.useRef)(!1),eh=(0,c.useRef)(!1),ev=(0,c.useRef)(!1),em=(0,c.useRef)(0),ep=(0,c.useRef)(0),eb=(0,c.useRef)(null),eg=(0,c.useRef)(null),ey=(0,c.useRef)(null),eZ=(0,c.useRef)(null),ek=(0,c.useRef)(null),ew=(0,c.useRef)(null),eC=(0,l.Z)(eb,t),ej=(0,l.Z)(eg,G);(0,c.useEffect)(function(){eg.current&&void 0!==Q&&(eg.current.scrollLeft=Q)},[Q]),(0,c.useEffect)(function(){eg.current&&void 0!==$&&(eg.current.scrollTop=$)},[$]);var eE=function(){var e=eg.current||{},t=e.scrollLeft,r=void 0===t?0:t,n=e.scrollTop,o=void 0===n?0:n,l=e.scrollWidth,i=void 0===l?0:l,c=e.scrollHeight,u=void 0===c?0:c,s=e.clientWidth,d=void 0===s?0:s,f=e.clientHeight,h=void 0===f?0:f;return{left:(0,a.Un)(r/(i-d)),top:(0,a.Un)(o/(u-h)),scrollLeft:r,scrollTop:o,scrollWidth:i,scrollHeight:u,clientWidth:d,clientHeight:h}},ex=(0,c.useCallback)(function(e){if(er&&ey.current&&eZ.current){var t=eE(),r=t.scrollLeft,o=t.clientWidth,l=t.scrollWidth,i=eR(),a=eH(),c=t.scrollTop,u=t.clientHeight,s=t.scrollHeight,d=eS(),f=eT();ey.current.style.visibility=l>o?"visible":"hidden",eZ.current.style.visibility=s>u?"visible":"hidden",ek.current.style.width="".concat(a,"px"),ek.current.style.transform="translateX(".concat(l-o!=0?r/(l-o)*(i-a):0,"px)"),ew.current.style.height="".concat(f,"px"),ew.current.style.transform="translateY(".concat(s-u!=0?c/(s-u)*(d-f):0,"px)"),"function"==typeof _&&_((0,n.Zj)({values:t,hasHorizontalScrollbar:l>o,hasVerticalScrollbar:s>u},t)),"function"==typeof e&&e(t)}},[eR,eH,eS,eT,er,_]),eR=(0,c.useCallback)(function(){return ey.current?g(ey.current):0},[]),eH=(0,c.useCallback)(function(){var e=eg.current,t=e.clientWidth,r=e.scrollWidth;if(t===r)return 0;var n=eR();return Math.max((0,a.Un)(V),(0,a.Un)(Math.ceil(t/r*n)))},[eR,V]),eS=(0,c.useCallback)(function(){return eZ.current?b(eZ.current):0},[]),eT=(0,c.useCallback)(function(){var e=eg.current,t=e.clientHeight,r=e.scrollHeight;if(t===r)return 0;var n=eS();return Math.max((0,a.Un)(Y),(0,a.Un)(Math.ceil(t/r*n)))},[eS,Y]),eW=(0,c.useCallback)(function(){"scroll"!==ee&&ey.current&&(ey.current.style.opacity=0)},[ee]),eM=(0,c.useCallback)(function(){"scroll"!==et&&eZ.current&&(eZ.current.style.opacity=0)},[et]),eL=(0,c.useCallback)(function(){var e=ed.current,t=ef.current,r=eh.current,n=ev.current;e||t||r||n||(eW(),eM())},[eW,eM]),eO=(0,c.useCallback)(function(){"hidden"!==ee&&ey.current&&(ey.current.style.opacity=1)},[ee]),ez=(0,c.useCallback)(function(){"hidden"!==et&&eZ.current&&(eZ.current.style.opacity=1)},[et]),eA=(0,c.useCallback)(function(){eO(),ez()},[eO,ez]),eX=(0,c.useCallback)(function(e){var t=eg.current,r=t.scrollWidth,n=t.clientWidth;return e/(eR()-eH())*(r-n)},[eR,eH]),eD=(0,c.useCallback)(function(e){var t=eg.current,r=t.scrollHeight,n=t.clientHeight;return e/(eS()-eT())*(r-n)},[eS,eT]),eN=(0,c.useCallback)(function(e){if("function"==typeof I&&I(e),ex(function(e){var t=e.scrollLeft,r=e.scrollTop;en.current=t,eo.current=r}),!ef.current){ef.current=!0;var t=setInterval(function(){el.current===en.current&&ei.current===eo.current&&(clearInterval(t),ef.current=!1),el.current=en.current,ei.current=eo.current},100)}},[I,ex]),eV=(0,c.useCallback)(function(e){var t=em.current,r=ep.current;if(t){var n=e.clientX,o=ey.current.getBoundingClientRect().left,l=eH();eg.current.scrollLeft=eX(-o+n-(l-t))}if(r){var i=e.clientY,a=eZ.current.getBoundingClientRect().top,c=eT();eg.current.scrollTop=eD(-a+i-(c-r))}return!1},[eH,eX,eT,eD]),eP=(0,c.useCallback)(function(){es(!0),ed.current=!0},[es]),eY=(0,c.useCallback)(function(){es(!1),ed.current=!1,em.current=0,ep.current=0,eL()},[es,eL]),eI=(0,c.useCallback)(function(){ev.current=!0,eA()},[eA]),e_=(0,c.useCallback)(function(){ev.current=!1,eL()},[eL]),eF=(0,c.useCallback)(function(){eh.current=!0,eA()},[eA]),eU=(0,c.useCallback)(function(){eh.current=!1,eL()},[eL]),eB=(0,c.useCallback)(function(e){e.preventDefault();var t=e.target,r=e.clientX,n=t.getBoundingClientRect().left,o=eH();eg.current.scrollLeft=eX(Math.abs(n-r)-o/2)},[eH,eX]),eK=(0,c.useCallback)(function(e){e.preventDefault();var t=e.target,r=e.clientY,n=t.getBoundingClientRect().top,o=eT();eg.current.scrollTop=eD(Math.abs(n-r)-o/2)},[eT,eD]),eQ=(0,c.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),eP();var t=e.target,r=e.clientX,n=t.offsetWidth,o=t.getBoundingClientRect().left;em.current=n-(r-o)},[eP]),e$=(0,c.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),eP();var t=e.target,r=e.clientY,n=t.offsetHeight,o=t.getBoundingClientRect().top;ep.current=n-(r-o)},[eP]);(0,c.useEffect)(function(){var e=function(e){e.preventDefault(),e.stopPropagation();var t=e.deltaY,r=eg.current.scrollTop;eg.current.scrollTop=r+t},t=function(e){e.preventDefault(),e.stopPropagation();var t=e.deltaX||e.deltaY,r=eg.current.scrollLeft;eg.current.scrollLeft=r+t},r=eZ.current,n=ey.current;return null==r||r.addEventListener("wheel",e,{passive:!1}),null==n||n.addEventListener("wheel",t,{passive:!1}),function(){null==r||r.removeEventListener("wheel",e),null==n||n.removeEventListener("wheel",t)}},[]),(0,c.useEffect)(function(){var e=ed.current;return e&&(document.addEventListener("mousemove",eV),document.addEventListener("mouseup",eY)),e||(document.removeEventListener("mousemove",eV),document.removeEventListener("mouseup",eY)),function(){document.removeEventListener("mousemove",eV),document.removeEventListener("mouseup",eY)}},[eu,eV,eY]);var eq=null==eb?void 0:eb.current;(0,c.useEffect)(function(){if(eq){ex();var e,t=null,r=null,n=null!==(e=globalThis.MutationObserver)&&void 0!==e?e:globalThis.WebKitMutationObserver,o=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(e){e.some(function(e){var t;return(null==e?void 0:e.type)!=="attributes"||"function"!=typeof(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.getAttribute)||!(e.target.getAttribute("data-scrollbar-track")||e.target.getAttribute("data-scrollbar-thumb"))})&&ex()})).observe(eq,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),void 0!==o&&(r=new o(function(e){ex()})).observe(eq),function(){t&&t.disconnect(),r&&r.disconnect()}}},[ex,eq]);var eG={position:"relative",overflow:"hidden",width:(r={width:M,height:O,minWidth:z,maxWidth:A,minHeight:X,maxHeight:D}).width,height:r.height,minWidth:r.minWidth,maxWidth:r.maxWidth,minHeight:r.minHeight,maxHeight:r.maxHeight},eJ=d({width:M,height:O,minWidth:z,maxWidth:A,minHeight:X,maxHeight:D,overflowX:ee,overflowY:et}),e0=f({overflowX:ee}),e1=h({overflowY:et}),e3=v(),e2=m(),e5=function(){return(0,n.Zj)((0,n.Zj)((0,n.Zj)({children:T},eJ),q),{},{ref:ej,onScroll:(0,i.N)(null==q?void 0:q.onScroll,eN),onMouseEnter:(0,i.N)(null==q?void 0:q.onMouseEnter,eI),onMouseLeave:(0,i.N)(null==q?void 0:q.onMouseLeave,e_)})},e9=function(){return(0,n.Zj)((0,n.Zj)({},e0),{},{ref:ey,onMouseDown:eB,onMouseEnter:eF,onMouseLeave:eU})},e7=function(){return(0,n.Zj)((0,n.Zj)({},e3),{},{ref:ek,onMouseDown:eQ})},e4=function(){return(0,n.Zj)((0,n.Zj)({},e1),{},{ref:eZ,onMouseDown:eK,onMouseEnter:eF,onMouseLeave:eU})},e8=function(){return(0,n.Zj)((0,n.Zj)({},e2),{},{ref:ew,onMouseDown:e$})};return"function"==typeof T?(0,Z.tZ)(k.Z,(0,n.Zj)((0,n.Zj)((0,n.Zj)({ref:eC},eG),J),{},{children:T({ScrollView:C,HorizontalTrack:j,HorizontalThumb:x,VerticalTrack:E,VerticalThumb:R,getScrollViewProps:e5,getHorizontalTrackProps:e9,getHorizontalThumbProps:e7,getVerticalTrackProps:e4,getVerticalThumbProps:e8})})):(0,Z.BX)(k.Z,(0,n.Zj)((0,n.Zj)((0,n.Zj)({ref:eC},eG),J),{},{children:[(0,Z.tZ)(C,(0,n.Zj)({},e5())),(0,Z.tZ)(j,(0,n.Zj)((0,n.Zj)({},e9()),{},{children:(0,Z.tZ)(x,(0,n.Zj)({},e7()))})),(0,Z.tZ)(E,(0,n.Zj)((0,n.Zj)({},e4()),{},{children:(0,Z.tZ)(R,(0,n.Zj)({},e8()))}))]}))});S.displayName="Scrollbar";var T=S}}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/_app-307af215cd855630.js b/react/pr-947/_next/static/chunks/pages/_app-f5da24ee7fe83ee2.js similarity index 99% rename from react/pr-947/_next/static/chunks/pages/_app-307af215cd855630.js rename to react/pr-947/_next/static/chunks/pages/_app-f5da24ee7fe83ee2.js index 0fb1e75802..24a9cfada2 100644 --- a/react/pr-947/_next/static/chunks/pages/_app-307af215cd855630.js +++ b/react/pr-947/_next/static/chunks/pages/_app-f5da24ee7fe83ee2.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888,9050],{15312:function(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,i,a,s,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(o=this._events[e]))return!1;if(n(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),o.apply(this,a)}else if(r(o))for(s=0,a=Array.prototype.slice.call(arguments,1),i=(c=o.slice()).length;s0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(e,o),r||(r=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},t.prototype.removeListener=function(e,t){var o,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(o=this._events[e]).length,i=-1,o===t||n(o.listener)&&o.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(o)){for(s=a;s-- >0;)if(o[s]===t||o[s].listener&&o[s].listener===t){i=s;break}if(i<0)return this;1===o.length?(o.length=0,delete this._events[e]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},2107:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+w:s(w,/&\f/g,m[x])).trim())&&(f[k++]=_);return b(e,t,n,0===i?A:u,f,p,d)}function F(e,t,n,r){return b(e,t,n,R,l(e,0,r),l(e,r+1,-1),r)}var L=function(e,t,n){for(var r=0,o=0;r=o,o=w(),38===r&&12===o&&(t[n]=1),!_(o);)x();return l(v,e,g)},M=function(e,t){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(t[n]=1),e[n]+=L(g-1,t,n);break;case 2:e[n]+=O(r);break;case 4:if(44===r){e[++n]=58===w()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}while(r=x());return e},D=function(e,t){var n;return n=M(S(e),t),v="",n},B=new WeakMap,z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(n))&&!r){B.set(e,!0);for(var o=[],i=D(t,o),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case R:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+j+t+E+t+t;case 6828:case 4268:return T+t+E+t+t;case 6165:return T+t+E+"flex-"+t+t;case 5187:return T+t+s(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return T+t+E+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return T+t+E+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+E+s(t,"shrink","negative")+t;case 5292:return T+t+E+s(t,"basis","preferred-size")+t;case 6060:return T+"box-"+s(t,"-grow","")+T+t+E+s(t,"grow","positive")+t;case 4554:return T+s(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+j+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(s(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return s(t,":",":"+T)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===u(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+E+t+t}return t}(e.value,e.length);break;case I:return P([k(e,{value:s(e.value,"@","@"+T)})],r);case A:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return P([k(e,{props:[s(t,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return P([k(e,{props:[s(t,/:(plac\w+)/,":"+T+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+j+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,E+"input-$1")]})],r)}return""},o.map(i).join("")}}}],H=function(e){var t,n,o,a,m,k,E=e.key;if("css"===E){var j=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(j,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var T=e.stylisPlugins||U,A={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+E+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(Z);break;case 92:q+=function(e,t){for(var n;--t&&x()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=g+(t<6&&32==w()&&32==x()),l(v,e,n)}(g-1,7);continue;case 47:switch(w()){case 42:case 47:p(b(j=function(e,t){for(;x();)if(e+y===57)break;else if(e+y===84&&47===w())break;return"/*"+l(v,t,g-1)+"*"+i(47===e?e:x())}(x(),g),n,r,C,i(y),l(j,2,-2),0),E);break;default:q+="/"}break;case 123*L:S[T++]=f(q)*D;case 125*L:case 59:case 0:switch(B){case 0:case 125:M=0;case 59+A:-1==D&&(q=s(q,/\f/g,"")),P>0&&f(q)-R&&p(P>32?F(q+";",o,r,R-1):F(s(q," ","")+";",o,r,R-2),E);break;case 59:q+=";";default:if(p(H=N(q,n,r,T,A,a,S,z,$=[],U=[],R),m),123===B){if(0===A)e(q,n,H,H,$,m,R,S,U);else switch(99===I&&110===u(q,3)?100:I){case 100:case 108:case 109:case 115:e(t,H,H,o&&p(N(t,H,H,0,0,a,S,z,a,$=[],R),U),a,U,R,S,o?$:U);break;default:e(q,H,H,H,[""],U,0,S,U)}}}T=A=P=0,L=D=1,z=q="",R=k;break;case 58:R=1+f(q),P=Z;default:if(L<1){if(123==B)--L;else if(125==B&&0==L++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,d--),y))continue}switch(q+=i(B),B*L){case 38:D=A>0?1:(q+="\f",-1);break;case 44:S[T++]=(f(q)-1)*D,D=1;break;case 64:45===w()&&(q+=O(x())),I=w(),A=R=f(z=q+=function(e){for(;!_(w());)x();return l(v,e,g)}(g)),B++;break;case 45:45===Z&&2==f(q)&&(L=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",n),I)};m=function(e,t,n,r){k=n,L(e?e+"{"+t.styles+"}":t.styles),r&&(M.inserted[t.name]=!0)};var M={key:E,sheet:new r({key:E,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:m};return M.sheet.hydrate(R),M}},86015:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(86894),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},27216:function(e,t,n){"use strict";n.d(t,{C:function(){return d},E:function(){return w},T:function(){return m},a:function(){return v},c:function(){return k},h:function(){return f},i:function(){return l},u:function(){return g},w:function(){return h}});var r=n(2784),o=n(2107),i=n(7896),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(82792),c=n(40653),u=n(82668),l=!0,f={}.hasOwnProperty,p=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),d=p.Provider,h=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(p),n)})};l||(h=function(e){return function(t){var n=(0,r.useContext)(p);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(p.Provider,{value:n},e(t,n))):e(t,n)}});var m=r.createContext({}),g=function(){return r.useContext(m)},y=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),v=function(e){var t=r.useContext(m);return e.theme!==t&&(t=y(t)(e.theme)),r.createElement(m.Provider,{value:t},e.children)},b="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",k=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[b]=e,n},x=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},w=h(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[b],a=[o],u="";"string"==typeof e.className?u=(0,s.fp)(t.registered,a,e.className):null!=e.className&&(u=e.className+" ");var l=(0,c.O)(a,void 0,r.useContext(m));u+=t.key+"-"+l.name;var p={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==b&&(p[d]=e[d]);return p.ref=n,p.className=u,r.createElement(r.Fragment,null,r.createElement(x,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,p))})},28165:function(e,t,n){"use strict";n.d(t,{F4:function(){return l},iv:function(){return u},xB:function(){return c}});var r=n(27216),o=n(2784),i=n(82792),a=n(82668),s=n(40653);n(2107),n(73463);var c=(0,r.w)(function(e,t){var n=e.styles,c=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,l=c.name,f=c.styles,p=c.next;void 0!==p;)l+=" "+p.name,f+=p.styles,p=p.next;var d=!0===t.compat,h=t.insert("",{name:l,styles:f},t.sheet,d);return d?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+l,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}},[t]),(0,a.j)(function(){var e=m.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,i.My)(t,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",c,n,!1)},[t,c.name]),null});function u(){for(var e=arguments.length,t=Array(e),n=0;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:r}}},92952:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7896),o=n(2784),i=n(86015),a=n(27216),s=n(82792),c=n(40653),u=n(82668),l=i.Z,f=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:f},d=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},m=function e(t,n){var i,u,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,u=n.target);var m=d(t,n,l),g=m||p(f),y=!g("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var k=v.length,x=1;x=0&&!(e[t].length>0);n=t,t--);n=0&&!(t>=e[r][0]);n=r--);return n}(m,o);if(!i){if(e&&(0===g||1===m[g-1].length))return;return s(m,g,[o])}let y=t.put(p,i),v=u?t.put(h,u):-1;if(y===d.length&&(d[y]=null!=l?l:null),!(e&&function(e,t,n,r,o,i){if(0===t)return!1;let a=e[t-1];return 1!==a.length&&n===a[1]&&r===a[2]&&o===a[3]&&i===(5===a.length?a[4]:-1)}(m,g,y,a,c,v)))return s(m,g,u?[o,y,a,c,v]:[o,y,a,c])}function s(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function c(e,n){for(let r=0;rnull),n._mappings=r.decodedMappings(t),t.ignoreList&&c(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,n,r,o,i,s,c)=>a(!0,e,t,n,r,o,i,s,c),e.setIgnore=function(e,n,r=!0){let{_sources:o,_sourcesContent:i,_ignoreList:a}=e,s=t.put(o,n);s===i.length&&(i[s]=null),r?t.put(a,s):t.remove(a,s)},e.setSourceContent=function(e,n,r){let{_sources:o,_sourcesContent:i}=e;i[t.put(o,n)]=r},e.toDecodedMap=i,e.toEncodedMap=function(e){let t=i(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(89078),n(95342),n(21076))},82336:function(e){var t;t=function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function o(e){return/^[.?#]/.test(e)}function i(e){let n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,r,o,i,a){return{scheme:e,user:t,host:n,port:r,path:o,query:i,hash:a,type:7}}function s(t){if(t.startsWith("//")){let e=i("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){let e=i("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(t.startsWith("file:"))return function(e){let t=n.exec(e),o=t[2];return a("file:","",t[1]||"","",r(o)?o:"/"+o,t[3]||"",t[4]||"")}(t);if(e.test(t))return i(t);let o=i("http://foo.com/"+t);return o.scheme="",o.host="",o.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,o}function c(e,t){let n=t<=4,r=e.path.split("/"),o=1,i=0,a=!1;for(let e=1;er&&(r=o)}c(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);if(!r)return i||".";if(o(t||e)&&!o(r))return"./"+r+i;return r+i}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}},e.exports=t()},89078:function(e,t){!function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(e,t){return e._indexes[t]}e.SetArray=t,e.get=n,e.pop=function(e){let{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,t){let r=n(e,t);if(void 0!==r)return r;let{array:o,_indexes:i}=e,a=o.push(t);return i[t]=a-1},e.remove=function(e,t){let r=n(e,t);if(void 0===r)return;let{array:o,_indexes:i}=e;for(let e=r+1;er.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=1,c&&(i=-2147483648|-i),n[r]+=i,t}function s(e,t,n){return!(t>=n)&&44!==e.charCodeAt(t)}function c(e,t){return e[0]-t[0]}function u(e,t,r,o,i){let a=o[i],s=a-r[i];r[i]=a,s=s<0?-s<<1|1:s<<1;do{let r=31&s;(s>>>=5)>0&&(r|=32),e[t++]=n[r]}while(s>0);return t}e.decode=function(e){let t=new Int32Array(5),n=[],r=0;do{let o=function(e,t){let n=e.indexOf(";",t);return -1===n?e.length:n}(e,r),i=[],u=!0,l=0;t[0]=0;for(let n=r;n0&&(16384===o&&(a+=i.decode(n),o=0),n[o++]=59),0!==c.length){t[0]=0;for(let e=0;e16348&&(a+=i.decode(r),n.copyWithin(0,16348,o),o-=16348),e>0&&(n[o++]=44),o=u(n,o,t,s,0),1!==s.length&&(o=u(n,o,t,s,1),o=u(n,o,t,s,2),o=u(n,o,t,s,3),4!==s.length&&(o=u(n,o,t,s,4)))}}}return a+i.decode(n.subarray(0,o))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},21076:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function o(e,t){for(let n=t;n=0&&e[r][0]===t;n=r--);return n}function u(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function l(e,t,n,r){let{lastKey:o,lastNeedle:i,lastIndex:s}=n,c=0,u=e.length-1;if(r===o){if(t===i)return a=-1!==s&&e[s][0]===t,s;t>=i?c=-1===s?0:s:u=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let o=n+(r-n>>1),i=e[o][0]-t;if(0===i)return a=!0,o;i<0?n=o+1:r=o-1}return a=!1,n-1}(e,t,c,u)}function f(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function d(e,t){for(let n=0;nr(e||"",h));let{mappings:m}=a;"string"==typeof m?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let n=o(e,0);if(n===e.length)return e;t||(e=e.slice());for(let a=n;at;n--)e[n]=e[n-1];e[t]=n}(p,h,[u,r,i[0]])}}return n}(v(e),e._bySourceMemos=p.map(u))))[g][n];if(null==y)return i?[]:_(null,null);let b=e._bySourceMemos[g];if(i)return function(e,t,n,r,o){let i=S(e,t,n,r,1);if(!a&&-1===o&&i++,-1===i||i===e.length)return[];let u=a?r:e[i][0];a||(i=c(e,u,i));let l=s(e,u,i),f=[];for(;i<=l;i++){let t=e[i];f.push(_(t[1]+1,t[2]))}return f}(y,b,n,r,o);let k=S(y,b,n,r,o);if(-1===k)return _(null,null);let x=y[k];return _(x[1]+1,x[2])}e.AnyMap=function(e,t){let n=p(e);if(!("sections"in n))return new g(n,t);let r=[],o=[],i=[],a=[],s=[];return function e(t,n,r,o,i,a,s,c,u,l,f){let{sections:h}=t;for(let t=0;tl)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),o=0===e?u:0,i=k[e];for(let e=0;e=f)return;if(1===r.length){n.push([a]);continue}let s=y+r[1],c=r[2],u=r[3];n.push(4===r.length?[a,s,c,u]:[a,s,c,u,b+r[4]])}}})(m,n,r,o,i,a,s,c+y.line,u+y.column,b,k)}}(n,t,r,o,i,a,s,0,0,1/0,1/0),k({version:3,file:n.file,names:a,sources:o,sourcesContent:i,mappings:r,ignoreList:s})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=g,e.allGeneratedPositionsFor=function(e,t){let{source:n,line:r,column:o,bias:i}=t;return O(e,n,r,o,i||-1,!0)},e.decodedMap=function(e){return x(e,v(e))},e.decodedMappings=v,e.eachMapping=function(e,t){let n=v(e),{names:r,resolvedSources:o}=e;for(let e=0;e=i.length)return w(null,null,null,null);let a=i[n],s=S(a,e._decodedMemo,n,r,o||1);if(-1===s)return w(null,null,null,null);let c=a[s];if(1===c.length)return w(null,null,null,null);let{names:u,resolvedSources:l}=e;return w(l[c[1]],c[2]+1,c[3],5===c.length?u[c[4]]:null)},e.presortedDecodedMap=k,e.sourceContentFor=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=b(e,t);return -1===r?null:n[r]},e.traceSegment=function(e,t,n){let r=v(e);if(t>=r.length)return null;let o=r[t],i=S(o,e._decodedMemo,t,n,1);return -1===i?null:o[i]}}(t,n(95342),n(82336))},96906:function(e,t,n){"use strict";var r=n(38502),o=n(27607),i=n(57293);function a(e,t,n,o){return new r(e,t,n,o)}a.version=n(24815),a.AlgoliaSearchHelper=r,a.SearchParameters=o,a.SearchResults=i,e.exports=a},12985:function(e,t,n){"use strict";var r=n(15312);function o(e,t){this.main=e,this.fn=t,this.lastResults=null}n(24779)(o,r),o.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},o.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=o},33329:function(e,t,n){"use strict";var r=n(71544),o=n(79582),i=n(62202),a={addRefinement:function(e,t,n){if(a.isRefined(e,t,n))return e;var o=""+n,i=e[t]?e[t].concat(o):[o],s={};return s[t]=i,r({},s,e)},removeRefinement:function(e,t,n){if(void 0===n)return a.clearRefinement(e,function(e,n){return t===n});var r=""+n;return a.clearRefinement(e,function(e,n){return t===n&&r===e})},toggleRefinement:function(e,t,n){if(void 0===n)throw Error("toggleRefinement should be used with a value");return a.isRefined(e,t,n)?a.removeRefinement(e,t,n):a.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return o(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,a=Object.keys(e).reduce(function(o,i){var a=e[i]||[],s=a.filter(function(e){return!t(e,i,n)});return s.length!==a.length&&(r=!0),o[i]=s,o},{});return r?a:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;return void 0!==n&&r?-1!==e[t].indexOf(""+n):r}};e.exports=a},27607:function(e,t,n){"use strict";var r=n(71544),o=n(13591),i=n(29878),a=n(31853),s=n(79582),c=n(62202),u=n(52641),l=n(47671),f=n(33329);function p(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,n){return p(t[n],e)}):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||l(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach(function(e){var r=-1!==d.PARAMETERS.indexOf(e),o=void 0!==t[e];!r&&o&&(n[e]=t[e])})}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(n){var r=e[n];if("string"==typeof r){var o=parseFloat(r);t[n]=isNaN(o)?r:o}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach(function(e){var o=r[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});n[t][e]=o})}),t.numericRefinements=n}return a(e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&s(n.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&n.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var r=u(n);if(this.isNumericRefined(e,t,r))return this;var o=a({},this.numericRefinements);return o[e]=a({},o[e]),o[e][t]?(o[e][t]=o[e][t].slice(),o[e][t].push(r)):o[e][t]=[r],this.setQueryParameters({numericRefinements:o})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,o){return o===e&&r.op===t&&p(r.val,u(n))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,r){return r===e&&n.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,n){return n===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return c(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce(function(r,o){var i=n[o],a={};return Object.keys(i=i||{}).forEach(function(n){var r=i[n]||[],s=[];r.forEach(function(t){e({val:t,op:n},o,"numeric")||s.push(t)}),s.length!==r.length&&(t=!0),a[n]=s}),r[o]=a,r},{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),o={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?o[e]=[]:o[e]=[t.slice(0,t.lastIndexOf(n))]:o[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},o,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:r({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i=u(n),a=void 0!==o(this.numericRefinements[e][t],function(e){return p(e,i)});return r&&a},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach(function(r){var o=n[r];-1===e.indexOf(r)&&void 0!==o&&(t[r]=o)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),o=Object.keys(this).reduce(function(e,t){return e[t]=n[t],e},{}),i=Object.keys(r).reduce(function(e,t){var n=void 0!==e[t],o=void 0!==r[t];return n&&!o?c(e,[t]):(o&&(e[t]=r[t]),e)},o);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return o(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},97135:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var r=e.hierarchicalFacets[n],u=e.hierarchicalFacetsRefinements[r.name]&&e.hierarchicalFacetsRefinements[r.name][0]||"",l=e._getHierarchicalFacetSeparator(r),f=e._getHierarchicalRootPath(r),p=e._getHierarchicalShowParentLevel(r),d=i(e._getHierarchicalFacetSortBy(r)),h=t.every(function(e){return e.exhaustive}),m=t;return f&&(m=t.slice(f.split(l).length)),m.reduce(function(e,t,n){var r=e;if(n>0){var i=0;for(r=e;i-1});if(r){var o=r.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===r.name});c.hierarchicalFacets[u][o]={attribute:t,data:n,exhaustive:i.exhaustiveFacetsCount}}else{var l,f=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);f&&(l=y[t],c.disjunctiveFacets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.disjunctiveFacets[l],i.facets_stats,t)),p&&(l=g[t],c.facets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.facets[l],i.facets_stats,t))}}),this.hierarchicalFacets=r(this.hierarchicalFacets),f.forEach(function(n){var r=t[v],a=r&&r.facets?r.facets:{},l=e.getHierarchicalFacetByName(n);Object.keys(a).forEach(function(t){var n,f=a[t];if(l){n=s(e.hierarchicalFacets,function(e){return e.name===l.name});var d=s(c.hierarchicalFacets[n],function(e){return e.attribute===t});if(-1===d)return;c.hierarchicalFacets[n][d].data=u({},c.hierarchicalFacets[n][d].data,f)}else{n=y[t];var h=i.facets&&i.facets[t]||{};c.disjunctiveFacets[n]={name:t,data:o({},f,h),exhaustive:r.exhaustiveFacetsCount},m(c.disjunctiveFacets[n],r.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(r){!c.disjunctiveFacets[n].data[r]&&e.disjunctiveFacetsRefinements[t].indexOf(p(r))>-1&&(c.disjunctiveFacets[n].data[r]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(n){var r=e.getHierarchicalFacetByName(n),i=e._getHierarchicalFacetSeparator(r),a=e.getHierarchicalRefinement(n);0===a.length||a[0].split(i).length<2||t.slice(v).forEach(function(t){var n=t&&t.facets?t.facets:{};Object.keys(n).forEach(function(t){var u=n[t],l=s(e.hierarchicalFacets,function(e){return e.name===r.name}),f=s(c.hierarchicalFacets[l],function(e){return e.attribute===t});if(-1!==f){var p={};if(a.length>0&&!c.persistHierarchicalRootCount){var d=a[0].split(i)[0];p[d]=c.hierarchicalFacets[l][f].data[d]}c.hierarchicalFacets[l][f].data=o(p,u,c.hierarchicalFacets[l][f].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var n=e.facetsExcludes[t],r=g[t];c.facets[r]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},n.forEach(function(e){c.facets[r]=c.facets[r]||{name:t},c.facets[r].data=c.facets[r].data||{},c.facets[r].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(d(e)),this.facets=r(this.facets),this.disjunctiveFacets=r(this.disjunctiveFacets),this._state=e}function y(e,t){var n=a(e,function(e){return e.name===t});return n&&n.stats}function v(e,t,n,r,o){var i=a(o,function(e){return e.name===n}),s=i&&i.data&&i.data[r]?i.data[r]:0;return{type:t,attributeName:n,name:r,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var n,r=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=a(e.facets,n);return r?Object.keys(r.data).map(function(n){var o=f(n);return{name:n,escapedValue:o,count:r.data[n],isRefined:e._state.isFacetRefined(t,o),isExcluded:e._state.isExcludeRefined(t,n)}}):[]}if(e._state.isDisjunctiveFacet(t)){var o=a(e.disjunctiveFacets,n);return o?Object.keys(o.data).map(function(n){var r=f(n);return{name:n,escapedValue:r,count:o.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,r)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=a(e.hierarchicalFacets,n);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),c=e._state._getHierarchicalFacetSeparator(s),u=p(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+c,""));var l=u.split(c);return l.unshift(t),function e(t,n,r){t.isRefined=t.name===(n[r]&&n[r].trim()),t.data&&t.data.forEach(function(t){e(t,n,r+1)})}(i,l,0),i}}(this,e);if(r){var i=o({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return n=Array.isArray(r)?[e]:s._state.getHierarchicalFacetByName(r.name).attributes,function e(t,n,r,i){if(i=i||0,Array.isArray(n))return t(n,r[i]);if(!n.data||0===n.data.length)return n;var a=n.data.map(function(n){return e(t,n,r,i+1)});return o({data:t(a,r[i])},n)}(function(e,t){if(i.facetOrdering){var n,r,o,a,u,f,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(p)return o=[],a=[],u=(p.order||[]).reduce(function(e,t,n){return e[t]=n,e},{}),e.forEach(function(e){var t=e.path||e.name;void 0!==u[t]?o[u[t]]=e:a.push(e)}),o=o.filter(function(e){return e}),"hidden"===(f=p.sortRemainingBy)?o:(r="alpha"===f?[["path","name"],["asc","asc"]]:[["count"],["desc"]],o.concat(l(a,r[0],r[1])))}if(Array.isArray(i.sortBy)){var d=c(i.sortBy,g.DEFAULT_SORT);return l(e,d[0],d[1])}if("function"==typeof i.sortBy)return n=i.sortBy,e.sort(n);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach(function(r){e.facetsRefinements[r].forEach(function(o){n.push(v(e,"facet",r,o,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(r){e.facetsExcludes[r].forEach(function(o){n.push(v(e,"exclude",r,o,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(r){e.disjunctiveFacetsRefinements[r].forEach(function(o){n.push(v(e,"disjunctive",r,o,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(r){e.hierarchicalFacetsRefinements[r].forEach(function(o){var i,s,c,u,l,f,p,d;n.push((i=t.hierarchicalFacets,s=e.getHierarchicalFacetByName(r),c=e._getHierarchicalFacetSeparator(s),u=o.split(c),l=a(i,function(e){return e.name===r}),p=(f=u.reduce(function(e,t){var n=e&&a(e.data,function(e){return e.name===t});return void 0!==n?n:e},l))&&f.count||0,d=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:r,name:f&&f.path||"",count:p,exhaustive:d}))})}),Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t];Object.keys(r).forEach(function(e){r[e].forEach(function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})})})}),e.tagRefinements.forEach(function(e){n.push({type:"tag",attributeName:"_tags",name:e})}),n},e.exports=g},38502:function(e,t,n){"use strict";var r=n(15312),o=n(12985),i=n(12902).escapeFacetValue,a=n(24779),s=n(31853),c=n(79582),u=n(62202),l=n(42209),f=n(27607),p=n(57293),d=n(24815);function h(e,t,n,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.setClient(e);var o=n||{};o.index=t,this.state=f.make(o),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._searchResultsOptions=r}function m(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}a(h,r),h.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},h.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},h.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},h.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=l._getQueries(n.index,n),o=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),t){this.client.search(r).then(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(null,new p(n,e.results),n)}).catch(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(e,null,n)});return}return this.client.search(r).then(function(e){return o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),{content:new p(n,e.results),state:n,_originalResponse:e}},function(e){throw o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),e})},h.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),o=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var a=this.client.initIndex(r.index);if("function"!=typeof a.findAnswers)throw Error(i);return a.findAnswers(r.query,e.queryLanguages,o)},h.prototype.searchForFacetValues=function(e,t,n,r){var o,a="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!a&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(r||{}),u=c.isDisjunctiveFacet(e),f=l.getSearchForFacetQuery(e,t,n,c);this._currentNbQueries++;var p=this;return a?o=this.client.searchForFacetValues([{indexName:c.index,params:f}]):s?o=this.client.initIndex(c.index).searchForFacetValues(f):(delete f.facetName,o=this.client.search([{type:"facet",facet:e,indexName:c.index,params:f}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),o.then(function(t){return p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),e})},h.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},h.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},h.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},h.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},h.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},h.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},h.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},h.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},h.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},h.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},h.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},h.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},h.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},h.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},h.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},h.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},h.prototype.setCurrentPage=m,h.prototype.setPage=m,h.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},h.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},h.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},h.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},h.prototype.hasRefinements=function(e){return!!c(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},h.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},h.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},h.prototype.hasTag=function(e){return this.state.isTagRefined(e)},h.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},h.prototype.getIndex=function(){return this.state.index},h.prototype.getCurrentPage=g,h.prototype.getPage=g,h.prototype.getTags=function(){return this.state.tagRefinements},h.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach(function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})}),t},h.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},h.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},h.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=l._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var o=this.derivedHelpers.map(function(e){var r=e.getModifiedState(t),o=r.index?l._getQueries(r.index,r):[];return n.push({state:r,queriesCount:o.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),o}),i=Array.prototype.concat.apply(r,o),a=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,n,a));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,n,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},h.prototype._dispatchAlgoliaResponse=function(e,t,n){var r=this;if(!(t0},h.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},h.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},h.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.client=e),this},h.prototype.getClient=function(){return this.client},h.prototype.derive=function(e){var t=new o(this,e);return this.derivedHelpers.push(t),t},h.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},h.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=h},45875:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},71544:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])}),e},{})}},12902:function(e){"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},13591:function(e){"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var n=0;n1||!i?(e[0].push(o[0]),e[1].push(o[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},24779:function(e){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},29878:function(e){"use strict";e.exports=function(e,t){return e.filter(function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r})}},31853:function(e){"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var n=1,r=arguments.length;n0}},62202:function(e){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},24652:function(e){"use strict";e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var r=e.map(function(e,n){return{criteria:t.map(function(t){return e[t]}),index:n,value:e}});return r.sort(function(e,t){for(var r=-1;++rt||r&&o||!n)return 1;if(!r&&e=n.length)return o;if("desc"===n[r])return-o;return o}}return e.index-t.index}),r.map(function(e){return e.value})}},52641:function(e){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},42209:function(e,t,n){"use strict";var r=n(31853);function o(e){return Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{})}var i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})}),t.getRefinedHierarchicalFacets().forEach(function(r){var o=t.getHierarchicalFacetByName(r),a=t.getHierarchicalRefinement(r),s=t._getHierarchicalFacetSeparator(o);if(a.length>0&&a[0].split(s).length>1){var c=a[0].split(s).slice(0,-1).reduce(function(e,t,n){return e.concat({attribute:o.attributes[n],value:0===n?t:[e[e.length-1].value,t].join(s)})},[]);c.forEach(function(r,a){var s=i._getDisjunctiveFacetSearchParams(t,r.attribute,0===a);function u(e){return o.attributes.some(function(t){return t===e.split(":")[0]})}var l=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var n=t.filter(function(e){return!u(e)});n.length>0&&e.push(n)}return"string"!=typeof t||u(t)||e.push(t),e},[]),f=c[a-1];a>0?s.facetFilters=l.concat(f.attribute+":"+f.value):s.facetFilters=l.length>0?l:void 0,n.push({indexName:e,params:s})})}}),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s=i._getTagFilters(e),c={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:s};return n.length>0&&(c.facetFilters=n),a.length>0&&(c.numericFilters=a),o(r({},e.getQueryParams(),c))},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c=i._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};c.length>0&&(u.tagFilters=c);var l=e.getHierarchicalFacetByName(t);return l?u.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,l,n):u.facets=t,s.length>0&&(u.numericFilters=s),a.length>0&&(u.facetFilters=a),o(r({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach(function(r){var o=e.numericRefinements[r]||{};Object.keys(o).forEach(function(e){var i=o[e]||[];t!==r&&i.forEach(function(t){if(Array.isArray(t)){var o=t.map(function(t){return r+e+t});n.push(o)}else n.push(r+e+t)})})}),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],o=e.facetsRefinements||{};Object.keys(o).sort().forEach(function(e){(o[e]||[]).slice().sort().forEach(function(t){r.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){r.push(e+":-"+t)})});var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach(function(e){var n=a[e]||[];if(e!==t&&n&&0!==n.length){var o=[];n.slice().sort().forEach(function(t){o.push(e+":"+t)}),r.push(o)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(o){var i,a,c=(s[o]||[])[0];if(void 0!==c){var u=e.getHierarchicalFacetByName(o),l=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===o){if(-1===c.indexOf(l)||!f&&!0===n||f&&f.split(l).length===c.split(l).length)return;f?(a=f.split(l).length-1,c=f):(a=c.split(l).length-2,c=c.slice(0,c.lastIndexOf(l))),i=u.attributes[a]}else a=c.split(l).length-1,i=u.attributes[a];i&&r.push([i+":"+c])}}),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var o=e._getHierarchicalFacetSeparator(n),i=r.split(o).length,a=n.attributes.slice(0,i+1);return t.concat(a)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var o=e._getHierarchicalRootPath(t),i=0;return o&&(i=o.split(r).length),[t.attributes[i]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),o(r({},i._getHitsSearchParams(s),c))}};e.exports=i},47671:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24815:function(e){"use strict";e.exports="3.16.3"},43931:function(e){var t;t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=r(),s=o&&o.miss||function(){return Promise.resolve()};return a.then(function(e){return s(e)}).then(function(){return a})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function i(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var u={Read:1,Write:2,Any:3};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:n,lastUpdate:Date.now()})}function f(e){return"string"==typeof e?{protocol:"https",url:e,accept:u.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||u.Any}}var p="POST";function d(e,n,o,i){var a,s,c,u=[],p=function(e,n){if("GET"!==e.method&&(void 0!==e.data||void 0!==n.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),n.data))}(o,i),d=(a=t(t({},e.headers),i.headers),s={},Object.keys(a).forEach(function(e){var t=a[e];s[e.toLowerCase()]=t}),s),y=o.method,v="GET"!==o.method?{}:t(t({},o.data),i.data),b=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),v),i.queryParameters),k=0,x=function t(n,r){var a,s,c,f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:m(u)};var v={data:p,headers:d,method:y,url:(a=o.path,s=h(b),c="".concat(f.protocol,"://").concat(f.url,"/").concat("/"===a.charAt(0)?a.substr(1):a),s.length&&(c+="?".concat(s)),c),connectTimeout:r(k,e.timeouts.connect),responseTimeout:r(k,i.timeout)},x=function(e){var t={request:v,response:e,host:f,triesLeft:n.length};return u.push(t),t},w={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}}(e)},onRetry:function(o){var i=x(o);return o.isTimedOut&&k++,Promise.all([e.logger.info("Retryable failure",g(i)),e.hostsCache.set(f,l(f,o.isTimedOut?3:2))]).then(function(){return t(n,r)})},onFail:function(e){throw x(e),function(e,t){var n=e.content,r=e.status,o=n;try{o=JSON.parse(n).message}catch(e){}return{name:"ApiError",message:o,status:r,transporterStackTrace:t}}(e,m(u))}};return e.requester.send(v).then(function(e){var t,n,r;return(t=e.status,e.isTimedOut||(n=e.isTimedOut,r=e.status,!n&&0==~~r)||2!=~~(t/100)&&4!=~~(t/100))?w.onRetry(e):2==~~(e.status/100)?w.onSuccess(e):w.onFail(e)})};return(c=e.hostsCache,Promise.all(n.map(function(e){return c.get(e,function(){return Promise.resolve(l(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),o=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),i=[].concat(r(t),r(o));return{getTimeout:function(e,t){return(0===o.length&&0===e?1:o.length+3+e)*t},statelessHosts:i.length>0?i.map(function(e){return f(e)}):n}})).then(function(e){return x(r(e.statelessHosts).reverse(),e.getTimeout)})}function h(e){return Object.keys(e).map(function(t){var n;return a("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return g(e)})}function g(e){var n=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),n)})})}var y=function(e){var r,o,a,l,p,h,m,g,y,v,b,k,x,w=e.appId,_=(r=void 0!==e.authMode?e.authMode:s.WithinHeaders,o={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":w},{headers:function(){return r===s.WithinHeaders?o:{}},queryParameters:function(){return r===s.WithinQueryParameters?o:{}}}),S=(l=(a=t(t({hosts:[{url:"".concat(w,"-dsn.algolia.net"),accept:u.Read},{url:"".concat(w,".algolia.net"),accept:u.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}([{url:"".concat(w,"-1.algolianet.com")},{url:"".concat(w,"-2.algolianet.com")},{url:"".concat(w,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},_.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},_.queryParameters()),e.queryParameters)})).hostsCache,p=a.logger,h=a.requester,m=a.requestsCache,g=a.responsesCache,y=a.timeouts,v=a.userAgent,b=a.hosts,k=a.queryParameters,x={hostsCache:l,logger:p,requester:h,requestsCache:m,responsesCache:g,timeouts:y,userAgent:v,headers:a.headers,queryParameters:k,hosts:b.map(function(e){return f(e)}),read:function(e,t){var r=c(t,x.timeouts.read),o=function(){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return o();var i={request:e,mappedRequestOptions:r,transporter:{queryParameters:x.queryParameters,headers:x.headers}};return x.responsesCache.get(i,function(){return x.requestsCache.get(i,function(){return x.requestsCache.set(i,o()).then(function(e){return Promise.all([x.requestsCache.delete(i),e])},function(e){return Promise.all([x.requestsCache.delete(i),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return x.responsesCache.set(i,e)}})},write:function(e,t){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Write)}),e,c(t,x.timeouts.write))}});return i({transporter:S,appId:w,addAlgoliaAgent:function(e,t){S.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([S.requestsCache.clear(),S.responsesCache.clear()]).then(function(){})}},e.methods)},v=function(e){return function(t,n){return"GET"===t.method?e.transporter.read(t,n):e.transporter.write(t,n)}},b=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},k=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{params:h(e.params||{})})});return e.transporter.read({method:p,path:"1/indexes/*/queries",data:{requests:o},cacheable:!0},r)}},x=function(e){return function(n,r){return Promise.all(n.map(function(n){var o=n.params,i=o.facetName,a=o.facetQuery,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o,["facetName","facetQuery"]);return b(e)(n.indexName,{methods:{searchForFacetValues:S}}).searchForFacetValues(i,a,t(t({},r),s))}))}},w=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:p,path:a("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},S=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},O=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:p,path:"1/indexes/*/recommendations",data:{requests:o},cacheable:!0},r)}};function E(e,i,a){var c,u,l,f,p,d,h,m;return y(t(t(t({},{appId:e,apiKey:i,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return n.setRequestHeader(t,e.headers[t])});var r,o=function(e,r){return setTimeout(function(){n.abort(),t({status:0,content:r,isTimedOut:!0})},1e3*e)},i=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(i),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(i),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(i),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var o=r(t.caches),i=o.shift();return void 0===i?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return i.get(t,n,r).catch(function(){return e({caches:o}).get(t,n,r)})},set:function(t,n){return i.set(t,n).catch(function(){return e({caches:o}).set(t,n)})},delete:function(t){return i.delete(t).catch(function(){return e({caches:o}).delete(t)})},clear:function(){return i.clear().catch(function(){return e({caches:o}).clear()})}}}({caches:[(c={key:"".concat("4.23.2","-").concat(e)},l="algoliasearch-client-js-".concat(c.key),f=function(){return void 0===u&&(u=c.localStorage||window.localStorage),u},p=function(){return JSON.parse(f().getItem(l)||"{}")},d=function(e){f().setItem(l,JSON.stringify(e))},h=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=Object.fromEntries(Object.entries(p()).filter(function(e){return void 0!==n(e,2)[1].timestamp}));d(t),e&&d(Object.fromEntries(Object.entries(t).filter(function(t){var r=n(t,2)[1],o=(new Date).getTime();return!(r.timestamp+e2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){h();var t=JSON.stringify(e);return p()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=n(e,2),o=t[0];return Promise.all([o,t[1]||r.miss(o)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var n=p();return n[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},f().setItem(l,JSON.stringify(n)),t})},delete:function(e){return Promise.resolve().then(function(){var t=p();delete t[JSON.stringify(e)],f().setItem(l,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){f().removeItem(l)})}}),o()]}),userAgent:(m={value:"Algolia for JavaScript (".concat("4.23.2",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===m.value.indexOf(t)&&(m.value="".concat(m.value).concat(t)),m}}).add({segment:"Browser",version:"lite"}),authMode:s.WithinQueryParameters}),a),{},{methods:{search:k,searchForFacetValues:x,multipleQueries:k,multipleSearchForFacetValues:x,customRequest:v,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:_,searchForFacetValues:S,findAnswers:w}})}},getRecommendations:O}}))}return E.version="4.23.2",E},e.exports=t()},95766:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],u=new o((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48834:function(e,t,n){"use strict";var r=n(95766),o=n(62333),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(C(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var o=function(e){if(s.isBuffer(e)){var t,n=0|d(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),n=a(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(o)return r?-1:E(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,p=0;p239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function _(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return l(e)},s.allocUnsafeSlow=function(e){return l(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);or.length?s.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else if(s.isBuffer(i))i.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,c=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,c,u,l,f,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||k(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},5081:function(e,t,n){"use strict";n.d(t,{Nu:function(){return c},Un:function(){return u},Zs:function(){return m},ks:function(){return h},pE:function(){return s},pr:function(){return o},q9:function(){return a},rY:function(){return r},vH:function(){return f},zU:function(){return i}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==e?!!t:"boolean"==typeof e?e:!!e},i=function e(t,n){var r;return(n=null!==(r=n)&&void 0!==r?r:function(){},null==t)?e(n):"function"==typeof t?t:e(n)},a=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t||Number.isNaN(t=Number(t))?e(n):t},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(a(e,t),0)},c=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof(t=a(t,n))&&isFinite(t)?t:e(n)},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(c(e,t),0)},l=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=e=c(e,n))<0?Math.ceil(t):Math.floor(t)},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.max(l(e,t),1)};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=function(e){if("object"!==p(e)||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e(n):d(t)?t:e(n)},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null==e?String(t):"string"==typeof e?e:String(e)}},3236:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())}},54225:function(e,t,n){"use strict";n.r(t),n.d(t,{FOCUS_ALLOW:function(){return i},FOCUS_AUTO:function(){return a},FOCUS_DISABLED:function(){return o},FOCUS_GROUP:function(){return r},FOCUS_NO_AUTOFOCUS:function(){return s}});var r="data-focus-lock",o="data-focus-lock-disabled",i="data-no-focus-lock",a="data-autofocus-inside",s="data-no-autofocus"},7413:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(41658),o=n(46774),i=n(74745),a=n(76025),s=function(e,t){return void 0===t&&(t=(0,a.v)((0,i.Xi)(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&(0,o.K)(e).some(function(e){var n;return(0,r.r3)(e,t)||(n=t,!!(0,i.qo)(e.querySelectorAll("iframe")).some(function(e){return e===n}))})}},75226:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(54225),o=n(41658),i=n(74745),a=n(76025),s=function(e){void 0===e&&(e=document);var t=(0,a.v)(e);return!!t&&(0,i.qo)(e.querySelectorAll("[".concat(r.FOCUS_ALLOW,"]"))).some(function(e){return(0,o.r3)(e,t)})}},55243:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r=n(93854),o=function(e,t){return(0,r.MH)(e)&&e.name&&t.filter(r.MH).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},i=function(e){var t=new Set;return e.forEach(function(n){return t.add(o(n,e))}),e.filter(function(e){return t.has(e)})},a=function(e){return e[0]&&e.length>1?o(e[0],e):e[0]},s=function(e,t){return e.indexOf(o(t,e))},c="NEW_FOCUS",u=function(e,t,n,o,a){var u=e.length,l=e[0],f=e[u-1],p=(0,r.Z9)(o);if(!(o&&e.indexOf(o)>=0)){var d=void 0!==o?n.indexOf(o):-1,h=a?n.indexOf(a):d,m=a?e.indexOf(a):-1;if(-1===d)return -1!==m?m:c;if(-1===m)return c;var g=d-h,y=n.indexOf(l),v=n.indexOf(f),b=i(n),k=(void 0!==o?b.indexOf(o):-1)-(a?b.indexOf(a):d);if(!g&&m>=0||0===t.length)return m;var x=s(e,t[0]),w=s(e,t[t.length-1]);if(d<=y&&p&&Math.abs(g)>1)return w;if(d>=v&&p&&Math.abs(g)>1)return x;if(g&&Math.abs(k)>1)return m;if(d<=y)return w;if(d>v)return x;if(g)return Math.abs(g)>1?m:(u+m+g)%u}},l=n(41658),f=n(46774),p=n(74745),d=function(e,t,n){var o=e.map(function(e){return e.node}),i=(0,l.vA)(o.filter(function(e){var t,o=null===(t=(0,r.pY)(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==o&&"false"!==o||n.indexOf(e)>=0}));return i&&i.length?a(i):a((0,l.vA)(t))},h=n(76025),m=n(70537),g=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(r.$K)},y=function(e,t){var n=(0,h.v)((0,p._2)(e).length>0?document:(0,p.Xi)(e).ownerDocument),o=(0,f.K)(e).filter(r.IS),i=(0,m.V0)(n||e,e,o),a=new Map,s=(0,l.pw)(o,a),y=s.filter(function(e){var t=e.node;return(0,r.IS)(t)});if(y[0]){var v=(0,l.pw)([i],a).map(function(e){return e.node}),b=g(v,y),k=b.map(function(e){return e.node}),x=b.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),w=u(k,x,v,n,t);if(w===c){var _=d(s,x,(0,m.o$)(o,a))||d(s,k,(0,m.o$)(o,a));return _?{node:_}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:b[w]}}},68557:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(46774),o=n(93854),i=n(70537),a=n(46813),s=n(49698),c=function(e){var t=(0,r.K)(e).filter(o.IS),n=(0,i.V0)(e,e,t),c=(0,a.v)((0,s.s)([n],!0),!0,!0),u=(0,s.s)(t,!1);return c.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:u.indexOf(t)>=0,guard:(0,o.Z9)(t)}})}},26095:function(e,t,n){"use strict";n.r(t),n.d(t,{captureFocusRestore:function(){return u.T},constants:function(){return p},expandFocusableNodes:function(){return s.T},focusFirstElement:function(){return l.w4},focusInside:function(){return o.S},focusIsHidden:function(){return i.U},focusLastElement:function(){return l.fW},focusNextElement:function(){return l.pf},focusPrevElement:function(){return l.mX},focusSolver:function(){return a.F},getFocusableNodes:function(){return f.pw},getRelativeFocusable:function(){return l.hX},getTabbableNodes:function(){return f.dH},moveFocusInside:function(){return c.L}});var r=n(54225),o=n(7413),i=n(75226),a=n(55243),s=n(68557),c=n(19096),u=n(82091),l=n(55632),f=n(41658),p=r,d=c.L;t.default=d},19096:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(3236),o=n(55243),i=0,a=!1,s=function(e,t,n){void 0===n&&(n={});var s=(0,o.F)(e,t);if(!a&&s){if(i>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),a=!0,setTimeout(function(){a=!1},1);return}i++,(0,r.v)(s.node,n.focusOptions),i--}}},82091:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(41658);function o(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var i=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:o(n),parent:o(n.parentElement),left:o(n.previousElementSibling),right:o(n.nextElementSibling)}),n=n.parentElement;return{element:o(e),stack:t,ownerDocument:e.ownerDocument}},a=function(e){if(e)for(var t,n,o,i,a,s=e.stack,c=e.ownerDocument,u=new Map,l=0;l0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},a=function(e){return e.parentNode?a(e.parentNode):e},s=function(e){return(0,o._2)(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(r.FOCUS_GROUP);return e.push.apply(e,n?i((0,o.qo)(a(t).querySelectorAll("[".concat(r.FOCUS_GROUP,'="').concat(n,'"]:not([').concat(r.FOCUS_DISABLED,'="disabled"])')))):[t]),e},[])}},74745:function(e,t,n){"use strict";n.d(t,{Xi:function(){return i},_2:function(){return o},qo:function(){return r}});var r=function(e){for(var t=Array(e.length),n=0;n=0)return a}return!1},s=function(e,t,n){var i=(0,o._2)(e),s=(0,o._2)(t),c=i[0],u=!1;return s.filter(Boolean).forEach(function(e){u=a(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=a(c,e);t&&(u=!u||(0,r.r3)(t,u)?t:a(t,u))})}),u},c=function(e,t){return e.reduce(function(e,n){return e.concat((0,r.ir)(n,t))},[])}},46813:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(74745),o=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||i},i=function(e,t,n){return(0,r.qo)(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(o)}},49698:function(e,t,n){"use strict";n.d(t,{s:function(){return u},B:function(){return l}});var r=n(54225),o=n(74745),i="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",a="".concat(i,", [data-focus-guard]"),s=function(e,t){return(0,o.qo)((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?a:i)?[n]:[],s(n))},[])},c=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?u([e.contentDocument.body],t):[e]},u=function(e,t){return e.reduce(function(e,n){var r,a=s(n,t),u=(r=[]).concat.apply(r,a.map(function(e){return c(e,t)}));return e.concat(u,n.parentNode?(0,o.qo)(n.parentNode.querySelectorAll(i)).filter(function(e){return e===n}):[])},[])},l=function(e){var t=e.querySelectorAll("[".concat(r.FOCUS_AUTO,"]"));return(0,o.qo)(t).map(function(e){return u([e])}).reduce(function(e,t){return e.concat(t)},[])}},73463:function(e,t,n){"use strict";var r=n(73887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g>1,l=-7,f=n?o-1:0,p=n?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,p=23===o?5960464477539062e-23:0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+f>=1?t+=p/c:t+=p*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,u-=8);e[n+d-h]|=128*m}},61353:function(e,t){"use strict";!function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t}}()},77485:function(e,t,n){var r,o="__lodash_hash_undefined__",i=1/0,a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,c=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=p||d||Function("return this")(),m=Array.prototype,g=Function.prototype,y=Object.prototype,v=h["__core-js_shared__"],b=(r=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=g.toString,x=y.hasOwnProperty,w=y.toString,_=RegExp("^"+k.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=h.Symbol,O=m.splice,E=N(h,"Map"),j=N(Object,"create"),T=S?S.prototype:void 0,C=T?T.toString:void 0;function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},R.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new A,map:new(E||R),string:new A}},I.prototype.delete=function(e){return Z(this,e).delete(e)},I.prototype.get=function(e){return Z(this,e).get(e)},I.prototype.has=function(e){return Z(this,e).has(e)},I.prototype.set=function(e,t){return Z(this,e).set(e,t),this};var F=L(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var t,n=[];return c.test(e)&&n.push(""),e.replace(u,function(e,t,r,o){n.push(r?o.replace(l,"$1"):t||e)}),n});function L(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(L.Cache||I),n}L.Cache=I;var M=Array.isArray;function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==w.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(M(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||B(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?M(n=t)?n:F(n):[t];for(var r=0,o=t.length;null!=e&&r=t||n<0||g&&r>=l}function k(){var e,n,r,i=o();if(b(i))return x(i);p=setTimeout(k,(e=i-d,n=i-h,r=t-e,g?s(r,l-n):r))}function x(e){return(p=void 0,y&&c)?v(e):(c=u=void 0,f)}function w(){var e,n=o(),r=b(n);if(c=arguments,u=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(k,t),m?v(e):f;if(g)return clearTimeout(p),p=setTimeout(k,t),v(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},w.flush=function(){return void 0===p?f:x(o())},w}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),(function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",c=1/0,u=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],f="[object Arguments]",p="[object Array]",d="[object Boolean]",h="[object Date]",m="[object Error]",g="[object Function]",y="[object GeneratorFunction]",v="[object Map]",b="[object Number]",k="[object Object]",x="[object Promise]",w="[object RegExp]",_="[object Set]",S="[object String]",O="[object Symbol]",E="[object WeakMap]",j="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",P="[object Int32Array]",Z="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",M=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,U=RegExp(z.source),H=RegExp($.source),q=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),J=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ec=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,ep=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\d*)$/,eh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,em=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",ev="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ek="a-z\\xdf-\\xf6\\xf8-\\xff",ex="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\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",eS="['’]",eO="["+e_+"]",eE="["+ev+"]",ej="["+ek+"]",eT="[^"+ey+e_+"\\d+"+eb+ek+ex+"]",eC="\ud83c[\udffb-\udfff]",eA="[^"+ey+"]",eR="(?:\ud83c[\udde6-\uddff]){2}",eI="[\ud800-\udbff][\udc00-\udfff]",eP="["+ex+"]",eZ="\\u200d",eN="(?:"+ej+"|"+eT+")",eF="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eL="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eM="(?:"+eE+"|"+eC+")?",eD="["+ew+"]?",eB="(?:"+eZ+"(?:"+[eA,eR,eI].join("|")+")"+eD+eM+")*",ez=eD+eM+eB,e$="(?:"+["["+eb+"]",eR,eI].join("|")+")"+ez,eU="(?:"+[eA+eE+"?",eE,eR,eI,"["+ey+"]"].join("|")+")",eH=RegExp(eS,"g"),eq=RegExp(eE,"g"),eW=RegExp(eC+"(?="+eC+")|"+eU+ez,"g"),eV=RegExp([eP+"?"+ej+"+"+eF+"(?="+[eO,eP,"$"].join("|")+")","(?:"+eP+"|"+eT+")+"+eL+"(?="+[eO,eP+eN,"$"].join("|")+")",eP+"?"+eN+"+"+eF,eP+"+"+eL,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",e$].join("|"),"g"),eK=RegExp("["+eZ+ey+ev+ew+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eG=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,eX={};eX[C]=eX[A]=eX[R]=eX[I]=eX[P]=eX[Z]=eX[N]=eX[F]=eX[L]=!0,eX[f]=eX[p]=eX[j]=eX[d]=eX[T]=eX[h]=eX[m]=eX[g]=eX[v]=eX[b]=eX[k]=eX[w]=eX[_]=eX[S]=eX[E]=!1;var eJ={};eJ[f]=eJ[p]=eJ[j]=eJ[T]=eJ[d]=eJ[h]=eJ[C]=eJ[A]=eJ[R]=eJ[I]=eJ[P]=eJ[v]=eJ[b]=eJ[k]=eJ[w]=eJ[_]=eJ[S]=eJ[O]=eJ[Z]=eJ[N]=eJ[F]=eJ[L]=!0,eJ[m]=eJ[g]=eJ[E]=!1;var e1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e0=parseFloat,e2=parseInt,e5="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e6=e5||e3||Function("return this")(),e8=t&&!t.nodeType&&t,e4=e8&&e&&!e.nodeType&&e,e9=e4&&e4.exports===e8,e7=e9&&e5.process,te=function(){try{var e=e4&&e4.require&&e4.require("util").types;if(e)return e;return e7&&e7.binding&&e7.binding("util")}catch(e){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,to=te&&te.isRegExp,ti=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tc(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function td(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function tF(e,t){for(var n=e.length;n--&&tw(t,e[n],0)>-1;);return n}var tL=tj({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tM=tj({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(e){return"\\"+e1[e]}function tB(e){return eK.test(e)}function tz(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function t$(e,t){return function(n){return e(t(n))}}function tU(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"}),tQ=function e(t){var n,r,ee,ey,ev=(t=null==t?e6:tQ.defaults(e6.Object(),t,tQ.pick(e6,eG))).Array,eb=t.Date,ek=t.Error,ex=t.Function,ew=t.Math,e_=t.Object,eS=t.RegExp,eO=t.String,eE=t.TypeError,ej=ev.prototype,eT=ex.prototype,eC=e_.prototype,eA=t["__core-js_shared__"],eR=eT.toString,eI=eC.hasOwnProperty,eP=0,eZ=(n=/[^.]+$/.exec(eA&&eA.keys&&eA.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eN=eC.toString,eF=eR.call(e_),eL=e6._,eM=eS("^"+eR.call(eI).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eD=e9?t.Buffer:o,eB=t.Symbol,ez=t.Uint8Array,e$=eD?eD.allocUnsafe:o,eU=t$(e_.getPrototypeOf,e_),eW=e_.create,eK=eC.propertyIsEnumerable,e1=ej.splice,e5=eB?eB.isConcatSpreadable:o,e3=eB?eB.iterator:o,e8=eB?eB.toStringTag:o,e4=function(){try{var e=op(e_,"defineProperty");return e({},"",{}),e}catch(e){}}(),e7=t.clearTimeout!==e6.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e6.Date.now&&eb.now,tb=t.setTimeout!==e6.setTimeout&&t.setTimeout,tj=ew.ceil,tG=ew.floor,tY=e_.getOwnPropertySymbols,tX=eD?eD.isBuffer:o,tJ=t.isFinite,t1=ej.join,t0=t$(e_.keys,e_),t2=ew.max,t5=ew.min,t3=eb.now,t6=t.parseInt,t8=ew.random,t4=ej.reverse,t9=op(t,"DataView"),t7=op(t,"Map"),ne=op(t,"Promise"),nt=op(t,"Set"),nn=op(t,"WeakMap"),nr=op(e_,"create"),no=nn&&new nn,ni={},na=oL(t9),ns=oL(t7),nc=oL(ne),nu=oL(nt),nl=oL(nn),nf=eB?eB.prototype:o,np=nf?nf.valueOf:o,nd=nf?nf.toString:o;function nh(e){if(iW(e)&&!iN(e)&&!(e instanceof nv)){if(e instanceof ny)return e;if(eI.call(e,"__wrapped__"))return oM(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!iq(t))return{};if(eW)return eW(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function nv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nZ(e,t,n,r,i,a){var s,c=1&t,u=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),o!==s)return s;if(!iq(e))return e;var p=iN(e);if(p){if(m=e.length,x=new e.constructor(m),m&&"string"==typeof e[0]&&eI.call(e,"index")&&(x.index=e.index,x.input=e.input),s=x,!c)return rB(e,s)}else{var m,x,E,M,D,B=om(e),z=B==g||B==y;if(iD(e))return rZ(e,c);if(B==k||B==f||z&&!i){if(s=u||z?{}:oy(e),!c)return u?(E=(D=s)&&rz(e,ad(e),D),rz(e,oh(e),E)):(M=nA(s,e),rz(e,od(e),M))}else{if(!eJ[B])return i?e:{};s=function(e,t,n){var r,o,i=e.constructor;switch(t){case j:return rN(e);case d:case h:return new i(+e);case T:return r=n?rN(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case C:case A:case R:case I:case P:case Z:case N:case F:case L:return rF(e,n);case v:return new i;case b:case S:return new i(e);case w:return(o=new e.constructor(e.source,ec.exec(e))).lastIndex=e.lastIndex,o;case _:return new i;case O:return np?e_(np.call(e)):{}}}(e,B,c)}}a||(a=new n_);var $=a.get(e);if($)return $;a.set(e,s),iY(e)?e.forEach(function(r){s.add(nZ(r,t,n,r,e,a))}):iV(e)&&e.forEach(function(r,o){s.set(o,nZ(r,t,n,o,e,a))});var U=l?u?oi:oo:u?ad:ap,H=p?o:U(e);return tu(H||e,function(r,o){H&&(r=e[o=r]),nj(s,o,nZ(r,t,n,o,e,a))}),s}function nN(e,t,n){var r=n.length;if(null==e)return!r;for(e=e_(e);r--;){var i=n[r],a=t[i],s=e[i];if(o===s&&!(i in e)||!a(s))return!1}return!0}function nF(e,t,n){if("function"!=typeof e)throw new eE(i);return oA(function(){e.apply(o,n)},t)}function nL(e,t,n,r){var o=-1,i=tp,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=th(t,tI(n))),r?(i=td,a=!1):t.length>=200&&(i=tZ,a=!1,t=new nw(t));e:for(;++o-1},nk.prototype.set=function(e,t){var n=this.__data__,r=nT(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nx.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t7||nk),string:new nb}},nx.prototype.delete=function(e){var t=ol(this,e).delete(e);return this.size-=t?1:0,t},nx.prototype.get=function(e){return ol(this,e).get(e)},nx.prototype.has=function(e){return ol(this,e).has(e)},nx.prototype.set=function(e,t){var n=ol(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nw.prototype.add=nw.prototype.push=function(e){return this.__data__.set(e,a),this},nw.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.clear=function(){this.__data__=new nk,this.size=0},n_.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},n_.prototype.get=function(e){return this.__data__.get(e)},n_.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nk){var r=n.__data__;if(!t7||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nx(r)}return n.set(e,t),this.size=n.size,this};var nM=rH(nW),nD=rH(nV,!0);function nB(e,t){var n=!0;return nM(e,function(e,r,o){return n=!!t(e,r,o)}),n}function nz(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?nU(s,t-1,n,r,o):tm(o,s):r||(o[o.length]=s)}return o}var nH=rq(),nq=rq(!0);function nW(e,t){return e&&nH(e,t,ap)}function nV(e,t){return e&&nq(e,t,ap)}function nK(e,t){return tf(t,function(t){return i$(e[t])})}function nQ(e,t){t=rR(t,e);for(var n=0,r=t.length;null!=e&&nt}function nJ(e,t){return null!=e&&eI.call(e,t)}function n1(e,t){return null!=e&&t in e_(e)}function n0(e,t,n){for(var r=n?td:tp,i=e[0].length,a=e.length,s=a,c=ev(a),u=1/0,l=[];s--;){var f=e[s];s&&t&&(f=th(f,tI(t))),u=t5(f.length,u),c[s]=!n&&(t||i>=120&&f.length>=120)?new nw(s&&f):o}f=e[0];var p=-1,d=c[0];e:for(;++p=s)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&e1.call(s,c,1),e1.call(e,c,1);return e}function rc(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ob(o)?e1.call(e,o,1):r_(e,o)}}return e}function ru(e,t){return e+tG(t8()*(t-e+1))}function rl(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tG(t/2))&&(e+=e);while(t);return n}function rf(e,t){return oR(oE(e,t,aM),e+"")}function rp(e,t,n,r){if(!iq(e))return e;t=rR(t,e);for(var i=-1,a=t.length,s=a-1,c=e;null!=c&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ev(o);++r>>1,a=e[i];null!==a&&!iJ(a)&&(n?a<=t:a=200){var u=t?null:r8(e);if(u)return tH(u);a=!1,o=tZ,c=new nw}else c=t?[]:s;e:for(;++r=r?e:rm(e,t,n)}var rP=e7||function(e){return e6.clearTimeout(e)};function rZ(e,t){if(t)return e.slice();var n=e.length,r=e$?e$(n):new e.constructor(n);return e.copy(r),r}function rN(e){var t=new e.constructor(e.byteLength);return new ez(t).set(new ez(e)),t}function rF(e,t){var n=t?rN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rL(e,t){if(e!==t){var n=o!==e,r=null===e,i=e==e,a=iJ(e),s=o!==t,c=null===t,u=t==t,l=iJ(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ok(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=e_(t);++r-1?i[a?t[s]:s]:o}}function rG(e){return or(function(t){var n=t.length,r=n,a=ny.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eE(i);if(a&&!c&&"wrapper"==os(s))var c=new ny([],!0)}for(r=c?r:n;++r1&&b.reverse(),f&&uc))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new nw:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(i,(r=(o=i.match(en))?o[1].split(er):[],tu(l,function(e){var t="_."+e[0];n&e[1]&&!tp(r,t)&&r.push(t)}),r.sort())))}function oP(e){var t=0,n=0;return function(){var r=t3(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function oZ(e,t){var n=-1,r=e.length,i=r-1;for(t=o===t?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,o3(e,n)});function it(e){var t=nh(e);return t.__chain__=!0,t}function ir(e,t){return t(e)}var io=or(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return nI(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nv&&ob(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ir,args:[i],thisArg:o}),new ny(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),ii=r$(function(e,t,n){eI.call(e,n)?++e[n]:nR(e,n,1)}),ia=rQ(o$),is=rQ(oU);function ic(e,t){return(iN(e)?tu:nM)(e,ou(t,3))}function iu(e,t){return(iN(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nD)(e,ou(t,3))}var il=r$(function(e,t,n){eI.call(e,n)?e[n].push(t):nR(e,n,[t])}),ip=rf(function(e,t,n){var r=-1,o="function"==typeof t,i=iL(e)?ev(e.length):[];return nM(e,function(e){i[++r]=o?ts(t,e,n):n2(e,t,n)}),i}),id=r$(function(e,t,n){nR(e,n,t)});function ih(e,t){return(iN(e)?th:re)(e,ou(t,3))}var im=r$(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ig=rf(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ok(e,t[0],t[1])?t=[]:n>2&&ok(t[0],t[1],t[2])&&(t=[t[0]]),ri(e,nU(t,1),[])}),iy=te||function(){return e6.Date.now()};function iv(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,r9(e,128,o,o,o,o,t)}function ib(e,t){var n;if("function"!=typeof t)throw new eE(i);return e=i6(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ik=rf(function(e,t,n){var r=1;if(n.length){var o=tU(n,oc(ik));r|=32}return r9(e,r,t,n,o)}),ix=rf(function(e,t,n){var r=3;if(n.length){var o=tU(n,oc(ix));r|=32}return r9(t,r,e,n,o)});function iw(e,t,n){var r,a,s,c,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new eE(i);function m(t){var n=r,i=a;return r=a=o,f=t,c=e.apply(i,n)}function g(e){var n=e-l,r=e-f;return o===l||n>=t||n<0||d&&r>=s}function y(){var e,n,r,o=iy();if(g(o))return v(o);u=oA(y,(e=o-l,n=o-f,r=t-e,d?t5(r,s-n):r))}function v(e){return(u=o,h&&r)?m(e):(r=a=o,c)}function b(){var e,n=iy(),i=g(n);if(r=arguments,a=this,l=n,i){if(o===u)return f=e=l,u=oA(y,t),p?m(e):c;if(d)return rP(u),u=oA(y,t),m(l)}return o===u&&(u=oA(y,t)),c}return t=i4(t)||0,iq(n)&&(p=!!n.leading,s=(d="maxWait"in n)?t2(i4(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){o!==u&&rP(u),f=0,r=l=a=u=o},b.flush=function(){return o===u?c:v(iy())},b}var i_=rf(function(e,t){return nF(e,1,t)}),iS=rf(function(e,t,n){return nF(e,i4(t)||0,n)});function iO(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eE(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(iO.Cache||nx),n}function iE(e){if("function"!=typeof e)throw new eE(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iO.Cache=nx;var ij=rf(function(e,t){var n=(t=1==t.length&&iN(t[0])?th(t[0],tI(ou())):th(nU(t,1),tI(ou()))).length;return rf(function(r){for(var o=-1,i=t5(r.length,n);++o=t}),iZ=n5(function(){return arguments}())?n5:function(e){return iW(e)&&eI.call(e,"callee")&&!eK.call(e,"callee")},iN=ev.isArray,iF=tt?tI(tt):function(e){return iW(e)&&nY(e)==j};function iL(e){return null!=e&&iH(e.length)&&!i$(e)}function iM(e){return iW(e)&&iL(e)}var iD=tX||aY,iB=tn?tI(tn):function(e){return iW(e)&&nY(e)==h};function iz(e){if(!iW(e))return!1;var t=nY(e);return t==m||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!iQ(e)}function i$(e){if(!iq(e))return!1;var t=nY(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iU(e){return"number"==typeof e&&e==i6(e)}function iH(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function iq(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function iW(e){return null!=e&&"object"==typeof e}var iV=tr?tI(tr):function(e){return iW(e)&&om(e)==v};function iK(e){return"number"==typeof e||iW(e)&&nY(e)==b}function iQ(e){if(!iW(e)||nY(e)!=k)return!1;var t=eU(e);if(null===t)return!0;var n=eI.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eR.call(n)==eF}var iG=to?tI(to):function(e){return iW(e)&&nY(e)==w},iY=ti?tI(ti):function(e){return iW(e)&&om(e)==_};function iX(e){return"string"==typeof e||!iN(e)&&iW(e)&&nY(e)==S}function iJ(e){return"symbol"==typeof e||iW(e)&&nY(e)==O}var i1=ta?tI(ta):function(e){return iW(e)&&iH(e.length)&&!!eX[nY(e)]},i0=r5(n7),i2=r5(function(e,t){return e<=t});function i5(e){if(!e)return[];if(iL(e))return iX(e)?tW(e):rB(e);if(e3&&e[e3])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e3]());var t=om(e);return(t==v?tz:t==_?tH:ax)(e)}function i3(e){return e?(e=i4(e))===c||e===-c?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function i6(e){var t=i3(e),n=t%1;return t==t?n?t-n:t:0}function i8(e){return e?nP(i6(e),0,4294967295):0}function i4(e){if("number"==typeof e)return e;if(iJ(e))return u;if(iq(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iq(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tR(e);var n=el.test(e);return n||ep.test(e)?e2(e.slice(2),n?2:8):eu.test(e)?u:+e}function i9(e){return rz(e,ad(e))}function i7(e){return null==e?"":rx(e)}var ae=rU(function(e,t){if(oS(t)||iL(t)){rz(t,ap(t),e);return}for(var n in t)eI.call(t,n)&&nj(e,n,t[n])}),at=rU(function(e,t){rz(t,ad(t),e)}),an=rU(function(e,t,n,r){rz(t,ad(t),e,r)}),ar=rU(function(e,t,n,r){rz(t,ap(t),e,r)}),ao=or(nI),ai=rf(function(e,t){e=e_(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&ok(t[0],t[1],i)&&(r=1);++n1),t}),rz(e,oi(e),n),r&&(n=nZ(n,7,ot));for(var o=t.length;o--;)r_(n,t[o]);return n}),ay=or(function(e,t){return null==e?{}:ra(e,t,function(t,n){return ac(e,n)})});function av(e,t){if(null==e)return{};var n=th(oi(e),function(e){return[e]});return t=ou(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r4(ap),ak=r4(ad);function ax(e){return null==e?[]:tP(e,ap(e))}var aw=rV(function(e,t,n){return t=t.toLowerCase(),e+(n?a_(t):t)});function a_(e){return aR(i7(e).toLowerCase())}function aS(e){return(e=i7(e))&&e.replace(eh,tL).replace(eq,"")}var aO=rV(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aE=rV(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aj=rW("toLowerCase"),aT=rV(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aC=rV(function(e,t,n){return e+(n?" ":"")+aR(t)}),aA=rV(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aR=rW("toUpperCase");function aI(e,t,n){if(e=i7(e),t=n?o:t,o===t){var r;return(r=e,eQ.test(r))?e.match(eV)||[]:e.match(eo)||[]}return e.match(t)||[]}var aP=rf(function(e,t){try{return ts(e,o,t)}catch(e){return iz(e)?e:new ek(e)}}),aZ=or(function(e,t){return tu(t,function(t){nR(e,t=oF(t),ik(e[t],e))}),e});function aN(e){return function(){return e}}var aF=rG(),aL=rG(!0);function aM(e){return e}function aD(e){return n4("function"==typeof e?e:nZ(e,1))}var aB=rf(function(e,t){return function(n){return n2(n,e,t)}}),az=rf(function(e,t){return function(n){return n2(e,n,t)}});function a$(e,t,n){var r=ap(t),o=nK(t,r);null!=n||iq(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=nK(t,ap(t)));var i=!(iq(n)&&"chain"in n)||!!n.chain,a=i$(e);return tu(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=rB(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tm([this.value()],arguments))})}),e}function aU(){}var aH=r1(th),aq=r1(tl),aW=r1(tv);function aV(e){return ox(e)?tE(oF(e)):function(t){return nQ(t,e)}}var aK=r2(),aQ=r2(!0);function aG(){return[]}function aY(){return!1}var aX=rJ(function(e,t){return e+t},0),aJ=r6("ceil"),a1=rJ(function(e,t){return e/t},1),a0=r6("floor"),a2=rJ(function(e,t){return e*t},1),a5=r6("round"),a3=rJ(function(e,t){return e-t},0);return nh.after=function(e,t){if("function"!=typeof t)throw new eE(i);return e=i6(e),function(){if(--e<1)return t.apply(this,arguments)}},nh.ary=iv,nh.assign=ae,nh.assignIn=at,nh.assignInWith=an,nh.assignWith=ar,nh.at=ao,nh.before=ib,nh.bind=ik,nh.bindAll=aZ,nh.bindKey=ix,nh.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iN(e)?e:[e]},nh.chain=it,nh.chunk=function(e,t,n){t=(n?ok(e,t,n):o===t)?1:t2(i6(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,s=ev(tj(r/t));ii?0:i+n),(r=o===r||r>i?i:i6(r))<0&&(r+=i),r=n>r?0:i8(r);n>>0)?(e=i7(e))&&("string"==typeof t||null!=t&&!iG(t))&&!(t=rx(t))&&tB(e)?rI(tW(e),0,n):e.split(t,n):[]},nh.spread=function(e,t){if("function"!=typeof e)throw new eE(i);return t=null==t?0:t2(i6(t),0),rf(function(n){var r=n[t],o=rI(n,0,t);return r&&tm(o,r),ts(e,this,o)})},nh.tail=function(e){var t=null==e?0:e.length;return t?rm(e,1,t):[]},nh.take=function(e,t,n){return e&&e.length?rm(e,0,(t=n||o===t?1:i6(t))<0?0:t):[]},nh.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rm(e,(t=r-(t=n||o===t?1:i6(t)))<0?0:t,r):[]},nh.takeRightWhile=function(e,t){return e&&e.length?rO(e,ou(t,3),!1,!0):[]},nh.takeWhile=function(e,t){return e&&e.length?rO(e,ou(t,3)):[]},nh.tap=function(e,t){return t(e),e},nh.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new eE(i);return iq(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),iw(e,t,{leading:r,maxWait:t,trailing:o})},nh.thru=ir,nh.toArray=i5,nh.toPairs=ab,nh.toPairsIn=ak,nh.toPath=function(e){return iN(e)?th(e,oF):iJ(e)?[e]:rB(oN(i7(e)))},nh.toPlainObject=i9,nh.transform=function(e,t,n){var r=iN(e),o=r||iD(e)||i1(e);if(t=ou(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:iq(e)&&i$(i)?nm(eU(e)):{}}return(o?tu:nW)(e,function(e,r,o){return t(n,e,r,o)}),n},nh.unary=function(e){return iv(e,1)},nh.union=o1,nh.unionBy=o0,nh.unionWith=o2,nh.uniq=function(e){return e&&e.length?rw(e):[]},nh.uniqBy=function(e,t){return e&&e.length?rw(e,ou(t,2)):[]},nh.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?rw(e,o,t):[]},nh.unset=function(e,t){return null==e||r_(e,t)},nh.unzip=o5,nh.unzipWith=o3,nh.update=function(e,t,n){return null==e?e:rS(e,t,rA(n))},nh.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:rS(e,t,rA(n),r)},nh.values=ax,nh.valuesIn=function(e){return null==e?[]:tP(e,ad(e))},nh.without=o6,nh.words=aI,nh.wrap=function(e,t){return iT(rA(t),e)},nh.xor=o8,nh.xorBy=o4,nh.xorWith=o9,nh.zip=o7,nh.zipObject=function(e,t){return rT(e||[],t||[],nj)},nh.zipObjectDeep=function(e,t){return rT(e||[],t||[],rp)},nh.zipWith=ie,nh.entries=ab,nh.entriesIn=ak,nh.extend=at,nh.extendWith=an,a$(nh,nh),nh.add=aX,nh.attempt=aP,nh.camelCase=aw,nh.capitalize=a_,nh.ceil=aJ,nh.clamp=function(e,t,n){return o===n&&(n=t,t=o),o!==n&&(n=(n=i4(n))==n?n:0),o!==t&&(t=(t=i4(t))==t?t:0),nP(i4(e),t,n)},nh.clone=function(e){return nZ(e,4)},nh.cloneDeep=function(e){return nZ(e,5)},nh.cloneDeepWith=function(e,t){return nZ(e,5,t="function"==typeof t?t:o)},nh.cloneWith=function(e,t){return nZ(e,4,t="function"==typeof t?t:o)},nh.conformsTo=function(e,t){return null==t||nN(e,t,ap(t))},nh.deburr=aS,nh.defaultTo=function(e,t){return null==e||e!=e?t:e},nh.divide=a1,nh.endsWith=function(e,t,n){e=i7(e),t=rx(t);var r=e.length,i=n=o===n?r:nP(i6(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},nh.eq=iR,nh.escape=function(e){return(e=i7(e))&&H.test(e)?e.replace($,tM):e},nh.escapeRegExp=function(e){return(e=i7(e))&&X.test(e)?e.replace(Y,"\\$&"):e},nh.every=function(e,t,n){var r=iN(e)?tl:nB;return n&&ok(e,t,n)&&(t=o),r(e,ou(t,3))},nh.find=ia,nh.findIndex=o$,nh.findKey=function(e,t){return tk(e,ou(t,3),nW)},nh.findLast=is,nh.findLastIndex=oU,nh.findLastKey=function(e,t){return tk(e,ou(t,3),nV)},nh.floor=a0,nh.forEach=ic,nh.forEachRight=iu,nh.forIn=function(e,t){return null==e?e:nH(e,ou(t,3),ad)},nh.forInRight=function(e,t){return null==e?e:nq(e,ou(t,3),ad)},nh.forOwn=function(e,t){return e&&nW(e,ou(t,3))},nh.forOwnRight=function(e,t){return e&&nV(e,ou(t,3))},nh.get=as,nh.gt=iI,nh.gte=iP,nh.has=function(e,t){return null!=e&&og(e,t,nJ)},nh.hasIn=ac,nh.head=oq,nh.identity=aM,nh.includes=function(e,t,n,r){e=iL(e)?e:ax(e),n=n&&!r?i6(n):0;var o=e.length;return n<0&&(n=t2(o+n,0)),iX(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&tw(e,t,n)>-1},nh.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:i6(n);return o<0&&(o=t2(r+o,0)),tw(e,t,o)},nh.inRange=function(e,t,n){var r,i,a;return t=i3(t),o===n?(n=t,t=0):n=i3(n),(r=e=i4(e))>=t5(i=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},nh.isSet=iY,nh.isString=iX,nh.isSymbol=iJ,nh.isTypedArray=i1,nh.isUndefined=function(e){return o===e},nh.isWeakMap=function(e){return iW(e)&&om(e)==E},nh.isWeakSet=function(e){return iW(e)&&"[object WeakSet]"==nY(e)},nh.join=function(e,t){return null==e?"":t1.call(e,t)},nh.kebabCase=aO,nh.last=oQ,nh.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==n&&(i=(i=i6(n))<0?t2(r+i,0):t5(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,i):tx(e,tS,i,!0)},nh.lowerCase=aE,nh.lowerFirst=aj,nh.lt=i0,nh.lte=i2,nh.max=function(e){return e&&e.length?nz(e,aM,nX):o},nh.maxBy=function(e,t){return e&&e.length?nz(e,ou(t,2),nX):o},nh.mean=function(e){return tO(e,aM)},nh.meanBy=function(e,t){return tO(e,ou(t,2))},nh.min=function(e){return e&&e.length?nz(e,aM,n7):o},nh.minBy=function(e,t){return e&&e.length?nz(e,ou(t,2),n7):o},nh.stubArray=aG,nh.stubFalse=aY,nh.stubObject=function(){return{}},nh.stubString=function(){return""},nh.stubTrue=function(){return!0},nh.multiply=a2,nh.nth=function(e,t){return e&&e.length?ro(e,i6(t)):o},nh.noConflict=function(){return e6._===this&&(e6._=eL),this},nh.noop=aU,nh.now=iy,nh.pad=function(e,t,n){e=i7(e);var r=(t=i6(t))?tq(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return r0(tG(o),n)+e+r0(tj(o),n)},nh.padEnd=function(e,t,n){e=i7(e);var r=(t=i6(t))?tq(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=t8();return t5(e+i*(t-e+e0("1e-"+((i+"").length-1))),t)}return ru(e,t)},nh.reduce=function(e,t,n){var r=iN(e)?tg:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nM)},nh.reduceRight=function(e,t,n){var r=iN(e)?ty:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nD)},nh.repeat=function(e,t,n){return t=(n?ok(e,t,n):o===t)?1:i6(t),rl(i7(e),t)},nh.replace=function(){var e=arguments,t=i7(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nh.result=function(e,t,n){t=rR(t,e);var r=-1,i=t.length;for(i||(i=1,e=o);++r9007199254740991)return[];var n=4294967295,r=t5(e,4294967295);t=ou(t),e-=4294967295;for(var o=tA(r,t);++n=a)return e;var c=n-tq(r);if(c<1)return r;var u=s?rI(s,0,c).join(""):e.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),iG(i)){if(e.slice(c).search(i)){var l,f=u;for(i.global||(i=eS(i.source,i7(ec.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;u=u.slice(0,o===p?c:p)}}else if(e.indexOf(rx(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},nh.unescape=function(e){return(e=i7(e))&&U.test(e)?e.replace(z,tK):e},nh.uniqueId=function(e){var t=++eP;return i7(e)+t},nh.upperCase=aA,nh.upperFirst=aR,nh.each=ic,nh.eachRight=iu,nh.first=oq,a$(nh,(ey={},nW(nh,function(e,t){eI.call(nh.prototype,t)||(ey[t]=e)}),ey),{chain:!1}),nh.VERSION="4.17.21",tu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nh[e].placeholder=nh}),tu(["drop","take"],function(e,t){nv.prototype[e]=function(n){n=o===n?1:t2(i6(n),0);var r=this.__filtered__&&!t?new nv(this):this.clone();return r.__filtered__?r.__takeCount__=t5(n,r.__takeCount__):r.__views__.push({size:t5(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},nv.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tu(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nv.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ou(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tu(["head","last"],function(e,t){var n="take"+(t?"Right":"");nv.prototype[e]=function(){return this[n](1).value()[0]}}),tu(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nv.prototype[e]=function(){return this.__filtered__?new nv(this):this[n](1)}}),nv.prototype.compact=function(){return this.filter(aM)},nv.prototype.find=function(e){return this.filter(e).head()},nv.prototype.findLast=function(e){return this.reverse().find(e)},nv.prototype.invokeMap=rf(function(e,t){return"function"==typeof e?new nv(this):this.map(function(n){return n2(n,e,t)})}),nv.prototype.reject=function(e){return this.filter(iE(ou(e)))},nv.prototype.slice=function(e,t){e=i6(e);var n=this;return n.__filtered__&&(e>0||t<0)?new nv(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),o!==t&&(n=(t=i6(t))<0?n.dropRight(-t):n.take(t-e)),n)},nv.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nv.prototype.toArray=function(){return this.take(4294967295)},nW(nv.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=nh[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(nh.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof nv,u=s[0],l=c||iN(t),f=function(e){var t=i.apply(nh,tm([e],s));return r&&p?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,m=c&&!d;if(!a&&l){t=m?t:new nv(this);var g=e.apply(t,s);return g.__actions__.push({func:ir,args:[f],thisArg:o}),new ny(g,p)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),tu(["pop","push","shift","sort","splice","unshift"],function(e){var t=ej[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nh.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(iN(o)?o:[],e)}return this[n](function(n){return t.apply(iN(n)?n:[],e)})}}),nW(nv.prototype,function(e,t){var n=nh[t];if(n){var r=n.name+"";eI.call(ni,r)||(ni[r]=[]),ni[r].push({name:t,func:n})}}),ni[rY(o,2).name]=[{name:"wrapper",func:o}],nv.prototype.clone=function(){var e=new nv(this.__wrapped__);return e.__actions__=rB(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rB(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rB(this.__views__),e},nv.prototype.reverse=function(){if(this.__filtered__){var e=new nv(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nv.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=iN(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}},nh.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=oM(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},nh.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nv){var t=e;return this.__actions__.length&&(t=new nv(this)),(t=t.reverse()).__actions__.push({func:ir,args:[oJ],thisArg:o}),new ny(t,this.__chain__)}return this.thru(oJ)},nh.prototype.toJSON=nh.prototype.valueOf=nh.prototype.value=function(){return rE(this.__wrapped__,this.__actions__)},nh.prototype.first=nh.prototype.head,e3&&(nh.prototype[e3]=function(){return this}),nh}();e6._=tQ,o!==(r=(function(){return tQ}).call(t,n,t,e))&&(e.exports=r)}).call(this)},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},12436:function(e,t,n){var r=n(54073),o=n(29259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:function(e,t,n){var r=n(51704),o=n(29259),i=n(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},36954:function(e,t,n){var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(t){if(null==t)return i.decompress(t);for(var n=Array(t.length/2),r=0,o=n.length;rl.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++),a[u]=p++,l=String(c)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(256>l.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++)}for(r=0,o=2;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var o,i,a,s,c,u,l,f=[],p=4,d=4,h=3,m="",g=[],y={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(a=0,c=4,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 2:return""}for(f[3]=l,i=l,g.push(l);;){if(y.index>t)return"";for(a=0,c=Math.pow(2,h),u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(l=a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 2:return g.join("")}if(0==p&&(p=Math.pow(2,h),h++),f[l])m=f[l];else{if(l!==d)return null;m=i+i.charAt(0)}g.push(m),f[d++]=i+m.charAt(0),p--,i=m,0==p&&(p=Math.pow(2,h),h++)}}};return i}();void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)},92307:function(e){var t;t=function(){"use strict";var e={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},t=Array.prototype.slice;function n(e){var n=e.length;return n?1===n?[e[0]]:2===n?[e[0],e[1]]:3===n?[e[0],e[1],e[2]]:t.call(e,0):[]}function r(e,t){return e===t||e!=e&&t!=t}function o(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var i=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:n(this.keys),size:this.size,values:n(this.values)}},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,i=o.length;if(!i)return -1;if(n(o[0],e))return 0;if(r>1){for(var a=1;a1){for(var s=0;s1){for(var i=0;i=s&&(r.length=o.length=s)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,i=this.keys[0],a=this.values[0];this.values[0]=a.then(function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n},function(e){var n=t.getKeyIndex(i);throw -1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e})},e}();return function t(a,s){if(void 0===s&&(s={}),"function"==typeof a&&a.isMemoized)return t(a.fn,o(a.options,s));if("function"!=typeof a)throw TypeError("You must pass a function to `memoize`.");var c=s.isEqual,u=s.isMatchingKey,l=s.isPromise,f=void 0!==l&&l,p=s.maxSize,d=s.onCacheAdd,h=s.onCacheChange,m=s.onCacheHit,g=s.transformKey,y=o({isEqual:void 0===c?r:c,isMatchingKey:u,isPromise:f,maxSize:void 0===p?1:p,onCacheAdd:d,onCacheChange:h,onCacheHit:m,transformKey:g},function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}(s)),v=new i(y),b=v.keys,k=v.values,x=v.canTransformKey,w=v.shouldCloneArguments,_=v.shouldUpdateOnAdd,S=v.shouldUpdateOnChange,O=v.shouldUpdateOnHit,E=function(){var e=w?n(arguments):arguments;x&&(e=g(e));var t=b.length?v.getKeyIndex(e):-1;if(-1!==t)O&&m(v,y,E),t&&(v.orderByLru(b[t],k[t],t),S&&h(v,y,E));else{var r=a.apply(this,arguments),o=w?e:n(arguments);v.orderByLru(o,r,b.length),f&&v.updateAsyncCache(E),_&&d(v,y,E),S&&h(v,y,E)}return k[0]};return E.cache=v,E.fn=a,E.isMemoized=!0,E.options=y,E}},e.exports=t()},12041:function(e,t,n){e.exports=n(69050)},10422:function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return p},ACTION_NAVIGATE:function(){return c},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return a},PrefetchKind:function(){return i},isThenable:function(){return h}});var r,o,i,a,s="refresh",c="navigate",u="restore",l="server-patch",f="prefetch",p="fast-refresh",d="server-action";function h(e){return e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}(r=i||(i={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(o=a||(a={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"===n(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52279:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),n(20311),("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27412:function(e,t,n){"use strict";var r=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});var f=n(43219),p=n(52322),d=f._(n(2784)),h=n(17208),m=n(11366),g=n(92512),y=n(99674),v=n(88014),b=n(42533),k=n(3074),x=n(6642),w=n(52279),_=n(658),S=n(10422),O=new Set;function E(e,t,n,r,o,i){if(i||(0,m.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){var a,s,c=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(O.has(c))return;O.add(c)}(a=u().mark(function a(){return u().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!i){a.next=4;break}return a.abrupt("return",e.prefetch(t,o));case 4:return a.abrupt("return",e.prefetch(t,n,r));case 5:case"end":return a.stop()}},a)}),s=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=a.apply(e,t);function i(e){l(o,n,r,i,s,"next",e)}function s(e){l(o,n,r,i,s,"throw",e)}i(void 0)})},function(){return s.apply(this,arguments)})().catch(function(e){})}}function j(e){return"string"==typeof e?e:(0,g.formatUrl)(e)}var T=d.default.forwardRef(function(e,t){var n,o,s=e.href,u=e.as,l=e.children,f=e.prefetch,g=void 0===f?null:f,O=e.passHref,T=e.replace,C=e.shallow,A=e.scroll,R=e.locale,I=e.onClick,P=e.onMouseEnter,Z=e.onTouchStart,N=e.legacyBehavior,F=void 0!==N&&N,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r);n=l,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,p.jsx)("a",{children:n}));var M=d.default.useContext(b.RouterContext),D=d.default.useContext(k.AppRouterContext),B=null!=M?M:D,z=!M,$=!1!==g,U=null===g?S.PrefetchKind.AUTO:S.PrefetchKind.FULL,H=d.default.useMemo(function(){if(!M){var e=j(s);return{href:e,as:u?j(u):e}}var t=a((0,h.resolveHref)(M,s,!0),2),n=t[0],r=t[1];return{href:n,as:u?(0,h.resolveHref)(M,u):r||n}},[M,s,u]),q=H.href,W=H.as,V=d.default.useRef(q),K=d.default.useRef(W);F&&(o=d.default.Children.only(n));var Q=F?o&&"object"===c(o)&&o.ref:t,G=a((0,x.useIntersection)({rootMargin:"200px"}),3),Y=G[0],X=G[1],J=G[2],ee=d.default.useCallback(function(e){(K.current!==W||V.current!==q)&&(J(),K.current=W,V.current=q),Y(e),Q&&("function"==typeof Q?Q(e):"object"===c(Q)&&(Q.current=e))},[W,Q,q,J,Y]);d.default.useEffect(function(){B&&X&&$&&E(B,q,W,{locale:R},{kind:U},z)},[W,q,X,R,$,null==M?void 0:M.locale,B,z,U]);var et={ref:ee,onClick:function(e){F||"function"!=typeof I||I(e),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),B&&!e.defaultPrevented&&function(e,t,n,r,o,i,a,s,c){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!c&&!(0,m.isLocalURL)(n)))){e.preventDefault();var u,l=function(){var e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?d.default.startTransition(l):l()}}(e,B,q,W,T,C,A,R,z)},onMouseEnter:function(e){F||"function"!=typeof P||P(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)},onTouchStart:function(e){F||"function"!=typeof Z||Z(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)}};if((0,y.isAbsoluteUrl)(W))et.href=W;else if(!F||O||"a"===o.type&&!("href"in o.props)){var en=void 0!==R?R:null==M?void 0:M.locale,er=(null==M?void 0:M.isLocaleDomain)&&(0,w.getDomainLocale)(W,en,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);et.href=er||(0,_.addBasePath)((0,v.addLocale)(W,en,null==M?void 0:M.defaultLocale))}return F?d.default.cloneElement(o,et):(0,p.jsx)("a",i(i(i({},L),et),{},{children:n}))});("function"==typeof t.default||"object"===c(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6642:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0;t&&n&&t(n)})},e),elements:o},u.push(n),c.set(n,t),t}({root:null==n?void 0:n.current,rootMargin:r})).id,i=t.observer,(f=t.elements).set(m,e),i.observe(m),function(){if(f.delete(m),i.unobserve(m),0===f.size){i.disconnect(),c.delete(o);var e=u.findIndex(function(e){return e.root===o.root&&e.margin===o.margin});e>-1&&u.splice(e,1)}}}}else if(!p){var g=(0,a.requestIdleCallback)(function(){return d(!0)});return function(){return(0,a.cancelIdleCallback)(g)}}},[l,r,n,p,h.current]),[m,p,(0,i.useCallback)(function(){d(!1)},[])]}("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69050:function(e,t,n){"use strict";function r(){r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function p(t,n,r,o){var i,s,c=Object.create((n&&n.prototype instanceof v?n:v).prototype);return a(c,"_invoke",{value:(i=new C(o||[]),s=h,function(n,o){if(s===m)throw Error("Generator is already running");if(s===g){if("throw"===n)throw o;return{value:e,done:!0}}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var c=function t(n,r){var o=r.method,i=n.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),y;var a=d(i,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,y)}(a,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===h)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=m;var u=d(t,r,i);if("normal"===u.type){if(s=i.done?g:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(s=g,i.method="throw",i.arg=u.arg)}})}),c}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",m="executing",g="completed",y={};function v(){}function b(){}function k(){}var x={};f(x,c,function(){return this});var w=Object.getPrototypeOf,_=w&&w(w(A([])));_&&_!==n&&i.call(_,c)&&(x=_);var S=k.prototype=v.prototype=Object.create(x);function O(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;a(this,"_invoke",{value:function(r,a){function s(){return new t(function(n,s){!function n(r,a,s,c){var u=d(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,s,c)},function(e){n("throw",e,s,c)}):t.resolve(f).then(function(e){l.value=e,s(l)},function(e){return n("throw",e,s,c)})}c(u.arg)}(r,a,n,s)})}return n=n?n.then(s,s):s()}})}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});var l=n(43219),f=n(52322),p=l._(n(2784)),d=n(99674);function h(e){return m.apply(this,arguments)}function m(){var e;return e=r().mark(function e(t){var n,o,i;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.Component,o=t.ctx,e.next=3,(0,d.loadGetInitialProps)(n,o);case 3:return i=e.sent,e.abrupt("return",{pageProps:i});case 5:case"end":return e.stop()}},e)}),(m=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var g=function(e){var t;function n(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),e=n,t=arguments,e=s(e),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?e.apply(this,t):Reflect.construct(e,t||[],s(this).constructor))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(n,e),t=[{key:"render",value:function(){var e=this.props,t=e.Component,n=e.pageProps;return(0,f.jsx)(t,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,x()),function(n){var r,o,i=(n||{}).queryHook,a=void 0===i?w:i;return{$$type:"ais.searchBox",init:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("query",void 0)},getRenderState:function(e,t){return k(k({},e),{},{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,i=e.instantSearchInstance,s=e.state;return r||(r=function(e){a(e,function(e){return t.setQuery(e).search()})},o=function(){t.setQuery("").search()}),{query:s.query||"",refine:r,clear:o,widgetParams:n,isSearchStalled:"stalled"===i.status}},getWidgetUiState:function(e,t){var n=t.searchParameters.query||"";return""===n||e&&e.query===n?e:k(k({},e),{},{query:n})},getWidgetSearchParameters:function(e,t){var n=t.uiState;return e.setQueryParameter("query",n.query||"")}}}},S=n(47493),O=["onChange"];function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,O),a=(n={queryHook:T},(0,S.B)(_,n,void 0)),s=a.query,c=a.refine,u=a.clear,f=a.isSearchStalled,p=function(e){if(Array.isArray(e))return e}(r=(0,l.useState)(s))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(r,2)||function(e,t){if(e){if("string"==typeof e)return j(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=p[0],g=p[1],y=(0,l.useCallback)(function(e){var t=e.currentTarget.value;g(t),c(t)},[c]),v=(0,l.useCallback)(function(){g(""),u()},[u]);return l.createElement(d.Z,E({ref:t,isLoading:f,value:m,onChange:(0,h.N)(o,y),onClearInput:v},i))});C.displayName="InstantSearchInput";var A=n(40596),R=n(85017),I=n(61619),P=n(73645),Z=n(70758),N=n(35306),F=n(47438),L=n(5081),M=n(76635),D=n.n(M),B=n(78141),z=n.n(B),$=n(53232),U=n(91106),H=n(73183),q=n(69419);function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=n-t?r-(n-e):t}},{key:"isLastPage",value:function(){return this.currentPage===this.total-1||0===this.total}},{key:"isFirstPage",value:function(){return 0===this.currentPage}}],function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,ed()),function(n){var r=n||{},o=r.totalPages,i=r.padding,a=new eu({currentPage:0,total:0,padding:void 0===i?3:i}),s={};return{$$type:"ais.pagination",init:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("page",void 0)},getWidgetUiState:function(e,t){var n=t.searchParameters.page||0;return n?ep(ep({},e),{},{page:n+1}):e},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.page?n.page-1:0;return e.setQueryParameter("page",r)},getWidgetRenderState:function(e){var t,r=e.results,i=e.helper,c=e.state,u=e.createURL;s.refine||(s.refine=function(e){i.setPage(e),i.search()}),s.createURL||(s.createURL=function(e){return u(function(t){return ep(ep({},t),{},{page:e+1})})});var l=c.page||0,f=(t=(r||{nbPages:0}).nbPages,void 0!==o?Math.min(o,t):t);return a.currentPage=l,a.total=f,{createURL:s.createURL,refine:s.refine,canRefine:f>1,currentRefinement:l,nbHits:(null==r?void 0:r.nbHits)||0,nbPages:f,pages:r?a.pages():[],isFirstPage:a.isFirstPage(),isLastPage:a.isLastPage(),widgetParams:n}},getRenderState:function(e,t){return ep(ep({},e),{},{pagination:this.getWidgetRenderState(t)})}}}};function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},x=k.catchError,w=(0,$.z)(),_=(e=(0,$.z)(),n=(t=(0,q.a)()).getIndexId(),o=(r=V((0,l.useState)(function(){return e.getUiState()}),2))[0],i=r[1],a=o[n],c=(s=V((0,l.useState)(function(){return e.renderState}),2))[0],u=s[1],f=c[n]||{},p=(0,l.useCallback)(function(t){e.setUiState(t)},[e]),d=(0,l.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,l.useEffect)(function(){function t(){i(e.getUiState()),u(e.renderState)}return e.addListener("render",t),function(){e.removeListener("render",t)}},[e]),{uiState:o,setUiState:p,indexUiState:a,setIndexUiState:d,renderState:c,indexRenderState:f}),S=_.uiState,O=_.setUiState,E=_.indexUiState,j=_.setIndexUiState,T=_.renderState,C=_.indexRenderState,A=(h=(0,$.z)(),m=(0,q.a)(),v=(y=function(e){if(Array.isArray(e))return e}(g=(0,l.useState)(function(){return(0,H.E)(m)}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(g,2)||function(e,t){if(e){if("string"==typeof e)return W(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=y[1],(0,l.useEffect)(function(){function e(){var e=m.getResults();null!==e&&b({results:e,scopedResults:m.getScopedResults()})}return h.addListener("render",e),function(){h.removeListener("render",e)}},[h,m]),v),R=A.results,I=A.scopedResults,P=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n0&&0===i.nbHits)return l.createElement(I.Z,{spacing:"4x",py:"10x"},l.createElement(Z.Z,{textAlign:"center"},'No results found for "',i.query,'"'));var p=Object.entries(D().chain(i.hits).orderBy("data.title").groupBy("parent.title").value());return l.createElement(l.Fragment,null,l.createElement(I.Z,{flex:"1",px:"3x",py:"2x",overflowY:"auto"},p.map(function(e){var n=ey(e,2),o=n[0],i=n[1];return l.createElement(c.Z,{key:o},l.createElement(c.Z,{my:"2x"},l.createElement(Z.Z,{color:r.color.secondary},o)),(0,L.rY)(i).map(function(e){var n,r,i,a,s,f=null===(n=D().find(Q._,{title:o}))||void 0===n?void 0:n.icon,p=(0,L.rY)(null==e?void 0:null===(r=e._highlightResult)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:null===(a=i.title)||void 0===a?void 0:a.matchedWords),d=(0,L.Zs)(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.title);return l.createElement(c.Z,{key:e.objectID},l.createElement(en,{href:"/".concat(e.data.path),onClick:function(){t(e)}},f&&l.createElement(f,{size:"6x"}),l.createElement(z(),{searchWords:p,highlightTag:"mark",textToHighlight:d,highlightStyle:{backgroundColor:"rgba(0, 116, 255, 0.8)",color:"rgba(255, 255, 255, .92)"}})),l.createElement(u.Z,{my:"2x"}))}))})),i.nbPages>1&&l.createElement(l.Fragment,null,l.createElement(u.Z,null),l.createElement(P.Z,{my:"3x",justifyContent:"center"},l.createElement(eg,null))))};eb.displayName="InstantSearchRefinementList";var ek=["onClose"];function ex(){return(ex=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ek),h=(0,o.u)(),m=(0,f.Z)();return l.createElement(i.Z,ex({ref:t,autoFocus:!0,ensureFocus:!0,closeOnEsc:!0,closeOnOutsideClick:!0,isOpen:!0,onClose:n,size:"md"},d),l.createElement(r.xB,{styles:ew}),l.createElement(a.Z,null),l.createElement(s.Z,{marginTop:"12x",maxHeight:"calc(100vh - ".concat(null==h?void 0:h.space["12x"]," - ").concat(null==h?void 0:h.space["12x"],")"),minHeight:null},l.createElement(c.Z,{p:"4x"},l.createElement(C,{size:"lg",placeholder:"Search...",onChange:function(e){m("InstantSearch","change_search_input",e.target.value)}})),l.createElement(u.Z,null),l.createElement(eb,{onChange:function(e){var t=(null==e?void 0:null===(o=e.parent)||void 0===o?void 0:o.title)||"",r=(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.title)||"";if(m("InstantSearch","click_search_result",(0,p.Z)({path:"/".concat(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.path),title:[t,r].join(" > ")})),t){var o,i,a,s,c=document.querySelector("#sidenav button[data-title=".concat((0,p.Z)(t),"]"));if((null==c?void 0:null===(s=c.dataset)||void 0===s?void 0:s.expanded)==="false"){var u=new MouseEvent("click",{bubbles:!0,cancelable:!0});c.dispatchEvent(u)}}n()}})))});e_.displayName="InstantSearchModal";var eS=e_},58325:function(e,t,n){"use strict";var r=n(40596),o=n(85017),i=n(83513),a=n(73645),s=n(70758),c=n(21407),u=n(2784),l=["children"];function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,l),h=p((0,r.Z)(),1)[0],m=p((0,o.Z)({colorMode:h}),1)[0];return u.createElement(i.Z,f({ref:t,display:"flex",alignItems:"center",justifyContent:"space-between",color:m.color.primary,border:1,borderColor:{dark:"gray:60",light:"gray:30"}[h],borderRadius:"sm",_focus:{borderColor:{dark:"blue:60",light:"blue:60"}[h]},_hover:{borderColor:{dark:"blue:50",light:"blue:50"}[h]},fontSize:"sm",lineHeight:"sm",px:"3x",height:"8x",minWidth:{sm:34,md:200},transition:"min-width 0.2s"},d),u.createElement(a.Z,{alignItems:"center",columnGap:"2x"},u.createElement(c.Z,null),u.createElement(s.Z,{display:{sm:"none",md:"block"},color:m.color.secondary},n)))});h.displayName="SearchButton",t.Z=h},73819:function(e,t,n){"use strict";n.d(t,{_:function(){return v}});var r=n(70758),o=n(99870),i=n(4409),a=n(57805),s=n(34323),c=n(95530),u=n(44152),l=n(37384),f=n(18247),p=n(85409),d=n(84668),h=n(30047),m=n(2784);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}},n=t.fallback;return"undefined"==typeof window?n():e({window:window})}var G=n(53449);function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,n=e.insightsInitParams,r=e.onEvent,o=e.$$internal,i=void 0!==o&&o,a=e.$$automatic,s=void 0!==a&&a,c=t;t||null===t||Q(function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(c=t[n]),c||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=Array(e),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=es(e);if(n){var r=o.state.userToken;t?i():setTimeout(i,0)}function i(){o.overrideStateWithoutTriggeringChangeEvent(J(J({},o.state),{},{userToken:n})),r&&r!==e&&a.scheduleSearch()}},n=function(e){if(("undefined"==typeof document?"undefined":K(document))==="object"&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r=3||2===n&&r>=6||1===n&&r>=10}function es(e){if(e)return"number"==typeof e?e.toString():e}function ec(e,t,n){var r=t.getHelper();return{uiState:n,helper:r,parent:t,instantSearchInstance:e,state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function eu(e,t){var n=t.getResults(),r=t.getHelper();return{helper:r,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n?n._state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}var el=n(19126);function ef(e){return(ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ep(e,t,n){return(t=ed(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ed(e){var t=function(e,t){if("object"!==ef(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ef(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ef(t)?t:String(t)}var eh=function(e){e&&(window.document.title=e)},em=function(){var e;function t(e){var n=this,r=e.windowTitle,o=e.writeDelay,i=e.createURL,a=e.parseURL,s=e.getLocation,c=e.start,u=e.dispose,l=e.push,f=e.cleanUrlOnDispose;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),ep(this,"$$type","ais.browser"),ep(this,"windowTitle",void 0),ep(this,"writeDelay",void 0),ep(this,"_createURL",void 0),ep(this,"parseURL",void 0),ep(this,"getLocation",void 0),ep(this,"writeTimer",void 0),ep(this,"_onPopState",void 0),ep(this,"inPopState",!1),ep(this,"isDisposed",!1),ep(this,"latestAcknowledgedHistory",0),ep(this,"_start",void 0),ep(this,"_dispose",void 0),ep(this,"_push",void 0),ep(this,"_cleanUrlOnDispose",void 0),this.windowTitle=r,this.writeTimer=void 0,this.writeDelay=void 0===o?400:o,this._createURL=i,this.parseURL=a,this.getLocation=s,this._start=c,this._dispose=u,this._push=l,this._cleanUrlOnDispose=void 0===f||f,Q(function(e){var t=e.window;eh(n.windowTitle&&n.windowTitle(n.read())),n.latestAcknowledgedHistory=t.history.length})}return e=[{key:"read",value:function(){return this.parseURL({qsModule:el,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;Q(function(n){var r=n.window,o=t.createURL(e),i=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){eh(i),t.shouldWrite(o)&&(t._push?t._push(o):r.history.pushState(e,i||"",o),t.latestAcknowledgedHistory=r.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},Q(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:el,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,Q(function(t){var n=t.window;e._onPopState&&n.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return Q(function(n){var r=n.window,o=!(t.isDisposed&&t.latestAcknowledgedHistory!==r.history.length);return!t.inPopState&&o&&e!==r.location.href})}}],function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ey)}function ew(e){return e!==Object(e)}function e_(e){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eO(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,n=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,n=void 0===t?function(e){var t=e.qsModule,n=e.routeState,r=e.location,o=r.protocol,i=r.hostname,a=r.port,s=void 0===a?"":a,c=r.pathname,u=r.hash,l=t.stringify(n),f=""===s?"":":".concat(s);return l?"".concat(o,"//").concat(i).concat(f).concat(c,"?").concat(l).concat(u):"".concat(o,"//").concat(i).concat(f).concat(c).concat(u)}:t,r=e.parseURL,o=e.writeDelay,i=e.windowTitle,a=e.getLocation;return new em({createURL:n,parseURL:void 0===r?function(e){var t=e.qsModule,n=e.location;return t.parse(n.search.slice(1),{arrayLimit:99})}:r,writeDelay:void 0===o?400:o,windowTitle:i,getLocation:void 0===a?function(){return Q(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:a,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,r=e.stateMapping,o=void 0===r?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,n){return eb(eb({},t),{},ek({},n,ex(e[n])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){return eb(eb({},t),{},ek({},n,ex(e[n])))},{})}}:r,i=e.$$internal,a=void 0!==i&&i;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var r=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),i=Object.keys(e).reduce(function(t,n){return eO(eO({},t),{},eE({},n,e[n]))},r),a=o.stateToRoute(i);return n.createURL(a)};var r=void 0,i=t._initialUiState;return{$$type:"ais.router({router:".concat(n.$$type||"__unknown__",", stateMapping:").concat(o.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(e){var t=e.uiState,i=o.stateToRoute(t);(void 0===r||!function e(t,n){if(t===n)return!0;if(ew(t)||ew(n)||"function"==typeof t||"function"==typeof n)return t===n;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r=0,o=Object.keys(t);r0&&t.setUiState(o.routeToState(e))})},started:function(){var e;null===(e=n.start)||void 0===e||e.call(n)},unsubscribe:function(){n.dispose()}}}},eT=n(20303);function eC(e){return"ais.index"===e.$$type}function eA(e){return(eA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eR=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function eI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eP(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eR);return e.setQueryParameters(n)},eN=function(e,t){var n=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,n){return n.indexOf(e)===t});return n.length>0?e.setQueryParameters({ruleContexts:n}):e},eF=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,n){return!eC(n)&&(n.getWidgetUiState||n.getWidgetState)?n.getWidgetUiState?n.getWidgetUiState(e,t):n.getWidgetState(e,t):e},n)}function eV(e,t){var n=t.initialSearchParameters,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eM);return e.filter(function(e){return!eC(e)}).reduce(function(e,t){return t.getWidgetSearchParameters?t.getWidgetSearchParameters(e,r):e},n)}var eK=function(e){if(void 0===e||void 0===e.indexName)throw Error(eH("The `indexName` option is required."));var t=e.indexName,n=e.indexId,r=void 0===n?t:n,o=[],i={},a=null,s=null,c=null,u=null,l=null;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return t},getIndexId:function(){return r},getHelper:function(){return c},getResults:function(){var e;return null!==(e=u)&&void 0!==e&&e.lastResults?(u.lastResults._state=c.state,u.lastResults):null},getPreviousState:function(){return l},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(eC).reduce(function(t,n){return t.concat.apply(t,[{indexId:n.getIndexId(),results:n.getResults(),helper:n.getHelper()}].concat(e$(e(n.getWidgets()))))},[])}(e?e.getWidgets():[this])},getParent:function(){return s},createURL:function(e){return"function"==typeof e?a._createURL(ez({},r,e(i))):a._createURL(ez({},r,eW(o,{searchParameters:e,helper:c})))},getWidgets:function(){return o},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(eH("The `addWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(eH("The widget definition expects a `render` and/or an `init` method."));return o=o.concat(e),a&&e.length&&(eq(c,{state:eV(o,{uiState:i,initialSearchParameters:c.state}),_uiState:i}),e.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(a.renderState[t.getIndexId()]||{},ec(a,t,a._initialUiState)),instantSearchInstance:a,parent:t})}),e.forEach(function(e){e.init&&e.init(ec(a,t,a._initialUiState))}),a.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(eH("The `removeWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(eH("The widget definition expects a `dispose` method."));if(o=o.filter(function(t){return -1===e.indexOf(t)}),a&&e.length){var n=e.reduce(function(e,n){return n.dispose({helper:c,state:e,parent:t})||e},c.state),r=a.future.preserveSharedStateOnUnmount?eV(o,{uiState:i,initialSearchParameters:new V.SearchParameters({index:this.getIndexName()})}):eV(o,{uiState:eW(o,{searchParameters:n,helper:c}),initialSearchParameters:n});i=eW(o,{searchParameters:r,helper:c}),c.setState(r),o.length&&a.scheduleSearch()}return this},init:function(e){var n,f=this,p=e.instantSearchInstance,d=e.parent,h=e.uiState;if(null===c){a=p,s=d,i=h[r]||{};var m=p.mainHelper,g=eV(o,{uiState:i,initialSearchParameters:new V.SearchParameters({index:t})});(c=V({},g.index,g)).search=function(){return p.onStateChange?(p.onStateChange({uiState:p.mainIndex.getWidgetUiState({}),setUiState:function(e){return p.setUiState(e,!1)}}),m):m.search()},c.searchWithoutTriggeringOnStateChange=function(){return m.search()},c.searchForFacetValues=function(e,t,n,r){var o=c.state.setQueryParameters(r);return m.searchForFacetValues(e,t,n,o)},u=m.derive(function(){return eF.apply(void 0,[m.state].concat(e$(function(e){for(var t=e.getParent(),n=[e.getHelper().state];null!==t;)n=[t.getHelper().state].concat(n),t=t.getParent();return n}(f))))});var y=null===(n=p._initialResults)||void 0===n?void 0:n[this.getIndexId()];if(y){var v=new V.SearchResults(new V.SearchParameters(y.state),y.results);u.lastResults=v,c.lastResults=v}c.on("change",function(e){e.isPageReset&&function e(t){var n=t.filter(eC);0!==n.length&&n.forEach(function(t){var n=t.getHelper();eq(n,{state:n.state.resetPage(),isPageReset:!0}),e(t.getWidgets())})}(o)}),u.on("search",function(){p.scheduleStalledRender()}),u.on("result",function(e){var t=e.results;p.scheduleRender(),c.lastResults=t,l=null==t?void 0:t._state}),o.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(p.renderState[f.getIndexId()]||{},ec(p,f,h)),instantSearchInstance:p,parent:f})}),o.forEach(function(e){e.init&&e.init(ec(p,f,h))}),c.on("change",function(e){var t=e.state,n=e._uiState;i=eW(o,{searchParameters:t,helper:c},n||{}),p.onStateChange||p.onInternalStateChange()}),y&&p.scheduleRender()}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&l&&c.setState(l);var r=this.getResults()?o:o.filter(eC);r.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},eu(n,t)),instantSearchInstance:n,parent:t})}),r.forEach(function(e){e.render&&e.render(eu(n,t))})},dispose:function(){var e,t,n=this;o.forEach(function(e){e.dispose&&e.dispose({helper:c,state:c.state,parent:n})}),a=null,s=null,null===(e=c)||void 0===e||e.removeAllListeners(),c=null,null===(t=u)||void 0===t||t.detach(),u=null},getWidgetUiState:function(e){return o.filter(eC).reduce(function(e,t){return t.getWidgetUiState(e)},eB(eB({},e),{},ez({},r,eB(eB({},e[r]),i))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var n=t.uiState;return eV(o,{uiState:n,initialSearchParameters:e})},refreshUiState:function(){i=eW(o,{searchParameters:this.getHelper().state,helper:this.getHelper()},i)},setIndexUiState:function(e){var t="function"==typeof e?e(i):e;a.setUiState(function(e){return eB(eB({},e),{},ez({},r,t))})}}};function eQ(e){var t=e.renderState,n=e.instantSearchInstance,r=e.parent,o=r?r.getIndexId():n.mainIndex.getIndexId();n.renderState=eB(eB({},n.renderState),{},ez({},o,eB(eB({},n.renderState[o]),t)))}var eG=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.descendantName,r=t.modifierName;return"".concat("ais","-").concat(e).concat(n?"-".concat(n):"").concat(r?"--".concat(r):"")}};function eY(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}var eX="",eJ="",e1=eG("Highlight");function e0(e){return e.map(function(e){return e.isHighlighted?eX+e.value+eJ:e.value}).join("")}RegExp(/[&<>"']/g.source);var e2={"&":"&","<":"<",">":">",""":'"',"'":"'"},e5=/&(amp|quot|lt|gt|#39);/g,e3=RegExp(e5.source),e6=new RegExp(/\w/i);function e8(e){return(e8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e9(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r0)||void 0===arguments[0]||arguments[0];!(null!==(e=t.mainHelper)&&void 0!==e&&e.hasPendingRequests())&&(clearTimeout(t._searchStalledTimer),t._searchStalledTimer=null,n&&(t.status="idle",t.error=void 0)),t.mainIndex.render({instantSearchInstance:tx(t)}),t.emit("render")})),t_(tx(t),"onInternalStateChange",tu(function(){var e=t.mainIndex.getWidgetUiState({});t.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),t.setMaxListeners(100);var t,n=e.indexName,i=void 0===n?"":n,a=e.numberLocale,s=e.initialUiState,c=e.routing,u=void 0===c?null:c,l=e.insights,f=void 0===l?void 0:l,p=e.searchFunction,d=e.stalledSearchDelay,h=e.searchClient,m=void 0===h?null:h,g=e.insightsClient,y=void 0===g?null:g,v=e.onStateChange,b=e.future,k=void 0===b?tb(tb({},tj),e.future||{}):b;if(null===m)throw Error(tO("The `searchClient` option is required."));if("function"!=typeof m.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof m.addAlgoliaAgent&&m.addAlgoliaAgent("instantsearch.js (".concat("4.66.0",")")),y&&"function"!=typeof y)throw Error(tO("The `insightsClient` option should be a function."));if(t.client=m,t.future=k,t.insightsClient=y,t.indexName=i,t.helper=null,t.mainHelper=null,t.mainIndex=eK({indexName:i}),t.onStateChange=void 0===v?null:v,t.started=!1,t.templatesConfig={helpers:{formatNumber:function(e,t){return Number(t(e)).toLocaleString(a)},highlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._highlightResult,r)||{}).value,l=e1({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._highlightResult,r)||{}).value,l=tt({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),e0(e7(te(void 0===u?"":u))).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._snippetResult,r)||{}).value,l=tn({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._snippetResult,r)||{}).value,l=tr({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),e0(e7(te(void 0===u?"":u))).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var n,r=JSON.parse(e),o=r.method,i=r.payload;return t((n=ts({objectIDs:[this.objectID]},i),function(e){var t,n=e.method,r=e.payload;if("object"!==to(r))throw Error("The insights helper expects the payload to be an object.");try{t=btoa(encodeURIComponent(JSON.stringify(r)))}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:o,payload:n})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},t._stalledSearchDelay=void 0===d?200:d,t._searchStalledTimer=null,t._createURL=tE,t._initialUiState=void 0===s?{}:s,t._initialResults=null,t._insights=f,p&&(t._searchFunction=p),t.sendEventToInsights=G.Z,u){var x="boolean"==typeof u?{}:u;x.$$internal=!0,t.use(ej(x))}if(f){var w="boolean"==typeof f?{}:f;w.$$internal=!0,t.use(ei(w))}return Q(function(e){var t,n;return(null===(t=e.window.navigator)||void 0===t?void 0:null===(n=t.userAgent)||void 0===n?void 0:n.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&t.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,n=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,r={widgets:[]},o=document.createElement("meta"),i=document.querySelector("head");return o.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:n,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e=t.client;r.ua=e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,n,r){var o=ec(n,n.mainIndex,n._initialUiState);t.forEach(function(t){var i={};if(t.getWidgetRenderState){var a=t.getWidgetRenderState(o);a&&a.widgetParams&&(i=a.widgetParams)}var s=Object.keys(i).filter(function(e){return void 0!==i[e]});r.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),n,r)})}(t.mainIndex.getWidgets(),t,r),t.middleware.forEach(function(e){return r.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),o.content=JSON.stringify(r),i.appendChild(o)},0)},started:function(){},unsubscribe:function(){o.remove()}}}}({$$internal:!0})),t}return n=[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1?n-1:0),i=1;i0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(ei({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(e=this.mainHelper)||void 0===e||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(tO("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var r="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&n?this.onStateChange({uiState:r,setUiState:function(e){tg("function"==typeof e?e(r):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(tg(r,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(tO("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(tO("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tU));return n.started?u.createElement(q.Z.Provider,{value:n},u.createElement(H.Z.Provider,{value:n.mainIndex},t)):null}function tq(e){return(tq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tW(e){return(tW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tK(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:G.Z,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Z;return function(n){if(!n||!function(e){if(!("object"===tq(e)&&null!==e)||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(n.searchParameters))throw Error(tG("The `searchParameters` option expects an object."));var r={};return{$$type:"ais.configure",init:function(t){var n=t.instantSearchInstance;e(tK(tK({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(tK(tK({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var r=e.state;return t(),tY(r,n)},getRenderState:function(e,t){var n,r=this.getWidgetRenderState(t);return tK(tK({},e),{},{configure:tK(tK({},r),{},{widgetParams:tK(tK({},r.widgetParams),{},{searchParameters:eF(new V.SearchParameters(null===(n=e.configure)||void 0===n?void 0:n.widgetParams.searchParameters),new V.SearchParameters(r.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return r.refine||(r.refine=function(e){var r=eF(tY(t.state,n),new V.SearchParameters(e));n.searchParameters=e,t.setState(r).search()}),{refine:r.refine,widgetParams:n}},getWidgetSearchParameters:function(e,t){var r=t.uiState;return eF(e,new V.SearchParameters(tK(tK({},r.configure),n.searchParameters)))},getWidgetUiState:function(e){return tK(tK({},e),{},{configure:tK(tK({},e.configure),n.searchParameters)})}}}},tJ=n(47493);function t1(e){var t;return t={$$widgetType:"ais.configure"},(0,tJ.B)(tX,{searchParameters:e},t),null}var t0=n(40596),t2=n(85017);function t5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return t3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t3(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nx),a=n_((0,t0.Z)(),2),s=a[0],c=a[1],l=n_((0,t2.Z)({colorMode:s}),1)[0],f=(0,t8.Z)(),p=(0,nh.Z)(),d=nj||"",h=(0,u.useCallback)(function(){f(function(e){return u.createElement(nk.Z,{onClose:function(){p("InstantSearch","close_instant_search_modal"),e()}})})},[f,p]),m=function(){(0,ny.b)({title:"Tonic UI"})};(0,u.useEffect)(function(){(0,nv.Z)(s)},[s]);var g={light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[s],y={light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[s],v={dark:"blue:60",light:"blue:60"}[s];return u.createElement(N.Z,nw({as:"header",ref:t,position:"fixed",top:0,zIndex:"fixed",height:"12x",width:"100%",backdropFilter:"blur(20px)",backgroundColor:l.background.primary,boxShadow:"0px -1px 1px inset ".concat(y)},i),u.createElement(N.Z,{display:"flex",position:"relative",height:"100%",alignItems:"center",justifyContent:"space-between"},u.createElement(N.Z,null,u.createElement(N.Z,{display:{sm:"block",lg:"none"}},u.createElement(N.Z,{display:"flex",flex:"auto",mx:"4x"},u.createElement(t4.Z,{variant:"secondary",onClick:o},u.createElement(nu.Z,null)))),u.createElement(N.Z,{display:{sm:"none",lg:"block"}},u.createElement(nd(),{href:"/",legacyBehavior:!0,passHref:!0},u.createElement(t9.Z,{"data-track":"Header|click_landing_page",color:l.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:l.color.emphasis},_hover:{color:l.color.emphasis},_visited:{color:l.color.primary}},u.createElement(t7.Z,{alignItems:"center",columnGap:"2x"},u.createElement(ne.Z,{alt:"",src:"".concat(nO,"/images/").concat(g),height:"8x"}),u.createElement(nt.Z,null,"Tonic UI"),u.createElement("sup",null,nj)))))),u.createElement(N.Z,{display:"flex",flex:"none",width:"auto",alignItems:"center",columnGap:"4x",px:"4x"},u.createElement(nb.Z,{"data-track":"InstantSearch|open_instant_search_modal",onClick:h},"Search..."),u.createElement(N.Z,{display:"flex",flex:"none"},u.createElement(nn.Z,{onOpen:function(){p("Header","open_version_menu")},onClose:function(){p("Header","close_version_menu")}},u.createElement(nr.Z,{variant:"secondary",minWidth:100},null!==(n=null===(r=nT[d])||void 0===r?void 0:r.label)&&void 0!==n?n:d),u.createElement(no.Z,null,Object.entries(nT).map(function(e){var t=n_(e,2),n=t[0],r=t[1];return u.createElement(ni.Z,{"data-track":"Header|click_version_menu_item|".concat(null==r?void 0:r.label),key:n,as:"a",href:null==r?void 0:r.url,whiteSpace:"nowrap"},n===d?u.createElement(u.Fragment,null,null==r?void 0:r.label,u.createElement(na.Z,{width:"2x"}),"✓"):null==r?void 0:r.label)}),u.createElement(ns.Z,null),u.createElement(ni.Z,{"data-track":"Header|click_version_menu_item|View all versions",as:"a",href:"".concat(nO,"/getting-started/versions"),whiteSpace:"nowrap"},"View all versions")))),u.createElement(nc.Z,{"data-track":"Header|click_codesandbox",onClick:function(){return m()},title:"Open in CodeSandbox",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},u.createElement(nm.Z,{size:"6x"})),u.createElement(nc.Z,{"data-track":"Header|click_toggle_color_mode|".concat("light"===s?"dark":"light"),onClick:function(){return c()},title:"Toggle color mode",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},"light"===s&&u.createElement(nl.Z,{size:"6x"}),"dark"===s&&u.createElement(nf.Z,{size:"6x"})),u.createElement(nc.Z,{"data-track":"Header|click_github_repo_url|".concat(nE),onClick:function(){return window.open(nE,"_blank")},title:"GitHub repository",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},u.createElement(ng.Z,{size:"6x"})))))});nC.displayName="Header";var nA=n(92952),nR=n(78366),nI=n(72448),nP=n(65245),nZ=n(76761),nN=["align"],nF=["align"],nL=["children"];function nM(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function nD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nB(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);np{margin-bottom:0;}"}),ul:function(e){return u.createElement(N.Z,nz({as:"ul",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},ol:function(e){return u.createElement(N.Z,nz({as:"ol",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},li:function(e){return u.createElement(N.Z,nz({as:"li",mt:"1x",mb:"2x"},e))},table:function(e){return u.createElement(N.Z,nz({as:"table",mt:0,mb:"4x",fontSize:"md",lineHeight:"lg",borderCollapse:"collapse",borderSpacing:0,width:"100%"},e))},thead:function(e){return u.createElement(N.Z,nz({as:"thead",verticalAlign:"middle",borderColor:"inherit"},e))},tbody:function(e){return u.createElement(N.Z,nz({as:"tbody",verticalAlign:"middle",borderColor:"inherit"},e))},tr:function(e){return u.createElement(N.Z,nz({as:"tr"},e))},th:function(e){var t=e.align,n=nM(e,nN),r=nD((0,t0.Z)(),1)[0];return u.createElement(N.Z,nz({as:"th",px:"3x",py:"2x",fontWeight:"semibold",whiteSpace:"nowrap",border:1,borderBottom:2,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},td:function(e){var t=e.align,n=nM(e,nF),r=nD((0,t0.Z)(),1)[0];return u.createElement(N.Z,nz({as:"td",px:"3x",py:"2x",border:1,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},pre:function(e){var t,n,r=e.children;nM(e,nL);var o=(0,i.u)(),a=nD((0,t0.Z)(),1)[0],s={dark:nZ.y,light:nZ.q}[a],c=(0,u.isValidElement)(r)?(0,p.Zs)(null==r?void 0:null===(t=r.props)||void 0===t?void 0:t.children).trimEnd():(0,p.Zs)(r).trimEnd(),l=(0,u.isValidElement)(r)?(0,p.Zs)(r.props.className).replace(/language-/,""):"";return u.createElement(nP.nu,{code:c,disabled:!0,language:l,theme:s},u.createElement(N.Z,{as:nP.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==o?void 0:null===(n=o.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}}))},code:function(e){return u.createElement(nR.Z,nz({as:"code"},e))},hr:function(e){return u.createElement(nI.Z,nz({as:"hr",my:"2x"},e))},a:function(e){return u.createElement(t9.Z,nz({as:"a"},e))},img:ne.Z},nU=["children"];function nH(){return(nH=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nU),i=(function(e){if(Array.isArray(e))return e}(n=(0,t0.Z)())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),1!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(n,1)||function(e,t){if(e){if("string"==typeof e)return nq(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nq(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return u.createElement(N.Z,nH({as:"main",id:"main",ref:t,backgroundColor:{light:"white",dark:"gray:100"}[i]},o),r)});nW.displayName="Main";var nV=n(76013),nK=n(79036),nQ=n(80508),nG=n(90094),nY=n(25619),nX=n(20325),nJ=n(97198),n1=n(73819),n0=n(98107),n2=n(44285),n5=["href","isActive"];function n3(){return(n3=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,n5),i=n6((0,t0.Z)(),1)[0],a=n6((0,t2.Z)({colorMode:i}),1)[0],s=a.color.secondary,c=a.color.primary,l=a.color.emphasis;return u.createElement(nd(),{href:n,legacyBehavior:!0,passHref:!0},u.createElement(N.Z,n3({ref:t,as:"a",color:s,display:"flex",px:"4x",py:"2x",fontSize:"sm",textDecoration:"none","aria-selected":!!r,_active:{backgroundColor:{light:"rgba(0, 0, 0, 0.1)",dark:"rgba(255, 255, 255, 0.1)"}[i],color:c},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[i],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:{light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[i]},_selected:{backgroundColor:{light:"rgba(0, 0, 0, 0.08)",dark:"rgba(255, 255, 255, 0.08)"}[i],color:l}},o)))});n4.displayName="NavLink";var n9=["children","onClick","onClose"];function n7(){return(n7=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&(null==t?void 0:t.left)>=0&&(null==t?void 0:t.bottom)<=(window.innerHeight||document.documentElement.clientHeight)&&(null==t?void 0:t.right)<=(window.innerWidth||document.documentElement.clientWidth)},rr=(0,p.Zs)("/tonic-ui-demo/react/pr-947"),ro=(0,u.forwardRef)(function(e,t){var n=e.children,r=e.onClick,o=e.onClose,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,n9),a=re((0,t0.Z)(),1)[0],s=re((0,t2.Z)({colorMode:a}),1)[0],c=(0,u.useRef)(),l=(0,nX.Z)(c,t),f=(0,U.useRouter)(),d=(0,p.Zs)(f.pathname).slice(1);return(0,u.useEffect)(function(){var e=c.current.querySelector('[data-path="'.concat(d,'"]'));e&&!rn(e)&&e.scrollIntoView({behavior:"auto",block:"center"})},[d]),u.createElement(N.Z,n7({as:"nav",id:"sidenav",ref:l,backgroundColor:s.background.primary,borderRight:1,borderRightColor:{light:"gray:20",dark:"gray:70"}[a],pt:{sm:0,lg:"4x"},pb:"4x"},i),u.createElement(N.Z,{display:{sm:"block",lg:"none"}},u.createElement(t7.Z,{alignItems:"center",justifyContent:"space-between",mb:"4x"},u.createElement(nd(),{href:"/",legacyBehavior:!0,passHref:!0},u.createElement(t9.Z,{background:"transparent",color:s.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:s.color.emphasis},_hover:{color:s.color.emphasis},_visited:{color:s.color.primary}},u.createElement(ne.Z,{alt:"",src:"".concat(rr,"/images/").concat({light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[a]),height:"8x",marginRight:"2x"}),u.createElement(nt.Z,null,"Tonic UI"))),u.createElement(N.Z,{px:"2x"},u.createElement(n2.Z,{onClick:o},u.createElement(nJ.Z,null))))),u.createElement(nV.Z,null,n1._.map(function(e){var t=e.title,n=e.icon,o=e.routes,i=o.some(function(e){return!!e.path&&(d.startsWith(e.path)||e.path===d)});return u.createElement(N.Z,{key:t},u.createElement(nK.Z,{key:i,defaultIsExpanded:i},function(e){var i,a,c=e.isExpanded;return u.createElement(u.Fragment,null,u.createElement(nQ.Z,{"data-track":c?"SideMenu|close_menu_section|".concat((0,n0.Z)({title:t})):"SideMenu|open_menu_section|".concat((0,n0.Z)({title:t})),"data-expanded":c,"data-title":t},u.createElement(t7.Z,{alignItems:"center",justifyContent:"space-between",py:"2x",px:"3x",_hover:{backgroundColor:s.background.highlighted}},u.createElement(t7.Z,{alignItems:"center",columnGap:"2x"},"function"==typeof n&&n({color:null==s?void 0:null===(i=s.color)||void 0===i?void 0:i.tertiary,size:"4x"}),u.createElement(nt.Z,{color:null==s?void 0:null===(a=s.color)||void 0===a?void 0:a.primary,fontSize:"sm",lineHeight:"sm"},t)),u.createElement(nG.Z,null))),u.createElement(nY.Z,{TransitionProps:{unmountOnExit:!0}},o.map(function(e){var n,o=e.heading,i=e.title,a=e.path,c=e.render;if(o)return u.createElement(nt.Z,{key:"".concat(t," > ").concat(i),color:null==s?void 0:null===(n=s.color)||void 0===n?void 0:n.tertiary,fontSize:"xs",lineHeight:"xs",pl:"9x",mt:"4x",mb:"2x",textTransform:"uppercase",letterSpacing:"0.08rem",_firstOfType:{mt:"2x"}},i);var l=d===a,f="/".concat(a);return u.createElement(n4,{key:a,"data-path":a,"data-track":"SideMenu|click_menu_item|".concat((0,n0.Z)({path:f,title:[t,i].join(" > ")})),isActive:l,href:f,onClick:r,pl:0,px:"3x"},u.createElement(t7.Z,{columnGap:"2x",alignItems:"center",justifyContent:"space-between",width:"100%"},u.createElement(nt.Z,{fontSize:"sm",lineHeight:"sm",pl:"9x"},i),"function"==typeof c&&c()))})))}))})),n)});ro.displayName="Sidebar";var ri=n(33558),ra=n(56818),rs=n(12436),rc=n.n(rs),ru=function(e,t){var n=(0,u.useMemo)(function(){return e?rc()(e,t):ra.ZT},[e,t]);(0,u.useEffect)(function(){if(n!==ra.ZT)return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n),n.cancel()}},[n])};function rl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||rf(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rf(e,t){if(e){if("string"==typeof e)return rp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rp(e,t)}}function rp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(o.s();!(e=o.n()).done;){var i=e.value,a={id:i.id,tagName:i.tagName,textContent:i.textContent,children:[],parent:n};if(n&&n.tagName&&i.tagName>n.tagName)n.children.push(a);else{for(;n&&n.tagName&&i.tagName<=n.tagName;)n=n.parent;n&&n.children.push(a)}n=a}}catch(e){o.e(e)}finally{o.f()}return t},[r]);(0,u.useEffect)(function(){if(!(0,ri.Nq)())return null;c(null);var e=document.querySelector("#main > .main-content");if(e){var t=["h2","h3","h4","h5","h6"].map(function(e){return":scope>".concat(e)}).join(",");o(Array.from(e.querySelectorAll(t)))}if(window.location.hash){var n=document.querySelector(window.location.hash);n&&setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"start"})},200)}},[t.pathname]);var a=rl((0,u.useState)(null),2),s=a[0],c=a[1],l=(0,u.useRef)(null),f=(0,u.useRef)(null),p=(0,u.useCallback)(function(){if(!l.current){for(var e,t=r.length-1;t>=0;t-=1){var n=r[t],o=document.getElementById(n.id),i=document.documentElement.scrollTop+48+12;if(o&&o.offsetTop<=i){e=n;break}}e&&s!==e.id&&c(e.id)}},[s,r]);ru(r.length>0?p:null,1e3/60),(0,u.useEffect)(function(){return function(){f.current&&(clearTimeout(f.current),f.current=null)}},[]);var d=function(e){var t=e.nodes;return u.createElement(N.Z,{as:"ul",className:"toc-list"},t.map(function(e){var t;return u.createElement(h,{key:e.id,nodes:e.children,className:"toc-item toc-item-".concat(e.tagName.toLowerCase())},u.createElement(t9.Z,{className:s===e.id?"toc-link toc-link-".concat(e.tagName.toLowerCase()," active"):"toc-link toc-link-".concat(e.tagName.toLowerCase()),href:"#".concat(e.id),onClick:(t=e.id,function(e){e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||(f.current&&(clearTimeout(f.current),f.current=null),l.current=e.target,f.current=setTimeout(function(){l.current=null},1e3),s!==t&&c(t))})},e.textContent))}))},h=function(e){var t=e.children,n=e.nodes;return u.createElement(N.Z,{as:"li"},t,n.length>0&&u.createElement(d,{nodes:n}))};return u.createElement(N.Z,{as:"nav",className:"toc",id:"toc"},u.createElement(N.Z,{className:"toc-heading"},"Contents"),u.createElement(d,{nodes:i.children}))};function rh(){return(rh=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=240&&e.clientX-t<=360&&r(e.clientX-t)},[]),d=function(){c&&l(!1)};return(0,u.useEffect)(function(){c&&l(!1)},[a]),u.createElement(N.Z,{ref:o,fontSize:"md",lineHeight:"md"},u.createElement(nC,{onToggle:function(){l()}}),u.createElement(ro,rh({onClick:d,onClose:d},{flexShrink:0,width:{sm:c?n:0,lg:n},willChange:"width",transition:{sm:"width .2s ease-in-out",lg:"none"},overflowY:"auto",overflowX:"hidden",position:"fixed",top:{sm:0,lg:f},bottom:0,left:0,zIndex:"fixed",whiteSpace:"nowrap"}),u.createElement(N.Z,rh({draggable:!0,onDrag:p},{background:"transparent",cursor:"col-resize",position:"absolute",top:0,bottom:0,right:0,width:"2x"}))),u.createElement(nW,rh({onClick:d,sx:{"--docs-sidebar-width":"".concat(n,"px")}},{position:"relative",ml:{sm:0,lg:n},pt:f,height:"100vh",width:{sm:"100%",lg:"calc(100% - ".concat(n,"px)")},willChange:"width,margin",transition:{sm:"width .3s ease-in-out, margin .3s ease-in-out",lg:"none"}}),u.createElement($(),e),u.createElement(rd,null)))},rw=function(e){var t=(0,F.Z)(function(){return(0,s.Z)({cssVariables:!0,components:{}})}),n=rm((0,u.useState)(null),2),r=n[0],o=n[1],i=(0,U.useRouter)();if((0,u.useEffect)(function(){var e=document.documentElement,t=e.style.getPropertyValue("color-scheme");e.setAttribute("data-color-scheme",t),("dark"===t||"light"===t)&&r!==t&&o(t)},[]),!r)return null;var c="/"===i.pathname?rk:rx;return u.createElement(tH,{indexName:"tonic-ui-v2",searchClient:rv},u.createElement(t1,{hitsPerPage:1e3,highlightPreTag:"",highlightPostTag:""}),u.createElement(rb,{nonce:ry},u.createElement(T,{key:r,colorMode:{defaultValue:r},colorStyle:{defaultValue:g.Z},theme:t,useCSSBaseline:!0},u.createElement(C.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},u.createElement(Z,null,u.createElement(a.Zo,{components:n$},u.createElement(c,e),u.createElement(t6,null)))))))}},76761:function(e,t,n){"use strict";n.d(t,{q:function(){return r},y:function(){return o}});var r={plain:{color:"#393A34",backgroundColor:"#f2f2f2"},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"}}]},o={plain:{color:"#9CDCFE",backgroundColor:"black"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword"],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"],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)"}}]}},73205:function(e,t,n){"use strict";n.d(t,{b:function(){return g}});var r=n(36954),o=n.n(r),i=n(5081),a=function(e){var t=e.language,n=e.title;return'\n\n\n \n ').concat(n,'\n \n \n
\n \n').trim()},s=JSON.parse('{"v6":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/eslint-parser":"^7.0.0","@babel/eslint-plugin":"^7.0.0","@babel/node":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/runtime":"^7.0.0","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@emotion/babel-plugin":"^11.10.0","@emotion/cache":"^11.11.0","@emotion/react":"^11.10.0","@mdx-js/loader":"^2.1.2","@mdx-js/mdx":"^2.1.2","@mdx-js/react":"^2.1.2","@next/mdx":"^13.0.5","@tanstack/react-table":"^8.9.1","@tanstack/react-virtual":"^3.0.0-beta","@tonic-ui/react":"workspace:^","@tonic-ui/react-hooks":"workspace:^","@tonic-ui/react-icons":"workspace:^","@tonic-ui/utils":"workspace:^","@trendmicro/babel-config":"^1.0.2","acorn":"^8.8.2","algoliasearch":"^4.14.2","boolean":"^3.2.0","cross-env":"^7.0.3","date-fns":"2.x","del-cli":"^5.0.0","dotenv-flow":"^3.2.0","ensure-type":"^1.5.1","eslint":"^8.25.0","eslint-config-next":"latest","eslint-plugin-import":"latest","eslint-plugin-jsx-a11y":"latest","eslint-plugin-react":"latest","hastscript":"^8.0.0","immutability-helper":"^3.1.1","jest":"^29.0.0","jest-environment-jsdom":"^29.0.0","lodash":"^4.17.21","lorem-ipsum":"^2.0.8","lz-string":"^1.5.0","mdast-util-from-markdown":"^2.0.0","mdast-util-mdx-jsx":"^3.0.0","micromark-extension-mdx-jsx":"^2.0.0","next":"^14.2.3","next-plugin-svgr":"^1.1.10","node-emoji":"^2.1.0","prism-react-renderer":"^2.0.6","prop-types":"15.x","react":"latest","react-beautiful-dnd":"^13.1.1","react-dnd":"^16.0.1","react-dnd-html5-backend":"^16.0.1","react-dom":"latest","react-focus-lock":"^2.9.2","react-highlight-words":"^0.20.0","react-instantsearch-core":"^7.5.0","react-live":"^4.1.3","react-movable":"^3.0.4","react-table":"^7.8.0","react-virtualized-auto-sizer":"^1.0.15","react-virtuoso":"^4.12.0","rehype-autolink-headings":"^6.1.1","rehype-slug":"^5.1.0","remark-emoji":"^4.0.0","remark-frontmatter":"^4.0.1","remark-gfm":"^3.0.1","remark-images":"^3.1.0","remark-mdx-code-meta":"^2.0.0","unist-util-visit":"^5.0.0","uuid":"^9.0.0"}}');function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"latest",n=(0,i.Zs)("45c3ba9cc0c9fb14d1d0b11c582ed0c69277f119").substring(0,8);return n?"https://pkg.csb.dev/trendmicro-frontend/tonic-ui/commit/".concat(n,"/@tonic-ui/").concat(e):t},n=p(p({},s.v6),{},{"@tonic-ui/react":t("react","2.x"),"@tonic-ui/react-base":t("react-base","2.x"),"@tonic-ui/react-hooks":t("react-hooks","2.x"),"@tonic-ui/react-icons":t("react-icons","2.x"),"@tonic-ui/styled-system":t("styled-system","2.x"),"@tonic-ui/theme":t("theme","2.x"),"@tonic-ui/utils":t("utils","2.x")}),r=function(e){for(var t={},r=null,o=/^import\s'([^']+)'|import\s[\s\S]*?\sfrom\s+'([^']+)'/gm;r=o.exec(e);){var a,s,c=(0,i.Zs)(null!==(a=r[2])&&void 0!==a?a:r[1]);if(!c.startsWith("@/")){var u="@"===c[0]?c.split("/",2).join("/"):c.split("/",1)[0];t[u]||u.startsWith(".")||(t[u]=null!==(s=n[u])&&void 0!==s?s:"latest")}}return t};return(0,i.rY)(e).reduce(function(e,t){return p(p({},e),r(t))},{})},h=function(e){var t,n=p({},e),r=n.files,o=n.language,s=n.raw,c=n.title,f=void 0===c?"":c,h="\nimport { Global, css } from '@emotion/react';\nimport {\n Box,\n PortalManager,\n ToastManager,\n TonicProvider,\n colorStyle,\n createTheme,\n useColorMode,\n useColorStyle,\n useTheme,\n} from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport * as React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './app';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n // Add custom colors here\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n // Add custom colors here\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst customTheme = createTheme({\n cssVariables: true, // Enable CSS variables replacement\n components: {\n // Set default props for specific components\n //\n // Example:\n // ```\n // 'ToastCloseButton': {\n // defaultProps: {\n // 'aria-label': 'Close toast',\n // },\n // },\n // ```\n },\n});\n\nconst Root = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Layout = (props) => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const { colors, fontSizes, lineHeights } = useTheme();\n const backgroundColor = colorStyle.background.primary;\n const color = colorStyle.color.primary;\n const scrollbarThumbBackgroundColor = colorStyle.color.disabled;\n const scrollbarThumbHoverBackgroundColor = colorStyle.color.tertiary;\n const scrollbarThumbHoverBorderColor = colorStyle.color.secondary;\n const scrollbarTrackBackgroundColor = {\n light: 'gray:30',\n dark: 'gray:70',\n }[colorMode];\n\n return (\n <>\n \n \n \n );\n};\n\nReactDOM.createRoot(document.querySelector(\"#root\")).render(\n \n \n \n \n \n);\n".trim(),m=null!=s?s:"\nimport { Box } from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst App = forwardRef((props, ref) => {\n const styleProps = {\n // Define style props here\n //\n // Refer to Tonic UI documentation for available style props:\n // https://trendmicro-frontend.github.io/tonic-ui/react/latest/styled-system/style-props\n };\n\n return (\n \n Tonic UI is awesome\n
\n );\n});\n\nApp.displayName = 'App';\n\nexport default App;\n".trim(),g=d([h,m].concat(function(e){if(Array.isArray(e))return l(e)}(t=Object.values((0,i.ks)(r)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||u(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return p(p({},Object.entries((0,i.ks)(r)).reduce(function(e,t){var n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||u(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return e[r]={content:o},e},{})),{},{"public/index.html":{content:a({language:void 0===o?"en":o,title:f})},"src/app.js":{content:m},"src/index.js":{content:h},"jsconfig.json":{content:'\n{\n "compilerOptions": {\n "baseUrl": "src",\n "paths": {\n "@/*": ["*"]\n }\n }\n}\n'.trim()},"package.json":{content:{description:f,dependencies:p({},g)}}})},m=function(e,t,n){var r=document.createElement("input");r.type="hidden",r.name=t,r.value=n,e.appendChild(r)},g=function(e){var t,n=(t={files:h(e)},o().compressToBase64(JSON.stringify(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")),r=document.createElement("form");r.method="POST",r.target="_blank",r.action="https://codesandbox.io/api/v1/sandboxes/define",m(r,"parameters",n),m(r,"query","file=/src/app.js"),document.body.appendChild(r),r.submit(),document.body.removeChild(r)}},98107:function(e,t){"use strict";t.Z=function(){var e;try{e=JSON.stringify.apply(JSON,arguments)}catch(e){}return e}},61860:function(e,t){"use strict";t.Z=function(e){if("dark"!==e&&"light"!==e){var t=document.documentElement;t.style.setProperty("color-scheme",""),t.removeAttribute("data-color-scheme"),localStorage.removeItem("tonic-ui-color-mode");return}var n=document.documentElement;n.style.setProperty("color-scheme",e),n.setAttribute("data-color-scheme",e),localStorage.setItem("tonic-ui-color-mode",e)}},93542:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(42351)},53723:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(92105)}])},42351:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function f(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l1)for(var n=1;n-1?e.split(","):e},c=function(e,t){var n={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),f=-1,p=t.charset;if(t.charsetSentinel)for(d=0;d=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f0?w.join(",")||null:void 0}];else if(s(f))x=f;else{var T=Object.keys(w);x=p?T.sort(p):T}for(var C=0;C0?g+d:""}},12493:function(e,t,n){"use strict";var r=n(85527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)){c+=s.charAt(u);continue}if(l<128){c+=a[l];continue}if(l<2048){c+=a[192|l>>6]+a[128|63&l];continue}if(l<55296||l>=57344){c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l];continue}u+=1,c+=a[240|(l=65536+((1023&l)<<10|1023&s.charCodeAt(u)))>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r-1&&(k.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),g(x,k.length,1,k),g(x,-1,-1,k))}}}return e},v=function(e){y()&&e&&(e.stopPropagation(),e.preventDefault())},b=function(){return(0,c.deferAction)(y)},k=function(){h="just",(0,c.deferAction)(function(){h="meanwhile"})},x=function(){document.addEventListener("focusin",v),document.addEventListener("focusout",b),window.addEventListener("blur",k)},w=function(){document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),window.removeEventListener("blur",k)},_={moveFocusInside:s.moveFocusInside,focusInside:s.focusInside,focusNextElement:s.focusNextElement,focusPrevElement:s.focusPrevElement,focusFirstElement:s.focusFirstElement,focusLastElement:s.focusLastElement,captureFocusRestore:s.captureFocusRestore};u.mediumFocus.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||m(n,t)}),u.mediumBlur.assignMedium(b),u.mediumEffect.assignMedium(function(e){return e(_)}),t.default=(0,a.default)(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!f&&x();var n=f,r=n&&t&&t.id===n.id;f=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(p=null,r&&n.observed===t.observed||t.onActivation(_),y(!0),(0,c.deferAction)(y)):(w(),p=null)})(function(){return null})},32701:function(e,t,n){"use strict";var r=n(71600),o=n(67425);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutoFocusInside",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FocusLockUI",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FreeFocusInside",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"InFocusGuard",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MoveFocusInside",{enumerable:!0,get:function(){return s.default}}),t.default=void 0,Object.defineProperty(t,"useFocusController",{enumerable:!0,get:function(){return l.useFocusController}}),Object.defineProperty(t,"useFocusInside",{enumerable:!0,get:function(){return s.useFocusInside}}),Object.defineProperty(t,"useFocusScope",{enumerable:!0,get:function(){return l.useFocusScope}}),Object.defineProperty(t,"useFocusState",{enumerable:!0,get:function(){return f.useFocusState}});var i=r(n(76785)),a=r(n(15989)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(void 0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56517)),c=r(n(88476)),u=r(n(72143)),l=n(27452),f=n(25473);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}t.default=i.default},64355:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=r(n(86421)),a=n(32701);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}),t.default=i.default},29199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediumSidecar=t.mediumFocus=t.mediumEffect=t.mediumBlur=void 0;var r=n(96545);t.mediumFocus=(0,r.createMedium)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),t.mediumBlur=(0,r.createMedium)(),t.mediumEffect=(0,r.createMedium)(),t.mediumSidecar=(0,r.createSidecarMedium)({async:!0,ssr:"undefined"!=typeof document})},19579:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNanoEvents=void 0,t.createNanoEvents=function(){return{emit:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return d(function(t){return t.moveFocusInside(p(r.current),null,e)})},focusNext:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusNextElement(document.activeElement,f({scope:p(r.current)},e))})},focusPrev:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusPrevElement(document.activeElement,f({scope:p(r.current)},e))})},focusFirst:function(e){return d(function(t){t.focusFirstElement(p(r.current),e)})},focusLast:function(e){return d(function(t){t.focusLastElement(p(r.current),e)})}}},[])};t.useFocusScope=function(){var e=(0,a.useContext)(s.focusScope);if(!e)throw Error("FocusLock is required to operate with FocusScope");return h.apply(void 0,[e.observed].concat((0,o.default)(e.shards)))}},25473:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusState=void 0;var o=r(n(43681)),i=n(2784),a=(0,n(19579).createNanoEvents)(),s=0,c=function(e){return a.emit("assign",e.target)},u=function(e){return a.emit("reset",e.target)},l=function(){(0,i.useEffect)(function(){return s||(document.addEventListener("focusin",c),document.addEventListener("focusout",u)),s+=1,function(){(s-=1)||(document.removeEventListener("focusin",c),document.removeEventListener("focusout",u))}},[])},f=function(e,t){return e===t?"self":t.contains(e)?"within":"within-boundary"};t.useFocusState=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.useState)(!1),n=(0,o.default)(t,2),r=n[0],s=n[1],c=(0,i.useState)(""),u=(0,o.default)(c,2),p=u[0],d=u[1],h=(0,i.useRef)(null),m=(0,i.useRef)({}),g=(0,i.useRef)(!1);(0,i.useEffect)(function(){if(h.current){var t=h.current===document.activeElement||h.current.contains(document.activeElement);s(t),d(f(document.activeElement,h.current)),t&&e.onFocus&&e.onFocus()}},[]);var y=(0,i.useCallback)(function(e){m.current={focused:!0,state:f(e.target,e.currentTarget)}},[]);return l(),(0,i.useEffect)(function(){var t=a.on("reset",function(){m.current={}}),n=a.on("assign",function(){var t=m.current.focused||!1;s(t),d(m.current.state||""),t!==g.current&&(g.current=t,t?e.onFocus&&e.onFocus():e.onBlur&&e.onBlur())});return function(){t(),n()}},[]),{active:r,state:p,onFocus:y,ref:h}}},5129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deferAction=function(e){setTimeout(e,1)},t.inlineProp=t.extractRef=void 0,t.inlineProp=function(e,t){var n={};return n[e]=t,n},t.extractRef=function(e){return e&&"current"in e?e.current:e}},78141:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),C=(0,i.findAll)({autoEscape:l,caseSensitive:p,findChunks:h,sanitize:k,searchWords:x,textToHighlight:w}),A=void 0===b?"mark":b,R=-1,I="",P=void 0,Z=(0,c.default)(function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t});return(0,s.createElement)("span",r({className:d},T,{children:C.map(function(e,t){var r=w.substr(e.start,e.end-e.start);if(!e.highlight)return(0,s.createElement)(S,{children:r,className:E,key:t,style:j});R++;var o=void 0;o="object"==typeof g?p?g[r]:(g=Z(g))[r.toLowerCase()]:g;var i=R===+a;I=o+" "+(i?n:""),P=!0===i&&null!=u?Object.assign({},v,u):v;var c={children:r,className:I,key:t,style:P};return"string"!=typeof A&&(c.highlightIndex=R),(0,s.createElement)(A,c)})}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=e.findChunks,s=void 0===a?r:a,c=e.sanitize,u=e.searchWords,l=e.textToHighlight;return o({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:void 0!==i&&i,sanitize:c,searchWords:u,textToHighlight:l})}),totalLength:l?l.length:0})};var n=t.combineChunks=function(e){return e.chunks.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var c=a.index,u=i.lastIndex;u>c&&e.push({start:c,end:u}),a.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,o,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],l=!1,f=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=u.length;t;){for(o=u,u=[];++f1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),c=0;c0&&r.push(o+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+o+" types",n}return i(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map(function(n){return n.getChecker(e,t)});return function(e,t){for(var o=t.unionResolver(),i=0;i=r._score)&&(r=a)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push(e+" "+i)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&t.push({path:e,message:o})}for(var i=null,n=t.length-1;n>=0;n--)i&&(t[n].nested=[i]),i=t[n];return i},e}();t.DetailContext=a;var s=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new a;return this.contexts.push(e),e},e}()},93779:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}n.d(t,{k:function(){return r}})},91801:function(e,t,n){"use strict";n.r(t),n.d(t,{assignRef:function(){return r.k},createCallbackRef:function(){return i},mergeRefs:function(){return a},refToCallback:function(){return l},transformRef:function(){return u},useCallbackRef:function(){return o.W},useMergeRefs:function(){return s.q},useRefToCallback:function(){return h},useTransformRef:function(){return c}});var r=n(93779),o=n(66807);function i(e){var t=null;return{get current(){return t},set current(value){var n=t;n!==value&&(t=value,e(value,n))}}}function a(e){return i(function(t){return e.forEach(function(e){return(0,r.k)(e,t)})})}var s=n(40689);function c(e,t){return(0,o.W)(null,function(n){return(0,r.k)(e,t(n))})}function u(e,t){return i(function(n){return(0,r.k)(e,t(n))})}function l(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}var f=function(){return null},p=new WeakMap,d=function(e){var t=e||f,n=p.get(t);if(n)return n;var r=l(t);return p.set(t,r),r};function h(e){return d(e)}},40689:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2784),o=n(93779),i=n(66807),a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function c(e,t){var n=(0,i.W)(t||null,function(t){return e.forEach(function(e){return(0,o.k)(e,t)})});return a(function(){var t=s.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||(0,o.k)(e,null)}),i.forEach(function(e){r.has(e)||(0,o.k)(e,a)})}s.set(n,e)},[e]),n}},66807:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(2784);function o(e,t){var n=(0,r.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}},96545:function(e,t,n){"use strict";n.r(t),n.d(t,{createMedium:function(){return p.s},createSidecarMedium:function(){return p._},exportSidecar:function(){return m},renderCar:function(){return d},setConfig:function(){return f},sidecar:function(){return u},useSidecar:function(){return c}});var r=n(22970),o=n(2784),i={isNode:!1,forceCache:!1},a=new WeakMap,s={};function c(e,t){var n,r,c,u,l,f,p,d,h=t&&t.options||s;return i.isNode&&!h.ssr?[null,null]:(n=t&&t.options||s,r=i.forceCache||i.isNode&&!!n.ssr||!n.async,u=(c=(0,o.useState)(r?function(){return a.get(e)}:void 0))[0],l=c[1],p=(f=(0,o.useState)(null))[0],d=f[1],(0,o.useEffect)(function(){u||e().then(function(n){var r,o=t?t.read():n.default||n;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),r=Error("Sidecar medium was not found")):r=Error("Sidecar was not found in exports"),d(function(){return r}),r;a.set(e,o),l(function(){return o})},function(e){return d(function(){return e})})},[]),[u,p])}function u(e,t){var n=function(){return t};return function(i){var a=c(e,i.sideCar),s=a[0];return a[1]&&t?n:s?o.createElement(s,(0,r.pi)({},i)):null}}var l={onError:function(e){return console.error(e)}},f=function(e){Object.assign(l,e)},p=n(64597);function d(e,t){function n(t){var n=t.stateRef,i=t.props,a=(0,o.useCallback)(function(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function o(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)})}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||c(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{ZQ:function(){return a},l5:function(){return r},sf:function(){return l},u:function(){return s},x:function(){return i}})},29970:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){var t,n=(0,r.useRef)();return void 0===n.current&&(n.current={value:"function"==typeof e?e():e}),null==n?void 0:null===(t=n.current)||void 0===t?void 0:t.value}},10424:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){(0,r.useEffect)(e,[])}},93631:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40476),o=n(2784),i=n(68338),a=function(e,t){var n=(0,o.useRef)(function(){throw Error("Cannot call an event handler while rendering.")});return(0,i.Z)(function(){n.current=e},[e].concat((0,r.u)(null!=t?t:[]))),(0,o.useCallback)(function(){return n.current.apply(void 0,arguments)},[n])}},32502:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(56818),o=n(2784),i=n(93631),a=function(e,t,n,a){var s=(0,i.Z)(n);(0,o.useEffect)(function(){if(!n)return r.ZT;var o=(0,r.Pu)(e);return"function"==typeof(null==o?void 0:o.addEventListener)&&"function"==typeof(null==o?void 0:o.removeEventListener)?(o.addEventListener(t,s,a),function(){o.removeEventListener(t,s,a)}):r.ZT},[e,t,n,s,a])}},912:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40476),o=n(2784),i=function(){var e=(0,o.useState)(!1),t=(0,r.ZQ)(e,2),n=t[0],i=t[1];return(0,o.useEffect)(function(){i(!0)},[]),n}},68338:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect},59123:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(40476),o=n(56818),i=n(2784),a=function(e,t){if(void 0!==t)return t;if("undefined"!=typeof window&&"function"==typeof window.matchMedia){var n;return null===(n=window.matchMedia(e))||void 0===n?void 0:n.matches}return!1},s=function(e,t){var n=(0,i.useState)(a(e,t)),s=(0,r.ZQ)(n,2),c=s[0],u=s[1];return(0,i.useEffect)(function(){var t,n,r=!0,i=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e),a=function(){r&&u(!!i.matches)};return i?(i.addEventListener("change",a),u(!!i.matches),function(){r=!1,i.removeEventListener("change",a)}):o.ZT},[e]),c}},20325:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return(0,r.useReducer)(t,e)}},95530:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(18911),o=n(49857),i=n(56818),a=n(2784),s=n(52903),c=["as","children","focusable","size","viewBox"],u=(0,a.forwardRef)(function(e,t){var n=e.as,u=void 0===n?"svg":n,l=e.children,f=e.focusable,p=e.size,d=void 0===p?"4x":p,h=e.viewBox,m=(0,r.Kd)(e,c),g=a.isValidElement(l)&&"svg"===l.type,y={};return"string"==typeof u&&"svg"===u.toLowerCase()&&(y.viewBox=void 0===h?"0 0 16 16":h),(0,s.tZ)(o.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-hidden":(0,i.Qm)(!0),as:u,fill:"currentColor",focusable:void 0!==f&&f,ref:t},{display:"inline-flex",flexShrink:0,width:d,height:d,verticalAlign:"middle"}),y),m),g&&l.props),{},{children:g?l.props.children:l}))});u.displayName="SVGIcon";var l=u},18911:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Kd:function(){return i},Zj:function(){return o}})},20012:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M12.5 6.5l-4.5 4.5-4.5-4.5 1-1 3.5 3.5 3.5-3.5 1 1z"}),"AngleDownIcon")},40809:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.501 12.506l-4.499-4.506 4.488-4.494 1 1-3.49 3.494 3.501 3.506z"}),"AngleLeftIcon")},45795:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.501 12.5l-1-1 3.501-3.506-3.49-3.494 1-1 4.488 4.494z"}),"AngleRightIcon")},85163:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M3.5 10l4.5-4.5 4.5 4.5-1 1-3.5-3.5-3.5 3.5-1-1z"}),"AngleUpIcon")},21457:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 12l-7-6.607 1.476-1.393 5.524 5.214 5.524-5.214 1.476 1.393z"}),"ChevronDownIcon")},97198:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M15 2l-1-1-6 6-6-6-0.99 0.99 5.99 6.010-6 6 1 1 6-6 6 6 1-1-6-6 6-6z"}),"CloseIcon")},37662:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9 8l4-4-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4z"}),"CloseSIcon")},37384:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4.301 12.707l-4.301-4.353 4.301-4.354 0.699 0.707-3.603 3.647 3.603 3.646zM16 8.354l-4.301-4.354-0.699 0.707 3.603 3.646-3.603 3.647 0.699 0.707zM10 1.209l-0.979-0.209-3 14 0.979 0.209z"}),"CodeIcon")},8991:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1zM12.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1z"}),"CollapseLeftIcon")},88043:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5zM3.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5z"}),"CollapseRightIcon")},30047:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8v0c0.736-0 1.333-0.597 1.333-1.334 0-0.346-0.132-0.661-0.348-0.898l0.001 0.001c-0.21-0.234-0.338-0.544-0.338-0.885 0-0.734 0.595-1.328 1.328-1.328 0.002 0 0.004 0 0.005 0h1.573c2.454-0.001 4.444-1.99 4.444-4.444v-0c0-3.929-3.582-7.111-8-7.111zM3.111 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM5.778 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM10.222 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM12.889 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0z"}),"ColorIcon")},47438:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.3 7.3c-0.8 1-1.3 2.2-1.3 3.6-1 0.2-2 0.1-2 0.1l-2 2-1-1 2-2c0 0-0.2-2.8 1-4l1-1 2.3 2.3zM10.9 5c0.2-1 0.1-2 0.1-2l2-2-1-1-2 2c0 0-2.8-0.2-4 1l-1 1 2.3 2.3c1-0.8 2.2-1.3 3.6-1.3zM16 11c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5zM12 11l2-2-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z"}),"ConnectErrorIcon")},85409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M11 0h-9c-0.5 0-1 0.5-1 1v14c0 0.5 0.5 1 1 1h12c0.5 0 1-0.5 1-1v-11l-4-4zM11 1.4l2.6 2.6h-2.6v-2.6zM14 15h-12v-14h8v4h4v10zM3.5 6.5c0-0.8 0.7-1.5 1.5-1.5s1.5 0.7 1.5 1.5c0 0.8-0.7 1.5-1.5 1.5s-1.5-0.7-1.5-1.5zM10 7l3 4v3h-10v-2l2-3 2 2.5 3-4.5z"}),"FileImageOIcon")},18247:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.25 2c0-1.103-0.897-2-2-2s-2 0.897-2 2c0 0.837 0.518 1.554 1.25 1.851v7.149c0 1.93-1.57 3.5-3.5 3.5s-3.5-1.57-3.5-3.5h2.5l-4-6v6c0 2.75 2.25 5 5 5h0c2.75 0 5-2.25 5-5v-7.149c0.732-0.298 1.25-1.014 1.25-1.851zM12.25 3c-0.551 0-1-0.448-1-1s0.449-1 1-1 1 0.448 1 1-0.449 1-1 1z"}),"HookIcon")},18267:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14 3v2h-12v-2zM2 9h12v-2h-12zM2 13h12v-2h-12z"}),"MenuIcon")},34323:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 12v-11.999h-2v11.999h-2l3 4 2.316-3.088c-0.089-0.254-0.167-0.561-0.221-0.876l-0.005-0.035zM7 6.537c0.562-0.506 1.227-0.91 1.958-1.175l0.042-0.013v-1.352h2l-3-3.996-3 3.996h2zM11 6c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-0.008 0-0.018 0-0.028 0-2.746-2.226-4.972-4.972-4.972-0.010 0-0.020 0-0.029 0h0.002zM10 14l-2.54-2.48 1.070-1 1.47 1.48 3.46-3.5 1.070 1.050z"}),"MigrateSuccessIcon")},57999:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M10.551 1.938c-1.005-0.59-2.213-0.938-3.502-0.938-0.019 0-0.037 0-0.056 0l0.003-0c2.535 1.791 3.835 5.746 2.251 8.481-1.585 2.737-5.487 3.272-8.309 1.979 1.235 2.13 3.504 3.54 6.103 3.54 2.583 0 4.841-1.393 6.063-3.469l0.018-0.033c0.591-1.004 0.94-2.211 0.94-3.5 0-2.579-1.398-4.832-3.477-6.043l-0.033-0.018z"}),"MoonIcon")},90800:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 6v3h-3v-3zM6 6v3h3v-3zM11 6v3h3v-3z"}),"MoreHorizIcon")},4409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M1.5 14.5s-0.7-0.8 0.7-3.5c0 0-2.2 1-2.2 5 4 0 5-2.2 5-2.2-2.8 1.4-3.5 0.7-3.5 0.7zM8.2 2.8l-0.2 0.2c-1.024 1.186-2.011 2.491-2.912 3.858l-0.088 0.142h-3l-1.2 1.3 2.7 1.7v1.1l1.4 1.4h1.1l1.7 2.8 1.3-1.3v-3c1.509-0.989 2.814-1.976 4.049-3.041l-0.049 0.041v-0.1l0.1-0.1c2.9-2.8 2.9-7.8 2.9-7.8s-5 0-7.8 2.8zM12 6c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c-0.003 1.103-0.897 1.997-2 2h-0z"}),"RocketIcon")},21407:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M16 14.59l-4.26-4.26c0.787-1.064 1.259-2.403 1.259-3.851 0-3.601-2.919-6.52-6.52-6.52s-6.52 2.919-6.52 6.52c0 3.601 2.919 6.52 6.52 6.52 1.449 0 2.787-0.472 3.869-1.271l-0.018 0.013 4.26 4.26zM6.5 11.5c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"}),"SearchOIcon")},20365:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.BX)(o.HY,{children:[(0,o.tZ)("path",{d:"M8.75 0h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M8.75 14h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M2.873 1.813l-1.060 1.060 1.414 1.415 1.061-1.061-1.415-1.414z"}),(0,o.tZ)("path",{d:"M12.773 11.712l-1.061 1.061 1.415 1.414 1.060-1.060-1.414-1.415z"}),(0,o.tZ)("path",{d:"M2 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M16 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M3.227 11.712l-1.414 1.415 1.060 1.060 1.415-1.414-1.061-1.061z"}),(0,o.tZ)("path",{d:"M13.127 1.813l-1.415 1.414 1.061 1.061 1.414-1.415-1.060-1.060z"}),(0,o.tZ)("path",{d:"M12.75 8c0 2.623-2.127 4.75-4.75 4.75s-4.75-2.127-4.75-4.75c0-2.623 2.127-4.75 4.75-4.75s4.75 2.127 4.75 4.75z"})]}),"SunIcon")},57805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.104 13h-1.231c-0.381-1.055-0.958-1.956-1.693-2.702l0.001 0.001c-0.637-0.638-1.378-1.174-2.195-1.578l-0.048-0.022c0.658-0.708 1.062-1.661 1.062-2.707 0-1.655-1.010-3.075-2.447-3.676l-0.026-0.010c0.547-0.795 1.452-1.31 2.477-1.31 1.655 0 2.996 1.342 2.996 2.996 0 1.189-0.693 2.216-1.696 2.701l-0.018 0.008v0.458c1.254 0.339 2.329 0.98 3.182 1.842l0.001 0.001c0.983 1 3.069 4-0.364 4zM7.286 9.158v-0.458c1.022-0.493 1.714-1.521 1.714-2.711 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.19 0.692 2.218 1.696 2.703l0.018 0.008v0.458c-1.254 0.339-2.329 0.98-3.182 1.842l-0.001 0.001c-0.983 1-3.069 4 0.364 4h8.208c3.433 0 1.347-3 0.364-4-0.854-0.862-1.929-1.504-3.133-1.831l-0.049-0.011z"}),"UserTeamIcon")},44152:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M7 2v6c0 0.6-0.4 1-1 1h-4c-0.6 0-1-0.4-1-1v-6c0-0.6 0.4-1 1-1h4c0.6 0 1 0.4 1 1zM6 11h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 1h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 7h-4c-0.6 0-1 0.4-1 1v6c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}),"WidgetsIcon")},84668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 1l-7 3v8l7 3 7-3v-8l-7-3zM12.9 4.7l-4.9 2.4-4.9-2.4 4.9-2.1 4.9 2.1zM2.5 6.1l4.8 2.4v4.6l-4.8-2.1v-4.9zM8.7 13.1v-4.6l4.8-2.4v4.9l-4.8 2v0.1z"}),"WorkspaceIcon")},75928:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18911),o=n(2784),i=n(95530),a=n(52903),s=function(e,t){var n="string"==typeof t?t:null==t?void 0:t.displayName,s=(0,o.forwardRef)(function(t,o){return(0,a.tZ)(i.Z,(0,r.Zj)((0,r.Zj)({"data-icon":n,ref:o},t),{},{children:e}))});return s.displayName=n,(0,o.memo)(s)}},53860:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||f(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{AI:function(){return c},Ac:function(){return i},Kd:function(){return s},ZQ:function(){return u},Zj:function(){return o},_x:function(){return a},sf:function(){return d},u:function(){return l}})},76013:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(56818),i=n(92307),a=n.n(i),s=n(2784),c=n(98827),u=n(67078),l=n(65590),f=n(52903),p=n(49857),d=["children"],h=a()(function(e){return(0,r.Zj)({},e)}),m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Accordion"}),i=n.children,a=(0,r.Kd)(n,d),s=h({}),m=(0,l.k1)();return(0,f.tZ)(u.S.Provider,{value:s,children:(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},m),a),{},{children:(0,o.Pu)(i,s)}))})});m.displayName="Accordion";var g=m},25619:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(14594),c=n(48580),u=n(52903),l=n(49857),f=["TransitionComponent","TransitionProps"],p=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"AccordionContent"}),i=n.TransitionComponent,p=void 0===i?s.Z:i,d=n.TransitionProps,h=(0,r.Kd)(n,f),m=(0,c.Z)();return m?(0,u.tZ)(p,(0,r.Zj)((0,r.Zj)({appear:!1},d),{},{"aria-hidden":(0,o.Qm)(!(null!=m&&m.isExpanded)),"aria-labelledby":null==m?void 0:m.accordionToggleId,id:null==m?void 0:m.accordionContentId,in:null==m?void 0:m.isExpanded,ref:t,role:"region"},h)):(0,u.tZ)(l.Z,(0,r.Zj)({ref:t},h))});p.displayName="AccordionContent";var d=p},79036:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(5081),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(65204),f=n(20655),p=n(67078),d=function(){if(!c.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,c.useContext)(p.S)},h=n(52903),m=n(49857),g=["children","disabled","isExpanded","defaultIsExpanded","onToggle"],y=s()(function(e){return(0,r.Zj)({},e)}),v=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"AccordionItem"}),a=n.children,s=n.disabled,v=n.isExpanded,b=n.defaultIsExpanded,k=n.onToggle,x=(0,r.Kd)(n,g),w=d(),_=(0,f.Z)(),S="".concat(l.Z.name,":AccordionToggle-").concat(_),O="".concat(l.Z.name,":AccordionContent-").concat(_),E=(0,c.useState)(null!=v?v:b),j=(0,r.ZQ)(E,2),T=j[0],C=j[1];(0,c.useEffect)(function(){void 0!==v&&C(v)},[v]);var A=(0,c.useCallback)(function(){void 0!==v||C(!T),(0,i.zU)(k)({isExpanded:!T})},[T,v,k]),R=y({accordionToggleId:S,accordionContentId:O,disabled:s,isExpanded:T,onToggle:A,variant:null==w?void 0:w.variant});return(0,h.tZ)(p.g.Provider,{value:R,children:(0,h.tZ)(m.Z,(0,r.Zj)((0,r.Zj)({ref:t},x),{},{children:(0,o.Pu)(a,R)}))})});v.displayName="AccordionItem";var b=v},80508:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(48580),l=n(65590),f=n(52903),p=["children","disabled","onClick"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"AccordionToggle"}),a=n.children,d=n.disabled,h=n.onClick,m=(0,r.Kd)(n,p),g=(0,u.Z)(),y=(0,i.pr)(null!=d?d:null==g?void 0:g.disabled),v=(0,l.vo)(),b=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":null==g?void 0:g.accordionContentId,"aria-disabled":(0,o.Qm)(y),"aria-expanded":(0,o.Qm)(null==g?void 0:g.isExpanded),disabled:y,id:null==g?void 0:g.accordionToggleId,onClick:(0,o.N)(h,null==g?void 0:g.onToggle),ref:t,role:"button",tabIndex:0},v),m)};return"function"==typeof a?a({getAccordionToggleProps:b}):(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({},b()),{},{children:a}))})},90094:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(53860),o=n(20325),i=n(21457),a=n(83377),s=n(33558),c=n(56818),u=n(5081),l=n(2784),f=n(41759),p=n(98827),d=n(65590),h=n(48580),m=n(52903),g=n(49857),y=["appear","children","disabled","easing","style","timeout"],v=function(e,t){var n={entering:function(e){return{transform:"rotate(-180deg)"}},entered:function(e){return{transform:"rotate(-180deg)"}},exiting:function(e){return{transform:"rotate(0deg)"}},exited:function(e){return{transform:"rotate(0deg)"}}}[e];return"function"==typeof n?n(t):n},b={enter:a.YU.easeOut,exit:a.YU.easeOut},k={enter:133,exit:Math.floor(93.1)},x=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"AccordionToggleIcon"}),x=n.appear,w=n.children,_=n.disabled,S=n.easing,O=void 0===S?b:S,E=n.style,j=n.timeout,T=void 0===j?k:j,C=(0,r.Kd)(n,y),A=(0,h.Z)(),R=(0,d._X)(),I=(0,l.useRef)(null),P=(0,o.Z)(I,t),Z=(0,u.pr)(null!=_?_:null==A?void 0:A.disabled),N=(0,u.pr)(null==A?void 0:A.isExpanded);return(0,l.useEffect)(function(){if(N){var e=I.current;(0,s.nq)(e)}},[N]),(0,m.tZ)(f.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==x&&x,in:N,nodeRef:I,timeout:T},C),{},{children:function(e,t){var n=N?(0,a.c)({style:E,timeout:T,easing:O}):(0,a.Zk)({style:E,timeout:T,easing:O}),o=(0,a.zx)("transform",n),s=v(e,{}),u=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},R),s),{},{"aria-disabled":(0,c.Qm)(Z),transition:o});return"function"==typeof w?w(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:P,style:(0,r.Zj)((0,r.Zj)({},u),E)})):(0,m.tZ)(g.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:P},u),t),{},{style:E,children:null!=w?w:(0,m.tZ)(i.Z,{size:"4x"})}))}}))});x.displayName="AccordionToggleIcon";var w=x},67078:function(e,t,n){"use strict";n.d(t,{S:function(){return o},g:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},65590:function(e,t,n){"use strict";n.d(t,{QW:function(){return s},Z_:function(){return c},_X:function(){return l},k1:function(){return a},vo:function(){return u}});var r=n(53860),o=n(40596),i=n(27216),a=function(){return{display:"flex",flexDirection:"column"}},s=function(){var e=(0,o.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,i.u)().sizes,a=n["1q"],s=n["4x"],c="calc(".concat(n["3x"]," - ").concat(a,")");return{display:"flex",alignItems:"center",justifyContent:"space-between",columnGap:"4x",backgroundColor:({dark:"gray:90",light:"white"})[t],borderColor:"transparent",borderStyle:"solid",borderWidth:a,color:({dark:"white:primary",light:"black:primary"})[t],_disabled:{color:({dark:"white:disabled",light:"black:disabled"})[t]},px:s,py:c,width:"100%"}},c=function(){return{}},u=function(){return{width:"100%"}},l=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}}},48580:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(67078),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.g)}},62080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(83513),c=n(34730),u=n(12711),l=function(){if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,i.useContext)(u.u)},f=n(52903),p=["disabled","selected","size","variant"],d="default",h=(0,i.forwardRef)(function(e,t){var n,i,u=(0,a.Z)({props:e,name:"Button"}),h=u.disabled,m=u.selected,g=u.size,y=u.variant,v=(0,r.Kd)(u,p),b=h,k=g,x=y,w=l();if(w){var _,S,O,E,j,T,C=(0,r.Zj)({},w),A=C.disabled,R=C.orientation,I=C.size,P=C.variant;b=null!==(S=b)&&void 0!==S?S:A,_=null!=R?R:"horizontal",k=null!==(O=null!==(E=k)&&void 0!==E?E:I)&&void 0!==O?O:"md",x=null!==(j=null!==(T=x)&&void 0!==T?T:P)&&void 0!==j?j:d}else k=null!==(n=k)&&void 0!==n?n:"md",x=null!==(i=x)&&void 0!==i?i:d;var Z={"aria-disabled":(0,o.Qm)(b),"data-selected":(0,o.PB)(m),type:"button",disabled:b,tabIndex:m?-1:void 0},N=(0,c.eJ)({orientation:_,size:k,variant:x});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,as:"button"},Z),N),v))});h.displayName="Button";var m=h},83513:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(34730),c=n(52903),u=n(49857),l=["children","disabled"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"ButtonBase"}),i=n.children,f=n.disabled,p=(0,r.Kd)(n,l),d=(0,s.qz)({disabled:f});return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-disabled":(0,o.Qm)(f),as:"button",type:"button",disabled:f},d),p),{},{children:i}))});f.displayName="ButtonBase";var p=f},12711:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var r=(0,n(2784).createContext)()},34730:function(e,t,n){"use strict";n.d(t,{K7:function(){return h},eJ:function(){return p},qz:function(){return d}});var r=n(53860),o=n(83377),i=n(5081),a=n(40596),s=n(27216),c=function(e){var t,n,r,o,i=e.colorMode,a=e.theme;return{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],borderColor:"transparent",color:({dark:"white:emphasis",light:"black:emphasis"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"gray:50",light:"gray:10"})[i],zIndex:2},_active:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},u=function(e){var t,n,r,o,i=e.colorMode,a=e.theme,s={dark:"gray:60",light:"gray:30"}[i],c={dark:"blue:50",light:"blue:50"}[i],u={dark:"blue:40",light:"blue:60"}[i];return{borderColor:s,color:({dark:"white:primary",light:"black:primary"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{color:u,"&:not(:focus-visible)":{borderColor:c},zIndex:2},_active:{borderColor:c,backgroundColor:({dark:"rgba(0, 0, 0, 0.12)",light:"rgba(0, 0, 0, 0.08)"})[i],color:u},_disabled:{borderColor:s,color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},l=function(e){var t=e.colorMode,n=u({colorMode:t,theme:e.theme}),o={dark:"gray:70",light:"gray:30"}[t],i={dark:"gray:70",light:"gray:30"}[t],a={dark:"white:emphasis",light:"black:emphasis"}[t];return(0,r.Zj)((0,r.Zj)({},n),{},{borderColor:"transparent",_disabled:(0,r.Zj)((0,r.Zj)({},n._disabled),{},{borderColor:"transparent",cursor:"not-allowed"}),_selected:{backgroundColor:o,borderColor:i,color:a,pointerEvents:"none"}})},f=function(e){var t,n,r,o,i=e.color,a=e.colorMode,s=e.theme;return{backgroundColor:({dark:"".concat(i,":60"),light:"".concat(i,":60")})[a],borderColor:"transparent",color:({dark:"white:emphasis",light:"white:emphasis"})[a],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[a],boxShadow:["inset 0 0 0 ".concat(null==s?void 0:null===(t=s.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==s?void 0:null===(n=s.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[a]]),"inset 0 0 0 ".concat(null==s?void 0:null===(r=s.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==s?void 0:null===(o=s.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[a]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"".concat(i,":50"),light:"".concat(i,":50")})[a],zIndex:2},_active:{backgroundColor:({dark:"".concat(i,":70"),light:"".concat(i,":70")})[a]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[a],color:({dark:"white:emphasis",light:"black:emphasis"})[a],cursor:"not-allowed",opacity:({dark:.28,light:.3})[a]},_selected:{backgroundColor:({dark:"".concat(i,":80"),light:"".concat(i,":80")})[a],color:({dark:"white:emphasis",light:"white:emphasis"})[a],pointerEvents:"none"}}},p=function(e){var t=e.orientation,n=e.size,i=e.variant,p=(0,a.Z)(),d=(0,r.ZQ)(p,1)[0],h=(0,s.u)(),m={display:"inline-flex",alignItems:"center",justifyContent:"center",appearance:"none",userSelect:"none",whiteSpace:"nowrap",border:1,borderRadius:"sm",px:"3x",transition:(0,o.zx)(["background-color","border-color","box-shadow","color"],{duration:200})},g={secondary:u({colorMode:d,theme:h}),ghost:l({colorMode:d,theme:h}),emphasis:f({color:"red",colorMode:d,theme:h}),primary:f({color:"blue",colorMode:d,theme:h}),default:c({colorMode:d,theme:h})}[i];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},m),{horizontal:{_notFirstOfType:{borderTopLeftRadius:0,borderBottomLeftRadius:0},_notLastOfType:{borderTopRightRadius:0,borderBottomRightRadius:0}},vertical:{_notFirstOfType:{borderTopLeftRadius:0,borderTopRightRadius:0},_notLastOfType:{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}[t]),{lg:{minHeight:"10x",fontSize:"md",lineHeight:"md"},md:{minHeight:"8x",fontSize:"sm",lineHeight:"sm"},sm:{minHeight:"6x",fontSize:"sm",lineHeight:"sm"}}[n]),g)},d=function(e){var t=e.disabled;return{appearance:"none",backgroundColor:"inherit",border:"none",color:"inherit",cursor:(0,i.pr)(t)?"not-allowed":"pointer",outline:0,padding:0}},h=function(e){var t=e.orientation;return(0,r.Zj)({display:"inline-flex"},{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}[t])}},78366:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(53860),o=n(2784),i=n(98827),a=n(40596),s=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0];return{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[t],borderRadius:"sm",color:({dark:"white:primary",light:"black:primary"})[t],fontFamily:"mono",px:"1x"}},c=n(52903),u=n(49857),l=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Code"}),o=s();return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"code",ref:t},o),n))});l.displayName="Code";var f=l},14641:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(33558),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(43901),f=function(e){var t,n,r=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e);if(r)return r.matches},p={dark:"(prefers-color-scheme: dark)"},d=function(e){var t;return(null!==(t=f(p.dark))&&void 0!==t?t:"dark"===e)?"dark":"light"},h=n(52903),m=function(e){return"dark"===e?"dark":"light"},g=s()(function(e){return(0,r.Zj)({},e)}),y=function(e,t){return void 0===t?"dark"===e?"light":"dark":m(t)},v=function(e){var t=(0,u.Z)({props:e,name:"ColorModeProvider"}),n=t.children,a=t.defaultValue,s=t.value,f=t.onChange,v=t.useSystemColorMode,b="dark"===a?"dark":"light",k=(0,c.useReducer)(y,m(null!=s?s:b)),x=(0,r.ZQ)(k,2),w=x[0],_=x[1];(0,c.useEffect)(function(){void 0!==s&&_(s)},[s]);var S=(0,c.useCallback)(function(e){void 0!==s?_(s):_(e),"function"==typeof f&&f(e)},[s,f]);(0,c.useEffect)(function(){if(null!=s||!v||!(0,i.Nq)())return o.ZT;S(d(b));var e,t,n=null===(e=window)||void 0===e?void 0:null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,p.dark),r=function(){S(n.matches?"dark":"light")};return n.addEventListener("change",r),function(){n.removeEventListener("change",r)}},[a,s,v,b,S]);var O=g({colorMode:w,onChange:S});return(0,h.tZ)(l.k.Provider,{value:O,children:n})};v.displayName="ColorModeProvider";var b=v},43901:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=(0,n(2784).createContext)()},40596:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5081),o=n(2784),i=n(43901),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var e=(0,o.useContext)(i.k);if(void 0===e)throw Error("The `useColorMode` hook must be called from a descendent of the `ColorModeProvider`.");var t=(0,r.ks)(e),n=t.colorMode,a=t.onChange,s=(0,o.useCallback)(function(e){"function"==typeof e&&(e=e(n)),a(e)},[n,a]);return[n,s]}},45437:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=n(56818),i=(r=!1,function(e,t){return r?e:new Proxy(e,{get:function(){return r||(null==t||t(),r=!0),Reflect.get.apply(Reflect,arguments)}})}),a={dark:{background:{primary:"gray:100",secondary:"gray:90",tertiary:"gray:80",inverted:"gray:10",inverse:"gray:10",highlighted:"rgba(255, 255, 255, 0.12)",selected:"rgba(255, 255, 255, 0.08)"},color:{emphasis:"white:emphasis",primary:"white:primary",secondary:"white:secondary",tertiary:"white:tertiary",disabled:"white:disabled",success:"green:40",info:"blue:40",warning:"orange:50",error:"red:50"},divider:"rgba(255, 255, 255, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.48), 0 1px 2px 0 rgba(0, 0, 0, 0.16)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.48), 0 2px 4px 0 rgba(0, 0, 0, 0.16)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.48), 0 4px 8px 0 rgba(0, 0, 0, 0.16)"},severity:i({critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}},light:{background:{primary:"white:emphasis",secondary:"gray:10",tertiary:"gray:20",inverted:"gray:70",inverse:"gray:70",highlighted:"rgba(0, 0, 0, 0.12)",selected:"rgba(0, 0, 0, 0.08)"},color:{emphasis:"black:emphasis",primary:"black:primary",secondary:"black:secondary",tertiary:"black:tertiary",disabled:"black:disabled",success:"green:50",info:"blue:60",warning:"orange:50",error:"red:60"},divider:"rgba(0, 0, 0, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.08)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.16), 0 2px 4px 0 rgba(0, 0, 0, 0.08)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.16), 0 4px 8px 0 rgba(0, 0, 0, 0.08)"},severity:i({critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}}}},44702:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=(0,n(2784).createContext)()},85017:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(43901),s=n(44702),c=function(e){var t=(0,o.ks)(e).colorMode,n=(0,o.ks)((0,i.useContext)(a.k)).colorMode,c=null!=t?t:n;if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var u=(0,i.useContext)(s.I);if(void 0===u)throw Error("The `useColorStyle` hook must be called from a descendent of the `ColorStyleProvider`.");var l=(0,o.ks)(u),f=l.colorStyle,p=l.onChange;if(!Object.prototype.hasOwnProperty.call(f,c))throw Error("The `colorMode` must be one of:",Object.keys(f));return[(0,o.ks)(f[c]),(0,i.useCallback)(function(e){"function"==typeof e&&(e=e(f)),p((0,r.Zj)((0,r.Zj)({},f),{},(0,r._x)({},c,(0,o.ks)(e))))},[c,f,p])]}},79808:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=(0,n(2784).createContext)({})},98827:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),o=n(79808),i=n(53860),a=function e(t,n){for(var r=(0,i.Zj)({},n),o=0,a=Object.entries(t);o *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child) > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0}})},T=function(){return{display:"flex",ml:-1}},C=function(){return(0,o.Z)({"& > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:not(:first-of-type) > *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0}})},A=function(){return{display:"flex",mr:-1}},R=function(e){var t=e.variant,n=(0,i.Z)(),a=(0,r.ZQ)(n,1)[0],c={dark:"blue:60",light:"blue:60"}[a],u=(0,r._x)((0,r._x)((0,r._x)({},s.GY,"border"),s.$r,"border"),s.n2,"borderBottom")[t];if(!u)return{};var l="".concat(u,"Color");return(0,o.Z)({"&:has(> input:focus:invalid), &:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c),"&:hover:has(> input:invalid), &:hover:has(> input[aria-invalid=true])":(0,r._x)({},l,{dark:"red:50",light:"red:60"}[a]),"&:hover:has(> input:focus:invalid), &:hover:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c)})},I=function(e){var t,n=e.inputState,o=e.size,a=e.variant,c=(0,i.Z)(),u=(0,r.ZQ)(c,1)[0],l=(t=({sm:{fontSize:"sm",lineHeight:"sm",height:"6x"},md:{fontSize:"sm",lineHeight:"sm",height:"8x"},lg:{fontSize:"md",lineHeight:"md",height:"10x"}})[o],a===s.rO&&(t.height=void 0),t),f=y({colorMode:u,inputState:n,variant:a});return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",alignItems:"center",position:"relative",transition:"all .2s"}),l),f)},P=function(e){var t,n=e.inputState,o=e.size,i=e.variant,c=e.startAdornment,u=e.endAdornment,l=(0,a.u)().sizes,f={cursor:null!=n&&n.disabled?"not-allowed":void 0,width:"100%"},p=(t=({sm:{fontSize:"sm",lineHeight:"sm"},md:{fontSize:"sm",lineHeight:"sm"},lg:{fontSize:"md",lineHeight:"md"}})[o],(i===s.GY||i===s.$r)&&(t.px="calc(".concat(l["3x"]," - ").concat(l["1q"],")")),c&&u&&(t.px=void 0),c&&!u&&(t.pr=t.px,t.px=void 0),!c&&u&&(t.pl=t.px,t.px=void 0),t);return(0,r.Zj)((0,r.Zj)({},f),p)}},40374:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(71247),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.K)}},19088:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(10130),c=n(52903),u=n(49857),l=["disabled","onClick","textDecoration"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"Link"}),f=n.disabled,p=n.onClick,d=n.textDecoration,h=(0,r.Kd)(n,l),m=(0,s.$)({disabled:f,textDecoration:d}),g=(0,i.useCallback)(function(e){return e.preventDefault()},[]);return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"a",ref:t,"aria-disabled":(0,o.Qm)(f),onClick:f?g:p},m),h))});f.displayName="Link";var p=f},10130:function(e,t,n){"use strict";n.d(t,{$:function(){return i},u:function(){return a}});var r=n(53860),o=n(40596),i=function(e){var t=e.disabled,n=e.textDecoration,i=(0,o.Z)(),a=(0,r.ZQ)(i,1)[0];return{color:({light:"blue:60",dark:"blue:40"})[a],cursor:"pointer",textDecoration:null!=n?n:"none",display:"inline-flex",alignItems:"center",_disabled:{color:({light:"black:disabled",dark:"white:disabled"})[a],cursor:"not-allowed"},_visited:{color:({light:"purple:60",dark:"purple:50"})[a]},_hover:{color:({light:"blue:50",dark:"blue:40"})[a],textDecoration:t?n:n?"none":"underline"},_active:{color:"blue:60",textDecoration:null!=n?n:t?"none":"underline"}}},a=function(){return{}}},15192:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(53860),o=n(25013),i=n(70404),a=n(56818),s=n(5081),c=n(92307),u=n.n(c),l=n(2784),f=n(98827),p=n(65204),d=n(20655),h=n(52741),m=n(99723),g=n(52903),y=n(49857),v=["anchorEl","autoSelect","children","closeOnBlur","closeOnSelect","defaultActiveIndex","defaultIsOpen","isOpen","offset","onClose","onOpen","placement","returnFocusOnClose"],b=u()(function(e){return(0,r.Zj)({},e)}),k=(0,l.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Menu"}),c=n.anchorEl,u=n.autoSelect,k=n.children,x=n.closeOnBlur,w=n.closeOnSelect,_=n.defaultActiveIndex,S=void 0===_?-1:_,O=n.defaultIsOpen,E=n.isOpen,j=n.offset,T=n.onClose,C=n.onOpen,A=n.placement,R=void 0===A?"bottom-start":A,I=n.returnFocusOnClose,P=void 0===I||I,Z=(0,r.Kd)(n,v),N=(0,l.useRef)(null),F=(0,l.useRef)(null),L=(0,l.useState)(S),M=(0,r.ZQ)(L,2),D=M[0],B=M[1],z=(0,l.useState)(null!=E?E:void 0!==O&&O),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q=(0,o.Z)(U),W=(0,l.useCallback)(function(){return N.current?(0,i.t)(N.current).filter(function(e){return"menuitem"===e.getAttribute("role")}):[]},[]);(0,l.useEffect)(function(){void 0!==E&&H(E)},[E]),(0,l.useEffect)(function(){U&&requestAnimationFrame(function(){W().forEach(function(e,t){return 0===t&&e.setAttribute("tabindex",0)})})},[U,W]),(0,l.useEffect)(function(){-1!==D&&requestAnimationFrame(function(){var e=W(),t=e[D];t&&t.focus(),e.forEach(function(e,t){t===D?e.setAttribute("tabindex",0):e.setAttribute("tabindex",-1)})}),-1===D&&!U&&q&&P&&requestAnimationFrame(function(){var e=F.current;e&&e.focus()}),-1===D&&U&&!q&&requestAnimationFrame(function(){var e=N.current;e&&e.focus()})},[U,D,W,N,F,q,P]);var V=(0,l.useCallback)(function(){void 0!==E||H(!0),"function"==typeof C&&C()},[E,C]),K=(0,l.useCallback)(function(){W().length>0&&B(0)},[W]),Q=(0,l.useCallback)(function(){var e=W();e.length>0&&B(e.length-1)},[W]),G=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D+1)%e.length)},[D,W]),Y=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D-1+e.length)%e.length)},[D,W]),X=(0,l.useCallback)(function(){void 0!==E||H(!1),"function"==typeof T&&T(),B(S),W().forEach(function(e){return e.setAttribute("tabindex",-1)})},[W,E,T,S]);c&&(F.current=c);var J=(0,d.Z)(),ee="".concat(p.Z.name,":Menu-").concat(J),et="".concat(p.Z.name,":MenuToggle-").concat(J),en=b({autoSelect:void 0!==u&&u,closeOnBlur:void 0===x||x,closeOnSelect:void 0===w||w,direction:{top:"up",bottom:"down"}[(0,s.Zs)(R).split("-")[0]],focusOnFirstItem:K,focusOnLastItem:Q,focusOnNextItem:G,focusOnPreviousItem:Y,isOpen:U,offset:j,onClose:X,onOpen:V,placement:R,menuId:ee,menuContentRef:N,menuToggleId:et,menuToggleRef:F}),er=(0,m.uq)();return(0,g.tZ)(h.p.Provider,{value:en,children:(0,g.tZ)(y.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},er),Z),{},{children:(0,a.Pu)(k,en)}))})});k.displayName="Menu";var x=k},66785:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(2784),i=n(62080),a=n(98827),s=n(12226),c=n(24718),u=n(99723),l=n(52903),f=n(49857),p=["children","css","disabled","onClick","onKeyDown","variant"],d=(0,o.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"MenuButton"}),o=n.children,d=n.css,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=n.variant,v=(0,r.Kd)(n,p),b=[(0,u.lp)({variant:y}),d],k=(0,u.q8)();return(0,l.tZ)(s.Z,{disabled:h,onClick:m,onKeyDown:g,children:function(e){var n=e.getMenuToggleProps;return(0,l.BX)(i.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,css:b,variant:y},n()),k),v),{},{children:[(0,l.tZ)(f.Z,{children:o}),(0,l.tZ)(c.Z,{})]}))}})});d.displayName="MenuButton";var h=d},47721:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(98827),u=n(67250),l=n(14594),f=n(99723),p=n(8031),d=n(52903),h=["PopperComponent","PopperProps","TransitionComponent","TransitionProps","children","onBlur","onKeyDown"],m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuContent"}),m=n.PopperComponent,g=void 0===m?u.Z:m,y=n.PopperProps,v=n.TransitionComponent,b=void 0===v?l.Z:v,k=n.TransitionProps,x=n.children,w=n.onBlur,_=n.onKeyDown,S=(0,r.Kd)(n,h),O=(0,s.useRef)(null),E=(0,o.Z)(O,t),j=(0,p.Z)(),T=(0,r.Zj)({},j),C=T.closeOnBlur,A=T.isOpen,R=T.focusOnFirstItem,I=T.focusOnLastItem,P=T.focusOnNextItem,Z=T.focusOnPreviousItem,N=T.menuId,F=T.menuToggleId,L=T.menuToggleRef,M=T.menuContentRef,D=T.offset,B=T.onClose,z=T.placement,$={};$.onBlur=function(e){var t,n,r,o,i=e.relatedTarget||document.activeElement,s=!(null!==(t=L.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,i)),c=!(null!==(r=M.current)&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,i));A&&C&&i&&s&&c&&(0,a.zU)(B)()},$.onKeyDown=function(e){var t=null==e?void 0:e.key,n=null==e?void 0:e.shiftKey;"ArrowDown"===t&&(e.preventDefault(),(0,a.zU)(P)()),"ArrowUp"===t&&(e.preventDefault(),(0,a.zU)(Z)()),"End"===t&&(e.preventDefault(),(0,a.zU)(I)()),"Home"===t&&(e.preventDefault(),(0,a.zU)(R)()),"Tab"===t&&(e.preventDefault(),(0,a.zU)(n?Z:P)()),"Escape"===t&&(0,a.zU)(B)()};var U=(0,f.Pn)({tabIndex:-1}),H=(0,a.rY)(D),q=(0,r.ZQ)(H,2),W=q[0],V=void 0===W?0:W,K=q[1],Q=void 0===K?0:K,G=(0,s.useMemo)(function(){return[{name:"flip",enabled:!1},{name:"offset",options:{offset:[V,Q]}}]},[V,Q]);return(0,d.tZ)(g,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-labelledby":F,anchorEl:null==L?void 0:L.current,"data-menu-id":N,id:N,isOpen:A,placement:z,ref:M,role:"menu",tabIndex:-1,unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"dropdown",onBlur:(0,i.N)(w,$.onBlur),onKeyDown:(0,i.N)(_,$.onKeyDown)},y),{},{modifiers:[].concat((0,r.u)(G),(0,r.u)((0,a.rY)(null==y?void 0:y.modifiers)))},U),S),{},{children:function(e){e.placement;var t=e.transition,n=(0,r.Zj)({},t),o=n.in,a=n.onEnter,s=n.onExited;return(0,d.tZ)(b,(0,r.Zj)((0,r.Zj)({appear:!0,easing:"linear",timeout:{enter:133,exit:Math.floor(93.1)}},k),{},{ref:E,in:o,onEnter:(0,i.PP)(a,null==k?void 0:k.onEnter),onExited:(0,i.PP)(s,null==k?void 0:k.onExited),children:x}))}}))});m.displayName="MenuContent";var g=m},3342:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(72448),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuDivider"}),o=(0,s.ue)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuDivider";var l=u},94829:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(99723),l=n(8031),f=n(52903),p=["disabled","onClick","onKeyDown","role"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuItem"}),a=n.disabled,d=n.onClick,h=n.onKeyDown,m=n.role,g=(0,r.Kd)(n,p),y=(0,l.Z)(),v=(0,r.Zj)({},y),b=v.closeOnSelect,k=v.onClose,x=(0,u.XP)({tabIndex:-1});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({ref:t,role:void 0===m?"menuitem":m,tabIndex:-1,disabled:a,"aria-disabled":(0,o.Qm)(a),onClick:(0,o.N)(d,function(e){if(a){e.stopPropagation(),e.preventDefault();return}b&&(0,i.zU)(k)()}),onKeyDown:(0,o.N)(h,function(e){!a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d&&(0,i.zU)(d)(),b&&(0,i.zU)(k)())})},x),g))});d.displayName="MenuItem";var h=d},87888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(47721),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuList"}),o=(0,s.id)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuList";var l=u},12226:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(83513),u=n(98827),l=n(99723),f=n(8031),p=n(52903),d=["children","disabled","onClick","onKeyDown"],h=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"MenuToggle"}),s=n.children,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=(0,r.Kd)(n,d),v=(0,f.Z)(),b=(0,r.Zj)({},v),k=b.autoSelect,x=b.focusOnLastItem,w=b.focusOnFirstItem,_=b.isOpen,S=b.menuId,O=b.menuToggleId,E=b.menuToggleRef,j=b.onClose,T=b.onOpen,C=(0,o.Z)(E,t),A=(0,l.Z7)(),R=(0,i.N)(m,function(e){if(h){e.preventDefault();return}if(_){(0,a.zU)(j)();return}(0,a.zU)(T)(),k&&w()}),I=(0,i.N)(g,function(e){if(h){e.preventDefault();return}if("ArrowDown"===e.key){(0,a.zU)(T)(),(0,a.zU)(w)();return}if("ArrowUp"===e.key){(0,a.zU)(T)(),(0,a.zU)(x)();return}}),P=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":S,"aria-disabled":(0,i.Qm)(h),"aria-expanded":(0,i.Qm)(_),"aria-haspopup":"menu",disabled:h,id:O,onClick:R,onKeyDown:I,ref:C,role:"button",tabIndex:0},A),y)};return"function"==typeof s?s({getMenuToggleProps:P}):(0,p.tZ)(c.Z,(0,r.Zj)((0,r.Zj)({},P()),{},{children:s}))});h.displayName="MenuToggle";var m=h},24718:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(20325),i=n(85163),a=n(20012),s=n(40809),c=n(45795),u=n(83377),l=n(33558),f=n(56818),p=n(2784),d=n(41759),h=n(98827),m=n(99723),g=n(8031),y=n(52903),v=n(49857),b=["appear","children","disabled","easing","style","timeout"],k=function(e,t){var n={entering:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},entered:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},exiting:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}},exited:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}}}[e];return"function"==typeof n?n(t):n},x={enter:u.YU.easeOut,exit:u.YU.easeOut},w={enter:133,exit:Math.floor(93.1)},_=(0,p.forwardRef)(function(e,t){var n=(0,h.Z)({props:e,name:"MenuToggleIcon"}),_=n.appear,S=n.children,O=n.disabled,E=n.easing,j=void 0===E?x:E,T=n.style,C=n.timeout,A=void 0===C?w:C,R=(0,r.Kd)(n,b),I=(0,g.Z)(),P=(0,r.Zj)({},I),Z=P.isOpen,N=P.direction,F=(0,m.ar)(),L=(0,p.useRef)(null),M=(0,o.Z)(L,t);return(0,p.useEffect)(function(){if(Z){var e=L.current;(0,l.nq)(e)}},[Z]),(0,y.tZ)(d.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==_&&_,in:Z,nodeRef:L,timeout:A},R),{},{children:function(e,t){var n=Z?(0,u.c)({style:T,timeout:A,easing:j}):(0,u.Zk)({style:T,timeout:A,easing:j}),o=(0,u.zx)("transform",n),l=k(e,{direction:N}),p=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},F),l),{},{"aria-disabled":(0,f.Qm)(O),transition:o});if("function"==typeof S)return S(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:M,style:(0,r.Zj)((0,r.Zj)({},p),T)}));var d={up:i.Z,down:a.Z,left:s.Z,right:c.Z}[N];return(0,y.tZ)(v.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:M},p),t),{},{style:T,children:null!=S?S:!!d&&(0,y.tZ)(d,{size:"4x"})}))}}))});_.displayName="MenuToggleIcon";var S=_},52741:function(e,t,n){"use strict";n.d(t,{p:function(){return o},z:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99723:function(e,t,n){"use strict";n.d(t,{$T:function(){return y},Ln:function(){return p},O6:function(){return b},Pn:function(){return l},TP:function(){return k},XP:function(){return d},Z7:function(){return m},_N:function(){return v},ar:function(){return g},id:function(){return f},lp:function(){return c},q8:function(){return u},ue:function(){return h},uq:function(){return s}});var r=n(53860),o=n(30608),i=n(40596),a=n(85017),s=function(){return{position:"relative",display:"inline-flex"}},c=function(e){var t=e.variant,n=(0,i.Z)(),a={dark:"white:primary",light:"black:primary"}[(0,r.ZQ)(n,1)[0]];return(0,o.Z)((0,r.Zj)({},{ghost:{"&:hover":{color:a},"&:active":{color:a}},secondary:{"&:hover":{color:a},"&:active":{color:a}}}[t]))},u=function(){return{display:"inline-flex",alignItems:"center",justifyContent:"space-between",columnGap:"1x"}},l=function(e){return{outline:e.tabIndex<0?0:void 0}},f=function(){var e,t,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0],s=(0,a.Z)({colorMode:o}),c=(0,r.ZQ)(s,1)[0],u={dark:{backgroundColor:"gray:80",boxShadow:null==c?void 0:null===(e=c.shadow)||void 0===e?void 0:e.medium},light:{backgroundColor:"white",boxShadow:null==c?void 0:null===(t=c.shadow)||void 0===t?void 0:t.medium}}[o];return(0,r.Zj)((0,r.Zj)({},u),{},{color:"inherit",m:"0",p:"0",py:"2x"})},p=function(){var e=(0,i.Z)();return{px:"3x",py:"2x",color:({dark:"white:secondary",light:"black:secondary"})[(0,r.ZQ)(e,1)[0]]}},d=function(e){var t=e.tabIndex,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0];return{fontSize:"sm",lineHeight:"sm",color:({dark:"white:primary",light:"black:primary"})[o],cursor:"pointer",display:"flex",textDecoration:"none",alignItems:"center",textAlign:"left",outline:t<0?0:void 0,px:"3x",py:"2x",userSelect:"none",width:"100%",_focusVisible:{outlineColor:({dark:"blue:60",light:"blue:60"})[o],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[o]},_selected:{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[o]},_disabled:{backgroundColor:"inherit",color:({dark:"white:disabled",light:"black:disabled"})[o],cursor:"not-allowed"}}},h=function(){return{my:"2x"}},m=function(){return{display:"inline-flex"}},g=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}},y=function(){return{position:"relative"}},v=function(e){return{outline:e.tabIndex<0?0:void 0}},b=function(e){var t,n,o,s=e.isOpen,c=e.placement,u=(0,i.Z)(),l=(0,r.ZQ)(u,1)[0],f=(0,a.Z)({colorMode:l}),p=(0,r.ZQ)(f,1)[0],d={light:{backgroundColor:"white",boxShadow:null==p?void 0:null===(t=p.shadow)||void 0===t?void 0:t.medium},dark:{backgroundColor:"gray:80",boxShadow:null==p?void 0:null===(n=p.shadow)||void 0===n?void 0:n.medium}}[l],h=function(e){return({"right-start":{position:"absolute",top:0,left:"100%"},"right-end":{position:"absolute",bottom:0,left:"100%"},"left-start":{position:"absolute",top:0,right:"100%"},"left-end":{position:"absolute",bottom:0,right:"100%"}})[e]},m=null!==(o=h(c))&&void 0!==o?o:h("right-start");return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},d),m),{},{color:"inherit",display:s?"block":"none",m:"0",p:"0",py:"2x"})},k=function(){return{cursor:"pointer",display:"inline-flex"}}},8031:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(52741),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.p)}},13462:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(70404),i=n(56818),a=n(92307),s=n.n(a),c=n(2784),u=n(64355),l=n.n(u),f=n(98827),p=n(47732),d=n(3241),h=n(20325),m=n(53638),g=n(13692),y=n(52903),v=n(49857),b=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"ModalContainer"}),o=(0,g.Z)(),i=(0,r.Zj)({},o),a=i.closeOnOutsideClick,s=i.onClose,c=i.containerRef,u=(0,h.Z)(c,t),l=(0,m.ix)(),p=(0,r.Zj)((0,r.Zj)({ref:u,onClick:function(e){e.stopPropagation(),a&&"function"==typeof s&&s(e)}},l),n);return(0,y.tZ)(v.Z,(0,r.Zj)({},p))});b.displayName="ModalContainer";var k=n(77762),x=["autoFocus","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","portalProps","returnFocusOnClose","scrollBehavior","size"],w=s()(function(e){return(0,r.Zj)({},e)}),_=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Modal"}),a=n.autoFocus,s=void 0!==a&&a,u=n.children,h=n.closeOnEsc,m=n.closeOnOutsideClick,g=n.ensureFocus,v=void 0!==g&&g,_=n.finalFocusRef,S=n.initialFocusRef,O=n.isClosable,E=n.isOpen,j=void 0!==E&&E,T=n.onClose,C=n.portalProps,A=n.returnFocusOnClose,R=n.scrollBehavior,I=n.size,P=(0,r.Kd)(n,x),Z=(0,c.useState)(j),N=(0,r.ZQ)(Z,2),F=N[0],L=N[1],M=(0,c.useRef)(),D=(0,c.useRef)(),B=w({autoFocus:s,closeOnEsc:void 0!==h&&h,closeOnOutsideClick:void 0!==m&&m,ensureFocus:v,finalFocusRef:_,initialFocusRef:S,isClosable:void 0!==O&&O,isOpen:j,onClose:T,scrollBehavior:void 0===R?"inside":R,size:void 0===I?"auto":I,containerRef:M,contentRef:D,placement:"center"}),z=(void 0===A||A)&&!_,$=(0,c.useCallback)(function(){if(S&&S.current){var e=S.current;"function"==typeof e.focus&&e.focus();return}if(D.current){var t=D.current;if((0,o.t)(t).length>0)return;"function"==typeof t.focus&&t.focus()}},[S]),U=(0,c.useCallback)(function(){if(_&&_.current){var e=_.current;"function"==typeof e.focus&&e.focus()}},[_]),H=(0,c.useCallback)(function(){L(!1)},[]);return(0,c.useEffect)(function(){if(j&&!F){L(!0);return}},[j,F]),(0,y.tZ)(k.t.Provider,{value:B,children:(0,y.tZ)(d.Z,{in:j,onExitComplete:H,children:!!F&&(0,y.tZ)(p.Z,(0,r.Zj)((0,r.Zj)({},C),{},{children:(0,y.tZ)(l(),{disabled:!v,autoFocus:s,returnFocus:z,onActivation:$,onDeactivation:U,children:(0,y.tZ)(b,(0,r.Zj)((0,r.Zj)({ref:t},P),{},{children:(0,i.Pu)(u,B)}))})}))})})});_.displayName="Modal";var S=_},40736:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(56818),a=n(2784),s=n(98827),c=n(62272),u=n(48504),l=n(97198),f=n(83513),p=n(53638),d=n(13692),h=n(52903),m=["children","onClick"],g=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalCloseButton"}),o=n.children,a=n.onClick,c=(0,r.Kd)(n,m),u=(0,d.Z)(),g=(0,r.Zj)({},u).onClose,y=(0,p.Zr)();return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-label":"Close",ref:t,onClick:(0,i.N)(a,g)},y),c),{},{children:null!=o?o:(0,h.tZ)(l.Z,{size:"4x"})}))});g.displayName="ModalCloseButton";var y=["TransitionComponent","TransitionProps","children"],v=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalContent"}),a=n.TransitionComponent,l=void 0===a?c.Z:a,f=n.TransitionProps,m=n.children,v=(0,r.Kd)(n,y),b=(0,u.Z)(),k=(0,r.ZQ)(b,2)[1],x=(0,d.Z)(),w=(0,r.Zj)({},x),_=w.closeOnEsc,S=w.isClosable,O=w.isOpen,E=w.onClose,j=w.scrollBehavior,T=w.size,C=w.contentRef,A=w.placement,R=(0,o.Z)(C,t),I=(0,p.fT)({placement:A,scrollBehavior:j,size:T,tabIndex:-1}),P=(0,r.Zj)((0,r.Zj)({"aria-modal":(0,i.Qm)(!0),ref:R,role:"dialog",tabIndex:-1,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),_&&"function"==typeof E&&E(e))}},I),v);return(0,h.BX)(l,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!x},f),P),{},{in:!x||O,onExited:(0,i.PP)(k,null==f?void 0:f.onExited),children:[m,!!S&&(0,h.tZ)(g,{})]}))});v.displayName="ModalContent";var b=v},21400:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(33558),a=n(56818),s=n(5081),c=n(2784),u=n(98827),l=n(62272),f=n(48504),p=n(53638),d=n(13692),h=n(52903),m=["TransitionComponent","TransitionProps"],g=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ModalOverlay"}),g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,b=(0,r.Kd)(n,m),k=(0,f.Z)(),x=(0,r.ZQ)(k,2)[1],w=(0,d.Z)(),_=(0,r.Zj)({},w),S=_.isOpen,O=_.scrollBehavior,E=_.containerRef,j=_.contentRef,T=(0,c.useRef)(),C=(0,o.Z)(T,t),A=(0,p.Yw)(),R=(0,r.Zj)((0,r.Zj)({ref:C},A),b);return(0,c.useEffect)(function(){var e=function(){var e,t,n,r,o=null==T?void 0:T.current;if(o){var a=(null==E?void 0:E.current)&&(0,i.Dx)(null==E?void 0:E.current),c=(0,s.pE)(parseFloat(null==a?void 0:a.paddingLeft)+parseFloat(null==a?void 0:a.paddingRight)),u=(0,s.pE)(parseFloat(null==a?void 0:a.paddingTop)+parseFloat(null==a?void 0:a.paddingBottom)),l=(0,s.pE)(null==j?void 0:null===(e=j.current)||void 0===e?void 0:e.offsetWidth)+c,f=(0,s.pE)(null==j?void 0:null===(t=j.current)||void 0===t?void 0:t.offsetHeight)+u;l>(null==E?void 0:null===(n=E.current)||void 0===n?void 0:n.offsetWidth)?o.style.width="".concat(l,"px"):o.style.width="",f>(null==E?void 0:null===(r=E.current)||void 0===r?void 0:r.offsetHeight)?o.style.height="".concat(f,"px"):o.style.height=""}};e();var t=null,n=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(t){e()}),E.current&&t.observe(E.current),j.current&&t.observe(j.current)),function(){t&&t.disconnect()}},[O,E,j]),(0,h.tZ)(y,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!w},v),R),{},{in:!w||S,onExited:(0,a.PP)(x,null==v?void 0:v.onExited)}))});g.displayName="ModalOverlay";var y=g},77762:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=(0,n(2784).createContext)()},53638:function(e,t,n){"use strict";n.d(t,{IB:function(){return g},Yw:function(){return f},Zr:function(){return d},fT:function(){return p},ix:function(){return l},mS:function(){return m},vZ:function(){return h}});var r=n(53860),o=n(77485),i=n.n(o),a=n(40596),s=n(85017),c=n(31131),u=n(27216),l=function(){return{position:"fixed",left:0,right:0,top:0,bottom:0,display:"flex",overflow:"auto",zIndex:"modal"}},f=function(){var e=(0,a.Z)();return{position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundColor:({dark:"rgba(0, 0, 0, .7)",light:"rgba(0, 0, 0, .7)"})[(0,r.ZQ)(e,1)[0]]}},p=function(e){var t,n,o=e.placement,i=e.scrollBehavior,c=e.size,u=e.tabIndex,l=(0,a.Z)(),f=(0,r.ZQ)(l,1)[0],p=(0,s.Z)({colorMode:f}),d=(0,r.ZQ)(p,1)[0],h={light:{color:"black:primary",bg:"white",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:30",boxShadow:null==d?void 0:null===(t=d.shadow)||void 0===t?void 0:t.thick},dark:{color:"white:primary",bg:"gray:90",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:80",boxShadow:null==d?void 0:null===(n=d.shadow)||void 0===n?void 0:n.thick}}[f];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",flexDirection:"column",outline:u<0?0:void 0,overflow:"clip",position:"relative"}),h),{center:{margin:"auto"}}[o]),{xs:{width:352,minHeight:240,maxHeight:"inside"===i?"80vh":void 0},sm:{width:512,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},md:{width:672,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},lg:{width:832,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},xl:{width:992,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},full:{maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0,minHeight:"stretch",width:"100%"},auto:{width:"auto",height:"auto",maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0}}[void 0===c?"auto":c])},d=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)().sizes,o=(0,c.P)({color:{dark:"white:tertiary",light:"black:tertiary"}[t],size:"8x"}),i=n["1q"],s="calc(".concat(n["2x"]," - ").concat(i,")"),l="calc(".concat(n["2x"]," - ").concat(i,")");return(0,r.Zj)((0,r.Zj)({},o),{},{_focusVisible:{outlineColor:"blue:60",outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:{dark:"white:emphasis",light:"black:primary"}[t]},position:"absolute",top:s,right:l})},h=function(e){return{pt:"4x",pb:"6x",pl:"6x",pr:e.isClosable?"12x":"6x",position:"relative",fontSize:"xl",lineHeight:"xl"}},m=function(e){var t=e.scrollBehavior,n=(0,u.u)(),r=n.sizes,o=n.lineHeights;return{px:"6x",pb:"6x",flex:1,height:"auto",overflowY:"inside"===t?"auto":void 0,_firstOfType:{marginTop:"calc(".concat(i()(r,"4x")," + ").concat(i()(o,"xl")," + ").concat(i()(r,"3x"),")")}}},g=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)(),o=n.sizes,s=n.lineHeights;return{display:"flex",justifyContent:"flex-end",px:"6x",py:"4x",borderTop:1,borderTopColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[t],_firstOfType:{marginTop:"calc(".concat(i()(o,"4x")," + ").concat(i()(s,"xl")," + ").concat(i()(o,"3x"),")")}}}},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(77762),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.t)}},911:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(2784),i=n(98827),a=n(28716),s=n(73531),c=n(1079),u=n(52903),l=n(49857),f=["boundaryCount","count","defaultPage","disabled","onChange","page","renderItem","siblingCount","slot"],p=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Pagination"}),p=n.boundaryCount,d=n.count,h=n.defaultPage,m=n.disabled,g=n.onChange,y=n.page,v=n.renderItem,b=void 0===v?function(e){return(0,u.tZ)(s.Z,(0,r.Zj)({},e))}:v,k=n.siblingCount,x=n.slot,w=(0,r.Kd)(n,f),_=(0,c.Z)({boundaryCount:void 0===p?1:p,count:void 0===d?1:d,defaultPage:void 0===h?1:h,disabled:m,onChange:g,page:y,siblingCount:void 0===k?1:k,slot:x}).items,S=(0,a.d)();return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},S),w),{},{children:_.map(function(e,t){return(0,u.tZ)(o.Fragment,{children:b((0,r.Zj)({},e))},"".concat(e.type,"-").concat(e.page))})}))});p.displayName="Pagination";var d=p},73531:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(90800),i=n(8991),a=n(40809),s=n(45795),c=n(88043),u=n(56818),l=n(2784),f=n(62080),p=n(98827),d=n(28716),h=n(52903),m=["aria-label","disabled","type","page","selected","slot","variant"],g={"start-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),"end-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),first:(0,h.tZ)(i.Z,{size:"4x"}),previous:(0,h.tZ)(a.Z,{size:"4x"}),next:(0,h.tZ)(s.Z,{size:"4x"}),last:(0,h.tZ)(c.Z,{size:"4x"})},y=function(e){var t=e.type,n=e.page,r=e.selected;return"start-ellipsis"!==t&&"end-ellipsis"!==t&&("page"!==t||r)?"page"===t&&r?"Page ".concat(n):"Go to ".concat(t," page"):"Go to page ".concat(n)},v=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"PaginationItem"}),o=n["aria-label"],i=n.disabled,a=n.type,s=void 0===a?"page":a,c=n.page,l=n.selected,v=void 0!==l&&l,b=n.slot,k=n.variant,x=(0,r.Kd)(n,m),w=(0,r.Zj)((0,r.Zj)({},g),b),_=(0,d.V)({type:s});return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-current":(0,u.Qm)(v),"aria-label":null!=o?o:y({type:s,page:c,selected:v}),disabled:void 0!==i&&i,selected:v,variant:void 0===k?"ghost":k},_),x),{},{children:"page"===s?c:null==w?void 0:w[s]}))});v.displayName="PaginationItem";var b=v},28716:function(e,t,n){"use strict";n.d(t,{V:function(){return a},d:function(){return i}});var r=n(53860),o=n(40596),i=function(){return{display:"flex",alignItems:"center"}},a=function(e){var t=e.type,n=(0,o.Z)(),i=(0,r.ZQ)(n,1)[0];return(0,r.Zj)((0,r.Zj)({},"page"===t?{px:"2x",minWidth:"8x"}:{px:"2x",width:"8x"}),{},{transition:"none",_selected:{borderColor:{dark:"blue:50",light:"blue:50"}[i]}})}},1079:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53860),o=n(2784),i={first:!1,previous:!0,next:!0,last:!1},a=function(e){var t=(0,r.Zj)({},e),n=t.boundaryCount,a=void 0===n?1:n,s=t.count,c=void 0===s?1:s,u=t.defaultPage,l=t.disabled,f=void 0!==l&&l,p=t.onChange,d=t.page,h=t.siblingCount,m=void 0===h?1:h,g=t.slot,y=(0,o.useState)(null!=d?d:void 0===u?1:u),v=(0,r.ZQ)(y,2),b=v[0],k=v[1],x=(0,r.Zj)((0,r.Zj)({},i),g);(0,o.useEffect)(function(){void 0!==d&&k(d)},[d]);var w=function(e){return function(t){void 0!==d||k(e),"function"==typeof p&&p(e)}},_=function(e,t){return Array.from({length:t-e+1},function(t,n){return e+n})},S=_(1,Math.min(a,c)),O=_(Math.max(c-a+1,a+1),c),E=Math.max(Math.min(b-m,c-a-2*m-1),a+2),j=Math.min(Math.max(b+m,a+2*m+2),O.length>0?O[0]-2:c-1);return{items:[].concat((0,r.u)(x.first?[{type:"first"}]:[]),(0,r.u)(x.previous?[{type:"previous"}]:[]),(0,r.u)(S.map(function(e){return{type:"page",value:e}})),(0,r.u)(E>a+2?[{type:"start-ellipsis"}]:a+1a?[{type:"page",value:c-a}]:[]),(0,r.u)(O.map(function(e){return{type:"page",value:e}})),(0,r.u)(x.next?[{type:"next"}]:[]),(0,r.u)(x.last?[{type:"last"}]:[])).map(function(e){if("page"===e.type){var t,n=e.value;return{type:"page",page:n,disabled:!!f,selected:e.value===b,onClick:w(n)}}var r=!!f||["first","previous"].includes(e.type)&&b<=1||["next","last"].includes(e.type)&&b>=c,o="first"===(t=e.type)?1:"previous"===t?Math.max(b-1,1):"start-ellipsis"===t?Math.max(E-(m+1),1):"end-ellipsis"===t?Math.min(j+(m+1),c):"next"===t?Math.min(b+1,c):"last"===t?c:null;return{type:e.type,page:o,disabled:r,selected:!1,onClick:w(o)}})}}},67250:function(e,t,n){"use strict";n.d(t,{Z:function(){return eb}});var r,o,i,a,s,c=n(53860);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=u(e).Element;return e instanceof t||e instanceof Element}function f(e){var t=u(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("undefined"==typeof ShadowRoot)return!1;var t=u(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var d=Math.max,h=Math.min,m=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(g())}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(l(e)?u(e):window).visualViewport,s=!y()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,d=r.width/o,h=r.height/i;return{width:d,height:h,top:p,right:c+d,bottom:p+h,left:c,x:c,y:p}}function b(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return v(x(e)).left+b(e).scrollLeft}function _(e){return u(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function O(e){var t=v(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function E(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function j(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:f(t)&&S(t)?t:e(E(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(j(E(a)))}function T(e){return f(e)&&"fixed"!==_(e).position?e.offsetParent:null}function C(e){for(var t=u(e),n=T(e);n&&["table","td","th"].indexOf(k(n))>=0&&"static"===_(n).position;)n=T(n);return n&&("html"===k(n)||"body"===k(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&f(e)&&"fixed"===_(e).position)return null;var n=E(e);for(p(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(k(n));){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="bottom",R="right",I="left",P="auto",Z=["top",A,R,I],N="start",F="viewport",L="popper",M=Z.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),D=[].concat(Z,[P]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],z={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function V(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?H(o):null,a=o?q(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:c};break;case I:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?W(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case N:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n,r,o,i,a,s,c=e.popper,l=e.popperRect,f=e.placement,p=e.variation,d=e.offsets,h=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,b=e.isFixed,k=d.x,w=void 0===k?0:k,S=d.y,O=void 0===S?0:S,E="function"==typeof v?v({x:w,y:O}):{x:w,y:O};w=E.x,O=E.y;var j=d.hasOwnProperty("x"),T=d.hasOwnProperty("y"),P=I,Z="top",N=window;if(y){var F=C(c),L="clientHeight",M="clientWidth";F===u(c)&&"static"!==_(F=x(c)).position&&"absolute"===h&&(L="scrollHeight",M="scrollWidth"),("top"===f||(f===I||f===R)&&"end"===p)&&(Z=A,O-=(b&&F===N&&N.visualViewport?N.visualViewport.height:F[L])-l.height,O*=g?1:-1),(f===I||("top"===f||f===A)&&"end"===p)&&(P=R,w-=(b&&F===N&&N.visualViewport?N.visualViewport.width:F[M])-l.width,w*=g?1:-1)}var D=Object.assign({position:h},y&&K),B=!0===v?(t={x:w,y:O},n=u(c),r=t.x,o=t.y,{x:m(r*(i=n.devicePixelRatio||1))/i||0,y:m(o*i)/i||0}):{x:w,y:O};return(w=B.x,O=B.y,g)?Object.assign({},D,((s={})[Z]=T?"0":"",s[P]=j?"0":"",s.transform=1>=(N.devicePixelRatio||1)?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",s)):Object.assign({},D,((a={})[Z]=T?O+"px":"",a[P]=j?w+"px":"",a.transform="",a))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,function(e){return G[e]})}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return X[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var r,o,i,a,s,c,f,p,h,m;return t===F?et(function(e,t){var n=u(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=y();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+w(e),y:c}}(e,n)):l(t)?((r=v(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):et((o=x(e),a=x(o),s=b(o),c=null==(i=o.ownerDocument)?void 0:i.body,f=d(a.scrollWidth,a.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),p=d(a.scrollHeight,a.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),h=-s.scrollLeft+w(o),m=-s.scrollTop,"rtl"===_(c||a).direction&&(h+=d(a.clientWidth,c?c.clientWidth:0)-f),{width:f,height:p,x:h,y:m}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,o,i,a,s,c,u,p=t,m=p.placement,g=void 0===m?e.placement:m,y=p.strategy,b=void 0===y?e.strategy:y,w=p.boundary,S=p.rootBoundary,O=p.elementContext,T=void 0===O?L:O,I=p.altBoundary,P=p.padding,N=void 0===P?0:P,M=eo("number"!=typeof N?N:ei(N,Z)),D=e.rects.popper,B=e.elements[void 0!==I&&I?T===L?"reference":L:T],z=(n=l(B)?B:B.contextElement||x(e.elements.popper),r=void 0===w?"clippingParents":w,o=void 0===S?F:S,c=(s=[].concat("clippingParents"===r?(i=j(E(n)),l(a=["absolute","fixed"].indexOf(_(n).position)>=0&&f(n)?C(n):n)?i.filter(function(e){return l(e)&&ee(e,a)&&"body"!==k(e)}):[]):[].concat(r),[o]))[0],(u=s.reduce(function(e,t){var r=en(n,t,b);return e.top=d(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=d(r.left,e.left),e},en(n,c,b))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),$=v(e.elements.reference),U=V({reference:$,element:D,strategy:"absolute",placement:g}),H=et(Object.assign({},D,U)),q=T===L?H:$,W={top:z.top-q.top+M.top,bottom:q.bottom-z.bottom+M.bottom,left:z.left-q.left+M.left,right:q.right-z.right+M.right},K=e.modifiersData.offset;if(T===L&&K){var Q=K[g];Object.keys(W).forEach(function(e){var t=[R,A].indexOf(e)>=0?1:-1,n=["top",A].indexOf(e)>=0?"y":"x";W[e]+=Q[n]*t})}return W}function es(e,t,n){return d(e,h(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",R,A,I].some(function(t){return e[t]>=0})}var el=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",n.update,U)}),s&&c.addEventListener("resize",n.update,U),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),s&&c.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=V({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:H(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&k(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&k(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=D.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[I,"top"].indexOf(o=H(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[I,R].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,y=H(g)===g,v=c||(y||!h?[Y(g)]:function(e){if(H(e)===P)return[];var t=Y(e);return[J(e),t,J(t)]}(g)),b=[g].concat(v).reduce(function(e,n){var r,o,i,a,s,c,p,d,g,y,v,b;return e.concat(H(n)===P?(o=(r={placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?D:p,0===(v=(y=(g=q(o))?c?M:M.filter(function(e){return q(e)===g}):Z).filter(function(e){return d.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[H(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),k=t.rects.reference,x=t.rects.popper,w=new Map,_=!0,S=b[0],O=0;O=0,F=C?"width":"height",L=ea(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),B=C?T?R:I:T?A:"top";k[F]>x[F]&&(B=Y(B));var z=Y(B),$=[];if(i&&$.push(L[j]<=0),s&&$.push(L[B]<=0,L[z]<=0),$.every(function(e){return e})){S=E,_=!1;break}w.set(E,$)}if(_)for(var U=h?3:1,W=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},V=U;V>0&&"break"!==W(V);V--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,f=void 0===l||l,p=n.tetherOffset,m=void 0===p?0:p,g=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),y=H(t.placement),v=q(t.placement),b=!v,k=W(y),x="x"===k?"y":"x",w=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(void 0===o||o){var Z,F="y"===k?"top":I,L="y"===k?A:R,M="y"===k?"height":"width",D=w[k],B=D+g[F],z=D-g[L],$=f?-S[M]/2:0,U=v===N?_[M]:S[M],V=v===N?-S[M]:-_[M],K=t.elements.arrow,Q=f&&K?O(K):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),Y=G[F],X=G[L],J=es(0,_[M],Q[M]),ee=b?_[M]/2-$-J-Y-j.mainAxis:U-J-Y-j.mainAxis,et=b?-_[M]/2+$+J+X+j.mainAxis:V+J+X+j.mainAxis,en=t.elements.arrow&&C(t.elements.arrow),eo=en?"y"===k?en.clientTop||0:en.clientLeft||0:0,ei=null!=(Z=null==T?void 0:T[k])?Z:0,ec=es(f?h(B,D+ee-ei-eo):B,D,f?d(z,D+et-ei):z);w[k]=ec,P[k]=ec-D}if(void 0!==i&&i){var eu,el,ef="x"===k?"top":I,ep="x"===k?A:R,ed=w[x],eh="y"===x?"height":"width",em=ed+g[ef],eg=ed-g[ep],ey=-1!==["top",I].indexOf(y),ev=null!=(el=null==T?void 0:T[x])?el:0,eb=ey?em:ed-_[eh]-S[eh]-ev+j.altAxis,ek=ey?ed+_[eh]+S[eh]-ev-j.altAxis:eg,ex=f&&ey?(eu=es(eb,ed,ek))>ek?ek:eu:es(f?eb:em,ed,f?ek:eg);w[x]=ex,P[x]=ex-ed}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=H(r.placement),u=W(c),l=[I,R].indexOf(c)>=0?"height":"width";if(a&&s){var f=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,Z)),p=O(a),d="y"===u?"top":I,h="y"===u?A:R,m=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],g=s[u]-r.rects.reference[u],y=C(a),v=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,b=f[d],k=v-p[l]-f[h],x=v/2-p[l]/2+(m/2-g/2),w=es(b,x,k);r.modifiersData[o]=((n={})[u]=w,n.centerOffset=w-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),f=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?z:a,function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,d={state:a,setOptions:function(n){var r,o,u,f,p,m="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},s,a.options,m),a.scrollParents={reference:l(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var g=(o=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,f=new Set,p=[],o.forEach(function(e){u.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=u.get(t);n&&e(n)}}),p.push(t)}(e)}),B.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=g.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:d,options:void 0===n?{}:n});c.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!p){var e,t,n,r,o,i,s,c,l,h,g,y,_=a.elements,E=_.reference,j=_.popper;if($(E,j)){a.rects={reference:(t=C(j),n="fixed"===a.options.strategy,r=f(t),c=f(t)&&(i=m((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=m(o.height)/t.offsetHeight||1,1!==i||1!==s),l=x(t),h=v(E,c,n),g={scrollLeft:0,scrollTop:0},y={x:0,y:0},(r||!r&&!n)&&(("body"!==k(t)||S(l))&&(g=(e=t)!==u(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:b(e)),f(t)?(y=v(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):l&&(y.x=w(l))),{x:h.left+g.scrollLeft-y.x,y:h.top+g.scrollTop-y.y,width:h.width,height:h.height}),popper:O(j)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T0&&void 0!==arguments[0]?arguments[0]:{},t=e.cssVariables,n=void 0!==t&&t,r=(0,l.Kd)(e,_),o=(0,v.TS)((0,l.Zj)({},y),r),i=arguments.length,a=Array(i>1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.useRef)(null);(0,a.useEffect)(function(){n.current=e},[e]),(0,a.useEffect)(function(){if(null==t)return function(){};var e=setTimeout(function(){"function"==typeof n.current&&n.current()},t);return function(){return clearTimeout(e)}},[t])},u=n(52903),l=n(49857),f=["duration","onClose","onMouseEnter","onMouseLeave"],p=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ToastController"}),p=n.duration,d=void 0===p?null:p,h=n.onClose,m=n.onMouseEnter,g=n.onMouseLeave,y=(0,r.Kd)(n,f),v=(0,a.useRef)(),b=(0,o.Z)(v,t),k=(0,a.useState)(d),x=(0,r.ZQ)(k,2),w=x[0],_=x[1],S=(0,a.useCallback)(function(e){_(null)},[]),O=(0,a.useCallback)(function(e){_(d)},[d]);return c(h,w),(0,u.tZ)(l.Z,(0,r.Zj)({ref:b,onMouseEnter:(0,i.N)(m,S),onMouseLeave:(0,i.N)(g,O)},y))})},31476:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(53860),i=n(912),a=n(56818),s=n(13409),c=n(5081),u=n(92307),l=n.n(u),f=n(2784),p=n(98827),d=n(47732),h=n(52903),m=n(49857),g=["placement"],y=(0,f.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"ToastContainer"}),r=n.placement,i=(0,o.Kd)(n,g),a={boxSizing:"border-box",maxHeight:"100%",maxWidth:"100%",overflow:"hidden",position:"fixed",zIndex:"toast"},s=(0,c.Zs)(r);return s.includes("top")&&(a.top=0),s.includes("bottom")&&(a.bottom=0),s.includes("left")&&(a.left=0),s.includes("right")&&(a.right=0),(s.includes("center")||"top"===s||"bottom"===s)&&(a.left="50%",a.transform="translateX(-50%)"),(0,h.tZ)(m.Z,(0,o.Zj)((0,o.Zj)({ref:t,"data-toast-placement":s},a),i))}),v=n(14378),b=n(53335),k=n(57619),x=n(82268),w=(r=0,function(){return String(r+=1)}),_=l()(function(e){return(0,o.Zj)({},e)}),S=["bottom","bottom-right","bottom-left","top","top-left","top-right"],O=function(e,t){var n=Object.values(e).reduce(function(e,t){return e.concat(t)},[]).find(function(e){return e.id===t});return null==n?void 0:n.placement},E=function(e){var t=(0,p.Z)({props:e,name:"ToastManager"}),n=t.TransitionComponent,r=void 0===n?b.Z:n,u=t.TransitionProps,l=t.children,m=t.containerRef,g=t.placement,E=void 0===g?"bottom-right":g,j=(0,i.Z)(),T=(0,f.useState)(function(){return S.reduce(function(e,t){return e[t]=[],e},{})}),C=(0,o.ZQ)(T,2),A=C[0],R=C[1],I=(0,f.useCallback)(function(e,t){R(function(n){var r;return t=null!==(r=t)&&void 0!==r?r:O(n,e),(0,o.Zj)((0,o.Zj)({},n),{},(0,o._x)({},t,(0,c.rY)(n[t]).filter(function(t){return t.id!==e})))})},[]),P=(0,f.useCallback)(function(e){R(function(t){var n=(null!=e&&e.placements?(0,c.rY)(null==e?void 0:e.placements):Object.keys(t)).reduce(function(e,t){return e[t]=[],e},{});return(0,o.Zj)((0,o.Zj)({},t),n)})},[]),Z=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).find(function(t){return t.id===e})},[A]),N=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).findIndex(function(t){return t.id===e})},[A]),F=(0,f.useCallback)(function(e,t){var n,r=null===(n=Z(e))||void 0===n?void 0:n.placement,i=N(e);return!!r&&-1!==i&&(R(function(e){var n=(0,o.Zj)({},e);return n[r][i]=(0,o.Zj)((0,o.Zj)({},n[r][i]),t),n}),!0)},[Z,N]),L=_({close:I,closeAll:P,find:Z,findIndex:N,update:F,notify:(0,f.useCallback)(function(e,t){var n,r,i=Object.freeze({id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:w(),content:e,data:null==t?void 0:t.data,duration:null==t?void 0:t.duration,placement:(0,c.Zs)(null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:E)});return S.includes(i.placement)?(R(function(e){var t=i.placement.includes("top"),n=(0,o.u)((0,c.rY)(e[i.placement])),r=[];return r=t?[i].concat((0,o.u)(n)).slice(0,void 0):[].concat((0,o.u)(n),[i]).slice(void 0),(0,o.Zj)((0,o.Zj)({},e),{},(0,o._x)({},i.placement,r))}),i.id):(console.error('[ToastManager] Error: Invalid toast placement "'.concat(i.placement,'". Please provide a valid placement from the following options: ').concat(S.join(", "),".")),!1)},[E]),placement:E,state:A,setState:R});return(0,h.BX)(x.K.Provider,{value:L,children:[(0,a.Pu)(l,L),!!j&&(0,h.tZ)(d.Z,{containerRef:m,children:Object.keys(A).map(function(e){var t=(0,c.rY)(A[e]).filter(function(e){return!(0,s.Rw)(e)});return(0,h.tZ)(y,{placement:e,children:(0,h.tZ)(k.Z,{children:t.map(function(t){var n,i,a,s=(n=t.id,function(){I(n,e)});return(0,h.tZ)(r,(0,o.Zj)((0,o.Zj)({in:!0,unmountOnExit:!0},u),{},{children:(0,h.tZ)(v.Z,{duration:t.duration,onClose:s,children:(i=t.content,a={id:t.id,data:t.data,onClose:s,placement:t.placement},"function"==typeof i?(0,h.tZ)(i,(0,o.Zj)({},a)):i)})}),t.id)})})},e)})})]})};E.displayName="ToastManager";var j=E},53335:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},h=function(e,t){var n={entering:{height:"auto",opacity:1,transform:d(1)},entered:{height:"auto",opacity:1,transform:"none"},exiting:{height:0,opacity:0,overflow:"hidden",transform:d(.75)},exited:{height:0,opacity:0,transform:d(.75)}}[e];return"function"==typeof n?n(t):n},m={enter:i.YU.easeInOut,exit:i.YU.easeInOut},g={enter:i.nV.standard,exit:i.nV.standard},y=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),v=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ToastTransition"}),d=n.appear,v=n.children,b=n.easing,k=void 0===b?m:b,x=n.in,w=n.style,_=n.timeout,S=void 0===_?g:_,O=(0,r.Kd)(n,p),E=(0,s.useRef)(null),j=(0,o.Z)(E,t),T=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=E.current;(0,a.nq)(e)},[x]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==d&&d,in:x,nodeRef:E,timeout:S},O),{},{children:function(e,t){var n=x?(0,i.c)({style:w,timeout:S,easing:k}):(0,i.Zk)({style:w,timeout:S,easing:k}),o=[(0,i.zx)("height",n),(0,i.zx)("opacity",n),(0,i.zx)("transform",{duration:.666*n.duration,easing:n.easing,delay:x?n.delay:n.delay||.333*n.duration})].join(","),a=h(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||x?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:j,style:(0,r.Zj)((0,r.Zj)({},s),w)}));if(x&&"entering"===e||!x&&("entering"===e||"entered"===e)){var c=T.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:j},t),s),{},{style:w,children:(0,l.tZ)(y,{ref:T,children:v})}))}}))});v.displayName="ToastTransition";var b=v},57619:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860);n(2784);var o=n(60258),i=n(98827),a=n(52903),s=function(e){var t=(0,i.Z)({props:e,name:"ToastTransitionGroup"});return(0,a.tZ)(o.Z,(0,r.Zj)({component:null},t))};s.displayName="ToastTransitionGroup";var c=s},82268:function(e,t,n){"use strict";n.d(t,{K:function(){return i},u:function(){return o}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99870:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(53860),o=n(92307),i=n.n(o),a=n(2784),s=n(98827),c=n(67250),u=n(65204),l=n(57894),f=n(20655),p=n(33558),d=n(40596),h=n(85017),m=n(27216),g=n(13823),y=function(e){var t,n,o=e.arrowHeight,i=e.arrowWidth,a=(0,d.Z)(),s=(0,r.ZQ)(a,1)[0],c=(0,m.u)().sizes,u=null!==(t=c[o])&&void 0!==t?t:(0,g.Z)(o),l=null!==(n=c[i])&&void 0!==n?n:(0,g.Z)(i),f={dark:"rgba(0, 0, 0, 0.16)",light:"rgba(0, 0, 0, 0.08)"}[s];return{'&[data-popper-placement^="top"]':{position:"absolute",bottom:0,"::before":{content:'""',borderTop:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 1px 1px ".concat(f,")"),position:"absolute",bottom:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="bottom"]':{position:"absolute",top:0,"::before":{content:'""',borderBottom:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 -1px 1px ".concat(f,")"),position:"absolute",top:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="left"]':{position:"absolute",right:0,"::before":{content:'""',borderLeft:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(1px 0px 1px ".concat(f,")"),position:"absolute",right:"-".concat(u),transform:"translateY(-50%)"}},'&[data-popper-placement^="right"]':{position:"absolute",left:0,"::before":{content:'""',borderRight:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(-1px 0px 1px ".concat(f,")"),position:"absolute",left:"-".concat(u),transform:"translateY(-50%)"}}}},v=function(){var e,t=(0,d.Z)(),n=(0,r.ZQ)(t,1)[0],o=(0,h.Z)({colorMode:n}),i=(0,r.ZQ)(o,1)[0],a={dark:"gray:80",light:"white"}[n],s={dark:"white:primary",light:"black:primary"}[n];return{backgroundColor:a,borderRadius:"sm",boxShadow:null==i?void 0:null===(e=i.shadow)||void 0===e?void 0:e.thin,color:s,fontWeight:"normal",fontSize:"sm",lineHeight:"sm",px:"3x",py:"1x"}},b=(0,a.createContext)(),k=function(){if(!a.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,a.useContext)(b)},x=n(52903),w=n(49857),_=["arrowHeight","arrowWidth","sx"],S=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipArrow"}),o=n.arrowHeight,i=n.arrowWidth,a=n.sx,c=(0,r.Kd)(n,_),u=k(),l=u.placement,f=u.tooltipContentRef,d=null==f?void 0:f.current,h=y({arrowHeight:void 0===o?4:o,arrowWidth:void 0===i?8:i});if((0,p.Re)(d)){var m=(0,p.Dx)(d.firstChild);h.color=null==m?void 0:m.backgroundColor}return(0,x.tZ)(w.Z,(0,r.Zj)({ref:t,role:"presentation","data-popper-arrow":!0,"data-popper-placement":l,sx:[h].concat((0,r.u)(Array.isArray(a)?a:[a]))},c))});S.displayName="TooltipArrow";var O=n(912),E=n(20325),j=n(13409),T=n(56818),C=n(5081),A=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","children"],R=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipContent"}),o=n.PopperComponent,i=void 0===o?c.Z:o,u=n.PopperProps,f=n.TooltipArrowComponent,d=void 0===f?S:f,h=n.TooltipArrowProps,m=n.TransitionComponent,g=void 0===m?l.Z:m,y=n.TransitionProps,b=n.children,_=(0,r.Kd)(n,A),R=(0,O.Z)(),I=(0,a.useRef)(null),P=(0,E.Z)(I,t),Z=k(),N=Z.arrow,F=Z.disabled,L=Z.followCursor,M=Z.isOpen,D=Z.mousePageX,B=Z.mousePageY,z=Z.nextToCursor,$=Z.offset,U=Z.placement,H=Z.tooltipId,q=Z.tooltipContentRef,W=Z.tooltipTriggerId,V=Z.tooltipTriggerRef,K=v(),Q=V.current,G=(0,C.rY)($),Y=(0,r.ZQ)(G,2),X=Y[0],J=void 0===X?0:X,ee=Y[1],et=void 0===ee?8:ee,en=(0,a.useMemo)(function(){return[{name:"offset",options:{offset:function(e){var t=e.placement,n=e.reference,r=e.popper,o=(0,C.Nu)(J),i=(0,C.Nu)(et);if((0,p.Re)(Q)&&(L||z)){var a=Q.getBoundingClientRect(),s=a.x+globalThis.scrollX,c=a.y+globalThis.scrollY;(t.startsWith("top")||t.startsWith("bottom"))&&(t.endsWith("start")?o+=(0,C.Nu)(D-s-r.width):t.endsWith("end")?o+=(0,C.Nu)(D-s-n.width+r.width):o+=(0,C.Nu)(D-s-n.width/2),t.startsWith("top")?i+=(0,C.Nu)(c-B):t.startsWith("bottom")&&(i+=(0,C.Nu)(B-c-n.height))),(t.startsWith("left")||t.startsWith("right"))&&(t.endsWith("start")?o+=(0,C.Nu)(B-c-r.height):t.endsWith("end")?o+=(0,C.Nu)(B-c-n.height+r.height):o+=(0,C.Nu)(B-c-n.height/2),t.startsWith("left")?i+=(0,C.Nu)(s-D):t.startsWith("right")&&(i+=(0,C.Nu)(D-s-n.width)))}return[o,i]}}}]},[J,et,Q,L,z,D,B]);return!R||F||!b||(0,j.oM)(b)||(0,j.yD)(b)?null:(0,x.tZ)(i,(0,r.Zj)((0,r.Zj)({"aria-hidden":(0,T.Qm)(!M),"aria-labelledby":W,"data-popper-placement":U,anchorEl:V.current,id:H,isOpen:M,placement:U,pointerEvents:"none",ref:q,role:"tooltip",unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"tooltip"},u),{},{modifiers:[].concat((0,r.u)(en),(0,r.u)((0,C.rY)(null==u?void 0:u.modifiers))),children:function(e){var t=e.placement,n=e.transition,o=(0,r.Zj)({},n),i=o.in,a=o.onEnter,s=o.onExited;return(0,x.tZ)(g,(0,r.Zj)((0,r.Zj)({appear:!0},y),{},{ref:P,in:i,onEnter:(0,T.PP)(a,null==y?void 0:y.onEnter),onExited:(0,T.PP)(s,null==y?void 0:y.onExited),children:function(e,n){var o=n.ref,i=n.style;return(0,x.BX)(w.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:o},K),i),{},{transformOrigin:{top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"}[t]},_),{},{children:[b,!!N&&(0,x.tZ)(d,(0,r.Zj)({},h))]}))}}))}}))});R.displayName="TooltipContent";var I=n(32502),P=n(24340),Z=["children","shouldWrapChildren","onBlur","onClick","onFocus","onMouseEnter","onMouseLeave","onMouseMove","onPointerDown"],N=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipTrigger"}),o=n.children,i=n.shouldWrapChildren,c=n.onBlur,u=n.onClick,l=n.onFocus,f=n.onMouseEnter,d=n.onMouseLeave,h=n.onMouseMove,m=n.onPointerDown,g=(0,r.Kd)(n,Z),y=k(),v=y.closeOnClick,b=y.closeOnEsc,_=y.closeOnPointerDown,S=y.followCursor,O=y.isOpen,j=y.onClose,C=y.onOpen,A=y.openOnFocus,R=y.setMousePageX,N=y.setMousePageY,F=y.tooltipId,L=y.tooltipTriggerId,M=y.tooltipTriggerRef,D=(0,E.Z)(M,t),B={},z=(0,a.useState)(!0),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q={};q.onBlur=function(e){O&&j()},q.onClick=function(e){O&&v&&j()},q.onFocus=function(e){!O&&A&&C()},q.onKeyDown=function(e){O&&b&&"Escape"===e.key&&j()},q.onMouseEnter=function(e){H(!0),C(function(){H(S)})},q.onMouseLeave=function(e){j(function(){H(!0)})},q.onMouseMove=function(e){(U||S)&&(R(e.pageX),N(e.pageY))},q.onPointerDown=function(e){O&&_&&j()},(0,I.Z)(function(){return(0,p.lZ)(M.current)},"keydown",b?q.onKeyDown:void 0),(0,I.Z)(function(){return M.current},"mouseleave",q.onMouseLeave);var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},e),{},{"aria-describedby":O?F:void 0,id:L,ref:(0,P.l)(D,t),onBlur:(0,T.N)(null==e?void 0:e.onBlur,c,q.onBlur),onClick:(0,T.N)(null==e?void 0:e.onClick,u,q.onClick),onFocus:(0,T.N)(null==e?void 0:e.onFocus,l,q.onFocus),onMouseEnter:(0,T.N)(null==e?void 0:e.onMouseEnter,f,q.onMouseEnter),onMouseLeave:(0,T.N)(null==e?void 0:e.onMouseLeave,d,q.onMouseLeave),onMouseMove:(0,T.N)(null==e?void 0:e.onMouseMove,h,q.onMouseMove),onPointerDown:(0,T.N)(null==e?void 0:e.onPointerDown,m,q.onPointerDown)},B),g)};if("function"==typeof o)return o({getTooltipTriggerProps:W});if(void 0!==i&&i)return(0,x.tZ)(w.Z,(0,r.Zj)((0,r.Zj)({},W()),{},{children:o}));var V=a.Children.only(o),K=W(null==V?void 0:V.props,null==V?void 0:V.ref);return(0,a.cloneElement)(V,K)});N.displayName="TooltipTrigger";var F=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","shouldWrapChildren","arrow","children","closeOnClick","closeOnEsc","closeOnPointerDown","defaultIsOpen","disabled","enterDelay","followCursor","isOpen","label","leaveDelay","nextToCursor","offset","onClose","onOpen","openOnFocus","placement"],L=i()(function(e){return(0,r.Zj)({},e)}),M=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"Tooltip"}),o=n.PopperComponent,i=void 0===o?c.Z:o,p=n.PopperProps,d=n.TooltipArrowComponent,h=void 0===d?S:d,m=n.TooltipArrowProps,g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,k=n.shouldWrapChildren,w=n.arrow,_=n.children,O=n.closeOnClick,E=n.closeOnEsc,j=n.closeOnPointerDown,T=n.defaultIsOpen,C=n.disabled,A=n.enterDelay,I=void 0===A?100:A,P=n.followCursor,Z=n.isOpen,M=n.label,D=n.leaveDelay,B=void 0===D?0:D,z=n.nextToCursor,$=n.offset,U=n.onClose,H=n.onOpen,q=n.openOnFocus,W=n.placement,V=(0,r.Kd)(n,F),K=(0,a.useRef)(null),Q=(0,a.useRef)(null),G=(0,a.useState)(0),Y=(0,r.ZQ)(G,2),X=Y[0],J=Y[1],ee=(0,a.useState)(0),et=(0,r.ZQ)(ee,2),en=et[0],er=et[1],eo=(0,a.useState)(null!=Z?Z:void 0!==T&&T),ei=(0,r.ZQ)(eo,2),ea=ei[0],es=ei[1];(0,a.useEffect)(function(){void 0!==Z&&es(Z)},[Z]);var ec=(0,a.useRef)(),eu=(0,a.useRef)(),el=(0,a.useCallback)(function(e,t){eu.current&&(clearTimeout(eu.current),eu.current=void 0),t>0?ec.current=setTimeout(function(){ec.current=void 0,es(!0),"function"==typeof e&&e()},t):(es(!0),"function"==typeof e&&e())},[]),ef=(0,a.useCallback)(function(e,t){ec.current&&(clearTimeout(ec.current),ec.current=void 0),t>0?eu.current=setTimeout(function(){eu.current=void 0,es(!1),"function"==typeof e&&e()},t):(es(!1),"function"==typeof e&&e())},[]),ep=(0,a.useCallback)(function(e){void 0!==Z||el(e,I),"function"==typeof H&&H()},[Z,H,el,I]),ed=(0,a.useCallback)(function(e){void 0!==Z||ef(e,B),"function"==typeof U&&U()},[Z,U,ef,B]);(0,a.useEffect)(function(){return function(){ec.current&&(clearTimeout(ec.current),ec.current=void 0),eu.current&&(clearTimeout(eu.current),eu.current=void 0)}},[]);var eh=(0,f.Z)(),em=L({arrow:!P&&!z&&(void 0===w||w),closeOnClick:void 0===O||O,closeOnEsc:void 0===E||E,closeOnPointerDown:void 0===j||j,disabled:C,followCursor:P,isOpen:ea,mousePageX:X,mousePageY:en,nextToCursor:z,offset:$,onClose:ed,onOpen:ep,openOnFocus:void 0===q||q,placement:void 0===W?"bottom":W,setMousePageX:J,setMousePageY:er,tooltipId:"".concat(u.Z.name,":Tooltip-").concat(eh),tooltipContentRef:K,tooltipTriggerId:"".concat(u.Z.name,":TooltipTrigger-").concat(eh),tooltipTriggerRef:Q});return"function"==typeof _?(0,x.tZ)(b.Provider,{value:em,children:_(em)}):(0,x.BX)(b.Provider,{value:em,children:[(0,x.tZ)(N,{shouldWrapChildren:void 0!==k&&k,children:_}),(0,x.tZ)(R,(0,r.Zj)((0,r.Zj)({PopperComponent:i,PopperProps:p,TooltipArrowComponent:h,TooltipArrowProps:m,TransitionComponent:y,TransitionProps:v},V),{},{children:M}))]})});M.displayName="Tooltip";var D=M},14594:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","collapsedHeight","easing","in","style","timeout"],d=function(e,t){var n={entering:{height:"auto",opacity:1,overflow:"hidden"},entered:{height:"auto",opacity:1},exiting:{height:t.collapsedHeight||0,opacity:0,overflow:"hidden"},exited:{height:t.collapsedHeight||0,opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.standard,exit:i.nV.standard},g=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),y=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Collapse"}),y=n.appear,v=n.children,b=n.collapsedHeight,k=void 0===b?0:b,x=n.easing,w=void 0===x?h:x,_=n.in,S=n.style,O=n.timeout,E=void 0===O?m:O,j=(0,r.Kd)(n,p),T=(0,s.useRef)(null),C=(0,o.Z)(T,t),A=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=T.current;(0,a.nq)(e)},[_]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==y&&y,in:_,nodeRef:T,timeout:E},j),{},{children:function(e,t){var n=_?(0,i.c)({style:S,timeout:E,easing:w}):(0,i.Zk)({style:S,timeout:E,easing:w}),o=(0,i.zx)(["height","opacity"],n),a=d(e,{collapsedHeight:k}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||_||k?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:C,style:(0,r.Zj)((0,r.Zj)({},s),S)}));if(_&&"entering"===e||!_&&("entering"===e||"entered"===e)){var c=A.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:C},t),s),{},{style:S,children:(0,l.tZ)(g,{ref:A,children:v})}))}}))});y.displayName="Collapse";var v=y},62272:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e,t){var n={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.enteringScreen,exit:i.nV.leavingScreen},g=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Fade"}),g=n.appear,y=n.children,v=n.easing,b=void 0===v?h:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?m:w,S=(0,r.Kd)(n,p),O=(0,s.useRef)(null),E=(0,o.Z)(O,t);return(0,s.useEffect)(function(){if(k){var e=O.current;(0,a.nq)(e)}},[k]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==g&&g,in:k,nodeRef:O,timeout:_},S),{},{children:function(e,t){var n=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),o=(0,i.zx)("opacity",n),a=d(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof y?y(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:E,style:(0,r.Zj)((0,r.Zj)({},s),x)})):(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:E},t),s),{},{style:x,children:y}))}}))});g.displayName="Fade";var y=g},57894:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(5081),c=n(2784),u=n(41759),l=n(98827),f=n(52903),p=n(49857),d=["appear","children","easing","in","style","timeout"],h=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},m=function(e,t){var n={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:h(.75)},exited:{opacity:0,transform:h(.75)}}[e];return"function"==typeof n?n(t):n},g={enter:i.YU.easeInOut,exit:i.YU.easeInOut},y=function(e){if(!(e=(0,s.Nu)(e)))return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)},v=(0,c.forwardRef)(function(e,t){var n=(0,l.Z)({props:e,name:"Grow"}),s=n.appear,h=n.children,v=n.easing,b=void 0===v?g:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?"auto":w,S=(0,r.Kd)(n,d),O=(0,c.useRef)(null),E=(0,c.useRef)(0),j=(0,c.useRef)(null),T=(0,o.Z)(j,t);(0,c.useEffect)(function(){if(k){var e=j.current;(0,a.nq)(e)}},[k]),(0,c.useEffect)(function(){return function(){O.current&&(clearTimeout(O.current),O.current=null)}},[]);var C=(0,c.useCallback)(function(e){"auto"===_&&(O.current=setTimeout(e,E.current||0))},[_]);return(0,f.tZ)(u.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==s&&s,in:k,nodeRef:j,timeout:"auto"===_?null:_,addEndListener:C},S),{},{children:function(e,t){var n=j.current,o=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),a="auto"===_?y(null==n?void 0:n.clientHeight):o.duration,s=[(0,i.zx)("opacity",{duration:a,delay:o.delay}),(0,i.zx)("transform",{duration:.666*a,easing:o.easing,delay:k?o.delay:o.delay||.333*a})].join(",");E.current="auto"===_?a:0;var c=m(e,{}),u=(0,r.Zj)((0,r.Zj)({},c),{},{transition:s,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof h?h(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:T,style:(0,r.Zj)((0,r.Zj)({},u),x)})):(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:T},t),u),{},{style:x,children:h}))}}))});v.displayName="Grow";var b=v},3241:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53860),o=n(29970),i=n(5081),a=n(2784),s=n(60265),c=n(52903),u=(0,a.forwardRef)(function(e,t){var n=e.children,u=e.in,l=e.onExitComplete,f=(0,o.Z)(function(){return new Map}),p=(0,a.useMemo)(function(){return{in:u,onExitComplete:function(e){f.set(e,!0);var t,n=!0,o=(0,r.sf)(f);try{for(o.s();!(t=o.n()).done;)if(!(0,r.ZQ)(t.value,2)[1]){n=!1;break}}catch(e){o.e(e)}finally{o.f()}n&&(0,i.zU)(l)()},register:function(e){return f.set(e,!1),function(){f.delete(e)}}}},[u,l,f]);return(0,a.useEffect)(function(){u||0!==f.size||l()},[u,l,f]),(0,c.tZ)(s.j.Provider,{value:p,children:n})})},60265:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=(0,n(2784).createContext)()},48504:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(20655),s=n(60265),c=function(){var e=(0,a.Z)();if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,i.useContext)(s.j),n=(0,r.Zj)({},t),c=n.in,u=n.onExitComplete,l=n.register;return((0,i.useEffect)(function(){return(0,o.zU)(l)(e)},[e,l]),void 0===t)?[null,null]:!c&&u?[!1,function(){return(0,o.zU)(u)(e)}]:[!0,null]}},13823:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5081),o=function(e){return"string"==typeof e?e:(e=(0,r.Nu)(e),"".concat(e,"px"))}},24340:function(e,t,n){"use strict";n.d(t,{k:function(){return r},l:function(){return o}});var r=function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}},o=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{Ac:function(){return i},ZQ:function(){return s},Zj:function(){return o},_x:function(){return a},sf:function(){return f},u:function(){return c}})},76078:function(e,t,n){"use strict";n.d(t,{$:function(){return c},J:function(){return s}});var r,o=n(38201),i=function(){},a=function(e){return(Array.isArray(e)&&(e=e.join(",")),e&&"string"==typeof e)?function(t){var n={};return t&&"object"===(0,o.Ac)(t)&&(n[e]=t),Object.entries(n)}:i},s={_active:a(["&:active","&[data-active]"]),_checked:a(["&:checked","&[aria-checked=true]","&[data-checked]"]),_disabled:a(["&:disabled","&:disabled:focus","&:disabled:hover","&[aria-disabled=true]","&[aria-disabled=true]:focus","&[aria-disabled=true]:hover","&[data-disabled]"]),_empty:a("&:empty"),_enabled:a(["&:enabled","&:enabled:focus","&:enabled:hover"]),_firstChild:a("&:first-child"),_firstOfType:a("&:first-of-type"),_fullscreen:a("&:fullscreen"),_focus:a(["&:focus","&[data-focus]"]),_focusActive:a("&:focus:active"),_focusHover:a("&:focus:hover"),_focusVisible:a("&:focus-visible"),_focusWithin:a("&:focus-within"),_hover:a(["&:hover","&[data-hover]"]),_indeterminate:a(["&:indeterminate"]),_invalid:a(["&:invalid","&[aria-invalid=true]"]),_lastChild:a("&:last-child"),_lastOfType:a("&:last-of-type"),_notFirstChild:a("&:not(:first-child)"),_notFirstOfType:a("&:not(:first-of-type)"),_notLastChild:a("&:not(:last-child)"),_notLastOfType:a("&:not(:last-of-type)"),_nthOfType:(Array.isArray(r="&:nth-of-type")&&(r=r.join(",")),r&&"string"==typeof r)?function(e){var t={};if(e&&"object"===(0,o.Ac)(e))for(var n=0,i=Object.entries(e);n0&&void 0!==arguments[0]?arguments[0]:{};if(null==t)return{};if(Array.isArray(t))return t.reduce(function(t,o){return(0,r.Zj)((0,r.Zj)({},t),e(o)(n))},{});var c=(0,r.Zj)({},n.theme||n),u=function(e){var t={},n=(0,i.Z)((0,a.Z)(c,"breakpoints")),o=[null].concat((0,r.u)(n.map(function(e){return"@media screen and (min-width: ".concat(e,")")})));for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var u="function"==typeof e[s]?e[s](c):e[s];if(null!=u){if(!Array.isArray(u)){t[s]=u;continue}for(var l=0;l1&&p.forEach(function(n){f[n]=e((0,r._x)({},n,t[n]))}),f},p=n(71370),d=function(e,t){var n=(0,r.Zj)({},t),o=n.prefix,i=n.delimiter,a=void 0===i?"-":i,s=[void 0===o?"":o,e].filter(Boolean).join(a).replace(/\s+/g,a).replace(/[^a-zA-Z0-9-_]/g,a).replace(/^-+|-+$/g,"");return"--".concat(s)},h=function(e,t,n){var r,o=null==n?void 0:null===(r=n.props)||void 0===r?void 0:r.theme,i=!!(null!=o&&o.vars),a=m(e,t,n);return i&&/^var\(\s*([a-zA-Z0-9\-_]+)\s*\)$/.test(String(null!=a?a:"").trim())?"calc(0px - ".concat(a,")"):"number"==typeof a&&Number.isFinite(a)?-1*a:"-".concat(a)},m=function(e,t,n){var r=null==n?void 0:null===(s=n.props)||void 0===s?void 0:s.theme,i=!!(null!=r&&r.vars),a=(0,o.Z)(e,t);if(void 0!==a&&i){var s,c,u,l,f,p,h=null==r?void 0:null===(c=r.config)||void 0===c?void 0:c.prefix,m=null!==(u=null==r?void 0:null===(l=r.vars)||void 0===l?void 0:l.prefix)&&void 0!==u?u:h,g=null==r?void 0:r.__cssVariableMap,y=null!==(f=null==r?void 0:r.vars)&&void 0!==f?f:g,v=d([null==n?void 0:null===(p=n.context)||void 0===p?void 0:p.scale,String(null!=t?t:"")].filter(Boolean).join("."),{prefix:m,delimiter:"-"}),b=null==y?void 0:y[v];if(void 0!==b)return String(null!=a?a:"").replaceAll(b,"var(".concat(v,")"))}return null!=a?a:t},g=function(e,t,n){if("string"==typeof t){var r=t.startsWith("+")||t.startsWith("-")?t.slice(1):t;return t.startsWith("-")&&Object.prototype.hasOwnProperty.call(e,r)?h(e,r,n):m(e,t,n)}if("number"==typeof t&&Number.isFinite(t)){var o=Math.abs(t);return t<0&&Object.prototype.hasOwnProperty.call(e,o)?h(e,o,n):m(e,t,n)}return m(e,t,n)},y=function(e){var t=e.group,n=e.properties,o=e.property,i=e.alias,a=e.scale,s=e.defaultScale,c=e.transform,u=void 0===c?m:c,l=[].concat((0,r.u)((0,p.Z)(n)),(0,r.u)((0,p.Z)(o))),f={group:t,properties:l,alias:i,scale:a,defaultScale:null!=s?s:{}},d=function(e,t,n){var o=u(e,t,{context:f,props:n});return null==o?{}:l.reduce(function(e,t){if("object"===(0,r.Ac)(o)){var n;e[t]=null!==(n=null==o?void 0:o[t])&&void 0!==n?n:e[t]}else e[t]=o;return e},{})};return Object.assign(d,(0,r.Zj)({},f)),d},v=function(e,t){var n=null==t?void 0:t.group;return f(Object.keys((0,r.Zj)({},e)).reduce(function(t,o){var i=e[o];return"function"==typeof i?t[o]=i:!0===i?t[o]=y({group:n,property:o}):t[o]=y((0,r.Zj)({group:n},i)),t},{}))},b=v({animation:!0,animationDelay:!0,animationDirection:!0,animationDuration:!0,animationFillMode:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0},{group:"animation"}),k={background:{property:"background",scale:"colors"},backgroundAttachment:{property:"backgroundAttachment"},backgroundClip:{property:"backgroundClip"},backgroundColor:{property:"backgroundColor",scale:"colors"},backgroundImage:{property:"backgroundImage"},backgroundPosition:{property:"backgroundPosition",scale:"space",transform:g},backgroundPositionX:{property:"backgroundPositionX",scale:"space",transform:g},backgroundPositionY:{property:"backgroundPositionY",scale:"space",transform:g},backgroundRepeat:{property:"backgroundRepeat"},backgroundSize:{property:"backgroundSize",scale:"sizes"}};k.bg=(0,r.Zj)((0,r.Zj)({},k.background),{},{alias:"background"}),k.bgAttachment=(0,r.Zj)((0,r.Zj)({},k.backgroundAttachment),{},{alias:"backgroundAttachment"}),k.bgClip=(0,r.Zj)((0,r.Zj)({},k.backgroundClip),{},{alias:"backgroundClip"}),k.bgColor=(0,r.Zj)((0,r.Zj)({},k.backgroundColor),{},{alias:"backgroundColor"}),k.bgImage=(0,r.Zj)((0,r.Zj)({},k.backgroundImage),{},{alias:"backgroundImage"}),k.bgPosition=(0,r.Zj)((0,r.Zj)({},k.backgroundPosition),{},{alias:"backgroundPosition"}),k.bgPositionX=(0,r.Zj)((0,r.Zj)({},k.backgroundPositionX),{},{alias:"backgroundPositionX"}),k.bgPositionY=(0,r.Zj)((0,r.Zj)({},k.backgroundPositionY),{},{alias:"backgroundPositionY"}),k.bgRepeat=(0,r.Zj)((0,r.Zj)({},k.backgroundRepeat),{},{alias:"backgroundRepeat"}),k.bgSize=(0,r.Zj)((0,r.Zj)({},k.backgroundSize),{},{alias:"backgroundSize"});var x=v(k,{group:"background"}),w=v((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{border:{property:"border",scale:"borders"},borderColor:{property:"borderColor",scale:"colors"},borderStyle:!0,borderWidth:{property:"borderWidth",scale:"sizes"}}),{borderTop:{property:"borderTop",scale:"borders"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:!0,borderTopWidth:{property:"borderTopWidth",scale:"sizes"}}),{borderRight:{property:"borderRight",scale:"borders"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:!0,borderRightWidth:{property:"borderRightWidth",scale:"sizes"}}),{borderBottom:{property:"borderBottom",scale:"borders"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:!0,borderBottomWidth:{property:"borderBottomWidth",scale:"sizes"}}),{borderLeft:{property:"borderLeft",scale:"borders"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:!0,borderLeftWidth:{property:"borderLeftWidth",scale:"sizes"}}),{borderRadius:{property:"borderRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderEndEndRadius:{property:"borderEndEndRadius",scale:"radii"},borderEndStartRadius:{property:"borderEndStartRadius",scale:"radii"},borderStartEndRadius:{property:"borderStartEndRadius",scale:"radii"},borderStartStartRadius:{property:"borderStartStartRadius",scale:"radii"}}),{borderBlock:{property:"borderBlock",scale:"borders"},borderBlockColor:{property:"borderBlockColor",scale:"colors"},borderBlockStyle:!0,borderBlockWidth:{property:"borderBlockWidth",scale:"sizes"},borderBlockEnd:{property:"borderBlockEnd",scale:"borders"},borderBlockEndColor:{property:"borderBlockEndColor",scale:"colors"},borderBlockEndStyle:!0,borderBlockEndWidth:{property:"borderBlockEndWidth",scale:"sizes"},borderBlockStart:{property:"borderBlockStart",scale:"borders"},borderBlockStartColor:{property:"borderBlockStartColor",scale:"colors"},borderBlockStartStyle:!0,borderBlockStartWidth:{property:"borderBlockStartWidth",scale:"sizes"}}),{borderImage:!0,borderImageOutset:{property:"borderImageOutset",scale:"space",transform:g},borderImageRepeat:!0,borderImageSlice:{property:"borderImageSlice",scale:"space",transform:g},borderImageSource:!0,borderImageWidth:{property:"borderImageWidth",scale:"sizes"}}),{borderInline:{property:"borderInline",scale:"borders"},borderInlineColor:{property:"borderInlineColor",scale:"colors"},borderInlineStyle:!0,borderInlineWidth:{property:"borderInlineWidth",scale:"sizes"},borderInlineEnd:{property:"borderInlineEnd",scale:"borders"},borderInlineEndColor:{property:"borderInlineEndColor",scale:"colors"},borderInlineEndStyle:!0,borderInlineEndWidth:{property:"borderInlineEndWidth",scale:"sizes"},borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartColor:{property:"borderInlineStartColor",scale:"colors"},borderInlineStartStyle:!0,borderInlineStartWidth:{property:"borderInlineStartWidth",scale:"sizes"}}),{},{borderCollapse:!0,borderSpacing:{property:"borderSpacing",scale:"sizes"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}}),{group:"border"}),_=v({color:{property:"color",scale:"colors"},colorScheme:!0},{group:"color"}),S=v({contain:!0,containIntrinsicSize:{property:"containIntrinsicSize",scale:"sizes"},contentVisibility:!0},{group:"containment"}),O=v({backdropFilter:!0,backgroundBlendMode:!0,boxShadow:{property:"boxShadow",scale:"shadows"},filter:!0,mixBlendMode:!0,opacity:!0},{group:"effect"}),E=v({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:{property:"flexBasis",scale:"sizes"},justifySelf:!0,alignSelf:!0,order:!0},{group:"flexbox"}),j=v({gap:{property:"gap",scale:"sizes"},columnGap:{property:"columnGap",scale:"sizes"},rowGap:{property:"rowGap",scale:"sizes"}},{group:"gap"}),T=v({gridArea:!0,gridAutoColumns:!0,gridAutoFlow:!0,gridAutoRows:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,gridTemplate:!0,gridTemplateAreas:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridGap:{property:"gridGap",scale:"sizes"},gridColumnGap:{property:"gridColumnGap",scale:"sizes"},gridRowGap:{property:"gridRowGap",scale:"sizes"}},{group:"grid"}),C=v({imageOrientation:!0,imageRendering:!0},{group:"image"}),A=v({appearance:!0,caretColor:{property:"caretColor",scale:"colors"},cursor:!0,pointerEvents:!0,resize:!0,userSelect:!0},{group:"interactivity"}),R={width:{property:"width",scale:"sizes"},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0,aspectRatio:!0,boxSizing:!0,float:!0,objectFit:!0,objectPosition:!0,visibility:!0};R.w=(0,r.Zj)((0,r.Zj)({},R.width),{},{alias:"width"}),R.h=(0,r.Zj)((0,r.Zj)({},R.height),{},{alias:"height"});var I=v(R,{group:"layout"}),P=v({listStyleImage:!0,listStylePosition:!0,listStyleType:!0},{group:"list-style"}),Z={margin:{property:"margin",scale:"space",transform:g},marginTop:{property:"marginTop",scale:"space",transform:g},marginRight:{property:"marginRight",scale:"space",transform:g},marginBottom:{property:"marginBottom",scale:"space",transform:g},marginLeft:{property:"marginLeft",scale:"space",transform:g},marginBlock:{property:"marginBlock",scale:"space",transform:g},marginBlockStart:{property:"marginBlockStart",scale:"space",transform:g},marginBlockEnd:{property:"marginBlockEnd",scale:"space",transform:g},marginInline:{property:"marginInline",scale:"space",transform:g},marginInlineStart:{property:"marginInlineStart",scale:"space",transform:g},marginInlineEnd:{property:"marginInlineEnd",scale:"space",transform:g}};Z.marginX={properties:["marginLeft","marginRight"],scale:"space",transform:g},Z.marginY={properties:["marginTop","marginBottom"],scale:"space",transform:g},Z.m=(0,r.Zj)((0,r.Zj)({},Z.margin),{},{alias:"margin"}),Z.mt=(0,r.Zj)((0,r.Zj)({},Z.marginTop),{},{alias:"marginTop"}),Z.mr=(0,r.Zj)((0,r.Zj)({},Z.marginRight),{},{alias:"marginRight"}),Z.mb=(0,r.Zj)((0,r.Zj)({},Z.marginBottom),{},{alias:"marginBottom"}),Z.ml=(0,r.Zj)((0,r.Zj)({},Z.marginLeft),{},{alias:"marginLeft"}),Z.mx=(0,r.Zj)((0,r.Zj)({},Z.marginX),{},{alias:"marginX"}),Z.my=(0,r.Zj)((0,r.Zj)({},Z.marginY),{},{alias:"marginY"});var N=v(Z,{group:"margin"}),F=v({clip:!0,clipPath:!0,mask:!0,maskBorder:!0,maskType:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0},{group:"masking"}),L=v({outline:{property:"outline",scale:"outlines"},outlineColor:{property:"outlineColor",scale:"colors"},outlineOffset:{property:"outlineOffset",scale:"space",transform:g},outlineWidth:{property:"outlineWidth",scale:"sizes"},outlineStyle:!0},{group:"outline"}),M={padding:{property:"padding",scale:"space"},paddingTop:{property:"paddingTop",scale:"space"},paddingRight:{property:"paddingRight",scale:"space"},paddingBottom:{property:"paddingBottom",scale:"space"},paddingLeft:{property:"paddingLeft",scale:"space"}};M.paddingX={properties:["paddingLeft","paddingRight"],scale:"space"},M.paddingY={properties:["paddingTop","paddingBottom"],scale:"space"},M.p=(0,r.Zj)((0,r.Zj)({},M.padding),{},{alias:"padding"}),M.pt=(0,r.Zj)((0,r.Zj)({},M.paddingTop),{},{alias:"paddingTop"}),M.pr=(0,r.Zj)((0,r.Zj)({},M.paddingRight),{},{alias:"paddingRight"}),M.pb=(0,r.Zj)((0,r.Zj)({},M.paddingBottom),{},{alias:"paddingBottom"}),M.pl=(0,r.Zj)((0,r.Zj)({},M.paddingLeft),{},{alias:"paddingLeft"}),M.px=(0,r.Zj)((0,r.Zj)({},M.paddingX),{},{alias:"paddingX"}),M.py=(0,r.Zj)((0,r.Zj)({},M.paddingY),{},{alias:"paddingY"});var D=v(M,{group:"padding"}),B=v({inset:{property:"inset",scale:"space",transform:g},insetBlock:{property:"insetBlock",scale:"space",transform:g},insetBlockEnd:{property:"insetBlockEnd",scale:"space",transform:g},insetBlockStart:{property:"insetBlockStart",scale:"space",transform:g},insetInline:{property:"insetInline",scale:"space",transform:g},insetInlineEnd:{property:"insetInlineEnd",scale:"space",transform:g},insetInlineStart:{property:"insetInlineStart",scale:"space",transform:g},position:!0,top:{property:"top",scale:"space",transform:g},right:{property:"right",scale:"space",transform:g},bottom:{property:"bottom",scale:"space",transform:g},left:{property:"left",scale:"space",transform:g},zIndex:{property:"zIndex",scale:"zIndices"}},{group:"position"}),z={scrollBehavior:!0,scrollMargin:{property:"scrollMargin",scale:"space",transform:g},scrollMarginBlock:{property:"scrollMarginBlock",scale:"space",transform:g},scrollMarginBlockEnd:{property:"scrollMarginBlockEnd",scale:"space",transform:g},scrollMarginBlockStart:{property:"scrollMarginBlockStart",scale:"space",transform:g},scrollMarginInline:{property:"scrollMarginInline",scale:"space",transform:g},scrollMarginInlineEnd:{property:"scrollMarginInlineEnd",scale:"space",transform:g},scrollMarginInlineStart:{property:"scrollMarginInlineStart",scale:"space",transform:g},scrollMarginTop:{property:"scrollMarginTop",scale:"space",transform:g},scrollMarginRight:{property:"scrollMarginRight",scale:"space",transform:g},scrollMarginBottom:{property:"scrollMarginBottom",scale:"space",transform:g},scrollMarginLeft:{property:"scrollMarginLeft",scale:"space",transform:g},scrollPadding:{property:"scrollPadding",scale:"space"},scrollPaddingTop:{property:"scrollPaddingTop",scale:"space"},scrollPaddingRight:{property:"scrollPaddingRight",scale:"space"},scrollPaddingBottom:{property:"scrollPaddingBottom",scale:"space"},scrollPaddingLeft:{property:"scrollPaddingLeft",scale:"space"},scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0};z.scrollMarginX={properties:["scrollMarginLeft","scrollMarginRight"],scale:"space",transform:g},z.scrollMarginY={properties:["scrollMarginTop","scrollMarginBottom"],scale:"space",transform:g},z.scrollPaddingX={properties:["scrollPaddingLeft","scrollPaddingRight"],scale:"space"},z.scrollPaddingY={properties:["scrollPaddingTop","scrollPaddingBottom"],scale:"space"};var $=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)}},34841:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e,t,n,r,o){for(r=0,t=t&&t.split?t.split("."):[t];re.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(!e||!(e instanceof HTMLElement))return[];var n=Array.from(e.querySelectorAll('a[href],area[href],audio[controls],button:not([disabled]),embed,iframe,input:not([type="hidden"]):not([disabled]),object,select:not([disabled]),textarea:not([disabled]),video[controls],*[contenteditable]:not([contenteditable="false"]),*[tabindex]:not([aria-disabled="true"])'));return n=n.filter(function(e){var t=(0,r.Dx)(e);return(null==t?void 0:t.display)!=="none"}),!0===t&&(n=n.filter(function(e){return"-1"!==e.getAttribute("tabindex")})),n}},33558:function(e,t,n){"use strict";n.d(t,{Dx:function(){return a},Jb:function(){return u},Nq:function(){return o},Re:function(){return f},lZ:function(){return c},nq:function(){return p},oe:function(){return s},vY:function(){return i}});var r=n(53248),o=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},i=function(e){var t=c(e);return null==t?void 0:t.activeElement},a=function(e){if(!e)throw TypeError("No element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):null},s=function e(t){return f(t)?e(t.offsetParent)+t.offsetLeft:0},c=function(e){var t;return l(e)&&null!==(t=e.ownerDocument)&&void 0!==t?t:document},u=function e(t){return f(t)?e(t.offsetParent)+t.offsetTop:0},l=function(e){return null!=e&&"object"===(0,r.Ac)(e)&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE},f=function(e){if(!l(e))return!1;var t,n=null!==(t=e.ownerDocument.defaultView)&&void 0!==t?t:window;return e instanceof n.HTMLElement},p=function(e){return e&&(null==e?void 0:e.scrollTop)}},56818:function(e,t,n){"use strict";n.d(t,{N:function(){return l},PB:function(){return f},PP:function(){return u},Pu:function(){return h},Qm:function(){return c},TL:function(){return m},TS:function(){return p},ZT:function(){return d}});var r=n(53248),o=n(5081),i=n(13409),a=function(e){return 0===(e=(0,o.rY)(e)).length?"":1===e.length?"'".concat(e[0],"'"):2===e.length?"'".concat(e[0],"' and '").concat(e[1],"'"):"'".concat(e.slice(0,-1).join("', '"),"', and '").concat(e.slice(-1),"'")},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(n.has(t))return n.get(t);if(Array.isArray(t)){var o=[];n.set(t,o);for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0};if(Array.isArray(t)&&Array.isArray(n)){var a=o.clone?(0,r.u)(t):t;return n.forEach(function(t,n){(0,i.PO)(t)&&(0,i.PO)(a[n])?a[n]=e(a[n],t,o):a[n]=o.clone?s(t):t}),a}if((0,i.PO)(t)&&(0,i.PO)(n)){for(var c=o.clone?(0,r.Zj)({},t):t,u=0,l=Object.entries(n);u1?t-1:0),r=1;r1?"are":"is";s?u.push("".concat(a(e)," ").concat(l," deprecated and will be removed in the next major release.")):u.push("".concat(a(e)," ").concat(l," deprecated.")),i.length>0&&u.push("Use ".concat(a(i)," instead.")),c&&u.push(c),console.error(u.join(" "))}}},83377:function(e,t,n){"use strict";n.d(t,{YU:function(){return s},Zk:function(){return u},c:function(){return c},nV:function(){return a},zx:function(){return l}});var r=n(53248),o=n(5081),i=function(e){return e>0?"".concat(Math.round(e),"ms"):""},a={standard:300,enteringScreen:225,leavingScreen:195},s={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},c=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.enter)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.enter)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},u=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.exit)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.exit)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},l=function(e,t){e=null!==(n=e)&&void 0!==n?n:["all"];var n,c=(0,r.Zj)({},t),u=c.duration,l=void 0===u?a.standard:u,f=c.easing,p=void 0===f?s.easeInOut:f,d=c.delay,h=void 0===d?0:d;return(0,o.rY)(e).map(function(e){return[e,"string"==typeof l?l:i(l),p,"string"==typeof h?h:i(h)].filter(function(e){return null!=e&&""!==e}).join(" ")}).join(",")}},85748:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},15538:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},43681:function(e,t,n){var r=n(96314),o=n(66193),i=n(60121),a=n(16147);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},73408:function(e,t,n){var r=n(13850),o=n(23912),i=n(60121),a=n(83096);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},68064:function(e,t,n){var r=n(67425).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47739:function(e,t,n){var r=n(67425).default,o=n(68064);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},67425:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60121:function(e,t,n){var r=n(85748);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},80753:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},56666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(32802);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7896:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},88960:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},32802:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86522);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},86522:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},45392:function(e,t,n){"use strict";n.d(t,{Zo:function(){return s},ah:function(){return i}});var r=n(2784);let o=r.createContext({});function i(e){let t=r.useContext(o);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||a:i(e),r.createElement(o.Provider,{value:s},t)}},20303:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){var t,n,o,l,m,b,w,_,S,O,E,j,T,C,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=(0,u.a)(),P=(0,c.z)(),Z=(0,s.a)(),N=f(A),F=f(R),L=(0,r.useRef)(!0),M=(0,r.useRef)(null),D=(0,r.useRef)(P.status),B=(0,r.useMemo)(function(){return k(k({},e(function(e,t){if(t){L.current=!0;return}if(L.current){var n=e.instantSearchInstance,r=(e.widgetParams,x(e,g));(0,i.J)(r,M.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&n.status===D.current||(U(r),M.current=r,D.current=n.status)}},function(){L.current=!1})(N)),F)},[e,N,F]),z=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(function(){if(B.getWidgetRenderState){var e,t=Z.getHelper(),n=Z.getWidgetUiState({})[Z.getIndexId()];t.state=(null===(e=B.getWidgetSearchParameters)||void 0===e?void 0:e.call(B,t.state,{uiState:n}))||t.state;var r=(0,a.E)(Z),o=r.results,i=r.scopedResults,s=B.getWidgetRenderState({helper:t,parent:Z,instantSearchInstance:P,results:o,scopedResults:i,state:t.state,renderState:P.renderState,templatesConfig:P.templatesConfig,createURL:Z.createURL,searchMetadata:{isSearchStalled:"stalled"===P.status},status:P.status,error:P.error});return s.widgetParams,x(s,y)}return{}}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return v(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),$=z[0],U=z[1];return m=(n={widget:B,parentIndex:Z,props:N,shouldSsr:!!I}).widget,b=n.parentIndex,w=n.props,_=n.shouldSsr,S=(0,h.P)(),O=(0,r.useRef)(w),(0,r.useEffect)(function(){O.current=w},[w]),E=(0,r.useRef)(m),(0,r.useEffect)(function(){E.current=m},[m]),j=(0,r.useRef)(null),T=_&&!b.getWidgets().includes(m),C=(0,c.z)(),(0,d.L)(function(){var e=E.current;return j.current?(clearTimeout(j.current),(0,i.J)(w,O.current)||(b.removeWidgets([e]),b.addWidgets([m]))):T||b.addWidgets([m]),function(){j.current=setTimeout(function(){C._schedule(function(){C._preventWidgetCleanup||b.removeWidgets([e])})})}},[b,m,T,C,w]),(T||(null==S?void 0:null===(o=S.current)||void 0===o?void 0:o.status)==="pending")&&b.addWidgets([m]),"undefined"==typeof window&&null!=S&&S.current&&"ais.index"!==m.$$type&&(p(S.current),"ais.dynamicWidgets"!==m.$$type&&null!==(l=C.helper)&&void 0!==l&&l.lastResults&&p(S.current)),$}},11849:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},5881:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},87287:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{J:function(){return function e(t,n,i){var a,s;if(null!=i&&i(t,n)||t===n)return!0;if(t&&n&&(a=t.constructor)===n.constructor){if(a===Date)return t.getTime()===n.getTime();if(a===RegExp)return t.toString()===n.toString();if(a===Array){if((s=t.length)===n.length)for(;s--&&e(t[s],n[s],i););return -1===s}if(!a||"object"===r(t)){for(a in s=0,t)if(o.call(t,a)&&++s&&!o.call(n,a)||!(a in n)||!e(t[a],n[a],i))return!1;return Object.keys(n).length===s}}return t!=t&&n!=n}}});var o=Object.prototype.hasOwnProperty},73183:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(96906);function o(e){var t,n,o;return new r.SearchResults(e,[{query:null!==(t=e.query)&&void 0!==t?t:"",page:null!==(n=e.page)&&void 0!==n?n:0,hitsPerPage:null!==(o=e.hitsPerPage)&&void 0!==o?o:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t component must be used within ."),e}},53232:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(2784),o=n(18670),i=n(5881);function a(){var e=(0,r.useContext)(i.Z);return(0,o.k)(null!==e,"Hooks must be used inside the component.\n\nThey are not compatible with the `react-instantsearch-core@6.x` and `react-instantsearch-dom` packages, so make sure to use the component from `react-instantsearch-core@7.x`."),e}},29170:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},91106:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2784),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},38436:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},65245:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,f,p,d;n.d(t,{uz:function(){return oO},nu:function(){return oS}});var h,m,g,y,v,b,k,x,w,_,S,O,E,j,T,C,A,R,I,P,Z,N,F,L,M,D,B=n(2784),z=function(){for(var e,t,n=0,r="",o=arguments.length;nt in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&X(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&X(e,n,t[n]);return e},ee=(e,t)=>H(e,W(t)),et=(e,t)=>{var n={};for(var r in e)G.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&K)for(var r of K(e))0>t.indexOf(r)&&Y.call(e,r)&&(n[r]=e[r]);return n},en=(d=null!=(f=(u={"../../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(/=l.reach));w+=x.value.length,x=x.next){var _,S=x.value;if(n.length>t.length)return;if(!(S instanceof o)){var O=1;if(y){if(!(_=i(k,w,t,g))||_.index>=t.length)break;var E=_.index,j=_.index+_[0].length,T=w;for(T+=x.value.length;E>=T;)T+=(x=x.next).value.length;if(T-=x.value.length,w=T,x.value instanceof o)continue;for(var C=x;C!==n.tail&&(Tl.reach&&(l.reach=P);var Z=x.prev;if(R&&(Z=s(n,Z,R),w+=R.length),function(e,t,n){for(var r=t.next,o=0;o1){var N={cause:f+","+d,reach:P};e(t,n,a,x.prev,w,N),l&&N.reach>l.reach&&(l.reach=N.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)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 i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){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}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 i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},r}();t.exports=n,n.default=n}},function(){return l||(0,u[V(u)[0]])((l={exports:{}}).exports,l),l.exports})())?$(Q(f)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of V(t))G.call(e,o)||o===n||U(e,o,{get:()=>t[o],enumerable:!(r=q(t,o))||r.enumerable});return e})(!p&&f&&f.__esModule?d:U(d,"default",{value:f,enumerable:!0}),f));en.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{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]},en.languages.markup.tag.inside["attr-value"].inside.entity=en.languages.markup.entity,en.languages.markup.doctype.inside["internal-subset"].inside=en.languages.markup,en.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(en.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:en.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:en.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},en.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(en.languages.markup.tag,"addAttribute",{value:function(e,t){en.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:en.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),en.languages.html=en.languages.markup,en.languages.mathml=en.languages.markup,en.languages.svg=en.languages.markup,en.languages.xml=en.languages.extend("markup",{}),en.languages.ssml=en.languages.xml,en.languages.atom=en.languages.xml,en.languages.rss=en.languages.xml,g={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},v=RegExp((v="(?:[^\\\\-]|"+(y=/\\(?: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+")")+"-"+v),b={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},en.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:v,inside:{escape:y,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":g,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:y}},"special-escape":g,"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":b}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:y,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},en.languages.javascript=en.languages.extend("clike",{"class-name":[en.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}|\?\?=?|\?\.?|[~:]/}),en.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,en.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:en.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:en.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:en.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:en.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:en.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),en.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:en.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"}}),en.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),en.languages.markup&&(en.languages.markup.tag.addInlined("script","javascript"),en.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")),en.languages.js=en.languages.javascript,en.languages.actionscript=en.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),en.languages.actionscript["class-name"].alias="function",delete en.languages.actionscript.parameter,delete en.languages.actionscript["literal-property"],en.languages.markup&&en.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:en.languages.markup}}),k=/#(?!\{).+/,x={pattern:/#\{[^}]+\}/,alias:"variable"},en.languages.coffeescript=en.languages.extend("javascript",{comment:k,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:x}}],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"}}),en.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:k,interpolation:x}}}),en.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:en.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:x}}]}),en.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete en.languages.coffeescript["template-string"],en.languages.coffee=en.languages.coffeescript,Object.defineProperty(w=en.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(o=en.languages[e]){var o,i=o[r];if((i=i||(o=en.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(i=o[r]={pattern:i}),Array.isArray(i))for(var a=0,s=i.length;a|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(en),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\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:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?: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}(en),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//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}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(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+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),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__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(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",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(en),en.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:en.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+/},en.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?|<|>)?|>[>=]?|\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"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in c&&function t(n){for(var a=0,c=n.length;a=f.length)return;var a,c,p,d,h,m,g,y=n[i];"string"==typeof y||"string"==typeof y.content?(a=f[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(a))&&(++u,c=m.substring(0,g),h=l[a],p=void 0,(d={})["interpolation-punctuation"]=o,3===(d=e.tokenize(h,d)).length&&((p=[1,1]).push.apply(p,s(d[1],e.languages.javascript,"javascript")),d.splice.apply(d,p)),p=new e.Token("interpolation",d,r.alias,h),d=m.substring(g+a.length),h=[],c&&h.push(c),h.push(p),d&&(t(m=[d]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[i,1].concat(h)),i+=h.length-1):y.content=h)):Array.isArray(g=y.content)?t(g):t([g])}}(c),new e.Token(a,c,"language-"+a,t)}(l,f,p))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(en),en.languages.typescript=en.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/}),en.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 en.languages.typescript.parameter,delete en.languages.typescript["literal-property"],S=en.languages.extend("typescript",{}),delete S["class-name"],en.languages.typescript["class-name"].inside=S,en.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:S}}}}),en.languages.ts=en.languages.typescript,O=en.languages.javascript,j="(@(?:arg|argument|param|property)\\s+(?:"+(E=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",en.languages.jsdoc=en.languages.extend("javadoclike",{parameter:{pattern:RegExp(j+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),en.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(j+/\[(?:(?!\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:O,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return E})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+E),lookbehind:!0,inside:{string:O.string,number:O.number,boolean:O.boolean,keyword:en.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:O,alias:"language-javascript"}}}}),en.languages.javadoclike.addSupport("javascript",en.languages.jsdoc),en.languages.flow=en.languages.extend("javascript",{}),en.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),en.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 en.languages.flow.parameter,en.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(en.languages.flow.keyword)||(en.languages.flow.keyword=[en.languages.flow.keyword]),en.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}),en.languages.n4js=en.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/}),en.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),en.languages.n4jsd=en.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//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*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\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*)#?/.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*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\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:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],o=0;o"!==i.content[i.content.length-1].content&&r.push({tagName:a(i.content[0].content[1]),openedBraces:0}):0]=?/,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:/[{}[\]();,.:\\]/},en.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=en.languages.swift}),en.languages.kotlin=en.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 en.languages.kotlin["class-name"],C={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:en.languages.kotlin}},en.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:C},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:C},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete en.languages.kotlin.string,en.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),en.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),en.languages.kt=en.languages.kotlin,en.languages.kts=en.languages.kotlin,en.languages.c=en.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|[?:~]|[-+*/%&|^!=<>]=?/}),en.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),en.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},en.languages.c.string],char:en.languages.c.char,comment:en.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:en.languages.c}}}}),en.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 en.languages.c.boolean,en.languages.objectivec=en.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 en.languages.objectivec["class-name"],en.languages.objc=en.languages.objectivec,en.languages.reason=en.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/}),en.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 en.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//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}(en),en.languages.go=en.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/}),en.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete en.languages.go["class-name"],A=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,R=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return A.source}),en.languages.cpp=en.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return A.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:A,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),en.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return R})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),en.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:en.languages.cpp}}}}),en.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),en.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:en.languages.extend("cpp",{})}}),en.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},en.languages.cpp["base-clause"]),en.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:/[{}[\];(),.:]/},en.languages.python["string-interpolation"].inside.interpolation.inside.rest=en.languages.python,en.languages.py=en.languages.python;var er={};((e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})})(er,{dracula:()=>eo,duotoneDark:()=>ei,duotoneLight:()=>ea,github:()=>es,jettwaveDark:()=>ek,jettwaveLight:()=>ex,nightOwl:()=>ec,nightOwlLight:()=>eu,oceanicNext:()=>ep,okaidia:()=>ed,oneDark:()=>ew,oneLight:()=>e_,palenight:()=>eh,shadesOfPurple:()=>em,synthwave84:()=>eg,ultramin:()=>ey,vsDark:()=>ev,vsLight:()=>eb});var eo={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)"}}]},ei={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"}}]},ea={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"}}]},es={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"}}]},ec={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)"}}]},eu={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)"}}]},el="#c5a5c5",ef="#8dc891",ep={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:el}},{types:["attr-value"],style:{color:ef}},{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:ef}},{types:["punctuation"],style:{color:ef}},{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:el}},{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}}]},ed={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"}}]},eh={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)"}}]},em={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)"}}]},eg={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"}}]},ey={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)"}}]},ev={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)"}}]},eb={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ex={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"}}]},ew={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%)"}}]},e_={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%)"}}]},eS=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=J(J({},e[t]),o);e[t]=n}),e},{});return r.root=n,r.plain=ee(J({},n),{backgroundColor:void 0}),r},eO=(e,t)=>{let[n,r]=(0,B.useState)(eS(t,e)),o=(0,B.useRef)(),i=(0,B.useRef)();return(0,B.useEffect)(()=>{(t!==o.current||e!==i.current)&&(o.current=t,i.current=e,r(eS(t,e)))},[e,t]),n},eE=e=>(0,B.useCallback)(t=>{var{className:n,style:r,line:o}=t;let i=ee(J({},et(t,["className","style","line"])),{className:z("token-line",n)});return"object"==typeof e&&"plain"in e&&(i.style=e.plain),"object"==typeof r&&(i.style=J(J({},i.style||{}),r)),i},[e]),ej=e=>{let t=(0,B.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,B.useCallback)(e=>{var{token:n,className:r,style:o}=e;let i=ee(J({},et(e,["token","className","style"])),{className:z("token",...n.types,r),children:n.content,style:t(n)});return null!=o&&(i.style=J(J({},i.style||{}),o)),i},[t])},eT=/\r\n|\r|\n/,eC=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)},eA=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eR=e=>{let t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];for(;a>-1;){for(;(i=r[a]++)0?u:["plain"],e=l):(u=eA(u,l.type),l.alias&&(u=eA(u,l.alias)),e=l.content),"string"!=typeof e){a++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}let f=e.split(eT),p=f.length;s.push({types:u,content:f[0]});for(let e=1;e{let o=(0,B.useRef)(e);return(0,B.useMemo)(()=>{if(null==n)return eR([t]);let 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),eR(e.tokens)},[t,n,r])},eP=({children:e,language:t,code:n,theme:r,prism:o})=>{let i=t.toLowerCase(),a=eO(i,r),s=eE(a),c=ej(a),u=o.languages[i];return e({tokens:eI({prism:o,language:i,code:n,grammar:u}),className:`prism-code language-${i}`,style:null!=a?a.root:{},getLineProps:s,getTokenProps:c})},eZ=e=>(0,B.createElement)(eP,ee(J({},e),{prism:e.prism||en,theme:e.theme||ev,code:e.code,language:e.language})),eN={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function eF(e){var t=window.getSelection();t.empty(),t.addRange(e)}function eL(e){return(e.metaKey||e.ctrlKey)&&!e.altKey&&"KeyZ"===e.code}function eM(e){e=[e.firstChild];for(var t,n="";t=e.pop();)t.nodeType===Node.TEXT_NODE?n+=t.textContent:t.nodeType===Node.ELEMENT_NODE&&"BR"===t.nodeName&&(n+="\n"),t.nextSibling&&e.push(t.nextSibling),t.firstChild&&e.push(t.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function eD(e){var t=window.getSelection().getRangeAt(0),n=t.collapsed?0:t.toString().length,r=document.createRange();return r.setStart(e,0),r.setEnd(t.startContainer,t.startOffset),{position:e=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[t=r.length-1],line:t}}function eB(e,t,n){0>=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var o,i=0,a=t;o=e[e.length-1];){if(o.nodeType===Node.TEXT_NODE){if(i+o.textContent.length>=a){var s=a-i;if(a===t){if(a=r,s=a){if(a===t){if(s=r,0";case N.template:return"template";case N.ellipsis:return"...";case N.backQuote:return"`";case N.dollarBraceL:return"${";case N.at:return"@";case N.hash:return"#";case N.eq:return"=";case N.assign:return"_=";case N.preIncDec:case N.postIncDec:return"++/--";case N.bang:return"!";case N.tilde:return"~";case N.pipeline:return"|>";case N.nullishCoalescing:return"??";case N.logicalOR:return"||";case N.logicalAND:return"&&";case N.bitwiseOR:return"|";case N.bitwiseXOR:return"^";case N.bitwiseAND:return"&";case N.equality:return"==/!=";case N.lessThan:return"<";case N.greaterThan:return">";case N.relationalOrEqual:return"<=/>=";case N.bitShiftL:return"<<";case N.bitShiftR:return">>/>>>";case N.plus:return"+";case N.minus:return"-";case N.modulo:return"%";case N.star:return"*";case N.slash:return"/";case N.exponent:return"**";case N.jsxName:return"jsxName";case N.jsxText:return"jsxText";case N.jsxEmptyText:return"jsxEmptyText";case N.jsxTagStart:return"jsxTagStart";case N.jsxTagEnd:return"jsxTagEnd";case N.typeParameterStart:return"typeParameterStart";case N.nonNullAssertion:return"nonNullAssertion";case N._break:return"break";case N._case:return"case";case N._catch:return"catch";case N._continue:return"continue";case N._debugger:return"debugger";case N._default:return"default";case N._do:return"do";case N._else:return"else";case N._finally:return"finally";case N._for:return"for";case N._function:return"function";case N._if:return"if";case N._return:return"return";case N._switch:return"switch";case N._throw:return"throw";case N._try:return"try";case N._var:return"var";case N._let:return"let";case N._const:return"const";case N._while:return"while";case N._with:return"with";case N._new:return"new";case N._this:return"this";case N._super:return"super";case N._class:return"class";case N._extends:return"extends";case N._export:return"export";case N._import:return"import";case N._yield:return"yield";case N._null:return"null";case N._true:return"true";case N._false:return"false";case N._in:return"in";case N._instanceof:return"instanceof";case N._typeof:return"typeof";case N._void:return"void";case N._delete:return"delete";case N._async:return"async";case N._get:return"get";case N._set:return"set";case N._declare:return"declare";case N._readonly:return"readonly";case N._abstract:return"abstract";case N._static:return"static";case N._public:return"public";case N._private:return"private";case N._protected:return"protected";case N._override:return"override";case N._as:return"as";case N._enum:return"enum";case N._type:return"type";case N._implements:return"implements";default:return""}}(e)}"`)}function e2(e="Unexpected token",t=a.start){if(a.error)return;let n=SyntaxError(e);n.pos=t,a.error=n,a.pos=s.length,tv(N.eof)}let e5=[9,11,12,F.space,F.nonBreakingSpace,F.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],e3=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e6=new Uint8Array(65536);for(let e of e5)e6[e]=1;let e8=new Uint8Array(65536);for(let e=0;e<128;e++)e8[e]=!function(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw Error("Should not be called with non-ASCII char code.")}(e)?0:1;for(let e=128;e<65536;e++)e8[e]=1;for(let e of e5)e8[e]=0;e8[8232]=0,e8[8233]=0;let e4=e8.slice();for(let e=F.digit0;e<=F.digit9;e++)e4[e]=0;let e9=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,Z._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,Z._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,Z._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,Z._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,Z._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,Z._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(N._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(N._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,Z._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(N._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(N._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(N._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,Z._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(N._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(N._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(N._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,Z._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(N._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,Z._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(N._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,Z._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(N._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,Z._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(N._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,Z._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,Z._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,Z._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,Z._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,Z._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(N._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(N._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(N._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(N._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function e7(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.FunctionScopedDeclaration||t===L.BlockScopedDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ObjectShorthandFunctionScopedDeclaration||t===L.ObjectShorthandBlockScopedDeclaration}function te(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ImportDeclaration}!function(e){e[e.Access=0]="Access",e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";let t=3;e[e.FunctionScopedDeclaration=t]="FunctionScopedDeclaration";let n=t+1;e[e.BlockScopedDeclaration=n]="BlockScopedDeclaration";let r=n+1;e[e.ObjectShorthandTopLevelDeclaration=r]="ObjectShorthandTopLevelDeclaration";let o=r+1;e[e.ObjectShorthandFunctionScopedDeclaration=o]="ObjectShorthandFunctionScopedDeclaration";let i=o+1;e[e.ObjectShorthandBlockScopedDeclaration=i]="ObjectShorthandBlockScopedDeclaration";let a=i+1;e[e.ObjectShorthand=a]="ObjectShorthand";let s=a+1;e[e.ImportDeclaration=s]="ImportDeclaration";let c=s+1;e[e.ObjectKey=c]="ObjectKey";let u=c+1;e[e.ImportAccess=u]="ImportAccess"}(L||(L={})),(h=M||(M={}))[h.NoChildren=0]="NoChildren",h[h.OneChild=1]="OneChild",h[h.StaticChildren=2]="StaticChildren",h[h.KeyAfterPropSpread=3]="KeyAfterPropSpread";class tt{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function tn(){a.tokens.push(new tt),tm()}function tr(){a.tokens.push(new tt),a.start=a.pos,function(){for(;;){if(a.pos>=s.length){e2("Unterminated template");return}let e=s.charCodeAt(a.pos);if(e===F.graveAccent||e===F.dollarSign&&s.charCodeAt(a.pos+1)===F.leftCurlyBrace){if(a.pos===a.start&&tc(N.template)){if(e===F.dollarSign){a.pos+=2,tv(N.dollarBraceL);return}++a.pos,tv(N.backQuote);return}tv(N.template);return}e===F.backslash&&a.pos++,a.pos++}}()}function to(e){for(let t=a.tokens.length-e;t=s.length){let e=a.tokens;e.length>=2&&e[e.length-1].start>=s.length&&e[e.length-2].start>=s.length&&e2("Unexpectedly reached the end of input."),tv(N.eof);return}e4[e=s.charCodeAt(a.pos)]||e===F.backslash||e===F.atSign&&s.charCodeAt(a.pos+1)===F.atSign?function(){let e=0,t=0,n=a.pos;for(;nF.lowercaseZ);){let r=e9[e+(t-F.lowercaseA)+1];if(-1===r)break;e=r,n++}let r=e9[e];if(r>-1&&!e8[t]){a.pos=n,1&r?tv(r>>>1):tv(N.name,r>>>1);return}for(;ns.length){e2("Unterminated comment",a.pos-2);return}a.pos+=2}();break;case F.slash:tg(2);break;default:return}break;default:if(!e6[e])return;++a.pos}}}function tv(e,t=Z.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function tb(){if(a.isType){tw(N.greaterThan,1);return}let e=s.charCodeAt(a.pos+1);if(e===F.greaterThan){let e=s.charCodeAt(a.pos+2)===F.greaterThan?3:2;if(s.charCodeAt(a.pos+e)===F.equalsTo){tw(N.assign,e+1);return}tw(N.bitShiftR,e);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.greaterThan,1)}function tk(){a.type===N.greaterThan&&(a.pos-=1,tb())}function tx(e){switch(e){case F.numberSign:++a.pos,tv(N.hash);return;case F.dot:!function(){let e=s.charCodeAt(a.pos+1);if(e>=F.digit0&&e<=F.digit9){tS(!0);return}e===F.dot&&s.charCodeAt(a.pos+2)===F.dot?(a.pos+=3,tv(N.ellipsis)):(++a.pos,tv(N.dot))}();return;case F.leftParenthesis:++a.pos,tv(N.parenL);return;case F.rightParenthesis:++a.pos,tv(N.parenR);return;case F.semicolon:++a.pos,tv(N.semi);return;case F.comma:++a.pos,tv(N.comma);return;case F.leftSquareBracket:++a.pos,tv(N.bracketL);return;case F.rightSquareBracket:++a.pos,tv(N.bracketR);return;case F.leftCurlyBrace:i&&s.charCodeAt(a.pos+1)===F.verticalBar?tw(N.braceBarL,2):(++a.pos,tv(N.braceL));return;case F.rightCurlyBrace:++a.pos,tv(N.braceR);return;case F.colon:s.charCodeAt(a.pos+1)===F.colon?tw(N.doubleColon,2):(++a.pos,tv(N.colon));return;case F.questionMark:!function(){let e=s.charCodeAt(a.pos+1),t=s.charCodeAt(a.pos+2);e!==F.questionMark||i&&a.isType?e!==F.dot||t>=F.digit0&&t<=F.digit9?(++a.pos,tv(N.question)):(a.pos+=2,tv(N.questionDot)):t===F.equalsTo?tw(N.assign,3):tw(N.nullishCoalescing,2)}();return;case F.atSign:++a.pos,tv(N.at);return;case F.graveAccent:++a.pos,tv(N.backQuote);return;case F.digit0:{let e=s.charCodeAt(a.pos+1);if(e===F.lowercaseX||e===F.uppercaseX||e===F.lowercaseO||e===F.uppercaseO||e===F.lowercaseB||e===F.uppercaseB){!function(){for(a.pos+=2;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e>=F.lowercaseA&&e<=F.lowercaseF||e>=F.uppercaseA&&e<=F.uppercaseF||e===F.underscore)a.pos++;else break}s.charCodeAt(a.pos)===F.lowercaseN?(++a.pos,tv(N.bigint)):tv(N.num)}();return}}case F.digit1:case F.digit2:case F.digit3:case F.digit4:case F.digit5:case F.digit6:case F.digit7:case F.digit8:case F.digit9:tS(!1);return;case F.quotationMark:case F.apostrophe:!function(e){for(a.pos++;;){if(a.pos>=s.length){e2("Unterminated string constant");return}let t=s.charCodeAt(a.pos);if(t===F.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,tv(N.string)}(e);return;case F.slash:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.slash,1);return;case F.percentSign:case F.asterisk:let t,n,r;t=e===F.asterisk?N.star:N.modulo,n=1,r=s.charCodeAt(a.pos+1),e===F.asterisk&&r===F.asterisk&&(n++,r=s.charCodeAt(a.pos+2),t=N.exponent),r===F.equalsTo&&s.charCodeAt(a.pos+2)!==F.greaterThan&&(n++,t=N.assign),tw(t,n);return;case F.verticalBar:case F.ampersand:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){s.charCodeAt(a.pos+2)===F.equalsTo?tw(N.assign,3):tw(e===F.verticalBar?N.logicalOR:N.logicalAND,2);return}if(e===F.verticalBar){if(t===F.greaterThan){tw(N.pipeline,2);return}if(t===F.rightCurlyBrace&&i){tw(N.braceBarR,2);return}}if(t===F.equalsTo){tw(N.assign,2);return}tw(e===F.verticalBar?N.bitwiseOR:N.bitwiseAND,1)}(e);return;case F.caret:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.bitwiseXOR,1);return;case F.plusSign:case F.dash:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){tw(N.preIncDec,2);return}t===F.equalsTo?tw(N.assign,2):e===F.plusSign?tw(N.plus,1):tw(N.minus,1)}(e);return;case F.lessThan:!function(){let e=s.charCodeAt(a.pos+1);if(e===F.lessThan){if(s.charCodeAt(a.pos+2)===F.equalsTo){tw(N.assign,3);return}a.isType?tw(N.lessThan,1):tw(N.bitShiftL,2);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.lessThan,1)}();return;case F.greaterThan:tb();return;case F.equalsTo:case F.exclamationMark:!function(e){let t=s.charCodeAt(a.pos+1);if(t===F.equalsTo){tw(N.equality,s.charCodeAt(a.pos+2)===F.equalsTo?3:2);return}if(e===F.equalsTo&&t===F.greaterThan){a.pos+=2,tv(N.arrow);return}tw(e===F.equalsTo?N.eq:N.bang,1)}(e);return;case F.tilde:tw(N.tilde,1);return}e2(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function tw(e,t){a.pos+=t,tv(e)}function t_(){for(;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e===F.underscore)a.pos++;else break}}function tS(e){let t=!1,n=!1;e||t_();let r=s.charCodeAt(a.pos);if(r===F.dot&&(++a.pos,t_(),r=s.charCodeAt(a.pos)),(r===F.uppercaseE||r===F.lowercaseE)&&(((r=s.charCodeAt(++a.pos))===F.plusSign||r===F.dash)&&++a.pos,t_(),r=s.charCodeAt(a.pos)),r===F.lowercaseN?(++a.pos,t=!0):r===F.lowercaseM&&(++a.pos,n=!0),t){tv(N.bigint);return}if(n){tv(N.decimal);return}tv(N.num)}function tO(e,t=e.currentIndex()){let n=t+1;if(tE(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(tE(e,++n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw Error(`Unexpected import/export specifier at ${t}`)}function tE(e,t){let n=e.tokens[t];return n.type===N.braceR||n.type===N.comma}var tj=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function tT(e){let[t,n]=tC(e.jsxPragma||"React.createElement"),[r,o]=tC(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}function tC(e){let t=e.indexOf(".");return -1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class tA{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class tR extends tA{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,o){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=o,tR.prototype.__init.call(this),tR.prototype.__init2.call(this),tR.prototype.__init3.call(this),tR.prototype.__init4.call(this),tR.prototype.__init5.call(this),this.jsxPragmaInfo=tT(o),this.isAutomaticRuntime="automatic"===o.jsxRuntime,this.jsxImportSource=o.jsxImportSource||"react"}process(){return!!this.tokens.matches1(N.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime){if(this.importProcessor)for(let[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{let{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);let r=Object.entries(n).map(([e,t])=>`${e} as ${t}`).join(", ");if(r){let t=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");e+=`import {${r}} from "${t}";`}}}return e}processJSXTag(){let{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==M.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){let t=this.getLineNumberForIndex(e);return`lineNumber: ${t}`}getLineNumberForIndex(e){let t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(N.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(N.slash,N.jsxTagEnd));else if(this.tokens.matches1(N.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:e}=this,t=this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base;return`${t}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){let n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(!this.importProcessor)return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e];{let n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,N.jsxName,N.jsxName)&&!this.tokens.matches2AtIndex(e-1,N.greaterThan,N.jsxName)&&!this.tokens.matches1AtIndex(e,N.braceL)&&!this.tokens.matches1AtIndex(e,N.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,N.slash,N.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){let e=this.tokens.identifierName();tI(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=F.lowercaseA&&t<=F.lowercaseZ}function tP(e){let t=0,n=0;for(let r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function tZ(e,t){let n,r="",o=0,i=t;if("#"===e[i]){var a,s;let t,r=10;if("x"===e[++i])for(r=16,t=++i;i=F.digit0&&a<=F.digit9||a>=F.lowercaseA&&a<=F.lowercaseF||a>=F.uppercaseA&&a<=F.uppercaseF);)i++;else for(t=i;i=F.digit0&&s<=F.digit9;)i++;if(";"===e[i]){let o=e.slice(t,i);o&&(i++,n=String.fromCodePoint(parseInt(o,r)))}}else for(;i0)&&!(t.namedExports.length>0)&&[...t.defaultNames,...t.wildcardNames,...t.namedImports.map(({localName:e})=>e)].every(e=>this.shouldAutomaticallyElideImportedName(e)))||this.importsToReplace.set(e,"")}shouldAutomaticallyElideImportedName(e){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(let[e,t]of this.importInfoByPath.entries()){let n;let{defaultNames:r,wildcardNames:o,namedImports:i,namedExports:a,exportStarNames:s,hasStarExport:c}=t;if(0===r.length&&0===o.length&&0===i.length&&0===a.length&&0===s.length&&!c){this.importsToReplace.set(e,`require('${e}');`);continue}let u=this.getFreeIdentifierForPath(e);n=this.enableLegacyTypeScriptModuleInterop?u:o.length>0?o[0]:this.getFreeIdentifierForPath(e);let l=`var ${u} = require('${e}');`;if(o.length>0)for(let e of o){let t=this.enableLegacyTypeScriptModuleInterop?u:`${this.helperManager.getHelperName("interopRequireWildcard")}(${u})`;l+=` var ${e} = ${t};`}else s.length>0&&n!==u?l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${u});`:r.length>0&&n!==u&&(l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireDefault")}(${u});`);for(let{importedName:e,localName:t}of a)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${u}, '${t}', '${e}');`;for(let e of s)l+=` exports.${e} = ${n};`;for(let t of(c&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${u});`),this.importsToReplace.set(e,l),r))this.identifierReplacements.set(t,`${n}.default`);for(let{importedName:e,localName:t}of i)this.identifierReplacements.set(t,`${u}.${e}`)}}getFreeIdentifierForPath(e){let t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){let t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,Z._type)||this.tokens.matches1AtIndex(e,N._typeof))&&!this.tokens.matches1AtIndex(e+1,N.comma)&&!this.tokens.matchesContextualAtIndex(e+1,Z._from)||this.tokens.matches1AtIndex(e,N.parenL))return;if(this.tokens.matches1AtIndex(e,N.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,N.comma)&&e++),this.tokens.matches1AtIndex(e,N.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,N.braceL)){let n=this.getNamedImports(e+1);for(let o of(e=n.newIndex,n.namedImports))"default"===o.importedName?t.push(o.localName):r.push(o)}if(this.tokens.matchesContextualAtIndex(e,Z._from)&&e++,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(e),i=this.getImportInfo(o);i.defaultNames.push(...t),i.wildcardNames.push(...n),i.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(i.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,N._export,N._var)||this.tokens.matches2AtIndex(e,N._export,N._let)||this.tokens.matches2AtIndex(e,N._export,N._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,N._export,N._function)||this.tokens.matches2AtIndex(e,N._export,N._class)){let t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,N._export,N.name,N._function)){let t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,N._export,N.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,N._export,N.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,N.braceL)||this.tokens.matches1AtIndex(n,N.dollarBraceL)||this.tokens.matches1AtIndex(n,N.bracketL))t++;else if(this.tokens.matches1AtIndex(n,N.braceR)||this.tokens.matches1AtIndex(n,N.bracketR))t--;else if(0!==t||this.tokens.matches1AtIndex(n,N.name)){if(this.tokens.matches1AtIndex(1,N.eq)){let e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw Error("Expected = token with an end index.");n=e-1}else if(e7(this.tokens.tokens[n])){let e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}else break}preprocessNamedExportAtIndex(e){e+=2;let{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,this.tokens.matchesContextualAtIndex(e,Z._from))e++;else{for(let{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,N._export,N.star,N._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of star export statement.");let n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){let t=[];for(;;){if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}let n=tO(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,N.comma,N.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}if(this.tokens.matches1AtIndex(e,N.comma))e++;else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`)}return{newIndex:e,namedImports:t}}getImportInfo(e){let t=this.importInfoByPath.get(e);if(t)return t;let n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){let t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){let t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map(e=>`exports.${e}`).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var tL=n(78372);let tM={require:` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888,9050],{15312:function(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,i,a,s,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(o=this._events[e]))return!1;if(n(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),o.apply(this,a)}else if(r(o))for(s=0,a=Array.prototype.slice.call(arguments,1),i=(c=o.slice()).length;s0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(e,o),r||(r=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},t.prototype.removeListener=function(e,t){var o,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(o=this._events[e]).length,i=-1,o===t||n(o.listener)&&o.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(o)){for(s=a;s-- >0;)if(o[s]===t||o[s].listener&&o[s].listener===t){i=s;break}if(i<0)return this;1===o.length?(o.length=0,delete this._events[e]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},2107:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+w:s(w,/&\f/g,m[x])).trim())&&(f[k++]=_);return b(e,t,n,0===i?A:u,f,p,d)}function F(e,t,n,r){return b(e,t,n,R,l(e,0,r),l(e,r+1,-1),r)}var L=function(e,t,n){for(var r=0,o=0;r=o,o=w(),38===r&&12===o&&(t[n]=1),!_(o);)x();return l(v,e,g)},M=function(e,t){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(t[n]=1),e[n]+=L(g-1,t,n);break;case 2:e[n]+=O(r);break;case 4:if(44===r){e[++n]=58===w()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}while(r=x());return e},D=function(e,t){var n;return n=M(S(e),t),v="",n},B=new WeakMap,z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(n))&&!r){B.set(e,!0);for(var o=[],i=D(t,o),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case R:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+j+t+E+t+t;case 6828:case 4268:return T+t+E+t+t;case 6165:return T+t+E+"flex-"+t+t;case 5187:return T+t+s(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return T+t+E+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return T+t+E+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+E+s(t,"shrink","negative")+t;case 5292:return T+t+E+s(t,"basis","preferred-size")+t;case 6060:return T+"box-"+s(t,"-grow","")+T+t+E+s(t,"grow","positive")+t;case 4554:return T+s(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+j+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(s(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return s(t,":",":"+T)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===u(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+E+t+t}return t}(e.value,e.length);break;case I:return P([k(e,{value:s(e.value,"@","@"+T)})],r);case A:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return P([k(e,{props:[s(t,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return P([k(e,{props:[s(t,/:(plac\w+)/,":"+T+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+j+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,E+"input-$1")]})],r)}return""},o.map(i).join("")}}}],H=function(e){var t,n,o,a,m,k,E=e.key;if("css"===E){var j=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(j,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var T=e.stylisPlugins||U,A={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+E+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(Z);break;case 92:q+=function(e,t){for(var n;--t&&x()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=g+(t<6&&32==w()&&32==x()),l(v,e,n)}(g-1,7);continue;case 47:switch(w()){case 42:case 47:p(b(j=function(e,t){for(;x();)if(e+y===57)break;else if(e+y===84&&47===w())break;return"/*"+l(v,t,g-1)+"*"+i(47===e?e:x())}(x(),g),n,r,C,i(y),l(j,2,-2),0),E);break;default:q+="/"}break;case 123*L:S[T++]=f(q)*D;case 125*L:case 59:case 0:switch(B){case 0:case 125:M=0;case 59+A:-1==D&&(q=s(q,/\f/g,"")),P>0&&f(q)-R&&p(P>32?F(q+";",o,r,R-1):F(s(q," ","")+";",o,r,R-2),E);break;case 59:q+=";";default:if(p(H=N(q,n,r,T,A,a,S,z,$=[],U=[],R),m),123===B){if(0===A)e(q,n,H,H,$,m,R,S,U);else switch(99===I&&110===u(q,3)?100:I){case 100:case 108:case 109:case 115:e(t,H,H,o&&p(N(t,H,H,0,0,a,S,z,a,$=[],R),U),a,U,R,S,o?$:U);break;default:e(q,H,H,H,[""],U,0,S,U)}}}T=A=P=0,L=D=1,z=q="",R=k;break;case 58:R=1+f(q),P=Z;default:if(L<1){if(123==B)--L;else if(125==B&&0==L++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,d--),y))continue}switch(q+=i(B),B*L){case 38:D=A>0?1:(q+="\f",-1);break;case 44:S[T++]=(f(q)-1)*D,D=1;break;case 64:45===w()&&(q+=O(x())),I=w(),A=R=f(z=q+=function(e){for(;!_(w());)x();return l(v,e,g)}(g)),B++;break;case 45:45===Z&&2==f(q)&&(L=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",n),I)};m=function(e,t,n,r){k=n,L(e?e+"{"+t.styles+"}":t.styles),r&&(M.inserted[t.name]=!0)};var M={key:E,sheet:new r({key:E,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:m};return M.sheet.hydrate(R),M}},86015:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(86894),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},27216:function(e,t,n){"use strict";n.d(t,{C:function(){return d},E:function(){return w},T:function(){return m},a:function(){return v},c:function(){return k},h:function(){return f},i:function(){return l},u:function(){return g},w:function(){return h}});var r=n(2784),o=n(2107),i=n(7896),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(82792),c=n(40653),u=n(82668),l=!0,f={}.hasOwnProperty,p=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),d=p.Provider,h=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(p),n)})};l||(h=function(e){return function(t){var n=(0,r.useContext)(p);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(p.Provider,{value:n},e(t,n))):e(t,n)}});var m=r.createContext({}),g=function(){return r.useContext(m)},y=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),v=function(e){var t=r.useContext(m);return e.theme!==t&&(t=y(t)(e.theme)),r.createElement(m.Provider,{value:t},e.children)},b="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",k=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[b]=e,n},x=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},w=h(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[b],a=[o],u="";"string"==typeof e.className?u=(0,s.fp)(t.registered,a,e.className):null!=e.className&&(u=e.className+" ");var l=(0,c.O)(a,void 0,r.useContext(m));u+=t.key+"-"+l.name;var p={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==b&&(p[d]=e[d]);return p.ref=n,p.className=u,r.createElement(r.Fragment,null,r.createElement(x,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,p))})},28165:function(e,t,n){"use strict";n.d(t,{F4:function(){return l},iv:function(){return u},xB:function(){return c}});var r=n(27216),o=n(2784),i=n(82792),a=n(82668),s=n(40653);n(2107),n(73463);var c=(0,r.w)(function(e,t){var n=e.styles,c=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,l=c.name,f=c.styles,p=c.next;void 0!==p;)l+=" "+p.name,f+=p.styles,p=p.next;var d=!0===t.compat,h=t.insert("",{name:l,styles:f},t.sheet,d);return d?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+l,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}},[t]),(0,a.j)(function(){var e=m.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,i.My)(t,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",c,n,!1)},[t,c.name]),null});function u(){for(var e=arguments.length,t=Array(e),n=0;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:r}}},92952:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7896),o=n(2784),i=n(86015),a=n(27216),s=n(82792),c=n(40653),u=n(82668),l=i.Z,f=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:f},d=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},m=function e(t,n){var i,u,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,u=n.target);var m=d(t,n,l),g=m||p(f),y=!g("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var k=v.length,x=1;x=0&&!(e[t].length>0);n=t,t--);n=0&&!(t>=e[r][0]);n=r--);return n}(m,o);if(!i){if(e&&(0===g||1===m[g-1].length))return;return s(m,g,[o])}let y=t.put(p,i),v=u?t.put(h,u):-1;if(y===d.length&&(d[y]=null!=l?l:null),!(e&&function(e,t,n,r,o,i){if(0===t)return!1;let a=e[t-1];return 1!==a.length&&n===a[1]&&r===a[2]&&o===a[3]&&i===(5===a.length?a[4]:-1)}(m,g,y,a,c,v)))return s(m,g,u?[o,y,a,c,v]:[o,y,a,c])}function s(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function c(e,n){for(let r=0;rnull),n._mappings=r.decodedMappings(t),t.ignoreList&&c(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,n,r,o,i,s,c)=>a(!0,e,t,n,r,o,i,s,c),e.setIgnore=function(e,n,r=!0){let{_sources:o,_sourcesContent:i,_ignoreList:a}=e,s=t.put(o,n);s===i.length&&(i[s]=null),r?t.put(a,s):t.remove(a,s)},e.setSourceContent=function(e,n,r){let{_sources:o,_sourcesContent:i}=e;i[t.put(o,n)]=r},e.toDecodedMap=i,e.toEncodedMap=function(e){let t=i(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(89078),n(95342),n(21076))},82336:function(e){var t;t=function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function o(e){return/^[.?#]/.test(e)}function i(e){let n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,r,o,i,a){return{scheme:e,user:t,host:n,port:r,path:o,query:i,hash:a,type:7}}function s(t){if(t.startsWith("//")){let e=i("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){let e=i("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(t.startsWith("file:"))return function(e){let t=n.exec(e),o=t[2];return a("file:","",t[1]||"","",r(o)?o:"/"+o,t[3]||"",t[4]||"")}(t);if(e.test(t))return i(t);let o=i("http://foo.com/"+t);return o.scheme="",o.host="",o.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,o}function c(e,t){let n=t<=4,r=e.path.split("/"),o=1,i=0,a=!1;for(let e=1;er&&(r=o)}c(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);if(!r)return i||".";if(o(t||e)&&!o(r))return"./"+r+i;return r+i}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}},e.exports=t()},89078:function(e,t){!function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(e,t){return e._indexes[t]}e.SetArray=t,e.get=n,e.pop=function(e){let{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,t){let r=n(e,t);if(void 0!==r)return r;let{array:o,_indexes:i}=e,a=o.push(t);return i[t]=a-1},e.remove=function(e,t){let r=n(e,t);if(void 0===r)return;let{array:o,_indexes:i}=e;for(let e=r+1;er.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=1,c&&(i=-2147483648|-i),n[r]+=i,t}function s(e,t,n){return!(t>=n)&&44!==e.charCodeAt(t)}function c(e,t){return e[0]-t[0]}function u(e,t,r,o,i){let a=o[i],s=a-r[i];r[i]=a,s=s<0?-s<<1|1:s<<1;do{let r=31&s;(s>>>=5)>0&&(r|=32),e[t++]=n[r]}while(s>0);return t}e.decode=function(e){let t=new Int32Array(5),n=[],r=0;do{let o=function(e,t){let n=e.indexOf(";",t);return -1===n?e.length:n}(e,r),i=[],u=!0,l=0;t[0]=0;for(let n=r;n0&&(16384===o&&(a+=i.decode(n),o=0),n[o++]=59),0!==c.length){t[0]=0;for(let e=0;e16348&&(a+=i.decode(r),n.copyWithin(0,16348,o),o-=16348),e>0&&(n[o++]=44),o=u(n,o,t,s,0),1!==s.length&&(o=u(n,o,t,s,1),o=u(n,o,t,s,2),o=u(n,o,t,s,3),4!==s.length&&(o=u(n,o,t,s,4)))}}}return a+i.decode(n.subarray(0,o))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},21076:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function o(e,t){for(let n=t;n=0&&e[r][0]===t;n=r--);return n}function u(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function l(e,t,n,r){let{lastKey:o,lastNeedle:i,lastIndex:s}=n,c=0,u=e.length-1;if(r===o){if(t===i)return a=-1!==s&&e[s][0]===t,s;t>=i?c=-1===s?0:s:u=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let o=n+(r-n>>1),i=e[o][0]-t;if(0===i)return a=!0,o;i<0?n=o+1:r=o-1}return a=!1,n-1}(e,t,c,u)}function f(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function d(e,t){for(let n=0;nr(e||"",h));let{mappings:m}=a;"string"==typeof m?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let n=o(e,0);if(n===e.length)return e;t||(e=e.slice());for(let a=n;at;n--)e[n]=e[n-1];e[t]=n}(p,h,[u,r,i[0]])}}return n}(v(e),e._bySourceMemos=p.map(u))))[g][n];if(null==y)return i?[]:_(null,null);let b=e._bySourceMemos[g];if(i)return function(e,t,n,r,o){let i=S(e,t,n,r,1);if(!a&&-1===o&&i++,-1===i||i===e.length)return[];let u=a?r:e[i][0];a||(i=c(e,u,i));let l=s(e,u,i),f=[];for(;i<=l;i++){let t=e[i];f.push(_(t[1]+1,t[2]))}return f}(y,b,n,r,o);let k=S(y,b,n,r,o);if(-1===k)return _(null,null);let x=y[k];return _(x[1]+1,x[2])}e.AnyMap=function(e,t){let n=p(e);if(!("sections"in n))return new g(n,t);let r=[],o=[],i=[],a=[],s=[];return function e(t,n,r,o,i,a,s,c,u,l,f){let{sections:h}=t;for(let t=0;tl)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),o=0===e?u:0,i=k[e];for(let e=0;e=f)return;if(1===r.length){n.push([a]);continue}let s=y+r[1],c=r[2],u=r[3];n.push(4===r.length?[a,s,c,u]:[a,s,c,u,b+r[4]])}}})(m,n,r,o,i,a,s,c+y.line,u+y.column,b,k)}}(n,t,r,o,i,a,s,0,0,1/0,1/0),k({version:3,file:n.file,names:a,sources:o,sourcesContent:i,mappings:r,ignoreList:s})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=g,e.allGeneratedPositionsFor=function(e,t){let{source:n,line:r,column:o,bias:i}=t;return O(e,n,r,o,i||-1,!0)},e.decodedMap=function(e){return x(e,v(e))},e.decodedMappings=v,e.eachMapping=function(e,t){let n=v(e),{names:r,resolvedSources:o}=e;for(let e=0;e=i.length)return w(null,null,null,null);let a=i[n],s=S(a,e._decodedMemo,n,r,o||1);if(-1===s)return w(null,null,null,null);let c=a[s];if(1===c.length)return w(null,null,null,null);let{names:u,resolvedSources:l}=e;return w(l[c[1]],c[2]+1,c[3],5===c.length?u[c[4]]:null)},e.presortedDecodedMap=k,e.sourceContentFor=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=b(e,t);return -1===r?null:n[r]},e.traceSegment=function(e,t,n){let r=v(e);if(t>=r.length)return null;let o=r[t],i=S(o,e._decodedMemo,t,n,1);return -1===i?null:o[i]}}(t,n(95342),n(82336))},96906:function(e,t,n){"use strict";var r=n(38502),o=n(27607),i=n(57293);function a(e,t,n,o){return new r(e,t,n,o)}a.version=n(24815),a.AlgoliaSearchHelper=r,a.SearchParameters=o,a.SearchResults=i,e.exports=a},12985:function(e,t,n){"use strict";var r=n(15312);function o(e,t){this.main=e,this.fn=t,this.lastResults=null}n(24779)(o,r),o.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},o.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=o},33329:function(e,t,n){"use strict";var r=n(71544),o=n(79582),i=n(62202),a={addRefinement:function(e,t,n){if(a.isRefined(e,t,n))return e;var o=""+n,i=e[t]?e[t].concat(o):[o],s={};return s[t]=i,r({},s,e)},removeRefinement:function(e,t,n){if(void 0===n)return a.clearRefinement(e,function(e,n){return t===n});var r=""+n;return a.clearRefinement(e,function(e,n){return t===n&&r===e})},toggleRefinement:function(e,t,n){if(void 0===n)throw Error("toggleRefinement should be used with a value");return a.isRefined(e,t,n)?a.removeRefinement(e,t,n):a.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return o(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,a=Object.keys(e).reduce(function(o,i){var a=e[i]||[],s=a.filter(function(e){return!t(e,i,n)});return s.length!==a.length&&(r=!0),o[i]=s,o},{});return r?a:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;return void 0!==n&&r?-1!==e[t].indexOf(""+n):r}};e.exports=a},27607:function(e,t,n){"use strict";var r=n(71544),o=n(13591),i=n(29878),a=n(31853),s=n(79582),c=n(62202),u=n(52641),l=n(47671),f=n(33329);function p(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,n){return p(t[n],e)}):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||l(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach(function(e){var r=-1!==d.PARAMETERS.indexOf(e),o=void 0!==t[e];!r&&o&&(n[e]=t[e])})}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(n){var r=e[n];if("string"==typeof r){var o=parseFloat(r);t[n]=isNaN(o)?r:o}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach(function(e){var o=r[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});n[t][e]=o})}),t.numericRefinements=n}return a(e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&s(n.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&n.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var r=u(n);if(this.isNumericRefined(e,t,r))return this;var o=a({},this.numericRefinements);return o[e]=a({},o[e]),o[e][t]?(o[e][t]=o[e][t].slice(),o[e][t].push(r)):o[e][t]=[r],this.setQueryParameters({numericRefinements:o})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,o){return o===e&&r.op===t&&p(r.val,u(n))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,r){return r===e&&n.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,n){return n===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return c(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce(function(r,o){var i=n[o],a={};return Object.keys(i=i||{}).forEach(function(n){var r=i[n]||[],s=[];r.forEach(function(t){e({val:t,op:n},o,"numeric")||s.push(t)}),s.length!==r.length&&(t=!0),a[n]=s}),r[o]=a,r},{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),o={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?o[e]=[]:o[e]=[t.slice(0,t.lastIndexOf(n))]:o[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},o,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:r({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i=u(n),a=void 0!==o(this.numericRefinements[e][t],function(e){return p(e,i)});return r&&a},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach(function(r){var o=n[r];-1===e.indexOf(r)&&void 0!==o&&(t[r]=o)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),o=Object.keys(this).reduce(function(e,t){return e[t]=n[t],e},{}),i=Object.keys(r).reduce(function(e,t){var n=void 0!==e[t],o=void 0!==r[t];return n&&!o?c(e,[t]):(o&&(e[t]=r[t]),e)},o);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return o(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},97135:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var r=e.hierarchicalFacets[n],u=e.hierarchicalFacetsRefinements[r.name]&&e.hierarchicalFacetsRefinements[r.name][0]||"",l=e._getHierarchicalFacetSeparator(r),f=e._getHierarchicalRootPath(r),p=e._getHierarchicalShowParentLevel(r),d=i(e._getHierarchicalFacetSortBy(r)),h=t.every(function(e){return e.exhaustive}),m=t;return f&&(m=t.slice(f.split(l).length)),m.reduce(function(e,t,n){var r=e;if(n>0){var i=0;for(r=e;i-1});if(r){var o=r.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===r.name});c.hierarchicalFacets[u][o]={attribute:t,data:n,exhaustive:i.exhaustiveFacetsCount}}else{var l,f=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);f&&(l=y[t],c.disjunctiveFacets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.disjunctiveFacets[l],i.facets_stats,t)),p&&(l=g[t],c.facets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.facets[l],i.facets_stats,t))}}),this.hierarchicalFacets=r(this.hierarchicalFacets),f.forEach(function(n){var r=t[v],a=r&&r.facets?r.facets:{},l=e.getHierarchicalFacetByName(n);Object.keys(a).forEach(function(t){var n,f=a[t];if(l){n=s(e.hierarchicalFacets,function(e){return e.name===l.name});var d=s(c.hierarchicalFacets[n],function(e){return e.attribute===t});if(-1===d)return;c.hierarchicalFacets[n][d].data=u({},c.hierarchicalFacets[n][d].data,f)}else{n=y[t];var h=i.facets&&i.facets[t]||{};c.disjunctiveFacets[n]={name:t,data:o({},f,h),exhaustive:r.exhaustiveFacetsCount},m(c.disjunctiveFacets[n],r.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(r){!c.disjunctiveFacets[n].data[r]&&e.disjunctiveFacetsRefinements[t].indexOf(p(r))>-1&&(c.disjunctiveFacets[n].data[r]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(n){var r=e.getHierarchicalFacetByName(n),i=e._getHierarchicalFacetSeparator(r),a=e.getHierarchicalRefinement(n);0===a.length||a[0].split(i).length<2||t.slice(v).forEach(function(t){var n=t&&t.facets?t.facets:{};Object.keys(n).forEach(function(t){var u=n[t],l=s(e.hierarchicalFacets,function(e){return e.name===r.name}),f=s(c.hierarchicalFacets[l],function(e){return e.attribute===t});if(-1!==f){var p={};if(a.length>0&&!c.persistHierarchicalRootCount){var d=a[0].split(i)[0];p[d]=c.hierarchicalFacets[l][f].data[d]}c.hierarchicalFacets[l][f].data=o(p,u,c.hierarchicalFacets[l][f].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var n=e.facetsExcludes[t],r=g[t];c.facets[r]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},n.forEach(function(e){c.facets[r]=c.facets[r]||{name:t},c.facets[r].data=c.facets[r].data||{},c.facets[r].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(d(e)),this.facets=r(this.facets),this.disjunctiveFacets=r(this.disjunctiveFacets),this._state=e}function y(e,t){var n=a(e,function(e){return e.name===t});return n&&n.stats}function v(e,t,n,r,o){var i=a(o,function(e){return e.name===n}),s=i&&i.data&&i.data[r]?i.data[r]:0;return{type:t,attributeName:n,name:r,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var n,r=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=a(e.facets,n);return r?Object.keys(r.data).map(function(n){var o=f(n);return{name:n,escapedValue:o,count:r.data[n],isRefined:e._state.isFacetRefined(t,o),isExcluded:e._state.isExcludeRefined(t,n)}}):[]}if(e._state.isDisjunctiveFacet(t)){var o=a(e.disjunctiveFacets,n);return o?Object.keys(o.data).map(function(n){var r=f(n);return{name:n,escapedValue:r,count:o.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,r)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=a(e.hierarchicalFacets,n);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),c=e._state._getHierarchicalFacetSeparator(s),u=p(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+c,""));var l=u.split(c);return l.unshift(t),function e(t,n,r){t.isRefined=t.name===(n[r]&&n[r].trim()),t.data&&t.data.forEach(function(t){e(t,n,r+1)})}(i,l,0),i}}(this,e);if(r){var i=o({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return n=Array.isArray(r)?[e]:s._state.getHierarchicalFacetByName(r.name).attributes,function e(t,n,r,i){if(i=i||0,Array.isArray(n))return t(n,r[i]);if(!n.data||0===n.data.length)return n;var a=n.data.map(function(n){return e(t,n,r,i+1)});return o({data:t(a,r[i])},n)}(function(e,t){if(i.facetOrdering){var n,r,o,a,u,f,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(p)return o=[],a=[],u=(p.order||[]).reduce(function(e,t,n){return e[t]=n,e},{}),e.forEach(function(e){var t=e.path||e.name;void 0!==u[t]?o[u[t]]=e:a.push(e)}),o=o.filter(function(e){return e}),"hidden"===(f=p.sortRemainingBy)?o:(r="alpha"===f?[["path","name"],["asc","asc"]]:[["count"],["desc"]],o.concat(l(a,r[0],r[1])))}if(Array.isArray(i.sortBy)){var d=c(i.sortBy,g.DEFAULT_SORT);return l(e,d[0],d[1])}if("function"==typeof i.sortBy)return n=i.sortBy,e.sort(n);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach(function(r){e.facetsRefinements[r].forEach(function(o){n.push(v(e,"facet",r,o,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(r){e.facetsExcludes[r].forEach(function(o){n.push(v(e,"exclude",r,o,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(r){e.disjunctiveFacetsRefinements[r].forEach(function(o){n.push(v(e,"disjunctive",r,o,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(r){e.hierarchicalFacetsRefinements[r].forEach(function(o){var i,s,c,u,l,f,p,d;n.push((i=t.hierarchicalFacets,s=e.getHierarchicalFacetByName(r),c=e._getHierarchicalFacetSeparator(s),u=o.split(c),l=a(i,function(e){return e.name===r}),p=(f=u.reduce(function(e,t){var n=e&&a(e.data,function(e){return e.name===t});return void 0!==n?n:e},l))&&f.count||0,d=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:r,name:f&&f.path||"",count:p,exhaustive:d}))})}),Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t];Object.keys(r).forEach(function(e){r[e].forEach(function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})})})}),e.tagRefinements.forEach(function(e){n.push({type:"tag",attributeName:"_tags",name:e})}),n},e.exports=g},38502:function(e,t,n){"use strict";var r=n(15312),o=n(12985),i=n(12902).escapeFacetValue,a=n(24779),s=n(31853),c=n(79582),u=n(62202),l=n(42209),f=n(27607),p=n(57293),d=n(24815);function h(e,t,n,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.setClient(e);var o=n||{};o.index=t,this.state=f.make(o),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._searchResultsOptions=r}function m(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}a(h,r),h.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},h.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},h.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},h.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=l._getQueries(n.index,n),o=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),t){this.client.search(r).then(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(null,new p(n,e.results),n)}).catch(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(e,null,n)});return}return this.client.search(r).then(function(e){return o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),{content:new p(n,e.results),state:n,_originalResponse:e}},function(e){throw o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),e})},h.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),o=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var a=this.client.initIndex(r.index);if("function"!=typeof a.findAnswers)throw Error(i);return a.findAnswers(r.query,e.queryLanguages,o)},h.prototype.searchForFacetValues=function(e,t,n,r){var o,a="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!a&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(r||{}),u=c.isDisjunctiveFacet(e),f=l.getSearchForFacetQuery(e,t,n,c);this._currentNbQueries++;var p=this;return a?o=this.client.searchForFacetValues([{indexName:c.index,params:f}]):s?o=this.client.initIndex(c.index).searchForFacetValues(f):(delete f.facetName,o=this.client.search([{type:"facet",facet:e,indexName:c.index,params:f}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),o.then(function(t){return p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),e})},h.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},h.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},h.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},h.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},h.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},h.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},h.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},h.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},h.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},h.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},h.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},h.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},h.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},h.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},h.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},h.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},h.prototype.setCurrentPage=m,h.prototype.setPage=m,h.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},h.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},h.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},h.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},h.prototype.hasRefinements=function(e){return!!c(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},h.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},h.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},h.prototype.hasTag=function(e){return this.state.isTagRefined(e)},h.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},h.prototype.getIndex=function(){return this.state.index},h.prototype.getCurrentPage=g,h.prototype.getPage=g,h.prototype.getTags=function(){return this.state.tagRefinements},h.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach(function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})}),t},h.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},h.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},h.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=l._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var o=this.derivedHelpers.map(function(e){var r=e.getModifiedState(t),o=r.index?l._getQueries(r.index,r):[];return n.push({state:r,queriesCount:o.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),o}),i=Array.prototype.concat.apply(r,o),a=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,n,a));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,n,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},h.prototype._dispatchAlgoliaResponse=function(e,t,n){var r=this;if(!(t0},h.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},h.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},h.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.client=e),this},h.prototype.getClient=function(){return this.client},h.prototype.derive=function(e){var t=new o(this,e);return this.derivedHelpers.push(t),t},h.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},h.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=h},45875:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},71544:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])}),e},{})}},12902:function(e){"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},13591:function(e){"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var n=0;n1||!i?(e[0].push(o[0]),e[1].push(o[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},24779:function(e){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},29878:function(e){"use strict";e.exports=function(e,t){return e.filter(function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r})}},31853:function(e){"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var n=1,r=arguments.length;n0}},62202:function(e){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},24652:function(e){"use strict";e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var r=e.map(function(e,n){return{criteria:t.map(function(t){return e[t]}),index:n,value:e}});return r.sort(function(e,t){for(var r=-1;++rt||r&&o||!n)return 1;if(!r&&e=n.length)return o;if("desc"===n[r])return-o;return o}}return e.index-t.index}),r.map(function(e){return e.value})}},52641:function(e){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},42209:function(e,t,n){"use strict";var r=n(31853);function o(e){return Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{})}var i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})}),t.getRefinedHierarchicalFacets().forEach(function(r){var o=t.getHierarchicalFacetByName(r),a=t.getHierarchicalRefinement(r),s=t._getHierarchicalFacetSeparator(o);if(a.length>0&&a[0].split(s).length>1){var c=a[0].split(s).slice(0,-1).reduce(function(e,t,n){return e.concat({attribute:o.attributes[n],value:0===n?t:[e[e.length-1].value,t].join(s)})},[]);c.forEach(function(r,a){var s=i._getDisjunctiveFacetSearchParams(t,r.attribute,0===a);function u(e){return o.attributes.some(function(t){return t===e.split(":")[0]})}var l=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var n=t.filter(function(e){return!u(e)});n.length>0&&e.push(n)}return"string"!=typeof t||u(t)||e.push(t),e},[]),f=c[a-1];a>0?s.facetFilters=l.concat(f.attribute+":"+f.value):s.facetFilters=l.length>0?l:void 0,n.push({indexName:e,params:s})})}}),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s=i._getTagFilters(e),c={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:s};return n.length>0&&(c.facetFilters=n),a.length>0&&(c.numericFilters=a),o(r({},e.getQueryParams(),c))},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c=i._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};c.length>0&&(u.tagFilters=c);var l=e.getHierarchicalFacetByName(t);return l?u.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,l,n):u.facets=t,s.length>0&&(u.numericFilters=s),a.length>0&&(u.facetFilters=a),o(r({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach(function(r){var o=e.numericRefinements[r]||{};Object.keys(o).forEach(function(e){var i=o[e]||[];t!==r&&i.forEach(function(t){if(Array.isArray(t)){var o=t.map(function(t){return r+e+t});n.push(o)}else n.push(r+e+t)})})}),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],o=e.facetsRefinements||{};Object.keys(o).sort().forEach(function(e){(o[e]||[]).slice().sort().forEach(function(t){r.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){r.push(e+":-"+t)})});var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach(function(e){var n=a[e]||[];if(e!==t&&n&&0!==n.length){var o=[];n.slice().sort().forEach(function(t){o.push(e+":"+t)}),r.push(o)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(o){var i,a,c=(s[o]||[])[0];if(void 0!==c){var u=e.getHierarchicalFacetByName(o),l=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===o){if(-1===c.indexOf(l)||!f&&!0===n||f&&f.split(l).length===c.split(l).length)return;f?(a=f.split(l).length-1,c=f):(a=c.split(l).length-2,c=c.slice(0,c.lastIndexOf(l))),i=u.attributes[a]}else a=c.split(l).length-1,i=u.attributes[a];i&&r.push([i+":"+c])}}),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var o=e._getHierarchicalFacetSeparator(n),i=r.split(o).length,a=n.attributes.slice(0,i+1);return t.concat(a)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var o=e._getHierarchicalRootPath(t),i=0;return o&&(i=o.split(r).length),[t.attributes[i]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),o(r({},i._getHitsSearchParams(s),c))}};e.exports=i},47671:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24815:function(e){"use strict";e.exports="3.16.3"},43931:function(e){var t;t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=r(),s=o&&o.miss||function(){return Promise.resolve()};return a.then(function(e){return s(e)}).then(function(){return a})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function i(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var u={Read:1,Write:2,Any:3};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:n,lastUpdate:Date.now()})}function f(e){return"string"==typeof e?{protocol:"https",url:e,accept:u.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||u.Any}}var p="POST";function d(e,n,o,i){var a,s,c,u=[],p=function(e,n){if("GET"!==e.method&&(void 0!==e.data||void 0!==n.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),n.data))}(o,i),d=(a=t(t({},e.headers),i.headers),s={},Object.keys(a).forEach(function(e){var t=a[e];s[e.toLowerCase()]=t}),s),y=o.method,v="GET"!==o.method?{}:t(t({},o.data),i.data),b=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),v),i.queryParameters),k=0,x=function t(n,r){var a,s,c,f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:m(u)};var v={data:p,headers:d,method:y,url:(a=o.path,s=h(b),c="".concat(f.protocol,"://").concat(f.url,"/").concat("/"===a.charAt(0)?a.substr(1):a),s.length&&(c+="?".concat(s)),c),connectTimeout:r(k,e.timeouts.connect),responseTimeout:r(k,i.timeout)},x=function(e){var t={request:v,response:e,host:f,triesLeft:n.length};return u.push(t),t},w={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}}(e)},onRetry:function(o){var i=x(o);return o.isTimedOut&&k++,Promise.all([e.logger.info("Retryable failure",g(i)),e.hostsCache.set(f,l(f,o.isTimedOut?3:2))]).then(function(){return t(n,r)})},onFail:function(e){throw x(e),function(e,t){var n=e.content,r=e.status,o=n;try{o=JSON.parse(n).message}catch(e){}return{name:"ApiError",message:o,status:r,transporterStackTrace:t}}(e,m(u))}};return e.requester.send(v).then(function(e){var t,n,r;return(t=e.status,e.isTimedOut||(n=e.isTimedOut,r=e.status,!n&&0==~~r)||2!=~~(t/100)&&4!=~~(t/100))?w.onRetry(e):2==~~(e.status/100)?w.onSuccess(e):w.onFail(e)})};return(c=e.hostsCache,Promise.all(n.map(function(e){return c.get(e,function(){return Promise.resolve(l(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),o=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),i=[].concat(r(t),r(o));return{getTimeout:function(e,t){return(0===o.length&&0===e?1:o.length+3+e)*t},statelessHosts:i.length>0?i.map(function(e){return f(e)}):n}})).then(function(e){return x(r(e.statelessHosts).reverse(),e.getTimeout)})}function h(e){return Object.keys(e).map(function(t){var n;return a("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return g(e)})}function g(e){var n=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),n)})})}var y=function(e){var r,o,a,l,p,h,m,g,y,v,b,k,x,w=e.appId,_=(r=void 0!==e.authMode?e.authMode:s.WithinHeaders,o={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":w},{headers:function(){return r===s.WithinHeaders?o:{}},queryParameters:function(){return r===s.WithinQueryParameters?o:{}}}),S=(l=(a=t(t({hosts:[{url:"".concat(w,"-dsn.algolia.net"),accept:u.Read},{url:"".concat(w,".algolia.net"),accept:u.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}([{url:"".concat(w,"-1.algolianet.com")},{url:"".concat(w,"-2.algolianet.com")},{url:"".concat(w,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},_.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},_.queryParameters()),e.queryParameters)})).hostsCache,p=a.logger,h=a.requester,m=a.requestsCache,g=a.responsesCache,y=a.timeouts,v=a.userAgent,b=a.hosts,k=a.queryParameters,x={hostsCache:l,logger:p,requester:h,requestsCache:m,responsesCache:g,timeouts:y,userAgent:v,headers:a.headers,queryParameters:k,hosts:b.map(function(e){return f(e)}),read:function(e,t){var r=c(t,x.timeouts.read),o=function(){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return o();var i={request:e,mappedRequestOptions:r,transporter:{queryParameters:x.queryParameters,headers:x.headers}};return x.responsesCache.get(i,function(){return x.requestsCache.get(i,function(){return x.requestsCache.set(i,o()).then(function(e){return Promise.all([x.requestsCache.delete(i),e])},function(e){return Promise.all([x.requestsCache.delete(i),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return x.responsesCache.set(i,e)}})},write:function(e,t){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Write)}),e,c(t,x.timeouts.write))}});return i({transporter:S,appId:w,addAlgoliaAgent:function(e,t){S.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([S.requestsCache.clear(),S.responsesCache.clear()]).then(function(){})}},e.methods)},v=function(e){return function(t,n){return"GET"===t.method?e.transporter.read(t,n):e.transporter.write(t,n)}},b=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},k=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{params:h(e.params||{})})});return e.transporter.read({method:p,path:"1/indexes/*/queries",data:{requests:o},cacheable:!0},r)}},x=function(e){return function(n,r){return Promise.all(n.map(function(n){var o=n.params,i=o.facetName,a=o.facetQuery,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o,["facetName","facetQuery"]);return b(e)(n.indexName,{methods:{searchForFacetValues:S}}).searchForFacetValues(i,a,t(t({},r),s))}))}},w=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:p,path:a("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},S=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},O=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:p,path:"1/indexes/*/recommendations",data:{requests:o},cacheable:!0},r)}};function E(e,i,a){var c,u,l,f,p,d,h,m;return y(t(t(t({},{appId:e,apiKey:i,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return n.setRequestHeader(t,e.headers[t])});var r,o=function(e,r){return setTimeout(function(){n.abort(),t({status:0,content:r,isTimedOut:!0})},1e3*e)},i=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(i),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(i),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(i),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var o=r(t.caches),i=o.shift();return void 0===i?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return i.get(t,n,r).catch(function(){return e({caches:o}).get(t,n,r)})},set:function(t,n){return i.set(t,n).catch(function(){return e({caches:o}).set(t,n)})},delete:function(t){return i.delete(t).catch(function(){return e({caches:o}).delete(t)})},clear:function(){return i.clear().catch(function(){return e({caches:o}).clear()})}}}({caches:[(c={key:"".concat("4.23.2","-").concat(e)},l="algoliasearch-client-js-".concat(c.key),f=function(){return void 0===u&&(u=c.localStorage||window.localStorage),u},p=function(){return JSON.parse(f().getItem(l)||"{}")},d=function(e){f().setItem(l,JSON.stringify(e))},h=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=Object.fromEntries(Object.entries(p()).filter(function(e){return void 0!==n(e,2)[1].timestamp}));d(t),e&&d(Object.fromEntries(Object.entries(t).filter(function(t){var r=n(t,2)[1],o=(new Date).getTime();return!(r.timestamp+e2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){h();var t=JSON.stringify(e);return p()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=n(e,2),o=t[0];return Promise.all([o,t[1]||r.miss(o)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var n=p();return n[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},f().setItem(l,JSON.stringify(n)),t})},delete:function(e){return Promise.resolve().then(function(){var t=p();delete t[JSON.stringify(e)],f().setItem(l,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){f().removeItem(l)})}}),o()]}),userAgent:(m={value:"Algolia for JavaScript (".concat("4.23.2",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===m.value.indexOf(t)&&(m.value="".concat(m.value).concat(t)),m}}).add({segment:"Browser",version:"lite"}),authMode:s.WithinQueryParameters}),a),{},{methods:{search:k,searchForFacetValues:x,multipleQueries:k,multipleSearchForFacetValues:x,customRequest:v,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:_,searchForFacetValues:S,findAnswers:w}})}},getRecommendations:O}}))}return E.version="4.23.2",E},e.exports=t()},95766:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],u=new o((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48834:function(e,t,n){"use strict";var r=n(95766),o=n(62333),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(C(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var o=function(e){if(s.isBuffer(e)){var t,n=0|d(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),n=a(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(o)return r?-1:E(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,p=0;p239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function _(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return l(e)},s.allocUnsafeSlow=function(e){return l(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);or.length?s.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else if(s.isBuffer(i))i.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,c=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,c,u,l,f,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||k(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},5081:function(e,t,n){"use strict";n.d(t,{Nu:function(){return c},Un:function(){return u},Zs:function(){return m},ks:function(){return h},pE:function(){return s},pr:function(){return o},q9:function(){return a},rY:function(){return r},vH:function(){return f},zU:function(){return i}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==e?!!t:"boolean"==typeof e?e:!!e},i=function e(t,n){var r;return(n=null!==(r=n)&&void 0!==r?r:function(){},null==t)?e(n):"function"==typeof t?t:e(n)},a=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t||Number.isNaN(t=Number(t))?e(n):t},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(a(e,t),0)},c=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof(t=a(t,n))&&isFinite(t)?t:e(n)},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(c(e,t),0)},l=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=e=c(e,n))<0?Math.ceil(t):Math.floor(t)},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.max(l(e,t),1)};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=function(e){if("object"!==p(e)||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e(n):d(t)?t:e(n)},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null==e?String(t):"string"==typeof e?e:String(e)}},3236:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())}},54225:function(e,t,n){"use strict";n.r(t),n.d(t,{FOCUS_ALLOW:function(){return i},FOCUS_AUTO:function(){return a},FOCUS_DISABLED:function(){return o},FOCUS_GROUP:function(){return r},FOCUS_NO_AUTOFOCUS:function(){return s}});var r="data-focus-lock",o="data-focus-lock-disabled",i="data-no-focus-lock",a="data-autofocus-inside",s="data-no-autofocus"},7413:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(41658),o=n(46774),i=n(74745),a=n(76025),s=function(e,t){return void 0===t&&(t=(0,a.v)((0,i.Xi)(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&(0,o.K)(e).some(function(e){var n;return(0,r.r3)(e,t)||(n=t,!!(0,i.qo)(e.querySelectorAll("iframe")).some(function(e){return e===n}))})}},75226:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(54225),o=n(41658),i=n(74745),a=n(76025),s=function(e){void 0===e&&(e=document);var t=(0,a.v)(e);return!!t&&(0,i.qo)(e.querySelectorAll("[".concat(r.FOCUS_ALLOW,"]"))).some(function(e){return(0,o.r3)(e,t)})}},55243:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r=n(93854),o=function(e,t){return(0,r.MH)(e)&&e.name&&t.filter(r.MH).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},i=function(e){var t=new Set;return e.forEach(function(n){return t.add(o(n,e))}),e.filter(function(e){return t.has(e)})},a=function(e){return e[0]&&e.length>1?o(e[0],e):e[0]},s=function(e,t){return e.indexOf(o(t,e))},c="NEW_FOCUS",u=function(e,t,n,o,a){var u=e.length,l=e[0],f=e[u-1],p=(0,r.Z9)(o);if(!(o&&e.indexOf(o)>=0)){var d=void 0!==o?n.indexOf(o):-1,h=a?n.indexOf(a):d,m=a?e.indexOf(a):-1;if(-1===d)return -1!==m?m:c;if(-1===m)return c;var g=d-h,y=n.indexOf(l),v=n.indexOf(f),b=i(n),k=(void 0!==o?b.indexOf(o):-1)-(a?b.indexOf(a):d);if(!g&&m>=0||0===t.length)return m;var x=s(e,t[0]),w=s(e,t[t.length-1]);if(d<=y&&p&&Math.abs(g)>1)return w;if(d>=v&&p&&Math.abs(g)>1)return x;if(g&&Math.abs(k)>1)return m;if(d<=y)return w;if(d>v)return x;if(g)return Math.abs(g)>1?m:(u+m+g)%u}},l=n(41658),f=n(46774),p=n(74745),d=function(e,t,n){var o=e.map(function(e){return e.node}),i=(0,l.vA)(o.filter(function(e){var t,o=null===(t=(0,r.pY)(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==o&&"false"!==o||n.indexOf(e)>=0}));return i&&i.length?a(i):a((0,l.vA)(t))},h=n(76025),m=n(70537),g=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(r.$K)},y=function(e,t){var n=(0,h.v)((0,p._2)(e).length>0?document:(0,p.Xi)(e).ownerDocument),o=(0,f.K)(e).filter(r.IS),i=(0,m.V0)(n||e,e,o),a=new Map,s=(0,l.pw)(o,a),y=s.filter(function(e){var t=e.node;return(0,r.IS)(t)});if(y[0]){var v=(0,l.pw)([i],a).map(function(e){return e.node}),b=g(v,y),k=b.map(function(e){return e.node}),x=b.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),w=u(k,x,v,n,t);if(w===c){var _=d(s,x,(0,m.o$)(o,a))||d(s,k,(0,m.o$)(o,a));return _?{node:_}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:b[w]}}},68557:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(46774),o=n(93854),i=n(70537),a=n(46813),s=n(49698),c=function(e){var t=(0,r.K)(e).filter(o.IS),n=(0,i.V0)(e,e,t),c=(0,a.v)((0,s.s)([n],!0),!0,!0),u=(0,s.s)(t,!1);return c.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:u.indexOf(t)>=0,guard:(0,o.Z9)(t)}})}},26095:function(e,t,n){"use strict";n.r(t),n.d(t,{captureFocusRestore:function(){return u.T},constants:function(){return p},expandFocusableNodes:function(){return s.T},focusFirstElement:function(){return l.w4},focusInside:function(){return o.S},focusIsHidden:function(){return i.U},focusLastElement:function(){return l.fW},focusNextElement:function(){return l.pf},focusPrevElement:function(){return l.mX},focusSolver:function(){return a.F},getFocusableNodes:function(){return f.pw},getRelativeFocusable:function(){return l.hX},getTabbableNodes:function(){return f.dH},moveFocusInside:function(){return c.L}});var r=n(54225),o=n(7413),i=n(75226),a=n(55243),s=n(68557),c=n(19096),u=n(82091),l=n(55632),f=n(41658),p=r,d=c.L;t.default=d},19096:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(3236),o=n(55243),i=0,a=!1,s=function(e,t,n){void 0===n&&(n={});var s=(0,o.F)(e,t);if(!a&&s){if(i>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),a=!0,setTimeout(function(){a=!1},1);return}i++,(0,r.v)(s.node,n.focusOptions),i--}}},82091:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(41658);function o(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var i=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:o(n),parent:o(n.parentElement),left:o(n.previousElementSibling),right:o(n.nextElementSibling)}),n=n.parentElement;return{element:o(e),stack:t,ownerDocument:e.ownerDocument}},a=function(e){if(e)for(var t,n,o,i,a,s=e.stack,c=e.ownerDocument,u=new Map,l=0;l0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},a=function(e){return e.parentNode?a(e.parentNode):e},s=function(e){return(0,o._2)(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(r.FOCUS_GROUP);return e.push.apply(e,n?i((0,o.qo)(a(t).querySelectorAll("[".concat(r.FOCUS_GROUP,'="').concat(n,'"]:not([').concat(r.FOCUS_DISABLED,'="disabled"])')))):[t]),e},[])}},74745:function(e,t,n){"use strict";n.d(t,{Xi:function(){return i},_2:function(){return o},qo:function(){return r}});var r=function(e){for(var t=Array(e.length),n=0;n=0)return a}return!1},s=function(e,t,n){var i=(0,o._2)(e),s=(0,o._2)(t),c=i[0],u=!1;return s.filter(Boolean).forEach(function(e){u=a(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=a(c,e);t&&(u=!u||(0,r.r3)(t,u)?t:a(t,u))})}),u},c=function(e,t){return e.reduce(function(e,n){return e.concat((0,r.ir)(n,t))},[])}},46813:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(74745),o=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||i},i=function(e,t,n){return(0,r.qo)(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(o)}},49698:function(e,t,n){"use strict";n.d(t,{s:function(){return u},B:function(){return l}});var r=n(54225),o=n(74745),i="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",a="".concat(i,", [data-focus-guard]"),s=function(e,t){return(0,o.qo)((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?a:i)?[n]:[],s(n))},[])},c=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?u([e.contentDocument.body],t):[e]},u=function(e,t){return e.reduce(function(e,n){var r,a=s(n,t),u=(r=[]).concat.apply(r,a.map(function(e){return c(e,t)}));return e.concat(u,n.parentNode?(0,o.qo)(n.parentNode.querySelectorAll(i)).filter(function(e){return e===n}):[])},[])},l=function(e){var t=e.querySelectorAll("[".concat(r.FOCUS_AUTO,"]"));return(0,o.qo)(t).map(function(e){return u([e])}).reduce(function(e,t){return e.concat(t)},[])}},73463:function(e,t,n){"use strict";var r=n(73887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g>1,l=-7,f=n?o-1:0,p=n?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,p=23===o?5960464477539062e-23:0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+f>=1?t+=p/c:t+=p*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,u-=8);e[n+d-h]|=128*m}},61353:function(e,t){"use strict";!function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t}}()},77485:function(e,t,n){var r,o="__lodash_hash_undefined__",i=1/0,a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,c=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=p||d||Function("return this")(),m=Array.prototype,g=Function.prototype,y=Object.prototype,v=h["__core-js_shared__"],b=(r=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=g.toString,x=y.hasOwnProperty,w=y.toString,_=RegExp("^"+k.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=h.Symbol,O=m.splice,E=N(h,"Map"),j=N(Object,"create"),T=S?S.prototype:void 0,C=T?T.toString:void 0;function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},R.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new A,map:new(E||R),string:new A}},I.prototype.delete=function(e){return Z(this,e).delete(e)},I.prototype.get=function(e){return Z(this,e).get(e)},I.prototype.has=function(e){return Z(this,e).has(e)},I.prototype.set=function(e,t){return Z(this,e).set(e,t),this};var F=L(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var t,n=[];return c.test(e)&&n.push(""),e.replace(u,function(e,t,r,o){n.push(r?o.replace(l,"$1"):t||e)}),n});function L(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(L.Cache||I),n}L.Cache=I;var M=Array.isArray;function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==w.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(M(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||B(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?M(n=t)?n:F(n):[t];for(var r=0,o=t.length;null!=e&&r=t||n<0||g&&r>=l}function k(){var e,n,r,i=o();if(b(i))return x(i);p=setTimeout(k,(e=i-d,n=i-h,r=t-e,g?s(r,l-n):r))}function x(e){return(p=void 0,y&&c)?v(e):(c=u=void 0,f)}function w(){var e,n=o(),r=b(n);if(c=arguments,u=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(k,t),m?v(e):f;if(g)return clearTimeout(p),p=setTimeout(k,t),v(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},w.flush=function(){return void 0===p?f:x(o())},w}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),(function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",c=1/0,u=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],f="[object Arguments]",p="[object Array]",d="[object Boolean]",h="[object Date]",m="[object Error]",g="[object Function]",y="[object GeneratorFunction]",v="[object Map]",b="[object Number]",k="[object Object]",x="[object Promise]",w="[object RegExp]",_="[object Set]",S="[object String]",O="[object Symbol]",E="[object WeakMap]",j="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",P="[object Int32Array]",Z="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",M=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,U=RegExp(z.source),H=RegExp($.source),q=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),J=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ec=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,ep=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\d*)$/,eh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,em=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",ev="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ek="a-z\\xdf-\\xf6\\xf8-\\xff",ex="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\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",eS="['’]",eO="["+e_+"]",eE="["+ev+"]",ej="["+ek+"]",eT="[^"+ey+e_+"\\d+"+eb+ek+ex+"]",eC="\ud83c[\udffb-\udfff]",eA="[^"+ey+"]",eR="(?:\ud83c[\udde6-\uddff]){2}",eI="[\ud800-\udbff][\udc00-\udfff]",eP="["+ex+"]",eZ="\\u200d",eN="(?:"+ej+"|"+eT+")",eF="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eL="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eM="(?:"+eE+"|"+eC+")?",eD="["+ew+"]?",eB="(?:"+eZ+"(?:"+[eA,eR,eI].join("|")+")"+eD+eM+")*",ez=eD+eM+eB,e$="(?:"+["["+eb+"]",eR,eI].join("|")+")"+ez,eU="(?:"+[eA+eE+"?",eE,eR,eI,"["+ey+"]"].join("|")+")",eH=RegExp(eS,"g"),eq=RegExp(eE,"g"),eW=RegExp(eC+"(?="+eC+")|"+eU+ez,"g"),eV=RegExp([eP+"?"+ej+"+"+eF+"(?="+[eO,eP,"$"].join("|")+")","(?:"+eP+"|"+eT+")+"+eL+"(?="+[eO,eP+eN,"$"].join("|")+")",eP+"?"+eN+"+"+eF,eP+"+"+eL,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",e$].join("|"),"g"),eK=RegExp("["+eZ+ey+ev+ew+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eG=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,eX={};eX[C]=eX[A]=eX[R]=eX[I]=eX[P]=eX[Z]=eX[N]=eX[F]=eX[L]=!0,eX[f]=eX[p]=eX[j]=eX[d]=eX[T]=eX[h]=eX[m]=eX[g]=eX[v]=eX[b]=eX[k]=eX[w]=eX[_]=eX[S]=eX[E]=!1;var eJ={};eJ[f]=eJ[p]=eJ[j]=eJ[T]=eJ[d]=eJ[h]=eJ[C]=eJ[A]=eJ[R]=eJ[I]=eJ[P]=eJ[v]=eJ[b]=eJ[k]=eJ[w]=eJ[_]=eJ[S]=eJ[O]=eJ[Z]=eJ[N]=eJ[F]=eJ[L]=!0,eJ[m]=eJ[g]=eJ[E]=!1;var e1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e0=parseFloat,e2=parseInt,e5="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e3="object"==typeof self&&self&&self.Object===Object&&self,e6=e5||e3||Function("return this")(),e8=t&&!t.nodeType&&t,e4=e8&&e&&!e.nodeType&&e,e9=e4&&e4.exports===e8,e7=e9&&e5.process,te=function(){try{var e=e4&&e4.require&&e4.require("util").types;if(e)return e;return e7&&e7.binding&&e7.binding("util")}catch(e){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,to=te&&te.isRegExp,ti=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tc(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function td(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function tF(e,t){for(var n=e.length;n--&&tw(t,e[n],0)>-1;);return n}var tL=tj({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tM=tj({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(e){return"\\"+e1[e]}function tB(e){return eK.test(e)}function tz(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function t$(e,t){return function(n){return e(t(n))}}function tU(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"}),tQ=function e(t){var n,r,ee,ey,ev=(t=null==t?e6:tQ.defaults(e6.Object(),t,tQ.pick(e6,eG))).Array,eb=t.Date,ek=t.Error,ex=t.Function,ew=t.Math,e_=t.Object,eS=t.RegExp,eO=t.String,eE=t.TypeError,ej=ev.prototype,eT=ex.prototype,eC=e_.prototype,eA=t["__core-js_shared__"],eR=eT.toString,eI=eC.hasOwnProperty,eP=0,eZ=(n=/[^.]+$/.exec(eA&&eA.keys&&eA.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eN=eC.toString,eF=eR.call(e_),eL=e6._,eM=eS("^"+eR.call(eI).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eD=e9?t.Buffer:o,eB=t.Symbol,ez=t.Uint8Array,e$=eD?eD.allocUnsafe:o,eU=t$(e_.getPrototypeOf,e_),eW=e_.create,eK=eC.propertyIsEnumerable,e1=ej.splice,e5=eB?eB.isConcatSpreadable:o,e3=eB?eB.iterator:o,e8=eB?eB.toStringTag:o,e4=function(){try{var e=op(e_,"defineProperty");return e({},"",{}),e}catch(e){}}(),e7=t.clearTimeout!==e6.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e6.Date.now&&eb.now,tb=t.setTimeout!==e6.setTimeout&&t.setTimeout,tj=ew.ceil,tG=ew.floor,tY=e_.getOwnPropertySymbols,tX=eD?eD.isBuffer:o,tJ=t.isFinite,t1=ej.join,t0=t$(e_.keys,e_),t2=ew.max,t5=ew.min,t3=eb.now,t6=t.parseInt,t8=ew.random,t4=ej.reverse,t9=op(t,"DataView"),t7=op(t,"Map"),ne=op(t,"Promise"),nt=op(t,"Set"),nn=op(t,"WeakMap"),nr=op(e_,"create"),no=nn&&new nn,ni={},na=oL(t9),ns=oL(t7),nc=oL(ne),nu=oL(nt),nl=oL(nn),nf=eB?eB.prototype:o,np=nf?nf.valueOf:o,nd=nf?nf.toString:o;function nh(e){if(iW(e)&&!iN(e)&&!(e instanceof nv)){if(e instanceof ny)return e;if(eI.call(e,"__wrapped__"))return oM(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!iq(t))return{};if(eW)return eW(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function nv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nZ(e,t,n,r,i,a){var s,c=1&t,u=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),o!==s)return s;if(!iq(e))return e;var p=iN(e);if(p){if(m=e.length,x=new e.constructor(m),m&&"string"==typeof e[0]&&eI.call(e,"index")&&(x.index=e.index,x.input=e.input),s=x,!c)return rB(e,s)}else{var m,x,E,M,D,B=om(e),z=B==g||B==y;if(iD(e))return rZ(e,c);if(B==k||B==f||z&&!i){if(s=u||z?{}:oy(e),!c)return u?(E=(D=s)&&rz(e,ad(e),D),rz(e,oh(e),E)):(M=nA(s,e),rz(e,od(e),M))}else{if(!eJ[B])return i?e:{};s=function(e,t,n){var r,o,i=e.constructor;switch(t){case j:return rN(e);case d:case h:return new i(+e);case T:return r=n?rN(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case C:case A:case R:case I:case P:case Z:case N:case F:case L:return rF(e,n);case v:return new i;case b:case S:return new i(e);case w:return(o=new e.constructor(e.source,ec.exec(e))).lastIndex=e.lastIndex,o;case _:return new i;case O:return np?e_(np.call(e)):{}}}(e,B,c)}}a||(a=new n_);var $=a.get(e);if($)return $;a.set(e,s),iY(e)?e.forEach(function(r){s.add(nZ(r,t,n,r,e,a))}):iV(e)&&e.forEach(function(r,o){s.set(o,nZ(r,t,n,o,e,a))});var U=l?u?oi:oo:u?ad:ap,H=p?o:U(e);return tu(H||e,function(r,o){H&&(r=e[o=r]),nj(s,o,nZ(r,t,n,o,e,a))}),s}function nN(e,t,n){var r=n.length;if(null==e)return!r;for(e=e_(e);r--;){var i=n[r],a=t[i],s=e[i];if(o===s&&!(i in e)||!a(s))return!1}return!0}function nF(e,t,n){if("function"!=typeof e)throw new eE(i);return oA(function(){e.apply(o,n)},t)}function nL(e,t,n,r){var o=-1,i=tp,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=th(t,tI(n))),r?(i=td,a=!1):t.length>=200&&(i=tZ,a=!1,t=new nw(t));e:for(;++o-1},nk.prototype.set=function(e,t){var n=this.__data__,r=nT(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nx.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t7||nk),string:new nb}},nx.prototype.delete=function(e){var t=ol(this,e).delete(e);return this.size-=t?1:0,t},nx.prototype.get=function(e){return ol(this,e).get(e)},nx.prototype.has=function(e){return ol(this,e).has(e)},nx.prototype.set=function(e,t){var n=ol(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nw.prototype.add=nw.prototype.push=function(e){return this.__data__.set(e,a),this},nw.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.clear=function(){this.__data__=new nk,this.size=0},n_.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},n_.prototype.get=function(e){return this.__data__.get(e)},n_.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nk){var r=n.__data__;if(!t7||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nx(r)}return n.set(e,t),this.size=n.size,this};var nM=rH(nW),nD=rH(nV,!0);function nB(e,t){var n=!0;return nM(e,function(e,r,o){return n=!!t(e,r,o)}),n}function nz(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?nU(s,t-1,n,r,o):tm(o,s):r||(o[o.length]=s)}return o}var nH=rq(),nq=rq(!0);function nW(e,t){return e&&nH(e,t,ap)}function nV(e,t){return e&&nq(e,t,ap)}function nK(e,t){return tf(t,function(t){return i$(e[t])})}function nQ(e,t){t=rR(t,e);for(var n=0,r=t.length;null!=e&&nt}function nJ(e,t){return null!=e&&eI.call(e,t)}function n1(e,t){return null!=e&&t in e_(e)}function n0(e,t,n){for(var r=n?td:tp,i=e[0].length,a=e.length,s=a,c=ev(a),u=1/0,l=[];s--;){var f=e[s];s&&t&&(f=th(f,tI(t))),u=t5(f.length,u),c[s]=!n&&(t||i>=120&&f.length>=120)?new nw(s&&f):o}f=e[0];var p=-1,d=c[0];e:for(;++p=s)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&e1.call(s,c,1),e1.call(e,c,1);return e}function rc(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ob(o)?e1.call(e,o,1):r_(e,o)}}return e}function ru(e,t){return e+tG(t8()*(t-e+1))}function rl(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tG(t/2))&&(e+=e);while(t);return n}function rf(e,t){return oR(oE(e,t,aM),e+"")}function rp(e,t,n,r){if(!iq(e))return e;t=rR(t,e);for(var i=-1,a=t.length,s=a-1,c=e;null!=c&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ev(o);++r>>1,a=e[i];null!==a&&!iJ(a)&&(n?a<=t:a=200){var u=t?null:r8(e);if(u)return tH(u);a=!1,o=tZ,c=new nw}else c=t?[]:s;e:for(;++r=r?e:rm(e,t,n)}var rP=e7||function(e){return e6.clearTimeout(e)};function rZ(e,t){if(t)return e.slice();var n=e.length,r=e$?e$(n):new e.constructor(n);return e.copy(r),r}function rN(e){var t=new e.constructor(e.byteLength);return new ez(t).set(new ez(e)),t}function rF(e,t){var n=t?rN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rL(e,t){if(e!==t){var n=o!==e,r=null===e,i=e==e,a=iJ(e),s=o!==t,c=null===t,u=t==t,l=iJ(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ok(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=e_(t);++r-1?i[a?t[s]:s]:o}}function rG(e){return or(function(t){var n=t.length,r=n,a=ny.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eE(i);if(a&&!c&&"wrapper"==os(s))var c=new ny([],!0)}for(r=c?r:n;++r1&&b.reverse(),f&&uc))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new nw:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(i,(r=(o=i.match(en))?o[1].split(er):[],tu(l,function(e){var t="_."+e[0];n&e[1]&&!tp(r,t)&&r.push(t)}),r.sort())))}function oP(e){var t=0,n=0;return function(){var r=t3(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function oZ(e,t){var n=-1,r=e.length,i=r-1;for(t=o===t?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,o3(e,n)});function it(e){var t=nh(e);return t.__chain__=!0,t}function ir(e,t){return t(e)}var io=or(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return nI(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nv&&ob(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ir,args:[i],thisArg:o}),new ny(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),ii=r$(function(e,t,n){eI.call(e,n)?++e[n]:nR(e,n,1)}),ia=rQ(o$),is=rQ(oU);function ic(e,t){return(iN(e)?tu:nM)(e,ou(t,3))}function iu(e,t){return(iN(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nD)(e,ou(t,3))}var il=r$(function(e,t,n){eI.call(e,n)?e[n].push(t):nR(e,n,[t])}),ip=rf(function(e,t,n){var r=-1,o="function"==typeof t,i=iL(e)?ev(e.length):[];return nM(e,function(e){i[++r]=o?ts(t,e,n):n2(e,t,n)}),i}),id=r$(function(e,t,n){nR(e,n,t)});function ih(e,t){return(iN(e)?th:re)(e,ou(t,3))}var im=r$(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ig=rf(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ok(e,t[0],t[1])?t=[]:n>2&&ok(t[0],t[1],t[2])&&(t=[t[0]]),ri(e,nU(t,1),[])}),iy=te||function(){return e6.Date.now()};function iv(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,r9(e,128,o,o,o,o,t)}function ib(e,t){var n;if("function"!=typeof t)throw new eE(i);return e=i6(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ik=rf(function(e,t,n){var r=1;if(n.length){var o=tU(n,oc(ik));r|=32}return r9(e,r,t,n,o)}),ix=rf(function(e,t,n){var r=3;if(n.length){var o=tU(n,oc(ix));r|=32}return r9(t,r,e,n,o)});function iw(e,t,n){var r,a,s,c,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new eE(i);function m(t){var n=r,i=a;return r=a=o,f=t,c=e.apply(i,n)}function g(e){var n=e-l,r=e-f;return o===l||n>=t||n<0||d&&r>=s}function y(){var e,n,r,o=iy();if(g(o))return v(o);u=oA(y,(e=o-l,n=o-f,r=t-e,d?t5(r,s-n):r))}function v(e){return(u=o,h&&r)?m(e):(r=a=o,c)}function b(){var e,n=iy(),i=g(n);if(r=arguments,a=this,l=n,i){if(o===u)return f=e=l,u=oA(y,t),p?m(e):c;if(d)return rP(u),u=oA(y,t),m(l)}return o===u&&(u=oA(y,t)),c}return t=i4(t)||0,iq(n)&&(p=!!n.leading,s=(d="maxWait"in n)?t2(i4(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){o!==u&&rP(u),f=0,r=l=a=u=o},b.flush=function(){return o===u?c:v(iy())},b}var i_=rf(function(e,t){return nF(e,1,t)}),iS=rf(function(e,t,n){return nF(e,i4(t)||0,n)});function iO(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eE(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(iO.Cache||nx),n}function iE(e){if("function"!=typeof e)throw new eE(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iO.Cache=nx;var ij=rf(function(e,t){var n=(t=1==t.length&&iN(t[0])?th(t[0],tI(ou())):th(nU(t,1),tI(ou()))).length;return rf(function(r){for(var o=-1,i=t5(r.length,n);++o=t}),iZ=n5(function(){return arguments}())?n5:function(e){return iW(e)&&eI.call(e,"callee")&&!eK.call(e,"callee")},iN=ev.isArray,iF=tt?tI(tt):function(e){return iW(e)&&nY(e)==j};function iL(e){return null!=e&&iH(e.length)&&!i$(e)}function iM(e){return iW(e)&&iL(e)}var iD=tX||aY,iB=tn?tI(tn):function(e){return iW(e)&&nY(e)==h};function iz(e){if(!iW(e))return!1;var t=nY(e);return t==m||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!iQ(e)}function i$(e){if(!iq(e))return!1;var t=nY(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iU(e){return"number"==typeof e&&e==i6(e)}function iH(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function iq(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function iW(e){return null!=e&&"object"==typeof e}var iV=tr?tI(tr):function(e){return iW(e)&&om(e)==v};function iK(e){return"number"==typeof e||iW(e)&&nY(e)==b}function iQ(e){if(!iW(e)||nY(e)!=k)return!1;var t=eU(e);if(null===t)return!0;var n=eI.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eR.call(n)==eF}var iG=to?tI(to):function(e){return iW(e)&&nY(e)==w},iY=ti?tI(ti):function(e){return iW(e)&&om(e)==_};function iX(e){return"string"==typeof e||!iN(e)&&iW(e)&&nY(e)==S}function iJ(e){return"symbol"==typeof e||iW(e)&&nY(e)==O}var i1=ta?tI(ta):function(e){return iW(e)&&iH(e.length)&&!!eX[nY(e)]},i0=r5(n7),i2=r5(function(e,t){return e<=t});function i5(e){if(!e)return[];if(iL(e))return iX(e)?tW(e):rB(e);if(e3&&e[e3])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e3]());var t=om(e);return(t==v?tz:t==_?tH:ax)(e)}function i3(e){return e?(e=i4(e))===c||e===-c?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function i6(e){var t=i3(e),n=t%1;return t==t?n?t-n:t:0}function i8(e){return e?nP(i6(e),0,4294967295):0}function i4(e){if("number"==typeof e)return e;if(iJ(e))return u;if(iq(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iq(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tR(e);var n=el.test(e);return n||ep.test(e)?e2(e.slice(2),n?2:8):eu.test(e)?u:+e}function i9(e){return rz(e,ad(e))}function i7(e){return null==e?"":rx(e)}var ae=rU(function(e,t){if(oS(t)||iL(t)){rz(t,ap(t),e);return}for(var n in t)eI.call(t,n)&&nj(e,n,t[n])}),at=rU(function(e,t){rz(t,ad(t),e)}),an=rU(function(e,t,n,r){rz(t,ad(t),e,r)}),ar=rU(function(e,t,n,r){rz(t,ap(t),e,r)}),ao=or(nI),ai=rf(function(e,t){e=e_(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&ok(t[0],t[1],i)&&(r=1);++n1),t}),rz(e,oi(e),n),r&&(n=nZ(n,7,ot));for(var o=t.length;o--;)r_(n,t[o]);return n}),ay=or(function(e,t){return null==e?{}:ra(e,t,function(t,n){return ac(e,n)})});function av(e,t){if(null==e)return{};var n=th(oi(e),function(e){return[e]});return t=ou(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r4(ap),ak=r4(ad);function ax(e){return null==e?[]:tP(e,ap(e))}var aw=rV(function(e,t,n){return t=t.toLowerCase(),e+(n?a_(t):t)});function a_(e){return aR(i7(e).toLowerCase())}function aS(e){return(e=i7(e))&&e.replace(eh,tL).replace(eq,"")}var aO=rV(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aE=rV(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aj=rW("toLowerCase"),aT=rV(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aC=rV(function(e,t,n){return e+(n?" ":"")+aR(t)}),aA=rV(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aR=rW("toUpperCase");function aI(e,t,n){if(e=i7(e),t=n?o:t,o===t){var r;return(r=e,eQ.test(r))?e.match(eV)||[]:e.match(eo)||[]}return e.match(t)||[]}var aP=rf(function(e,t){try{return ts(e,o,t)}catch(e){return iz(e)?e:new ek(e)}}),aZ=or(function(e,t){return tu(t,function(t){nR(e,t=oF(t),ik(e[t],e))}),e});function aN(e){return function(){return e}}var aF=rG(),aL=rG(!0);function aM(e){return e}function aD(e){return n4("function"==typeof e?e:nZ(e,1))}var aB=rf(function(e,t){return function(n){return n2(n,e,t)}}),az=rf(function(e,t){return function(n){return n2(e,n,t)}});function a$(e,t,n){var r=ap(t),o=nK(t,r);null!=n||iq(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=nK(t,ap(t)));var i=!(iq(n)&&"chain"in n)||!!n.chain,a=i$(e);return tu(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=rB(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tm([this.value()],arguments))})}),e}function aU(){}var aH=r1(th),aq=r1(tl),aW=r1(tv);function aV(e){return ox(e)?tE(oF(e)):function(t){return nQ(t,e)}}var aK=r2(),aQ=r2(!0);function aG(){return[]}function aY(){return!1}var aX=rJ(function(e,t){return e+t},0),aJ=r6("ceil"),a1=rJ(function(e,t){return e/t},1),a0=r6("floor"),a2=rJ(function(e,t){return e*t},1),a5=r6("round"),a3=rJ(function(e,t){return e-t},0);return nh.after=function(e,t){if("function"!=typeof t)throw new eE(i);return e=i6(e),function(){if(--e<1)return t.apply(this,arguments)}},nh.ary=iv,nh.assign=ae,nh.assignIn=at,nh.assignInWith=an,nh.assignWith=ar,nh.at=ao,nh.before=ib,nh.bind=ik,nh.bindAll=aZ,nh.bindKey=ix,nh.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iN(e)?e:[e]},nh.chain=it,nh.chunk=function(e,t,n){t=(n?ok(e,t,n):o===t)?1:t2(i6(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,s=ev(tj(r/t));ii?0:i+n),(r=o===r||r>i?i:i6(r))<0&&(r+=i),r=n>r?0:i8(r);n>>0)?(e=i7(e))&&("string"==typeof t||null!=t&&!iG(t))&&!(t=rx(t))&&tB(e)?rI(tW(e),0,n):e.split(t,n):[]},nh.spread=function(e,t){if("function"!=typeof e)throw new eE(i);return t=null==t?0:t2(i6(t),0),rf(function(n){var r=n[t],o=rI(n,0,t);return r&&tm(o,r),ts(e,this,o)})},nh.tail=function(e){var t=null==e?0:e.length;return t?rm(e,1,t):[]},nh.take=function(e,t,n){return e&&e.length?rm(e,0,(t=n||o===t?1:i6(t))<0?0:t):[]},nh.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rm(e,(t=r-(t=n||o===t?1:i6(t)))<0?0:t,r):[]},nh.takeRightWhile=function(e,t){return e&&e.length?rO(e,ou(t,3),!1,!0):[]},nh.takeWhile=function(e,t){return e&&e.length?rO(e,ou(t,3)):[]},nh.tap=function(e,t){return t(e),e},nh.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new eE(i);return iq(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),iw(e,t,{leading:r,maxWait:t,trailing:o})},nh.thru=ir,nh.toArray=i5,nh.toPairs=ab,nh.toPairsIn=ak,nh.toPath=function(e){return iN(e)?th(e,oF):iJ(e)?[e]:rB(oN(i7(e)))},nh.toPlainObject=i9,nh.transform=function(e,t,n){var r=iN(e),o=r||iD(e)||i1(e);if(t=ou(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:iq(e)&&i$(i)?nm(eU(e)):{}}return(o?tu:nW)(e,function(e,r,o){return t(n,e,r,o)}),n},nh.unary=function(e){return iv(e,1)},nh.union=o1,nh.unionBy=o0,nh.unionWith=o2,nh.uniq=function(e){return e&&e.length?rw(e):[]},nh.uniqBy=function(e,t){return e&&e.length?rw(e,ou(t,2)):[]},nh.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?rw(e,o,t):[]},nh.unset=function(e,t){return null==e||r_(e,t)},nh.unzip=o5,nh.unzipWith=o3,nh.update=function(e,t,n){return null==e?e:rS(e,t,rA(n))},nh.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:rS(e,t,rA(n),r)},nh.values=ax,nh.valuesIn=function(e){return null==e?[]:tP(e,ad(e))},nh.without=o6,nh.words=aI,nh.wrap=function(e,t){return iT(rA(t),e)},nh.xor=o8,nh.xorBy=o4,nh.xorWith=o9,nh.zip=o7,nh.zipObject=function(e,t){return rT(e||[],t||[],nj)},nh.zipObjectDeep=function(e,t){return rT(e||[],t||[],rp)},nh.zipWith=ie,nh.entries=ab,nh.entriesIn=ak,nh.extend=at,nh.extendWith=an,a$(nh,nh),nh.add=aX,nh.attempt=aP,nh.camelCase=aw,nh.capitalize=a_,nh.ceil=aJ,nh.clamp=function(e,t,n){return o===n&&(n=t,t=o),o!==n&&(n=(n=i4(n))==n?n:0),o!==t&&(t=(t=i4(t))==t?t:0),nP(i4(e),t,n)},nh.clone=function(e){return nZ(e,4)},nh.cloneDeep=function(e){return nZ(e,5)},nh.cloneDeepWith=function(e,t){return nZ(e,5,t="function"==typeof t?t:o)},nh.cloneWith=function(e,t){return nZ(e,4,t="function"==typeof t?t:o)},nh.conformsTo=function(e,t){return null==t||nN(e,t,ap(t))},nh.deburr=aS,nh.defaultTo=function(e,t){return null==e||e!=e?t:e},nh.divide=a1,nh.endsWith=function(e,t,n){e=i7(e),t=rx(t);var r=e.length,i=n=o===n?r:nP(i6(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},nh.eq=iR,nh.escape=function(e){return(e=i7(e))&&H.test(e)?e.replace($,tM):e},nh.escapeRegExp=function(e){return(e=i7(e))&&X.test(e)?e.replace(Y,"\\$&"):e},nh.every=function(e,t,n){var r=iN(e)?tl:nB;return n&&ok(e,t,n)&&(t=o),r(e,ou(t,3))},nh.find=ia,nh.findIndex=o$,nh.findKey=function(e,t){return tk(e,ou(t,3),nW)},nh.findLast=is,nh.findLastIndex=oU,nh.findLastKey=function(e,t){return tk(e,ou(t,3),nV)},nh.floor=a0,nh.forEach=ic,nh.forEachRight=iu,nh.forIn=function(e,t){return null==e?e:nH(e,ou(t,3),ad)},nh.forInRight=function(e,t){return null==e?e:nq(e,ou(t,3),ad)},nh.forOwn=function(e,t){return e&&nW(e,ou(t,3))},nh.forOwnRight=function(e,t){return e&&nV(e,ou(t,3))},nh.get=as,nh.gt=iI,nh.gte=iP,nh.has=function(e,t){return null!=e&&og(e,t,nJ)},nh.hasIn=ac,nh.head=oq,nh.identity=aM,nh.includes=function(e,t,n,r){e=iL(e)?e:ax(e),n=n&&!r?i6(n):0;var o=e.length;return n<0&&(n=t2(o+n,0)),iX(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&tw(e,t,n)>-1},nh.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:i6(n);return o<0&&(o=t2(r+o,0)),tw(e,t,o)},nh.inRange=function(e,t,n){var r,i,a;return t=i3(t),o===n?(n=t,t=0):n=i3(n),(r=e=i4(e))>=t5(i=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},nh.isSet=iY,nh.isString=iX,nh.isSymbol=iJ,nh.isTypedArray=i1,nh.isUndefined=function(e){return o===e},nh.isWeakMap=function(e){return iW(e)&&om(e)==E},nh.isWeakSet=function(e){return iW(e)&&"[object WeakSet]"==nY(e)},nh.join=function(e,t){return null==e?"":t1.call(e,t)},nh.kebabCase=aO,nh.last=oQ,nh.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==n&&(i=(i=i6(n))<0?t2(r+i,0):t5(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,i):tx(e,tS,i,!0)},nh.lowerCase=aE,nh.lowerFirst=aj,nh.lt=i0,nh.lte=i2,nh.max=function(e){return e&&e.length?nz(e,aM,nX):o},nh.maxBy=function(e,t){return e&&e.length?nz(e,ou(t,2),nX):o},nh.mean=function(e){return tO(e,aM)},nh.meanBy=function(e,t){return tO(e,ou(t,2))},nh.min=function(e){return e&&e.length?nz(e,aM,n7):o},nh.minBy=function(e,t){return e&&e.length?nz(e,ou(t,2),n7):o},nh.stubArray=aG,nh.stubFalse=aY,nh.stubObject=function(){return{}},nh.stubString=function(){return""},nh.stubTrue=function(){return!0},nh.multiply=a2,nh.nth=function(e,t){return e&&e.length?ro(e,i6(t)):o},nh.noConflict=function(){return e6._===this&&(e6._=eL),this},nh.noop=aU,nh.now=iy,nh.pad=function(e,t,n){e=i7(e);var r=(t=i6(t))?tq(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return r0(tG(o),n)+e+r0(tj(o),n)},nh.padEnd=function(e,t,n){e=i7(e);var r=(t=i6(t))?tq(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=t8();return t5(e+i*(t-e+e0("1e-"+((i+"").length-1))),t)}return ru(e,t)},nh.reduce=function(e,t,n){var r=iN(e)?tg:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nM)},nh.reduceRight=function(e,t,n){var r=iN(e)?ty:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nD)},nh.repeat=function(e,t,n){return t=(n?ok(e,t,n):o===t)?1:i6(t),rl(i7(e),t)},nh.replace=function(){var e=arguments,t=i7(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nh.result=function(e,t,n){t=rR(t,e);var r=-1,i=t.length;for(i||(i=1,e=o);++r9007199254740991)return[];var n=4294967295,r=t5(e,4294967295);t=ou(t),e-=4294967295;for(var o=tA(r,t);++n=a)return e;var c=n-tq(r);if(c<1)return r;var u=s?rI(s,0,c).join(""):e.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),iG(i)){if(e.slice(c).search(i)){var l,f=u;for(i.global||(i=eS(i.source,i7(ec.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;u=u.slice(0,o===p?c:p)}}else if(e.indexOf(rx(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},nh.unescape=function(e){return(e=i7(e))&&U.test(e)?e.replace(z,tK):e},nh.uniqueId=function(e){var t=++eP;return i7(e)+t},nh.upperCase=aA,nh.upperFirst=aR,nh.each=ic,nh.eachRight=iu,nh.first=oq,a$(nh,(ey={},nW(nh,function(e,t){eI.call(nh.prototype,t)||(ey[t]=e)}),ey),{chain:!1}),nh.VERSION="4.17.21",tu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nh[e].placeholder=nh}),tu(["drop","take"],function(e,t){nv.prototype[e]=function(n){n=o===n?1:t2(i6(n),0);var r=this.__filtered__&&!t?new nv(this):this.clone();return r.__filtered__?r.__takeCount__=t5(n,r.__takeCount__):r.__views__.push({size:t5(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},nv.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tu(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nv.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ou(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tu(["head","last"],function(e,t){var n="take"+(t?"Right":"");nv.prototype[e]=function(){return this[n](1).value()[0]}}),tu(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nv.prototype[e]=function(){return this.__filtered__?new nv(this):this[n](1)}}),nv.prototype.compact=function(){return this.filter(aM)},nv.prototype.find=function(e){return this.filter(e).head()},nv.prototype.findLast=function(e){return this.reverse().find(e)},nv.prototype.invokeMap=rf(function(e,t){return"function"==typeof e?new nv(this):this.map(function(n){return n2(n,e,t)})}),nv.prototype.reject=function(e){return this.filter(iE(ou(e)))},nv.prototype.slice=function(e,t){e=i6(e);var n=this;return n.__filtered__&&(e>0||t<0)?new nv(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),o!==t&&(n=(t=i6(t))<0?n.dropRight(-t):n.take(t-e)),n)},nv.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nv.prototype.toArray=function(){return this.take(4294967295)},nW(nv.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=nh[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(nh.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof nv,u=s[0],l=c||iN(t),f=function(e){var t=i.apply(nh,tm([e],s));return r&&p?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,m=c&&!d;if(!a&&l){t=m?t:new nv(this);var g=e.apply(t,s);return g.__actions__.push({func:ir,args:[f],thisArg:o}),new ny(g,p)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),tu(["pop","push","shift","sort","splice","unshift"],function(e){var t=ej[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nh.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(iN(o)?o:[],e)}return this[n](function(n){return t.apply(iN(n)?n:[],e)})}}),nW(nv.prototype,function(e,t){var n=nh[t];if(n){var r=n.name+"";eI.call(ni,r)||(ni[r]=[]),ni[r].push({name:t,func:n})}}),ni[rY(o,2).name]=[{name:"wrapper",func:o}],nv.prototype.clone=function(){var e=new nv(this.__wrapped__);return e.__actions__=rB(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rB(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rB(this.__views__),e},nv.prototype.reverse=function(){if(this.__filtered__){var e=new nv(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nv.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=iN(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}},nh.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=oM(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},nh.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nv){var t=e;return this.__actions__.length&&(t=new nv(this)),(t=t.reverse()).__actions__.push({func:ir,args:[oJ],thisArg:o}),new ny(t,this.__chain__)}return this.thru(oJ)},nh.prototype.toJSON=nh.prototype.valueOf=nh.prototype.value=function(){return rE(this.__wrapped__,this.__actions__)},nh.prototype.first=nh.prototype.head,e3&&(nh.prototype[e3]=function(){return this}),nh}();e6._=tQ,o!==(r=(function(){return tQ}).call(t,n,t,e))&&(e.exports=r)}).call(this)},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},12436:function(e,t,n){var r=n(54073),o=n(29259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:function(e,t,n){var r=n(51704),o=n(29259),i=n(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},36954:function(e,t,n){var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(t){if(null==t)return i.decompress(t);for(var n=Array(t.length/2),r=0,o=n.length;rl.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++),a[u]=p++,l=String(c)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(256>l.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++)}for(r=0,o=2;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var o,i,a,s,c,u,l,f=[],p=4,d=4,h=3,m="",g=[],y={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(a=0,c=4,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 2:return""}for(f[3]=l,i=l,g.push(l);;){if(y.index>t)return"";for(a=0,c=Math.pow(2,h),u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(l=a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 2:return g.join("")}if(0==p&&(p=Math.pow(2,h),h++),f[l])m=f[l];else{if(l!==d)return null;m=i+i.charAt(0)}g.push(m),f[d++]=i+m.charAt(0),p--,i=m,0==p&&(p=Math.pow(2,h),h++)}}};return i}();void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)},92307:function(e){var t;t=function(){"use strict";var e={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},t=Array.prototype.slice;function n(e){var n=e.length;return n?1===n?[e[0]]:2===n?[e[0],e[1]]:3===n?[e[0],e[1],e[2]]:t.call(e,0):[]}function r(e,t){return e===t||e!=e&&t!=t}function o(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var i=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:n(this.keys),size:this.size,values:n(this.values)}},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,i=o.length;if(!i)return -1;if(n(o[0],e))return 0;if(r>1){for(var a=1;a1){for(var s=0;s1){for(var i=0;i=s&&(r.length=o.length=s)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,i=this.keys[0],a=this.values[0];this.values[0]=a.then(function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n},function(e){var n=t.getKeyIndex(i);throw -1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e})},e}();return function t(a,s){if(void 0===s&&(s={}),"function"==typeof a&&a.isMemoized)return t(a.fn,o(a.options,s));if("function"!=typeof a)throw TypeError("You must pass a function to `memoize`.");var c=s.isEqual,u=s.isMatchingKey,l=s.isPromise,f=void 0!==l&&l,p=s.maxSize,d=s.onCacheAdd,h=s.onCacheChange,m=s.onCacheHit,g=s.transformKey,y=o({isEqual:void 0===c?r:c,isMatchingKey:u,isPromise:f,maxSize:void 0===p?1:p,onCacheAdd:d,onCacheChange:h,onCacheHit:m,transformKey:g},function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}(s)),v=new i(y),b=v.keys,k=v.values,x=v.canTransformKey,w=v.shouldCloneArguments,_=v.shouldUpdateOnAdd,S=v.shouldUpdateOnChange,O=v.shouldUpdateOnHit,E=function(){var e=w?n(arguments):arguments;x&&(e=g(e));var t=b.length?v.getKeyIndex(e):-1;if(-1!==t)O&&m(v,y,E),t&&(v.orderByLru(b[t],k[t],t),S&&h(v,y,E));else{var r=a.apply(this,arguments),o=w?e:n(arguments);v.orderByLru(o,r,b.length),f&&v.updateAsyncCache(E),_&&d(v,y,E),S&&h(v,y,E)}return k[0]};return E.cache=v,E.fn=a,E.isMemoized=!0,E.options=y,E}},e.exports=t()},12041:function(e,t,n){e.exports=n(69050)},10422:function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return p},ACTION_NAVIGATE:function(){return c},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return a},PrefetchKind:function(){return i},isThenable:function(){return h}});var r,o,i,a,s="refresh",c="navigate",u="restore",l="server-patch",f="prefetch",p="fast-refresh",d="server-action";function h(e){return e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}(r=i||(i={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(o=a||(a={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"===n(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52279:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),n(20311),("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27412:function(e,t,n){"use strict";var r=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"];function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});var f=n(43219),p=n(52322),d=f._(n(2784)),h=n(17208),m=n(11366),g=n(92512),y=n(99674),v=n(88014),b=n(42533),k=n(3074),x=n(6642),w=n(52279),_=n(658),S=n(10422),O=new Set;function E(e,t,n,r,o,i){if(i||(0,m.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){var a,s,c=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(O.has(c))return;O.add(c)}(a=u().mark(function a(){return u().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!i){a.next=4;break}return a.abrupt("return",e.prefetch(t,o));case 4:return a.abrupt("return",e.prefetch(t,n,r));case 5:case"end":return a.stop()}},a)}),s=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=a.apply(e,t);function i(e){l(o,n,r,i,s,"next",e)}function s(e){l(o,n,r,i,s,"throw",e)}i(void 0)})},function(){return s.apply(this,arguments)})().catch(function(e){})}}function j(e){return"string"==typeof e?e:(0,g.formatUrl)(e)}var T=d.default.forwardRef(function(e,t){var n,o,s=e.href,u=e.as,l=e.children,f=e.prefetch,g=void 0===f?null:f,O=e.passHref,T=e.replace,C=e.shallow,A=e.scroll,R=e.locale,I=e.onClick,P=e.onMouseEnter,Z=e.onTouchStart,N=e.legacyBehavior,F=void 0!==N&&N,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r);n=l,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,p.jsx)("a",{children:n}));var M=d.default.useContext(b.RouterContext),D=d.default.useContext(k.AppRouterContext),B=null!=M?M:D,z=!M,$=!1!==g,U=null===g?S.PrefetchKind.AUTO:S.PrefetchKind.FULL,H=d.default.useMemo(function(){if(!M){var e=j(s);return{href:e,as:u?j(u):e}}var t=a((0,h.resolveHref)(M,s,!0),2),n=t[0],r=t[1];return{href:n,as:u?(0,h.resolveHref)(M,u):r||n}},[M,s,u]),q=H.href,W=H.as,V=d.default.useRef(q),K=d.default.useRef(W);F&&(o=d.default.Children.only(n));var Q=F?o&&"object"===c(o)&&o.ref:t,G=a((0,x.useIntersection)({rootMargin:"200px"}),3),Y=G[0],X=G[1],J=G[2],ee=d.default.useCallback(function(e){(K.current!==W||V.current!==q)&&(J(),K.current=W,V.current=q),Y(e),Q&&("function"==typeof Q?Q(e):"object"===c(Q)&&(Q.current=e))},[W,Q,q,J,Y]);d.default.useEffect(function(){B&&X&&$&&E(B,q,W,{locale:R},{kind:U},z)},[W,q,X,R,$,null==M?void 0:M.locale,B,z,U]);var et={ref:ee,onClick:function(e){F||"function"!=typeof I||I(e),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),B&&!e.defaultPrevented&&function(e,t,n,r,o,i,a,s,c){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!c&&!(0,m.isLocalURL)(n)))){e.preventDefault();var u,l=function(){var e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?d.default.startTransition(l):l()}}(e,B,q,W,T,C,A,R,z)},onMouseEnter:function(e){F||"function"!=typeof P||P(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)},onTouchStart:function(e){F||"function"!=typeof Z||Z(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)}};if((0,y.isAbsoluteUrl)(W))et.href=W;else if(!F||O||"a"===o.type&&!("href"in o.props)){var en=void 0!==R?R:null==M?void 0:M.locale,er=(null==M?void 0:M.isLocaleDomain)&&(0,w.getDomainLocale)(W,en,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);et.href=er||(0,_.addBasePath)((0,v.addLocale)(W,en,null==M?void 0:M.defaultLocale))}return F?d.default.cloneElement(o,et):(0,p.jsx)("a",i(i(i({},L),et),{},{children:n}))});("function"==typeof t.default||"object"===c(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6642:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0;t&&n&&t(n)})},e),elements:o},u.push(n),c.set(n,t),t}({root:null==n?void 0:n.current,rootMargin:r})).id,i=t.observer,(f=t.elements).set(m,e),i.observe(m),function(){if(f.delete(m),i.unobserve(m),0===f.size){i.disconnect(),c.delete(o);var e=u.findIndex(function(e){return e.root===o.root&&e.margin===o.margin});e>-1&&u.splice(e,1)}}}}else if(!p){var g=(0,a.requestIdleCallback)(function(){return d(!0)});return function(){return(0,a.cancelIdleCallback)(g)}}},[l,r,n,p,h.current]),[m,p,(0,i.useCallback)(function(){d(!1)},[])]}("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69050:function(e,t,n){"use strict";function r(){r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function p(t,n,r,o){var i,s,c=Object.create((n&&n.prototype instanceof v?n:v).prototype);return a(c,"_invoke",{value:(i=new C(o||[]),s=h,function(n,o){if(s===m)throw Error("Generator is already running");if(s===g){if("throw"===n)throw o;return{value:e,done:!0}}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var c=function t(n,r){var o=r.method,i=n.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),y;var a=d(i,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,y)}(a,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===h)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=m;var u=d(t,r,i);if("normal"===u.type){if(s=i.done?g:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(s=g,i.method="throw",i.arg=u.arg)}})}),c}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",m="executing",g="completed",y={};function v(){}function b(){}function k(){}var x={};f(x,c,function(){return this});var w=Object.getPrototypeOf,_=w&&w(w(A([])));_&&_!==n&&i.call(_,c)&&(x=_);var S=k.prototype=v.prototype=Object.create(x);function O(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;a(this,"_invoke",{value:function(r,a){function s(){return new t(function(n,s){!function n(r,a,s,c){var u=d(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,s,c)},function(e){n("throw",e,s,c)}):t.resolve(f).then(function(e){l.value=e,s(l)},function(e){return n("throw",e,s,c)})}c(u.arg)}(r,a,n,s)})}return n=n?n.then(s,s):s()}})}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});var l=n(43219),f=n(52322),p=l._(n(2784)),d=n(99674);function h(e){return m.apply(this,arguments)}function m(){var e;return e=r().mark(function e(t){var n,o,i;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.Component,o=t.ctx,e.next=3,(0,d.loadGetInitialProps)(n,o);case 3:return i=e.sent,e.abrupt("return",{pageProps:i});case 5:case"end":return e.stop()}},e)}),(m=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var g=function(e){var t;function n(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),e=n,t=arguments,e=s(e),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?e.apply(this,t):Reflect.construct(e,t||[],s(this).constructor))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(n,e),t=[{key:"render",value:function(){var e=this.props,t=e.Component,n=e.pageProps;return(0,f.jsx)(t,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,x()),function(n){var r,o,i=(n||{}).queryHook,a=void 0===i?w:i;return{$$type:"ais.searchBox",init:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("query",void 0)},getRenderState:function(e,t){return k(k({},e),{},{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,i=e.instantSearchInstance,s=e.state;return r||(r=function(e){a(e,function(e){return t.setQuery(e).search()})},o=function(){t.setQuery("").search()}),{query:s.query||"",refine:r,clear:o,widgetParams:n,isSearchStalled:"stalled"===i.status}},getWidgetUiState:function(e,t){var n=t.searchParameters.query||"";return""===n||e&&e.query===n?e:k(k({},e),{},{query:n})},getWidgetSearchParameters:function(e,t){var n=t.uiState;return e.setQueryParameter("query",n.query||"")}}}},S=n(47493),O=["onChange"];function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,O),a=(n={queryHook:T},(0,S.B)(_,n,void 0)),s=a.query,c=a.refine,u=a.clear,f=a.isSearchStalled,p=function(e){if(Array.isArray(e))return e}(r=(0,l.useState)(s))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(r,2)||function(e,t){if(e){if("string"==typeof e)return j(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=p[0],g=p[1],y=(0,l.useCallback)(function(e){var t=e.currentTarget.value;g(t),c(t)},[c]),v=(0,l.useCallback)(function(){g(""),u()},[u]);return l.createElement(d.Z,E({ref:t,isLoading:f,value:m,onChange:(0,h.N)(o,y),onClearInput:v},i))});C.displayName="InstantSearchInput";var A=n(40596),R=n(85017),I=n(61619),P=n(73645),Z=n(70758),N=n(35306),F=n(47438),L=n(5081),M=n(76635),D=n.n(M),B=n(78141),z=n.n(B),$=n(53232),U=n(91106),H=n(73183),q=n(69419);function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=n-t?r-(n-e):t}},{key:"isLastPage",value:function(){return this.currentPage===this.total-1||0===this.total}},{key:"isFirstPage",value:function(){return 0===this.currentPage}}],function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,ed()),function(n){var r=n||{},o=r.totalPages,i=r.padding,a=new eu({currentPage:0,total:0,padding:void 0===i?3:i}),s={};return{$$type:"ais.pagination",init:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("page",void 0)},getWidgetUiState:function(e,t){var n=t.searchParameters.page||0;return n?ep(ep({},e),{},{page:n+1}):e},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.page?n.page-1:0;return e.setQueryParameter("page",r)},getWidgetRenderState:function(e){var t,r=e.results,i=e.helper,c=e.state,u=e.createURL;s.refine||(s.refine=function(e){i.setPage(e),i.search()}),s.createURL||(s.createURL=function(e){return u(function(t){return ep(ep({},t),{},{page:e+1})})});var l=c.page||0,f=(t=(r||{nbPages:0}).nbPages,void 0!==o?Math.min(o,t):t);return a.currentPage=l,a.total=f,{createURL:s.createURL,refine:s.refine,canRefine:f>1,currentRefinement:l,nbHits:(null==r?void 0:r.nbHits)||0,nbPages:f,pages:r?a.pages():[],isFirstPage:a.isFirstPage(),isLastPage:a.isLastPage(),widgetParams:n}},getRenderState:function(e,t){return ep(ep({},e),{},{pagination:this.getWidgetRenderState(t)})}}}};function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},x=k.catchError,w=(0,$.z)(),_=(e=(0,$.z)(),n=(t=(0,q.a)()).getIndexId(),o=(r=V((0,l.useState)(function(){return e.getUiState()}),2))[0],i=r[1],a=o[n],c=(s=V((0,l.useState)(function(){return e.renderState}),2))[0],u=s[1],f=c[n]||{},p=(0,l.useCallback)(function(t){e.setUiState(t)},[e]),d=(0,l.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,l.useEffect)(function(){function t(){i(e.getUiState()),u(e.renderState)}return e.addListener("render",t),function(){e.removeListener("render",t)}},[e]),{uiState:o,setUiState:p,indexUiState:a,setIndexUiState:d,renderState:c,indexRenderState:f}),S=_.uiState,O=_.setUiState,E=_.indexUiState,j=_.setIndexUiState,T=_.renderState,C=_.indexRenderState,A=(h=(0,$.z)(),m=(0,q.a)(),v=(y=function(e){if(Array.isArray(e))return e}(g=(0,l.useState)(function(){return(0,H.E)(m)}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(g,2)||function(e,t){if(e){if("string"==typeof e)return W(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=y[1],(0,l.useEffect)(function(){function e(){var e=m.getResults();null!==e&&b({results:e,scopedResults:m.getScopedResults()})}return h.addListener("render",e),function(){h.removeListener("render",e)}},[h,m]),v),R=A.results,I=A.scopedResults,P=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n0&&0===i.nbHits)return l.createElement(I.Z,{spacing:"4x",py:"10x"},l.createElement(Z.Z,{textAlign:"center"},'No results found for "',i.query,'"'));var p=Object.entries(D().chain(i.hits).orderBy("data.title").groupBy("parent.title").value());return l.createElement(l.Fragment,null,l.createElement(I.Z,{flex:"1",px:"3x",py:"2x",overflowY:"auto"},p.map(function(e){var n=ey(e,2),o=n[0],i=n[1];return l.createElement(c.Z,{key:o},l.createElement(c.Z,{my:"2x"},l.createElement(Z.Z,{color:r.color.secondary},o)),(0,L.rY)(i).map(function(e){var n,r,i,a,s,f=null===(n=D().find(Q._,{title:o}))||void 0===n?void 0:n.icon,p=(0,L.rY)(null==e?void 0:null===(r=e._highlightResult)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:null===(a=i.title)||void 0===a?void 0:a.matchedWords),d=(0,L.Zs)(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.title);return l.createElement(c.Z,{key:e.objectID},l.createElement(en,{href:"/".concat(e.data.path),onClick:function(){t(e)}},f&&l.createElement(f,{size:"6x"}),l.createElement(z(),{searchWords:p,highlightTag:"mark",textToHighlight:d,highlightStyle:{backgroundColor:"rgba(0, 116, 255, 0.8)",color:"rgba(255, 255, 255, .92)"}})),l.createElement(u.Z,{my:"2x"}))}))})),i.nbPages>1&&l.createElement(l.Fragment,null,l.createElement(u.Z,null),l.createElement(P.Z,{my:"3x",justifyContent:"center"},l.createElement(eg,null))))};eb.displayName="InstantSearchRefinementList";var ek=["onClose"];function ex(){return(ex=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ek),h=(0,o.u)(),m=(0,f.Z)();return l.createElement(i.Z,ex({ref:t,autoFocus:!0,ensureFocus:!0,closeOnEsc:!0,closeOnOutsideClick:!0,isOpen:!0,onClose:n,size:"md"},d),l.createElement(r.xB,{styles:ew}),l.createElement(a.Z,null),l.createElement(s.Z,{marginTop:"12x",maxHeight:"calc(100vh - ".concat(null==h?void 0:h.space["12x"]," - ").concat(null==h?void 0:h.space["12x"],")"),minHeight:null},l.createElement(c.Z,{p:"4x"},l.createElement(C,{size:"lg",placeholder:"Search...",onChange:function(e){m("InstantSearch","change_search_input",e.target.value)}})),l.createElement(u.Z,null),l.createElement(eb,{onChange:function(e){var t=(null==e?void 0:null===(o=e.parent)||void 0===o?void 0:o.title)||"",r=(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.title)||"";if(m("InstantSearch","click_search_result",(0,p.Z)({path:"/".concat(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.path),title:[t,r].join(" > ")})),t){var o,i,a,s,c=document.querySelector("#sidenav button[data-title=".concat((0,p.Z)(t),"]"));if((null==c?void 0:null===(s=c.dataset)||void 0===s?void 0:s.expanded)==="false"){var u=new MouseEvent("click",{bubbles:!0,cancelable:!0});c.dispatchEvent(u)}}n()}})))});e_.displayName="InstantSearchModal";var eS=e_},58325:function(e,t,n){"use strict";var r=n(40596),o=n(85017),i=n(83513),a=n(73645),s=n(70758),c=n(21407),u=n(2784),l=["children"];function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,l),h=p((0,r.Z)(),1)[0],m=p((0,o.Z)({colorMode:h}),1)[0];return u.createElement(i.Z,f({ref:t,display:"flex",alignItems:"center",justifyContent:"space-between",color:m.color.primary,border:1,borderColor:{dark:"gray:60",light:"gray:30"}[h],borderRadius:"sm",_focus:{borderColor:{dark:"blue:60",light:"blue:60"}[h]},_hover:{borderColor:{dark:"blue:50",light:"blue:50"}[h]},fontSize:"sm",lineHeight:"sm",px:"3x",height:"8x",minWidth:{sm:34,md:200},transition:"min-width 0.2s"},d),u.createElement(a.Z,{alignItems:"center",columnGap:"2x"},u.createElement(c.Z,null),u.createElement(s.Z,{display:{sm:"none",md:"block"},color:m.color.secondary},n)))});h.displayName="SearchButton",t.Z=h},73819:function(e,t,n){"use strict";n.d(t,{_:function(){return v}});var r=n(70758),o=n(99870),i=n(4409),a=n(57805),s=n(34323),c=n(95530),u=n(44152),l=n(37384),f=n(18247),p=n(85409),d=n(84668),h=n(30047),m=n(2784);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}},n=t.fallback;return"undefined"==typeof window?n():e({window:window})}var G=n(53449);function Y(e){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,n=e.insightsInitParams,r=e.onEvent,o=e.$$internal,i=void 0!==o&&o,a=e.$$automatic,s=void 0!==a&&a,c=t;t||null===t||Q(function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(c=t[n]),c||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=Array(e),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=es(e);if(n){var r=o.state.userToken;t?i():setTimeout(i,0)}function i(){o.overrideStateWithoutTriggeringChangeEvent(J(J({},o.state),{},{userToken:n})),r&&r!==e&&a.scheduleSearch()}},n=function(e){if(("undefined"==typeof document?"undefined":K(document))==="object"&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r=3||2===n&&r>=6||1===n&&r>=10}function es(e){if(e)return"number"==typeof e?e.toString():e}function ec(e,t,n){var r=t.getHelper();return{uiState:n,helper:r,parent:t,instantSearchInstance:e,state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function eu(e,t){var n=t.getResults(),r=t.getHelper();return{helper:r,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n?n._state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}var el=n(19126);function ef(e){return(ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ep(e,t,n){return(t=ed(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ed(e){var t=function(e,t){if("object"!==ef(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ef(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ef(t)?t:String(t)}var eh=function(e){e&&(window.document.title=e)},em=function(){var e;function t(e){var n=this,r=e.windowTitle,o=e.writeDelay,i=e.createURL,a=e.parseURL,s=e.getLocation,c=e.start,u=e.dispose,l=e.push,f=e.cleanUrlOnDispose;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),ep(this,"$$type","ais.browser"),ep(this,"windowTitle",void 0),ep(this,"writeDelay",void 0),ep(this,"_createURL",void 0),ep(this,"parseURL",void 0),ep(this,"getLocation",void 0),ep(this,"writeTimer",void 0),ep(this,"_onPopState",void 0),ep(this,"inPopState",!1),ep(this,"isDisposed",!1),ep(this,"latestAcknowledgedHistory",0),ep(this,"_start",void 0),ep(this,"_dispose",void 0),ep(this,"_push",void 0),ep(this,"_cleanUrlOnDispose",void 0),this.windowTitle=r,this.writeTimer=void 0,this.writeDelay=void 0===o?400:o,this._createURL=i,this.parseURL=a,this.getLocation=s,this._start=c,this._dispose=u,this._push=l,this._cleanUrlOnDispose=void 0===f||f,Q(function(e){var t=e.window;eh(n.windowTitle&&n.windowTitle(n.read())),n.latestAcknowledgedHistory=t.history.length})}return e=[{key:"read",value:function(){return this.parseURL({qsModule:el,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;Q(function(n){var r=n.window,o=t.createURL(e),i=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){eh(i),t.shouldWrite(o)&&(t._push?t._push(o):r.history.pushState(e,i||"",o),t.latestAcknowledgedHistory=r.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},Q(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:el,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,Q(function(t){var n=t.window;e._onPopState&&n.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return Q(function(n){var r=n.window,o=!(t.isDisposed&&t.latestAcknowledgedHistory!==r.history.length);return!t.inPopState&&o&&e!==r.location.href})}}],function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ey)}function ew(e){return e!==Object(e)}function e_(e){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eO(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,n=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,n=void 0===t?function(e){var t=e.qsModule,n=e.routeState,r=e.location,o=r.protocol,i=r.hostname,a=r.port,s=void 0===a?"":a,c=r.pathname,u=r.hash,l=t.stringify(n),f=""===s?"":":".concat(s);return l?"".concat(o,"//").concat(i).concat(f).concat(c,"?").concat(l).concat(u):"".concat(o,"//").concat(i).concat(f).concat(c).concat(u)}:t,r=e.parseURL,o=e.writeDelay,i=e.windowTitle,a=e.getLocation;return new em({createURL:n,parseURL:void 0===r?function(e){var t=e.qsModule,n=e.location;return t.parse(n.search.slice(1),{arrayLimit:99})}:r,writeDelay:void 0===o?400:o,windowTitle:i,getLocation:void 0===a?function(){return Q(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:a,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,r=e.stateMapping,o=void 0===r?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,n){return eb(eb({},t),{},ek({},n,ex(e[n])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){return eb(eb({},t),{},ek({},n,ex(e[n])))},{})}}:r,i=e.$$internal,a=void 0!==i&&i;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var r=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),i=Object.keys(e).reduce(function(t,n){return eO(eO({},t),{},eE({},n,e[n]))},r),a=o.stateToRoute(i);return n.createURL(a)};var r=void 0,i=t._initialUiState;return{$$type:"ais.router({router:".concat(n.$$type||"__unknown__",", stateMapping:").concat(o.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(e){var t=e.uiState,i=o.stateToRoute(t);(void 0===r||!function e(t,n){if(t===n)return!0;if(ew(t)||ew(n)||"function"==typeof t||"function"==typeof n)return t===n;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r=0,o=Object.keys(t);r0&&t.setUiState(o.routeToState(e))})},started:function(){var e;null===(e=n.start)||void 0===e||e.call(n)},unsubscribe:function(){n.dispose()}}}},eT=n(20303);function eC(e){return"ais.index"===e.$$type}function eA(e){return(eA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eR=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function eI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eP(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eR);return e.setQueryParameters(n)},eN=function(e,t){var n=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,n){return n.indexOf(e)===t});return n.length>0?e.setQueryParameters({ruleContexts:n}):e},eF=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,n){return!eC(n)&&(n.getWidgetUiState||n.getWidgetState)?n.getWidgetUiState?n.getWidgetUiState(e,t):n.getWidgetState(e,t):e},n)}function eV(e,t){var n=t.initialSearchParameters,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eM);return e.filter(function(e){return!eC(e)}).reduce(function(e,t){return t.getWidgetSearchParameters?t.getWidgetSearchParameters(e,r):e},n)}var eK=function(e){if(void 0===e||void 0===e.indexName)throw Error(eH("The `indexName` option is required."));var t=e.indexName,n=e.indexId,r=void 0===n?t:n,o=[],i={},a=null,s=null,c=null,u=null,l=null;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return t},getIndexId:function(){return r},getHelper:function(){return c},getResults:function(){var e;return null!==(e=u)&&void 0!==e&&e.lastResults?(u.lastResults._state=c.state,u.lastResults):null},getPreviousState:function(){return l},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(eC).reduce(function(t,n){return t.concat.apply(t,[{indexId:n.getIndexId(),results:n.getResults(),helper:n.getHelper()}].concat(e$(e(n.getWidgets()))))},[])}(e?e.getWidgets():[this])},getParent:function(){return s},createURL:function(e){return"function"==typeof e?a._createURL(ez({},r,e(i))):a._createURL(ez({},r,eW(o,{searchParameters:e,helper:c})))},getWidgets:function(){return o},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(eH("The `addWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(eH("The widget definition expects a `render` and/or an `init` method."));return o=o.concat(e),a&&e.length&&(eq(c,{state:eV(o,{uiState:i,initialSearchParameters:c.state}),_uiState:i}),e.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(a.renderState[t.getIndexId()]||{},ec(a,t,a._initialUiState)),instantSearchInstance:a,parent:t})}),e.forEach(function(e){e.init&&e.init(ec(a,t,a._initialUiState))}),a.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(eH("The `removeWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(eH("The widget definition expects a `dispose` method."));if(o=o.filter(function(t){return -1===e.indexOf(t)}),a&&e.length){var n=e.reduce(function(e,n){return n.dispose({helper:c,state:e,parent:t})||e},c.state),r=a.future.preserveSharedStateOnUnmount?eV(o,{uiState:i,initialSearchParameters:new V.SearchParameters({index:this.getIndexName()})}):eV(o,{uiState:eW(o,{searchParameters:n,helper:c}),initialSearchParameters:n});i=eW(o,{searchParameters:r,helper:c}),c.setState(r),o.length&&a.scheduleSearch()}return this},init:function(e){var n,f=this,p=e.instantSearchInstance,d=e.parent,h=e.uiState;if(null===c){a=p,s=d,i=h[r]||{};var m=p.mainHelper,g=eV(o,{uiState:i,initialSearchParameters:new V.SearchParameters({index:t})});(c=V({},g.index,g)).search=function(){return p.onStateChange?(p.onStateChange({uiState:p.mainIndex.getWidgetUiState({}),setUiState:function(e){return p.setUiState(e,!1)}}),m):m.search()},c.searchWithoutTriggeringOnStateChange=function(){return m.search()},c.searchForFacetValues=function(e,t,n,r){var o=c.state.setQueryParameters(r);return m.searchForFacetValues(e,t,n,o)},u=m.derive(function(){return eF.apply(void 0,[m.state].concat(e$(function(e){for(var t=e.getParent(),n=[e.getHelper().state];null!==t;)n=[t.getHelper().state].concat(n),t=t.getParent();return n}(f))))});var y=null===(n=p._initialResults)||void 0===n?void 0:n[this.getIndexId()];if(y){var v=new V.SearchResults(new V.SearchParameters(y.state),y.results);u.lastResults=v,c.lastResults=v}c.on("change",function(e){e.isPageReset&&function e(t){var n=t.filter(eC);0!==n.length&&n.forEach(function(t){var n=t.getHelper();eq(n,{state:n.state.resetPage(),isPageReset:!0}),e(t.getWidgets())})}(o)}),u.on("search",function(){p.scheduleStalledRender()}),u.on("result",function(e){var t=e.results;p.scheduleRender(),c.lastResults=t,l=null==t?void 0:t._state}),o.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(p.renderState[f.getIndexId()]||{},ec(p,f,h)),instantSearchInstance:p,parent:f})}),o.forEach(function(e){e.init&&e.init(ec(p,f,h))}),c.on("change",function(e){var t=e.state,n=e._uiState;i=eW(o,{searchParameters:t,helper:c},n||{}),p.onStateChange||p.onInternalStateChange()}),y&&p.scheduleRender()}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&l&&c.setState(l);var r=this.getResults()?o:o.filter(eC);r.forEach(function(e){e.getRenderState&&eQ({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},eu(n,t)),instantSearchInstance:n,parent:t})}),r.forEach(function(e){e.render&&e.render(eu(n,t))})},dispose:function(){var e,t,n=this;o.forEach(function(e){e.dispose&&e.dispose({helper:c,state:c.state,parent:n})}),a=null,s=null,null===(e=c)||void 0===e||e.removeAllListeners(),c=null,null===(t=u)||void 0===t||t.detach(),u=null},getWidgetUiState:function(e){return o.filter(eC).reduce(function(e,t){return t.getWidgetUiState(e)},eB(eB({},e),{},ez({},r,eB(eB({},e[r]),i))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var n=t.uiState;return eV(o,{uiState:n,initialSearchParameters:e})},refreshUiState:function(){i=eW(o,{searchParameters:this.getHelper().state,helper:this.getHelper()},i)},setIndexUiState:function(e){var t="function"==typeof e?e(i):e;a.setUiState(function(e){return eB(eB({},e),{},ez({},r,t))})}}};function eQ(e){var t=e.renderState,n=e.instantSearchInstance,r=e.parent,o=r?r.getIndexId():n.mainIndex.getIndexId();n.renderState=eB(eB({},n.renderState),{},ez({},o,eB(eB({},n.renderState[o]),t)))}var eG=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.descendantName,r=t.modifierName;return"".concat("ais","-").concat(e).concat(n?"-".concat(n):"").concat(r?"--".concat(r):"")}};function eY(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}var eX="",eJ="",e1=eG("Highlight");function e0(e){return e.map(function(e){return e.isHighlighted?eX+e.value+eJ:e.value}).join("")}RegExp(/[&<>"']/g.source);var e2={"&":"&","<":"<",">":">",""":'"',"'":"'"},e5=/&(amp|quot|lt|gt|#39);/g,e3=RegExp(e5.source),e6=new RegExp(/\w/i);function e8(e){return(e8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e9(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r0)||void 0===arguments[0]||arguments[0];!(null!==(e=t.mainHelper)&&void 0!==e&&e.hasPendingRequests())&&(clearTimeout(t._searchStalledTimer),t._searchStalledTimer=null,n&&(t.status="idle",t.error=void 0)),t.mainIndex.render({instantSearchInstance:tx(t)}),t.emit("render")})),t_(tx(t),"onInternalStateChange",tu(function(){var e=t.mainIndex.getWidgetUiState({});t.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),t.setMaxListeners(100);var t,n=e.indexName,i=void 0===n?"":n,a=e.numberLocale,s=e.initialUiState,c=e.routing,u=void 0===c?null:c,l=e.insights,f=void 0===l?void 0:l,p=e.searchFunction,d=e.stalledSearchDelay,h=e.searchClient,m=void 0===h?null:h,g=e.insightsClient,y=void 0===g?null:g,v=e.onStateChange,b=e.future,k=void 0===b?tb(tb({},tj),e.future||{}):b;if(null===m)throw Error(tO("The `searchClient` option is required."));if("function"!=typeof m.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof m.addAlgoliaAgent&&m.addAlgoliaAgent("instantsearch.js (".concat("4.66.0",")")),y&&"function"!=typeof y)throw Error(tO("The `insightsClient` option should be a function."));if(t.client=m,t.future=k,t.insightsClient=y,t.indexName=i,t.helper=null,t.mainHelper=null,t.mainIndex=eK({indexName:i}),t.onStateChange=void 0===v?null:v,t.started=!1,t.templatesConfig={helpers:{formatNumber:function(e,t){return Number(t(e)).toLocaleString(a)},highlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._highlightResult,r)||{}).value,l=e1({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._highlightResult,r)||{}).value,l=tt({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),e0(e7(te(void 0===u?"":u))).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._snippetResult,r)||{}).value,l=tn({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=ts(ts({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eY(a._snippetResult,r)||{}).value,l=tr({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),e0(e7(te(void 0===u?"":u))).replace(RegExp(eX,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eJ,"g"),""))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var n,r=JSON.parse(e),o=r.method,i=r.payload;return t((n=ts({objectIDs:[this.objectID]},i),function(e){var t,n=e.method,r=e.payload;if("object"!==to(r))throw Error("The insights helper expects the payload to be an object.");try{t=btoa(encodeURIComponent(JSON.stringify(r)))}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:o,payload:n})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},t._stalledSearchDelay=void 0===d?200:d,t._searchStalledTimer=null,t._createURL=tE,t._initialUiState=void 0===s?{}:s,t._initialResults=null,t._insights=f,p&&(t._searchFunction=p),t.sendEventToInsights=G.Z,u){var x="boolean"==typeof u?{}:u;x.$$internal=!0,t.use(ej(x))}if(f){var w="boolean"==typeof f?{}:f;w.$$internal=!0,t.use(ei(w))}return Q(function(e){var t,n;return(null===(t=e.window.navigator)||void 0===t?void 0:null===(n=t.userAgent)||void 0===n?void 0:n.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&t.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,n=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,r={widgets:[]},o=document.createElement("meta"),i=document.querySelector("head");return o.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:n,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e=t.client;r.ua=e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,n,r){var o=ec(n,n.mainIndex,n._initialUiState);t.forEach(function(t){var i={};if(t.getWidgetRenderState){var a=t.getWidgetRenderState(o);a&&a.widgetParams&&(i=a.widgetParams)}var s=Object.keys(i).filter(function(e){return void 0!==i[e]});r.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),n,r)})}(t.mainIndex.getWidgets(),t,r),t.middleware.forEach(function(e){return r.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),o.content=JSON.stringify(r),i.appendChild(o)},0)},started:function(){},unsubscribe:function(){o.remove()}}}}({$$internal:!0})),t}return n=[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1?n-1:0),i=1;i0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(ei({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(e=this.mainHelper)||void 0===e||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(tO("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var r="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&n?this.onStateChange({uiState:r,setUiState:function(e){tg("function"==typeof e?e(r):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(tg(r,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(tO("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(tO("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tU));return n.started?u.createElement(q.Z.Provider,{value:n},u.createElement(H.Z.Provider,{value:n.mainIndex},t)):null}function tq(e){return(tq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tW(e){return(tW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tK(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:G.Z,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Z;return function(n){if(!n||!function(e){if(!("object"===tq(e)&&null!==e)||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(n.searchParameters))throw Error(tG("The `searchParameters` option expects an object."));var r={};return{$$type:"ais.configure",init:function(t){var n=t.instantSearchInstance;e(tK(tK({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(tK(tK({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var r=e.state;return t(),tY(r,n)},getRenderState:function(e,t){var n,r=this.getWidgetRenderState(t);return tK(tK({},e),{},{configure:tK(tK({},r),{},{widgetParams:tK(tK({},r.widgetParams),{},{searchParameters:eF(new V.SearchParameters(null===(n=e.configure)||void 0===n?void 0:n.widgetParams.searchParameters),new V.SearchParameters(r.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return r.refine||(r.refine=function(e){var r=eF(tY(t.state,n),new V.SearchParameters(e));n.searchParameters=e,t.setState(r).search()}),{refine:r.refine,widgetParams:n}},getWidgetSearchParameters:function(e,t){var r=t.uiState;return eF(e,new V.SearchParameters(tK(tK({},r.configure),n.searchParameters)))},getWidgetUiState:function(e){return tK(tK({},e),{},{configure:tK(tK({},e.configure),n.searchParameters)})}}}},tJ=n(47493);function t1(e){var t;return t={$$widgetType:"ais.configure"},(0,tJ.B)(tX,{searchParameters:e},t),null}var t0=n(40596),t2=n(85017);function t5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return t3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t3(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nx),a=n_((0,t0.Z)(),2),s=a[0],c=a[1],l=n_((0,t2.Z)({colorMode:s}),1)[0],f=(0,t8.Z)(),p=(0,nh.Z)(),d=nj||"",h=(0,u.useCallback)(function(){f(function(e){return u.createElement(nk.Z,{onClose:function(){p("InstantSearch","close_instant_search_modal"),e()}})})},[f,p]),m=function(){(0,ny.b)({title:"Tonic UI"})};(0,u.useEffect)(function(){(0,nv.Z)(s)},[s]);var g={light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[s],y={light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[s],v={dark:"blue:60",light:"blue:60"}[s];return u.createElement(N.Z,nw({as:"header",ref:t,position:"fixed",top:0,zIndex:"fixed",height:"12x",width:"100%",backdropFilter:"blur(20px)",backgroundColor:l.background.primary,boxShadow:"0px -1px 1px inset ".concat(y)},i),u.createElement(N.Z,{display:"flex",position:"relative",height:"100%",alignItems:"center",justifyContent:"space-between"},u.createElement(N.Z,null,u.createElement(N.Z,{display:{sm:"block",lg:"none"}},u.createElement(N.Z,{display:"flex",flex:"auto",mx:"4x"},u.createElement(t4.Z,{variant:"secondary",onClick:o},u.createElement(nu.Z,null)))),u.createElement(N.Z,{display:{sm:"none",lg:"block"}},u.createElement(nd(),{href:"/",legacyBehavior:!0,passHref:!0},u.createElement(t9.Z,{"data-track":"Header|click_landing_page",color:l.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:l.color.emphasis},_hover:{color:l.color.emphasis},_visited:{color:l.color.primary}},u.createElement(t7.Z,{alignItems:"center",columnGap:"2x"},u.createElement(ne.Z,{alt:"",src:"".concat(nO,"/images/").concat(g),height:"8x"}),u.createElement(nt.Z,null,"Tonic UI"),u.createElement("sup",null,nj)))))),u.createElement(N.Z,{display:"flex",flex:"none",width:"auto",alignItems:"center",columnGap:"4x",px:"4x"},u.createElement(nb.Z,{"data-track":"InstantSearch|open_instant_search_modal",onClick:h},"Search..."),u.createElement(N.Z,{display:"flex",flex:"none"},u.createElement(nn.Z,{onOpen:function(){p("Header","open_version_menu")},onClose:function(){p("Header","close_version_menu")}},u.createElement(nr.Z,{variant:"secondary",minWidth:100},null!==(n=null===(r=nT[d])||void 0===r?void 0:r.label)&&void 0!==n?n:d),u.createElement(no.Z,null,Object.entries(nT).map(function(e){var t=n_(e,2),n=t[0],r=t[1];return u.createElement(ni.Z,{"data-track":"Header|click_version_menu_item|".concat(null==r?void 0:r.label),key:n,as:"a",href:null==r?void 0:r.url,whiteSpace:"nowrap"},n===d?u.createElement(u.Fragment,null,null==r?void 0:r.label,u.createElement(na.Z,{width:"2x"}),"✓"):null==r?void 0:r.label)}),u.createElement(ns.Z,null),u.createElement(ni.Z,{"data-track":"Header|click_version_menu_item|View all versions",as:"a",href:"".concat(nO,"/getting-started/versions"),whiteSpace:"nowrap"},"View all versions")))),u.createElement(nc.Z,{"data-track":"Header|click_codesandbox",onClick:function(){return m()},title:"Open in CodeSandbox",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},u.createElement(nm.Z,{size:"6x"})),u.createElement(nc.Z,{"data-track":"Header|click_toggle_color_mode|".concat("light"===s?"dark":"light"),onClick:function(){return c()},title:"Toggle color mode",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},"light"===s&&u.createElement(nl.Z,{size:"6x"}),"dark"===s&&u.createElement(nf.Z,{size:"6x"})),u.createElement(nc.Z,{"data-track":"Header|click_github_repo_url|".concat(nE),onClick:function(){return window.open(nE,"_blank")},title:"GitHub repository",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:l.color.secondary,width:"8x",height:"8x",_hover:{color:l.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},u.createElement(ng.Z,{size:"6x"})))))});nC.displayName="Header";var nA=n(92952),nR=n(78366),nI=n(72448),nP=n(65245),nZ=n(76761),nN=["align"],nF=["align"],nL=["children"];function nM(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function nD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nB(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);np{margin-bottom:0;}"}),ul:function(e){return u.createElement(N.Z,nz({as:"ul",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},ol:function(e){return u.createElement(N.Z,nz({as:"ol",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},li:function(e){return u.createElement(N.Z,nz({as:"li",mt:"1x",mb:"2x"},e))},table:function(e){return u.createElement(N.Z,nz({as:"table",mt:0,mb:"4x",fontSize:"md",lineHeight:"lg",borderCollapse:"collapse",borderSpacing:0,width:"100%"},e))},thead:function(e){return u.createElement(N.Z,nz({as:"thead",verticalAlign:"middle",borderColor:"inherit"},e))},tbody:function(e){return u.createElement(N.Z,nz({as:"tbody",verticalAlign:"middle",borderColor:"inherit"},e))},tr:function(e){return u.createElement(N.Z,nz({as:"tr"},e))},th:function(e){var t=e.align,n=nM(e,nN),r=nD((0,t0.Z)(),1)[0];return u.createElement(N.Z,nz({as:"th",px:"3x",py:"2x",fontWeight:"semibold",whiteSpace:"nowrap",border:1,borderBottom:2,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},td:function(e){var t=e.align,n=nM(e,nF),r=nD((0,t0.Z)(),1)[0];return u.createElement(N.Z,nz({as:"td",px:"3x",py:"2x",border:1,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},pre:function(e){var t,n,r=e.children;nM(e,nL);var o=(0,i.u)(),a=nD((0,t0.Z)(),1)[0],s={dark:nZ.y,light:nZ.q}[a],c=(0,u.isValidElement)(r)?(0,p.Zs)(null==r?void 0:null===(t=r.props)||void 0===t?void 0:t.children).trimEnd():(0,p.Zs)(r).trimEnd(),l=(0,u.isValidElement)(r)?(0,p.Zs)(r.props.className).replace(/language-/,""):"";return u.createElement(nP.nu,{code:c,disabled:!0,language:l,theme:s},u.createElement(N.Z,{as:nP.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==o?void 0:null===(n=o.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}}))},code:function(e){return u.createElement(nR.Z,nz({as:"code"},e))},hr:function(e){return u.createElement(nI.Z,nz({as:"hr",my:"2x"},e))},a:function(e){return u.createElement(t9.Z,nz({as:"a"},e))},img:ne.Z},nU=["children"];function nH(){return(nH=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nU),i=(function(e){if(Array.isArray(e))return e}(n=(0,t0.Z)())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),1!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(n,1)||function(e,t){if(e){if("string"==typeof e)return nq(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nq(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return u.createElement(N.Z,nH({as:"main",id:"main",ref:t,backgroundColor:{light:"white",dark:"gray:100"}[i]},o),r)});nW.displayName="Main";var nV=n(76013),nK=n(79036),nQ=n(80508),nG=n(90094),nY=n(25619),nX=n(20325),nJ=n(97198),n1=n(73819),n0=n(98107),n2=n(44285),n5=["href","isActive"];function n3(){return(n3=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,n5),i=n6((0,t0.Z)(),1)[0],a=n6((0,t2.Z)({colorMode:i}),1)[0],s=a.color.secondary,c=a.color.primary,l=a.color.emphasis;return u.createElement(nd(),{href:n,legacyBehavior:!0,passHref:!0},u.createElement(N.Z,n3({ref:t,as:"a",color:s,display:"flex",px:"4x",py:"2x",fontSize:"sm",textDecoration:"none","aria-selected":!!r,_active:{backgroundColor:{light:"rgba(0, 0, 0, 0.1)",dark:"rgba(255, 255, 255, 0.1)"}[i],color:c},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[i],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:{light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[i]},_selected:{backgroundColor:{light:"rgba(0, 0, 0, 0.08)",dark:"rgba(255, 255, 255, 0.08)"}[i],color:l}},o)))});n4.displayName="NavLink";var n9=["children","onClick","onClose"];function n7(){return(n7=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&(null==t?void 0:t.left)>=0&&(null==t?void 0:t.bottom)<=(window.innerHeight||document.documentElement.clientHeight)&&(null==t?void 0:t.right)<=(window.innerWidth||document.documentElement.clientWidth)},rr=(0,p.Zs)("/tonic-ui-demo/react/pr-947"),ro=(0,u.forwardRef)(function(e,t){var n=e.children,r=e.onClick,o=e.onClose,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,n9),a=re((0,t0.Z)(),1)[0],s=re((0,t2.Z)({colorMode:a}),1)[0],c=(0,u.useRef)(),l=(0,nX.Z)(c,t),f=(0,U.useRouter)(),d=(0,p.Zs)(f.pathname).slice(1);return(0,u.useEffect)(function(){var e=c.current.querySelector('[data-path="'.concat(d,'"]'));e&&!rn(e)&&e.scrollIntoView({behavior:"auto",block:"center"})},[d]),u.createElement(N.Z,n7({as:"nav",id:"sidenav",ref:l,backgroundColor:s.background.primary,borderRight:1,borderRightColor:{light:"gray:20",dark:"gray:70"}[a],pt:{sm:0,lg:"4x"},pb:"4x"},i),u.createElement(N.Z,{display:{sm:"block",lg:"none"}},u.createElement(t7.Z,{alignItems:"center",justifyContent:"space-between",mb:"4x"},u.createElement(nd(),{href:"/",legacyBehavior:!0,passHref:!0},u.createElement(t9.Z,{background:"transparent",color:s.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:s.color.emphasis},_hover:{color:s.color.emphasis},_visited:{color:s.color.primary}},u.createElement(ne.Z,{alt:"",src:"".concat(rr,"/images/").concat({light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[a]),height:"8x",marginRight:"2x"}),u.createElement(nt.Z,null,"Tonic UI"))),u.createElement(N.Z,{px:"2x"},u.createElement(n2.Z,{onClick:o},u.createElement(nJ.Z,null))))),u.createElement(nV.Z,null,n1._.map(function(e){var t=e.title,n=e.icon,o=e.routes,i=o.some(function(e){return!!e.path&&(d.startsWith(e.path)||e.path===d)});return u.createElement(N.Z,{key:t},u.createElement(nK.Z,{key:i,defaultIsExpanded:i},function(e){var i,a,c=e.isExpanded;return u.createElement(u.Fragment,null,u.createElement(nQ.Z,{"data-track":c?"SideMenu|close_menu_section|".concat((0,n0.Z)({title:t})):"SideMenu|open_menu_section|".concat((0,n0.Z)({title:t})),"data-expanded":c,"data-title":t},u.createElement(t7.Z,{alignItems:"center",justifyContent:"space-between",py:"2x",px:"3x",_hover:{backgroundColor:s.background.highlighted}},u.createElement(t7.Z,{alignItems:"center",columnGap:"2x"},"function"==typeof n&&n({color:null==s?void 0:null===(i=s.color)||void 0===i?void 0:i.tertiary,size:"4x"}),u.createElement(nt.Z,{color:null==s?void 0:null===(a=s.color)||void 0===a?void 0:a.primary,fontSize:"sm",lineHeight:"sm"},t)),u.createElement(nG.Z,null))),u.createElement(nY.Z,{TransitionProps:{unmountOnExit:!0}},o.map(function(e){var n,o=e.heading,i=e.title,a=e.path,c=e.render;if(o)return u.createElement(nt.Z,{key:"".concat(t," > ").concat(i),color:null==s?void 0:null===(n=s.color)||void 0===n?void 0:n.tertiary,fontSize:"xs",lineHeight:"xs",pl:"9x",mt:"4x",mb:"2x",textTransform:"uppercase",letterSpacing:"0.08rem",_firstOfType:{mt:"2x"}},i);var l=d===a,f="/".concat(a);return u.createElement(n4,{key:a,"data-path":a,"data-track":"SideMenu|click_menu_item|".concat((0,n0.Z)({path:f,title:[t,i].join(" > ")})),isActive:l,href:f,onClick:r,pl:0,px:"3x"},u.createElement(t7.Z,{columnGap:"2x",alignItems:"center",justifyContent:"space-between",width:"100%"},u.createElement(nt.Z,{fontSize:"sm",lineHeight:"sm",pl:"9x"},i),"function"==typeof c&&c()))})))}))})),n)});ro.displayName="Sidebar";var ri=n(33558),ra=n(56818),rs=n(12436),rc=n.n(rs),ru=function(e,t){var n=(0,u.useMemo)(function(){return e?rc()(e,t):ra.ZT},[e,t]);(0,u.useEffect)(function(){if(n!==ra.ZT)return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n),n.cancel()}},[n])};function rl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||rf(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rf(e,t){if(e){if("string"==typeof e)return rp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rp(e,t)}}function rp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(o.s();!(e=o.n()).done;){var i=e.value,a={id:i.id,tagName:i.tagName,textContent:i.textContent,children:[],parent:n};if(n&&n.tagName&&i.tagName>n.tagName)n.children.push(a);else{for(;n&&n.tagName&&i.tagName<=n.tagName;)n=n.parent;n&&n.children.push(a)}n=a}}catch(e){o.e(e)}finally{o.f()}return t},[r]);(0,u.useEffect)(function(){if(!(0,ri.Nq)())return null;c(null);var e=document.querySelector("#main > .main-content");if(e){var t=["h2","h3","h4","h5","h6"].map(function(e){return":scope>".concat(e)}).join(",");o(Array.from(e.querySelectorAll(t)))}if(window.location.hash){var n=document.querySelector(window.location.hash);n&&setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"start"})},200)}},[t.pathname]);var a=rl((0,u.useState)(null),2),s=a[0],c=a[1],l=(0,u.useRef)(null),f=(0,u.useRef)(null),p=(0,u.useCallback)(function(){if(!l.current){for(var e,t=r.length-1;t>=0;t-=1){var n=r[t],o=document.getElementById(n.id),i=document.documentElement.scrollTop+48+12;if(o&&o.offsetTop<=i){e=n;break}}e&&s!==e.id&&c(e.id)}},[s,r]);ru(r.length>0?p:null,1e3/60),(0,u.useEffect)(function(){return function(){f.current&&(clearTimeout(f.current),f.current=null)}},[]);var d=function(e){var t=e.nodes;return u.createElement(N.Z,{as:"ul",className:"toc-list"},t.map(function(e){var t;return u.createElement(h,{key:e.id,nodes:e.children,className:"toc-item toc-item-".concat(e.tagName.toLowerCase())},u.createElement(t9.Z,{className:s===e.id?"toc-link toc-link-".concat(e.tagName.toLowerCase()," active"):"toc-link toc-link-".concat(e.tagName.toLowerCase()),href:"#".concat(e.id),onClick:(t=e.id,function(e){e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||(f.current&&(clearTimeout(f.current),f.current=null),l.current=e.target,f.current=setTimeout(function(){l.current=null},1e3),s!==t&&c(t))})},e.textContent))}))},h=function(e){var t=e.children,n=e.nodes;return u.createElement(N.Z,{as:"li"},t,n.length>0&&u.createElement(d,{nodes:n}))};return u.createElement(N.Z,{as:"nav",className:"toc",id:"toc"},u.createElement(N.Z,{className:"toc-heading"},"Contents"),u.createElement(d,{nodes:i.children}))};function rh(){return(rh=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=240&&e.clientX-t<=360&&r(e.clientX-t)},[]),d=function(){c&&l(!1)};return(0,u.useEffect)(function(){c&&l(!1)},[a]),u.createElement(N.Z,{ref:o,fontSize:"md",lineHeight:"md"},u.createElement(nC,{onToggle:function(){l()}}),u.createElement(ro,rh({onClick:d,onClose:d},{flexShrink:0,width:{sm:c?n:0,lg:n},willChange:"width",transition:{sm:"width .2s ease-in-out",lg:"none"},overflowY:"auto",overflowX:"hidden",position:"fixed",top:{sm:0,lg:f},bottom:0,left:0,zIndex:"fixed",whiteSpace:"nowrap"}),u.createElement(N.Z,rh({draggable:!0,onDrag:p},{background:"transparent",cursor:"col-resize",position:"absolute",top:0,bottom:0,right:0,width:"2x"}))),u.createElement(nW,rh({onClick:d,sx:{"--docs-sidebar-width":"".concat(n,"px")}},{position:"relative",ml:{sm:0,lg:n},pt:f,height:"100vh",width:{sm:"100%",lg:"calc(100% - ".concat(n,"px)")},willChange:"width,margin",transition:{sm:"width .3s ease-in-out, margin .3s ease-in-out",lg:"none"}}),u.createElement($(),e),u.createElement(rd,null)))},rw=function(e){var t=(0,F.Z)(function(){return(0,s.Z)({cssVariables:!0,components:{}})}),n=rm((0,u.useState)(null),2),r=n[0],o=n[1],i=(0,U.useRouter)();if((0,u.useEffect)(function(){var e=document.documentElement,t=e.style.getPropertyValue("color-scheme");e.setAttribute("data-color-scheme",t),("dark"===t||"light"===t)&&r!==t&&o(t)},[]),!r)return null;var c="/"===i.pathname?rk:rx;return u.createElement(tH,{indexName:"tonic-ui-v2",searchClient:rv},u.createElement(t1,{hitsPerPage:1e3,highlightPreTag:"",highlightPostTag:""}),u.createElement(rb,{nonce:ry},u.createElement(T,{key:r,colorMode:{defaultValue:r},colorStyle:{defaultValue:g.Z},theme:t,useCSSBaseline:!0},u.createElement(C.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},u.createElement(Z,null,u.createElement(a.Zo,{components:n$},u.createElement(c,e),u.createElement(t6,null)))))))}},76761:function(e,t,n){"use strict";n.d(t,{q:function(){return r},y:function(){return o}});var r={plain:{color:"#393A34",backgroundColor:"#f2f2f2"},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"}}]},o={plain:{color:"#9CDCFE",backgroundColor:"black"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword"],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"],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)"}}]}},73205:function(e,t,n){"use strict";n.d(t,{b:function(){return g}});var r=n(36954),o=n.n(r),i=n(5081),a=function(e){var t=e.language,n=e.title;return'\n\n\n \n ').concat(n,'\n \n \n
\n \n').trim()},s=JSON.parse('{"v6":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/eslint-parser":"^7.0.0","@babel/eslint-plugin":"^7.0.0","@babel/node":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/runtime":"^7.0.0","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@emotion/babel-plugin":"^11.10.0","@emotion/cache":"^11.11.0","@emotion/react":"^11.10.0","@mdx-js/loader":"^2.1.2","@mdx-js/mdx":"^2.1.2","@mdx-js/react":"^2.1.2","@next/mdx":"^13.0.5","@tanstack/react-table":"^8.9.1","@tanstack/react-virtual":"^3.0.0-beta","@tonic-ui/react":"workspace:^","@tonic-ui/react-hooks":"workspace:^","@tonic-ui/react-icons":"workspace:^","@tonic-ui/utils":"workspace:^","@trendmicro/babel-config":"^1.0.2","acorn":"^8.8.2","algoliasearch":"^4.14.2","boolean":"^3.2.0","cross-env":"^7.0.3","date-fns":"2.x","del-cli":"^5.0.0","dotenv-flow":"^3.2.0","ensure-type":"^1.5.1","eslint":"^8.25.0","eslint-config-next":"latest","eslint-plugin-import":"latest","eslint-plugin-jsx-a11y":"latest","eslint-plugin-react":"latest","hastscript":"^8.0.0","immutability-helper":"^3.1.1","jest":"^29.0.0","jest-environment-jsdom":"^29.0.0","lodash":"^4.17.21","lorem-ipsum":"^2.0.8","lz-string":"^1.5.0","mdast-util-from-markdown":"^2.0.0","mdast-util-mdx-jsx":"^3.0.0","micromark-extension-mdx-jsx":"^2.0.0","next":"^14.2.3","next-plugin-svgr":"^1.1.10","node-emoji":"^2.1.0","prism-react-renderer":"^2.0.6","prop-types":"15.x","react":"latest","react-beautiful-dnd":"^13.1.1","react-dnd":"^16.0.1","react-dnd-html5-backend":"^16.0.1","react-dom":"latest","react-focus-lock":"^2.9.2","react-highlight-words":"^0.20.0","react-instantsearch-core":"^7.5.0","react-live":"^4.1.3","react-movable":"^3.0.4","react-table":"^7.8.0","react-virtualized-auto-sizer":"^1.0.15","react-virtuoso":"^4.12.0","rehype-autolink-headings":"^6.1.1","rehype-slug":"^5.1.0","remark-emoji":"^4.0.0","remark-frontmatter":"^4.0.1","remark-gfm":"^3.0.1","remark-images":"^3.1.0","remark-mdx-code-meta":"^2.0.0","unist-util-visit":"^5.0.0","uuid":"^9.0.0"}}');function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"latest",n=(0,i.Zs)("6931f950c26d56934c6bb84f7159ae14d27412bf").substring(0,8);return n?"https://pkg.csb.dev/trendmicro-frontend/tonic-ui/commit/".concat(n,"/@tonic-ui/").concat(e):t},n=p(p({},s.v6),{},{"@tonic-ui/react":t("react","2.x"),"@tonic-ui/react-base":t("react-base","2.x"),"@tonic-ui/react-hooks":t("react-hooks","2.x"),"@tonic-ui/react-icons":t("react-icons","2.x"),"@tonic-ui/styled-system":t("styled-system","2.x"),"@tonic-ui/theme":t("theme","2.x"),"@tonic-ui/utils":t("utils","2.x")}),r=function(e){for(var t={},r=null,o=/^import\s'([^']+)'|import\s[\s\S]*?\sfrom\s+'([^']+)'/gm;r=o.exec(e);){var a,s,c=(0,i.Zs)(null!==(a=r[2])&&void 0!==a?a:r[1]);if(!c.startsWith("@/")){var u="@"===c[0]?c.split("/",2).join("/"):c.split("/",1)[0];t[u]||u.startsWith(".")||(t[u]=null!==(s=n[u])&&void 0!==s?s:"latest")}}return t};return(0,i.rY)(e).reduce(function(e,t){return p(p({},e),r(t))},{})},h=function(e){var t,n=p({},e),r=n.files,o=n.language,s=n.raw,c=n.title,f=void 0===c?"":c,h="\nimport { Global, css } from '@emotion/react';\nimport {\n Box,\n PortalManager,\n ToastManager,\n TonicProvider,\n colorStyle,\n createTheme,\n useColorMode,\n useColorStyle,\n useTheme,\n} from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport * as React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './app';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n // Add custom colors here\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n // Add custom colors here\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst customTheme = createTheme({\n cssVariables: true, // Enable CSS variables replacement\n components: {\n // Set default props for specific components\n //\n // Example:\n // ```\n // 'ToastCloseButton': {\n // defaultProps: {\n // 'aria-label': 'Close toast',\n // },\n // },\n // ```\n },\n});\n\nconst Root = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Layout = (props) => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const { colors, fontSizes, lineHeights } = useTheme();\n const backgroundColor = colorStyle.background.primary;\n const color = colorStyle.color.primary;\n const scrollbarThumbBackgroundColor = colorStyle.color.disabled;\n const scrollbarThumbHoverBackgroundColor = colorStyle.color.tertiary;\n const scrollbarThumbHoverBorderColor = colorStyle.color.secondary;\n const scrollbarTrackBackgroundColor = {\n light: 'gray:30',\n dark: 'gray:70',\n }[colorMode];\n\n return (\n <>\n \n \n \n );\n};\n\nReactDOM.createRoot(document.querySelector(\"#root\")).render(\n \n \n \n \n \n);\n".trim(),m=null!=s?s:"\nimport { Box } from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst App = forwardRef((props, ref) => {\n const styleProps = {\n // Define style props here\n //\n // Refer to Tonic UI documentation for available style props:\n // https://trendmicro-frontend.github.io/tonic-ui/react/latest/styled-system/style-props\n };\n\n return (\n \n Tonic UI is awesome\n
\n );\n});\n\nApp.displayName = 'App';\n\nexport default App;\n".trim(),g=d([h,m].concat(function(e){if(Array.isArray(e))return l(e)}(t=Object.values((0,i.ks)(r)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||u(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return p(p({},Object.entries((0,i.ks)(r)).reduce(function(e,t){var n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||u(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return e[r]={content:o},e},{})),{},{"public/index.html":{content:a({language:void 0===o?"en":o,title:f})},"src/app.js":{content:m},"src/index.js":{content:h},"jsconfig.json":{content:'\n{\n "compilerOptions": {\n "baseUrl": "src",\n "paths": {\n "@/*": ["*"]\n }\n }\n}\n'.trim()},"package.json":{content:{description:f,dependencies:p({},g)}}})},m=function(e,t,n){var r=document.createElement("input");r.type="hidden",r.name=t,r.value=n,e.appendChild(r)},g=function(e){var t,n=(t={files:h(e)},o().compressToBase64(JSON.stringify(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")),r=document.createElement("form");r.method="POST",r.target="_blank",r.action="https://codesandbox.io/api/v1/sandboxes/define",m(r,"parameters",n),m(r,"query","file=/src/app.js"),document.body.appendChild(r),r.submit(),document.body.removeChild(r)}},98107:function(e,t){"use strict";t.Z=function(){var e;try{e=JSON.stringify.apply(JSON,arguments)}catch(e){}return e}},61860:function(e,t){"use strict";t.Z=function(e){if("dark"!==e&&"light"!==e){var t=document.documentElement;t.style.setProperty("color-scheme",""),t.removeAttribute("data-color-scheme"),localStorage.removeItem("tonic-ui-color-mode");return}var n=document.documentElement;n.style.setProperty("color-scheme",e),n.setAttribute("data-color-scheme",e),localStorage.setItem("tonic-ui-color-mode",e)}},93542:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(42351)},53723:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(92105)}])},42351:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function f(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l1)for(var n=1;n-1?e.split(","):e},c=function(e,t){var n={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),f=-1,p=t.charset;if(t.charsetSentinel)for(d=0;d=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f0?w.join(",")||null:void 0}];else if(s(f))x=f;else{var T=Object.keys(w);x=p?T.sort(p):T}for(var C=0;C0?g+d:""}},12493:function(e,t,n){"use strict";var r=n(85527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)){c+=s.charAt(u);continue}if(l<128){c+=a[l];continue}if(l<2048){c+=a[192|l>>6]+a[128|63&l];continue}if(l<55296||l>=57344){c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l];continue}u+=1,c+=a[240|(l=65536+((1023&l)<<10|1023&s.charCodeAt(u)))>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r-1&&(k.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),g(x,k.length,1,k),g(x,-1,-1,k))}}}return e},v=function(e){y()&&e&&(e.stopPropagation(),e.preventDefault())},b=function(){return(0,c.deferAction)(y)},k=function(){h="just",(0,c.deferAction)(function(){h="meanwhile"})},x=function(){document.addEventListener("focusin",v),document.addEventListener("focusout",b),window.addEventListener("blur",k)},w=function(){document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),window.removeEventListener("blur",k)},_={moveFocusInside:s.moveFocusInside,focusInside:s.focusInside,focusNextElement:s.focusNextElement,focusPrevElement:s.focusPrevElement,focusFirstElement:s.focusFirstElement,focusLastElement:s.focusLastElement,captureFocusRestore:s.captureFocusRestore};u.mediumFocus.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||m(n,t)}),u.mediumBlur.assignMedium(b),u.mediumEffect.assignMedium(function(e){return e(_)}),t.default=(0,a.default)(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!f&&x();var n=f,r=n&&t&&t.id===n.id;f=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(p=null,r&&n.observed===t.observed||t.onActivation(_),y(!0),(0,c.deferAction)(y)):(w(),p=null)})(function(){return null})},32701:function(e,t,n){"use strict";var r=n(71600),o=n(67425);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutoFocusInside",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FocusLockUI",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FreeFocusInside",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"InFocusGuard",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MoveFocusInside",{enumerable:!0,get:function(){return s.default}}),t.default=void 0,Object.defineProperty(t,"useFocusController",{enumerable:!0,get:function(){return l.useFocusController}}),Object.defineProperty(t,"useFocusInside",{enumerable:!0,get:function(){return s.useFocusInside}}),Object.defineProperty(t,"useFocusScope",{enumerable:!0,get:function(){return l.useFocusScope}}),Object.defineProperty(t,"useFocusState",{enumerable:!0,get:function(){return f.useFocusState}});var i=r(n(76785)),a=r(n(15989)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(void 0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56517)),c=r(n(88476)),u=r(n(72143)),l=n(27452),f=n(25473);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}t.default=i.default},64355:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=r(n(86421)),a=n(32701);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}),t.default=i.default},29199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediumSidecar=t.mediumFocus=t.mediumEffect=t.mediumBlur=void 0;var r=n(96545);t.mediumFocus=(0,r.createMedium)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),t.mediumBlur=(0,r.createMedium)(),t.mediumEffect=(0,r.createMedium)(),t.mediumSidecar=(0,r.createSidecarMedium)({async:!0,ssr:"undefined"!=typeof document})},19579:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNanoEvents=void 0,t.createNanoEvents=function(){return{emit:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return d(function(t){return t.moveFocusInside(p(r.current),null,e)})},focusNext:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusNextElement(document.activeElement,f({scope:p(r.current)},e))})},focusPrev:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusPrevElement(document.activeElement,f({scope:p(r.current)},e))})},focusFirst:function(e){return d(function(t){t.focusFirstElement(p(r.current),e)})},focusLast:function(e){return d(function(t){t.focusLastElement(p(r.current),e)})}}},[])};t.useFocusScope=function(){var e=(0,a.useContext)(s.focusScope);if(!e)throw Error("FocusLock is required to operate with FocusScope");return h.apply(void 0,[e.observed].concat((0,o.default)(e.shards)))}},25473:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusState=void 0;var o=r(n(43681)),i=n(2784),a=(0,n(19579).createNanoEvents)(),s=0,c=function(e){return a.emit("assign",e.target)},u=function(e){return a.emit("reset",e.target)},l=function(){(0,i.useEffect)(function(){return s||(document.addEventListener("focusin",c),document.addEventListener("focusout",u)),s+=1,function(){(s-=1)||(document.removeEventListener("focusin",c),document.removeEventListener("focusout",u))}},[])},f=function(e,t){return e===t?"self":t.contains(e)?"within":"within-boundary"};t.useFocusState=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.useState)(!1),n=(0,o.default)(t,2),r=n[0],s=n[1],c=(0,i.useState)(""),u=(0,o.default)(c,2),p=u[0],d=u[1],h=(0,i.useRef)(null),m=(0,i.useRef)({}),g=(0,i.useRef)(!1);(0,i.useEffect)(function(){if(h.current){var t=h.current===document.activeElement||h.current.contains(document.activeElement);s(t),d(f(document.activeElement,h.current)),t&&e.onFocus&&e.onFocus()}},[]);var y=(0,i.useCallback)(function(e){m.current={focused:!0,state:f(e.target,e.currentTarget)}},[]);return l(),(0,i.useEffect)(function(){var t=a.on("reset",function(){m.current={}}),n=a.on("assign",function(){var t=m.current.focused||!1;s(t),d(m.current.state||""),t!==g.current&&(g.current=t,t?e.onFocus&&e.onFocus():e.onBlur&&e.onBlur())});return function(){t(),n()}},[]),{active:r,state:p,onFocus:y,ref:h}}},5129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deferAction=function(e){setTimeout(e,1)},t.inlineProp=t.extractRef=void 0,t.inlineProp=function(e,t){var n={};return n[e]=t,n},t.extractRef=function(e){return e&&"current"in e?e.current:e}},78141:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),C=(0,i.findAll)({autoEscape:l,caseSensitive:p,findChunks:h,sanitize:k,searchWords:x,textToHighlight:w}),A=void 0===b?"mark":b,R=-1,I="",P=void 0,Z=(0,c.default)(function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t});return(0,s.createElement)("span",r({className:d},T,{children:C.map(function(e,t){var r=w.substr(e.start,e.end-e.start);if(!e.highlight)return(0,s.createElement)(S,{children:r,className:E,key:t,style:j});R++;var o=void 0;o="object"==typeof g?p?g[r]:(g=Z(g))[r.toLowerCase()]:g;var i=R===+a;I=o+" "+(i?n:""),P=!0===i&&null!=u?Object.assign({},v,u):v;var c={children:r,className:I,key:t,style:P};return"string"!=typeof A&&(c.highlightIndex=R),(0,s.createElement)(A,c)})}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=e.findChunks,s=void 0===a?r:a,c=e.sanitize,u=e.searchWords,l=e.textToHighlight;return o({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:void 0!==i&&i,sanitize:c,searchWords:u,textToHighlight:l})}),totalLength:l?l.length:0})};var n=t.combineChunks=function(e){return e.chunks.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var c=a.index,u=i.lastIndex;u>c&&e.push({start:c,end:u}),a.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,o,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],l=!1,f=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=u.length;t;){for(o=u,u=[];++f1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),c=0;c0&&r.push(o+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+o+" types",n}return i(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map(function(n){return n.getChecker(e,t)});return function(e,t){for(var o=t.unionResolver(),i=0;i=r._score)&&(r=a)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push(e+" "+i)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&t.push({path:e,message:o})}for(var i=null,n=t.length-1;n>=0;n--)i&&(t[n].nested=[i]),i=t[n];return i},e}();t.DetailContext=a;var s=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new a;return this.contexts.push(e),e},e}()},93779:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}n.d(t,{k:function(){return r}})},91801:function(e,t,n){"use strict";n.r(t),n.d(t,{assignRef:function(){return r.k},createCallbackRef:function(){return i},mergeRefs:function(){return a},refToCallback:function(){return l},transformRef:function(){return u},useCallbackRef:function(){return o.W},useMergeRefs:function(){return s.q},useRefToCallback:function(){return h},useTransformRef:function(){return c}});var r=n(93779),o=n(66807);function i(e){var t=null;return{get current(){return t},set current(value){var n=t;n!==value&&(t=value,e(value,n))}}}function a(e){return i(function(t){return e.forEach(function(e){return(0,r.k)(e,t)})})}var s=n(40689);function c(e,t){return(0,o.W)(null,function(n){return(0,r.k)(e,t(n))})}function u(e,t){return i(function(n){return(0,r.k)(e,t(n))})}function l(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}var f=function(){return null},p=new WeakMap,d=function(e){var t=e||f,n=p.get(t);if(n)return n;var r=l(t);return p.set(t,r),r};function h(e){return d(e)}},40689:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2784),o=n(93779),i=n(66807),a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function c(e,t){var n=(0,i.W)(t||null,function(t){return e.forEach(function(e){return(0,o.k)(e,t)})});return a(function(){var t=s.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||(0,o.k)(e,null)}),i.forEach(function(e){r.has(e)||(0,o.k)(e,a)})}s.set(n,e)},[e]),n}},66807:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(2784);function o(e,t){var n=(0,r.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}},96545:function(e,t,n){"use strict";n.r(t),n.d(t,{createMedium:function(){return p.s},createSidecarMedium:function(){return p._},exportSidecar:function(){return m},renderCar:function(){return d},setConfig:function(){return f},sidecar:function(){return u},useSidecar:function(){return c}});var r=n(22970),o=n(2784),i={isNode:!1,forceCache:!1},a=new WeakMap,s={};function c(e,t){var n,r,c,u,l,f,p,d,h=t&&t.options||s;return i.isNode&&!h.ssr?[null,null]:(n=t&&t.options||s,r=i.forceCache||i.isNode&&!!n.ssr||!n.async,u=(c=(0,o.useState)(r?function(){return a.get(e)}:void 0))[0],l=c[1],p=(f=(0,o.useState)(null))[0],d=f[1],(0,o.useEffect)(function(){u||e().then(function(n){var r,o=t?t.read():n.default||n;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),r=Error("Sidecar medium was not found")):r=Error("Sidecar was not found in exports"),d(function(){return r}),r;a.set(e,o),l(function(){return o})},function(e){return d(function(){return e})})},[]),[u,p])}function u(e,t){var n=function(){return t};return function(i){var a=c(e,i.sideCar),s=a[0];return a[1]&&t?n:s?o.createElement(s,(0,r.pi)({},i)):null}}var l={onError:function(e){return console.error(e)}},f=function(e){Object.assign(l,e)},p=n(64597);function d(e,t){function n(t){var n=t.stateRef,i=t.props,a=(0,o.useCallback)(function(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function o(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)})}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||c(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{ZQ:function(){return a},l5:function(){return r},sf:function(){return l},u:function(){return s},x:function(){return i}})},29970:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){var t,n=(0,r.useRef)();return void 0===n.current&&(n.current={value:"function"==typeof e?e():e}),null==n?void 0:null===(t=n.current)||void 0===t?void 0:t.value}},10424:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){(0,r.useEffect)(e,[])}},93631:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40476),o=n(2784),i=n(68338),a=function(e,t){var n=(0,o.useRef)(function(){throw Error("Cannot call an event handler while rendering.")});return(0,i.Z)(function(){n.current=e},[e].concat((0,r.u)(null!=t?t:[]))),(0,o.useCallback)(function(){return n.current.apply(void 0,arguments)},[n])}},32502:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(56818),o=n(2784),i=n(93631),a=function(e,t,n,a){var s=(0,i.Z)(n);(0,o.useEffect)(function(){if(!n)return r.ZT;var o=(0,r.Pu)(e);return"function"==typeof(null==o?void 0:o.addEventListener)&&"function"==typeof(null==o?void 0:o.removeEventListener)?(o.addEventListener(t,s,a),function(){o.removeEventListener(t,s,a)}):r.ZT},[e,t,n,s,a])}},912:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40476),o=n(2784),i=function(){var e=(0,o.useState)(!1),t=(0,r.ZQ)(e,2),n=t[0],i=t[1];return(0,o.useEffect)(function(){i(!0)},[]),n}},68338:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect},59123:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(40476),o=n(56818),i=n(2784),a=function(e,t){if(void 0!==t)return t;if("undefined"!=typeof window&&"function"==typeof window.matchMedia){var n;return null===(n=window.matchMedia(e))||void 0===n?void 0:n.matches}return!1},s=function(e,t){var n=(0,i.useState)(a(e,t)),s=(0,r.ZQ)(n,2),c=s[0],u=s[1];return(0,i.useEffect)(function(){var t,n,r=!0,i=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e),a=function(){r&&u(!!i.matches)};return i?(i.addEventListener("change",a),u(!!i.matches),function(){r=!1,i.removeEventListener("change",a)}):o.ZT},[e]),c}},20325:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return(0,r.useReducer)(t,e)}},95530:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(18911),o=n(49857),i=n(56818),a=n(2784),s=n(52903),c=["as","children","focusable","size","viewBox"],u=(0,a.forwardRef)(function(e,t){var n=e.as,u=void 0===n?"svg":n,l=e.children,f=e.focusable,p=e.size,d=void 0===p?"4x":p,h=e.viewBox,m=(0,r.Kd)(e,c),g=a.isValidElement(l)&&"svg"===l.type,y={};return"string"==typeof u&&"svg"===u.toLowerCase()&&(y.viewBox=void 0===h?"0 0 16 16":h),(0,s.tZ)(o.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-hidden":(0,i.Qm)(!0),as:u,fill:"currentColor",focusable:void 0!==f&&f,ref:t},{display:"inline-flex",flexShrink:0,width:d,height:d,verticalAlign:"middle"}),y),m),g&&l.props),{},{children:g?l.props.children:l}))});u.displayName="SVGIcon";var l=u},18911:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Kd:function(){return i},Zj:function(){return o}})},20012:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M12.5 6.5l-4.5 4.5-4.5-4.5 1-1 3.5 3.5 3.5-3.5 1 1z"}),"AngleDownIcon")},40809:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.501 12.506l-4.499-4.506 4.488-4.494 1 1-3.49 3.494 3.501 3.506z"}),"AngleLeftIcon")},45795:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.501 12.5l-1-1 3.501-3.506-3.49-3.494 1-1 4.488 4.494z"}),"AngleRightIcon")},85163:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M3.5 10l4.5-4.5 4.5 4.5-1 1-3.5-3.5-3.5 3.5-1-1z"}),"AngleUpIcon")},21457:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 12l-7-6.607 1.476-1.393 5.524 5.214 5.524-5.214 1.476 1.393z"}),"ChevronDownIcon")},97198:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M15 2l-1-1-6 6-6-6-0.99 0.99 5.99 6.010-6 6 1 1 6-6 6 6 1-1-6-6 6-6z"}),"CloseIcon")},37662:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9 8l4-4-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4z"}),"CloseSIcon")},37384:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4.301 12.707l-4.301-4.353 4.301-4.354 0.699 0.707-3.603 3.647 3.603 3.646zM16 8.354l-4.301-4.354-0.699 0.707 3.603 3.646-3.603 3.647 0.699 0.707zM10 1.209l-0.979-0.209-3 14 0.979 0.209z"}),"CodeIcon")},8991:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1zM12.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1z"}),"CollapseLeftIcon")},88043:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5zM3.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5z"}),"CollapseRightIcon")},30047:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8v0c0.736-0 1.333-0.597 1.333-1.334 0-0.346-0.132-0.661-0.348-0.898l0.001 0.001c-0.21-0.234-0.338-0.544-0.338-0.885 0-0.734 0.595-1.328 1.328-1.328 0.002 0 0.004 0 0.005 0h1.573c2.454-0.001 4.444-1.99 4.444-4.444v-0c0-3.929-3.582-7.111-8-7.111zM3.111 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM5.778 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM10.222 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM12.889 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0z"}),"ColorIcon")},47438:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.3 7.3c-0.8 1-1.3 2.2-1.3 3.6-1 0.2-2 0.1-2 0.1l-2 2-1-1 2-2c0 0-0.2-2.8 1-4l1-1 2.3 2.3zM10.9 5c0.2-1 0.1-2 0.1-2l2-2-1-1-2 2c0 0-2.8-0.2-4 1l-1 1 2.3 2.3c1-0.8 2.2-1.3 3.6-1.3zM16 11c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5zM12 11l2-2-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z"}),"ConnectErrorIcon")},85409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M11 0h-9c-0.5 0-1 0.5-1 1v14c0 0.5 0.5 1 1 1h12c0.5 0 1-0.5 1-1v-11l-4-4zM11 1.4l2.6 2.6h-2.6v-2.6zM14 15h-12v-14h8v4h4v10zM3.5 6.5c0-0.8 0.7-1.5 1.5-1.5s1.5 0.7 1.5 1.5c0 0.8-0.7 1.5-1.5 1.5s-1.5-0.7-1.5-1.5zM10 7l3 4v3h-10v-2l2-3 2 2.5 3-4.5z"}),"FileImageOIcon")},18247:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.25 2c0-1.103-0.897-2-2-2s-2 0.897-2 2c0 0.837 0.518 1.554 1.25 1.851v7.149c0 1.93-1.57 3.5-3.5 3.5s-3.5-1.57-3.5-3.5h2.5l-4-6v6c0 2.75 2.25 5 5 5h0c2.75 0 5-2.25 5-5v-7.149c0.732-0.298 1.25-1.014 1.25-1.851zM12.25 3c-0.551 0-1-0.448-1-1s0.449-1 1-1 1 0.448 1 1-0.449 1-1 1z"}),"HookIcon")},18267:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14 3v2h-12v-2zM2 9h12v-2h-12zM2 13h12v-2h-12z"}),"MenuIcon")},34323:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 12v-11.999h-2v11.999h-2l3 4 2.316-3.088c-0.089-0.254-0.167-0.561-0.221-0.876l-0.005-0.035zM7 6.537c0.562-0.506 1.227-0.91 1.958-1.175l0.042-0.013v-1.352h2l-3-3.996-3 3.996h2zM11 6c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-0.008 0-0.018 0-0.028 0-2.746-2.226-4.972-4.972-4.972-0.010 0-0.020 0-0.029 0h0.002zM10 14l-2.54-2.48 1.070-1 1.47 1.48 3.46-3.5 1.070 1.050z"}),"MigrateSuccessIcon")},57999:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M10.551 1.938c-1.005-0.59-2.213-0.938-3.502-0.938-0.019 0-0.037 0-0.056 0l0.003-0c2.535 1.791 3.835 5.746 2.251 8.481-1.585 2.737-5.487 3.272-8.309 1.979 1.235 2.13 3.504 3.54 6.103 3.54 2.583 0 4.841-1.393 6.063-3.469l0.018-0.033c0.591-1.004 0.94-2.211 0.94-3.5 0-2.579-1.398-4.832-3.477-6.043l-0.033-0.018z"}),"MoonIcon")},90800:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 6v3h-3v-3zM6 6v3h3v-3zM11 6v3h3v-3z"}),"MoreHorizIcon")},4409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M1.5 14.5s-0.7-0.8 0.7-3.5c0 0-2.2 1-2.2 5 4 0 5-2.2 5-2.2-2.8 1.4-3.5 0.7-3.5 0.7zM8.2 2.8l-0.2 0.2c-1.024 1.186-2.011 2.491-2.912 3.858l-0.088 0.142h-3l-1.2 1.3 2.7 1.7v1.1l1.4 1.4h1.1l1.7 2.8 1.3-1.3v-3c1.509-0.989 2.814-1.976 4.049-3.041l-0.049 0.041v-0.1l0.1-0.1c2.9-2.8 2.9-7.8 2.9-7.8s-5 0-7.8 2.8zM12 6c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c-0.003 1.103-0.897 1.997-2 2h-0z"}),"RocketIcon")},21407:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M16 14.59l-4.26-4.26c0.787-1.064 1.259-2.403 1.259-3.851 0-3.601-2.919-6.52-6.52-6.52s-6.52 2.919-6.52 6.52c0 3.601 2.919 6.52 6.52 6.52 1.449 0 2.787-0.472 3.869-1.271l-0.018 0.013 4.26 4.26zM6.5 11.5c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"}),"SearchOIcon")},20365:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.BX)(o.HY,{children:[(0,o.tZ)("path",{d:"M8.75 0h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M8.75 14h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M2.873 1.813l-1.060 1.060 1.414 1.415 1.061-1.061-1.415-1.414z"}),(0,o.tZ)("path",{d:"M12.773 11.712l-1.061 1.061 1.415 1.414 1.060-1.060-1.414-1.415z"}),(0,o.tZ)("path",{d:"M2 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M16 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M3.227 11.712l-1.414 1.415 1.060 1.060 1.415-1.414-1.061-1.061z"}),(0,o.tZ)("path",{d:"M13.127 1.813l-1.415 1.414 1.061 1.061 1.414-1.415-1.060-1.060z"}),(0,o.tZ)("path",{d:"M12.75 8c0 2.623-2.127 4.75-4.75 4.75s-4.75-2.127-4.75-4.75c0-2.623 2.127-4.75 4.75-4.75s4.75 2.127 4.75 4.75z"})]}),"SunIcon")},57805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.104 13h-1.231c-0.381-1.055-0.958-1.956-1.693-2.702l0.001 0.001c-0.637-0.638-1.378-1.174-2.195-1.578l-0.048-0.022c0.658-0.708 1.062-1.661 1.062-2.707 0-1.655-1.010-3.075-2.447-3.676l-0.026-0.010c0.547-0.795 1.452-1.31 2.477-1.31 1.655 0 2.996 1.342 2.996 2.996 0 1.189-0.693 2.216-1.696 2.701l-0.018 0.008v0.458c1.254 0.339 2.329 0.98 3.182 1.842l0.001 0.001c0.983 1 3.069 4-0.364 4zM7.286 9.158v-0.458c1.022-0.493 1.714-1.521 1.714-2.711 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.19 0.692 2.218 1.696 2.703l0.018 0.008v0.458c-1.254 0.339-2.329 0.98-3.182 1.842l-0.001 0.001c-0.983 1-3.069 4 0.364 4h8.208c3.433 0 1.347-3 0.364-4-0.854-0.862-1.929-1.504-3.133-1.831l-0.049-0.011z"}),"UserTeamIcon")},44152:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M7 2v6c0 0.6-0.4 1-1 1h-4c-0.6 0-1-0.4-1-1v-6c0-0.6 0.4-1 1-1h4c0.6 0 1 0.4 1 1zM6 11h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 1h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 7h-4c-0.6 0-1 0.4-1 1v6c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}),"WidgetsIcon")},84668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 1l-7 3v8l7 3 7-3v-8l-7-3zM12.9 4.7l-4.9 2.4-4.9-2.4 4.9-2.1 4.9 2.1zM2.5 6.1l4.8 2.4v4.6l-4.8-2.1v-4.9zM8.7 13.1v-4.6l4.8-2.4v4.9l-4.8 2v0.1z"}),"WorkspaceIcon")},75928:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18911),o=n(2784),i=n(95530),a=n(52903),s=function(e,t){var n="string"==typeof t?t:null==t?void 0:t.displayName,s=(0,o.forwardRef)(function(t,o){return(0,a.tZ)(i.Z,(0,r.Zj)((0,r.Zj)({"data-icon":n,ref:o},t),{},{children:e}))});return s.displayName=n,(0,o.memo)(s)}},53860:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||f(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{AI:function(){return c},Ac:function(){return i},Kd:function(){return s},ZQ:function(){return u},Zj:function(){return o},_x:function(){return a},sf:function(){return d},u:function(){return l}})},76013:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(56818),i=n(92307),a=n.n(i),s=n(2784),c=n(98827),u=n(67078),l=n(65590),f=n(52903),p=n(49857),d=["children"],h=a()(function(e){return(0,r.Zj)({},e)}),m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Accordion"}),i=n.children,a=(0,r.Kd)(n,d),s=h({}),m=(0,l.k1)();return(0,f.tZ)(u.S.Provider,{value:s,children:(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},m),a),{},{children:(0,o.Pu)(i,s)}))})});m.displayName="Accordion";var g=m},25619:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(14594),c=n(48580),u=n(52903),l=n(49857),f=["TransitionComponent","TransitionProps"],p=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"AccordionContent"}),i=n.TransitionComponent,p=void 0===i?s.Z:i,d=n.TransitionProps,h=(0,r.Kd)(n,f),m=(0,c.Z)();return m?(0,u.tZ)(p,(0,r.Zj)((0,r.Zj)({appear:!1},d),{},{"aria-hidden":(0,o.Qm)(!(null!=m&&m.isExpanded)),"aria-labelledby":null==m?void 0:m.accordionToggleId,id:null==m?void 0:m.accordionContentId,in:null==m?void 0:m.isExpanded,ref:t,role:"region"},h)):(0,u.tZ)(l.Z,(0,r.Zj)({ref:t},h))});p.displayName="AccordionContent";var d=p},79036:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(5081),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(65204),f=n(20655),p=n(67078),d=function(){if(!c.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,c.useContext)(p.S)},h=n(52903),m=n(49857),g=["children","disabled","isExpanded","defaultIsExpanded","onToggle"],y=s()(function(e){return(0,r.Zj)({},e)}),v=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"AccordionItem"}),a=n.children,s=n.disabled,v=n.isExpanded,b=n.defaultIsExpanded,k=n.onToggle,x=(0,r.Kd)(n,g),w=d(),_=(0,f.Z)(),S="".concat(l.Z.name,":AccordionToggle-").concat(_),O="".concat(l.Z.name,":AccordionContent-").concat(_),E=(0,c.useState)(null!=v?v:b),j=(0,r.ZQ)(E,2),T=j[0],C=j[1];(0,c.useEffect)(function(){void 0!==v&&C(v)},[v]);var A=(0,c.useCallback)(function(){void 0!==v||C(!T),(0,i.zU)(k)({isExpanded:!T})},[T,v,k]),R=y({accordionToggleId:S,accordionContentId:O,disabled:s,isExpanded:T,onToggle:A,variant:null==w?void 0:w.variant});return(0,h.tZ)(p.g.Provider,{value:R,children:(0,h.tZ)(m.Z,(0,r.Zj)((0,r.Zj)({ref:t},x),{},{children:(0,o.Pu)(a,R)}))})});v.displayName="AccordionItem";var b=v},80508:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(48580),l=n(65590),f=n(52903),p=["children","disabled","onClick"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"AccordionToggle"}),a=n.children,d=n.disabled,h=n.onClick,m=(0,r.Kd)(n,p),g=(0,u.Z)(),y=(0,i.pr)(null!=d?d:null==g?void 0:g.disabled),v=(0,l.vo)(),b=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":null==g?void 0:g.accordionContentId,"aria-disabled":(0,o.Qm)(y),"aria-expanded":(0,o.Qm)(null==g?void 0:g.isExpanded),disabled:y,id:null==g?void 0:g.accordionToggleId,onClick:(0,o.N)(h,null==g?void 0:g.onToggle),ref:t,role:"button",tabIndex:0},v),m)};return"function"==typeof a?a({getAccordionToggleProps:b}):(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({},b()),{},{children:a}))})},90094:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(53860),o=n(20325),i=n(21457),a=n(83377),s=n(33558),c=n(56818),u=n(5081),l=n(2784),f=n(41759),p=n(98827),d=n(65590),h=n(48580),m=n(52903),g=n(49857),y=["appear","children","disabled","easing","style","timeout"],v=function(e,t){var n={entering:function(e){return{transform:"rotate(-180deg)"}},entered:function(e){return{transform:"rotate(-180deg)"}},exiting:function(e){return{transform:"rotate(0deg)"}},exited:function(e){return{transform:"rotate(0deg)"}}}[e];return"function"==typeof n?n(t):n},b={enter:a.YU.easeOut,exit:a.YU.easeOut},k={enter:133,exit:Math.floor(93.1)},x=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"AccordionToggleIcon"}),x=n.appear,w=n.children,_=n.disabled,S=n.easing,O=void 0===S?b:S,E=n.style,j=n.timeout,T=void 0===j?k:j,C=(0,r.Kd)(n,y),A=(0,h.Z)(),R=(0,d._X)(),I=(0,l.useRef)(null),P=(0,o.Z)(I,t),Z=(0,u.pr)(null!=_?_:null==A?void 0:A.disabled),N=(0,u.pr)(null==A?void 0:A.isExpanded);return(0,l.useEffect)(function(){if(N){var e=I.current;(0,s.nq)(e)}},[N]),(0,m.tZ)(f.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==x&&x,in:N,nodeRef:I,timeout:T},C),{},{children:function(e,t){var n=N?(0,a.c)({style:E,timeout:T,easing:O}):(0,a.Zk)({style:E,timeout:T,easing:O}),o=(0,a.zx)("transform",n),s=v(e,{}),u=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},R),s),{},{"aria-disabled":(0,c.Qm)(Z),transition:o});return"function"==typeof w?w(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:P,style:(0,r.Zj)((0,r.Zj)({},u),E)})):(0,m.tZ)(g.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:P},u),t),{},{style:E,children:null!=w?w:(0,m.tZ)(i.Z,{size:"4x"})}))}}))});x.displayName="AccordionToggleIcon";var w=x},67078:function(e,t,n){"use strict";n.d(t,{S:function(){return o},g:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},65590:function(e,t,n){"use strict";n.d(t,{QW:function(){return s},Z_:function(){return c},_X:function(){return l},k1:function(){return a},vo:function(){return u}});var r=n(53860),o=n(40596),i=n(27216),a=function(){return{display:"flex",flexDirection:"column"}},s=function(){var e=(0,o.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,i.u)().sizes,a=n["1q"],s=n["4x"],c="calc(".concat(n["3x"]," - ").concat(a,")");return{display:"flex",alignItems:"center",justifyContent:"space-between",columnGap:"4x",backgroundColor:({dark:"gray:90",light:"white"})[t],borderColor:"transparent",borderStyle:"solid",borderWidth:a,color:({dark:"white:primary",light:"black:primary"})[t],_disabled:{color:({dark:"white:disabled",light:"black:disabled"})[t]},px:s,py:c,width:"100%"}},c=function(){return{}},u=function(){return{width:"100%"}},l=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}}},48580:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(67078),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.g)}},62080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(83513),c=n(34730),u=n(12711),l=function(){if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,i.useContext)(u.u)},f=n(52903),p=["disabled","selected","size","variant"],d="default",h=(0,i.forwardRef)(function(e,t){var n,i,u=(0,a.Z)({props:e,name:"Button"}),h=u.disabled,m=u.selected,g=u.size,y=u.variant,v=(0,r.Kd)(u,p),b=h,k=g,x=y,w=l();if(w){var _,S,O,E,j,T,C=(0,r.Zj)({},w),A=C.disabled,R=C.orientation,I=C.size,P=C.variant;b=null!==(S=b)&&void 0!==S?S:A,_=null!=R?R:"horizontal",k=null!==(O=null!==(E=k)&&void 0!==E?E:I)&&void 0!==O?O:"md",x=null!==(j=null!==(T=x)&&void 0!==T?T:P)&&void 0!==j?j:d}else k=null!==(n=k)&&void 0!==n?n:"md",x=null!==(i=x)&&void 0!==i?i:d;var Z={"aria-disabled":(0,o.Qm)(b),"data-selected":(0,o.PB)(m),type:"button",disabled:b,tabIndex:m?-1:void 0},N=(0,c.eJ)({orientation:_,size:k,variant:x});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,as:"button"},Z),N),v))});h.displayName="Button";var m=h},83513:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(34730),c=n(52903),u=n(49857),l=["children","disabled"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"ButtonBase"}),i=n.children,f=n.disabled,p=(0,r.Kd)(n,l),d=(0,s.qz)({disabled:f});return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-disabled":(0,o.Qm)(f),as:"button",type:"button",disabled:f},d),p),{},{children:i}))});f.displayName="ButtonBase";var p=f},12711:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var r=(0,n(2784).createContext)()},34730:function(e,t,n){"use strict";n.d(t,{K7:function(){return h},eJ:function(){return p},qz:function(){return d}});var r=n(53860),o=n(83377),i=n(5081),a=n(40596),s=n(27216),c=function(e){var t,n,r,o,i=e.colorMode,a=e.theme;return{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],borderColor:"transparent",color:({dark:"white:emphasis",light:"black:emphasis"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"gray:50",light:"gray:10"})[i],zIndex:2},_active:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},u=function(e){var t,n,r,o,i=e.colorMode,a=e.theme,s={dark:"gray:60",light:"gray:30"}[i],c={dark:"blue:50",light:"blue:50"}[i],u={dark:"blue:40",light:"blue:60"}[i];return{borderColor:s,color:({dark:"white:primary",light:"black:primary"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{color:u,"&:not(:focus-visible)":{borderColor:c},zIndex:2},_active:{borderColor:c,backgroundColor:({dark:"rgba(0, 0, 0, 0.12)",light:"rgba(0, 0, 0, 0.08)"})[i],color:u},_disabled:{borderColor:s,color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},l=function(e){var t=e.colorMode,n=u({colorMode:t,theme:e.theme}),o={dark:"gray:70",light:"gray:30"}[t],i={dark:"gray:70",light:"gray:30"}[t],a={dark:"white:emphasis",light:"black:emphasis"}[t];return(0,r.Zj)((0,r.Zj)({},n),{},{borderColor:"transparent",_disabled:(0,r.Zj)((0,r.Zj)({},n._disabled),{},{borderColor:"transparent",cursor:"not-allowed"}),_selected:{backgroundColor:o,borderColor:i,color:a,pointerEvents:"none"}})},f=function(e){var t,n,r,o,i=e.color,a=e.colorMode,s=e.theme;return{backgroundColor:({dark:"".concat(i,":60"),light:"".concat(i,":60")})[a],borderColor:"transparent",color:({dark:"white:emphasis",light:"white:emphasis"})[a],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[a],boxShadow:["inset 0 0 0 ".concat(null==s?void 0:null===(t=s.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==s?void 0:null===(n=s.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[a]]),"inset 0 0 0 ".concat(null==s?void 0:null===(r=s.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==s?void 0:null===(o=s.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[a]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"".concat(i,":50"),light:"".concat(i,":50")})[a],zIndex:2},_active:{backgroundColor:({dark:"".concat(i,":70"),light:"".concat(i,":70")})[a]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[a],color:({dark:"white:emphasis",light:"black:emphasis"})[a],cursor:"not-allowed",opacity:({dark:.28,light:.3})[a]},_selected:{backgroundColor:({dark:"".concat(i,":80"),light:"".concat(i,":80")})[a],color:({dark:"white:emphasis",light:"white:emphasis"})[a],pointerEvents:"none"}}},p=function(e){var t=e.orientation,n=e.size,i=e.variant,p=(0,a.Z)(),d=(0,r.ZQ)(p,1)[0],h=(0,s.u)(),m={display:"inline-flex",alignItems:"center",justifyContent:"center",appearance:"none",userSelect:"none",whiteSpace:"nowrap",border:1,borderRadius:"sm",px:"3x",transition:(0,o.zx)(["background-color","border-color","box-shadow","color"],{duration:200})},g={secondary:u({colorMode:d,theme:h}),ghost:l({colorMode:d,theme:h}),emphasis:f({color:"red",colorMode:d,theme:h}),primary:f({color:"blue",colorMode:d,theme:h}),default:c({colorMode:d,theme:h})}[i];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},m),{horizontal:{_notFirstOfType:{borderTopLeftRadius:0,borderBottomLeftRadius:0},_notLastOfType:{borderTopRightRadius:0,borderBottomRightRadius:0}},vertical:{_notFirstOfType:{borderTopLeftRadius:0,borderTopRightRadius:0},_notLastOfType:{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}[t]),{lg:{minHeight:"10x",fontSize:"md",lineHeight:"md"},md:{minHeight:"8x",fontSize:"sm",lineHeight:"sm"},sm:{minHeight:"6x",fontSize:"sm",lineHeight:"sm"}}[n]),g)},d=function(e){var t=e.disabled;return{appearance:"none",backgroundColor:"inherit",border:"none",color:"inherit",cursor:(0,i.pr)(t)?"not-allowed":"pointer",outline:0,padding:0}},h=function(e){var t=e.orientation;return(0,r.Zj)({display:"inline-flex"},{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}[t])}},78366:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(53860),o=n(2784),i=n(98827),a=n(40596),s=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0];return{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[t],borderRadius:"sm",color:({dark:"white:primary",light:"black:primary"})[t],fontFamily:"mono",px:"1x"}},c=n(52903),u=n(49857),l=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Code"}),o=s();return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"code",ref:t},o),n))});l.displayName="Code";var f=l},14641:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(33558),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(43901),f=function(e){var t,n,r=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e);if(r)return r.matches},p={dark:"(prefers-color-scheme: dark)"},d=function(e){var t;return(null!==(t=f(p.dark))&&void 0!==t?t:"dark"===e)?"dark":"light"},h=n(52903),m=function(e){return"dark"===e?"dark":"light"},g=s()(function(e){return(0,r.Zj)({},e)}),y=function(e,t){return void 0===t?"dark"===e?"light":"dark":m(t)},v=function(e){var t=(0,u.Z)({props:e,name:"ColorModeProvider"}),n=t.children,a=t.defaultValue,s=t.value,f=t.onChange,v=t.useSystemColorMode,b="dark"===a?"dark":"light",k=(0,c.useReducer)(y,m(null!=s?s:b)),x=(0,r.ZQ)(k,2),w=x[0],_=x[1];(0,c.useEffect)(function(){void 0!==s&&_(s)},[s]);var S=(0,c.useCallback)(function(e){void 0!==s?_(s):_(e),"function"==typeof f&&f(e)},[s,f]);(0,c.useEffect)(function(){if(null!=s||!v||!(0,i.Nq)())return o.ZT;S(d(b));var e,t,n=null===(e=window)||void 0===e?void 0:null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,p.dark),r=function(){S(n.matches?"dark":"light")};return n.addEventListener("change",r),function(){n.removeEventListener("change",r)}},[a,s,v,b,S]);var O=g({colorMode:w,onChange:S});return(0,h.tZ)(l.k.Provider,{value:O,children:n})};v.displayName="ColorModeProvider";var b=v},43901:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=(0,n(2784).createContext)()},40596:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5081),o=n(2784),i=n(43901),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var e=(0,o.useContext)(i.k);if(void 0===e)throw Error("The `useColorMode` hook must be called from a descendent of the `ColorModeProvider`.");var t=(0,r.ks)(e),n=t.colorMode,a=t.onChange,s=(0,o.useCallback)(function(e){"function"==typeof e&&(e=e(n)),a(e)},[n,a]);return[n,s]}},45437:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=n(56818),i=(r=!1,function(e,t){return r?e:new Proxy(e,{get:function(){return r||(null==t||t(),r=!0),Reflect.get.apply(Reflect,arguments)}})}),a={dark:{background:{primary:"gray:100",secondary:"gray:90",tertiary:"gray:80",inverted:"gray:10",inverse:"gray:10",highlighted:"rgba(255, 255, 255, 0.12)",selected:"rgba(255, 255, 255, 0.08)"},color:{emphasis:"white:emphasis",primary:"white:primary",secondary:"white:secondary",tertiary:"white:tertiary",disabled:"white:disabled",success:"green:40",info:"blue:40",warning:"orange:50",error:"red:50"},divider:"rgba(255, 255, 255, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.48), 0 1px 2px 0 rgba(0, 0, 0, 0.16)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.48), 0 2px 4px 0 rgba(0, 0, 0, 0.16)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.48), 0 4px 8px 0 rgba(0, 0, 0, 0.16)"},severity:i({critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}},light:{background:{primary:"white:emphasis",secondary:"gray:10",tertiary:"gray:20",inverted:"gray:70",inverse:"gray:70",highlighted:"rgba(0, 0, 0, 0.12)",selected:"rgba(0, 0, 0, 0.08)"},color:{emphasis:"black:emphasis",primary:"black:primary",secondary:"black:secondary",tertiary:"black:tertiary",disabled:"black:disabled",success:"green:50",info:"blue:60",warning:"orange:50",error:"red:60"},divider:"rgba(0, 0, 0, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.08)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.16), 0 2px 4px 0 rgba(0, 0, 0, 0.08)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.16), 0 4px 8px 0 rgba(0, 0, 0, 0.08)"},severity:i({critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}}}},44702:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=(0,n(2784).createContext)()},85017:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(43901),s=n(44702),c=function(e){var t=(0,o.ks)(e).colorMode,n=(0,o.ks)((0,i.useContext)(a.k)).colorMode,c=null!=t?t:n;if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var u=(0,i.useContext)(s.I);if(void 0===u)throw Error("The `useColorStyle` hook must be called from a descendent of the `ColorStyleProvider`.");var l=(0,o.ks)(u),f=l.colorStyle,p=l.onChange;if(!Object.prototype.hasOwnProperty.call(f,c))throw Error("The `colorMode` must be one of:",Object.keys(f));return[(0,o.ks)(f[c]),(0,i.useCallback)(function(e){"function"==typeof e&&(e=e(f)),p((0,r.Zj)((0,r.Zj)({},f),{},(0,r._x)({},c,(0,o.ks)(e))))},[c,f,p])]}},79808:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=(0,n(2784).createContext)({})},98827:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),o=n(79808),i=n(53860),a=function e(t,n){for(var r=(0,i.Zj)({},n),o=0,a=Object.entries(t);o *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child) > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0}})},T=function(){return{display:"flex",ml:-1}},C=function(){return(0,o.Z)({"& > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:not(:first-of-type) > *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0}})},A=function(){return{display:"flex",mr:-1}},R=function(e){var t=e.variant,n=(0,i.Z)(),a=(0,r.ZQ)(n,1)[0],c={dark:"blue:60",light:"blue:60"}[a],u=(0,r._x)((0,r._x)((0,r._x)({},s.GY,"border"),s.$r,"border"),s.n2,"borderBottom")[t];if(!u)return{};var l="".concat(u,"Color");return(0,o.Z)({"&:has(> input:focus:invalid), &:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c),"&:hover:has(> input:invalid), &:hover:has(> input[aria-invalid=true])":(0,r._x)({},l,{dark:"red:50",light:"red:60"}[a]),"&:hover:has(> input:focus:invalid), &:hover:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c)})},I=function(e){var t,n=e.inputState,o=e.size,a=e.variant,c=(0,i.Z)(),u=(0,r.ZQ)(c,1)[0],l=(t=({sm:{fontSize:"sm",lineHeight:"sm",height:"6x"},md:{fontSize:"sm",lineHeight:"sm",height:"8x"},lg:{fontSize:"md",lineHeight:"md",height:"10x"}})[o],a===s.rO&&(t.height=void 0),t),f=y({colorMode:u,inputState:n,variant:a});return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",alignItems:"center",position:"relative",transition:"all .2s"}),l),f)},P=function(e){var t,n=e.inputState,o=e.size,i=e.variant,c=e.startAdornment,u=e.endAdornment,l=(0,a.u)().sizes,f={cursor:null!=n&&n.disabled?"not-allowed":void 0,width:"100%"},p=(t=({sm:{fontSize:"sm",lineHeight:"sm"},md:{fontSize:"sm",lineHeight:"sm"},lg:{fontSize:"md",lineHeight:"md"}})[o],(i===s.GY||i===s.$r)&&(t.px="calc(".concat(l["3x"]," - ").concat(l["1q"],")")),c&&u&&(t.px=void 0),c&&!u&&(t.pr=t.px,t.px=void 0),!c&&u&&(t.pl=t.px,t.px=void 0),t);return(0,r.Zj)((0,r.Zj)({},f),p)}},40374:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(71247),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.K)}},19088:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(10130),c=n(52903),u=n(49857),l=["disabled","onClick","textDecoration"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"Link"}),f=n.disabled,p=n.onClick,d=n.textDecoration,h=(0,r.Kd)(n,l),m=(0,s.$)({disabled:f,textDecoration:d}),g=(0,i.useCallback)(function(e){return e.preventDefault()},[]);return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"a",ref:t,"aria-disabled":(0,o.Qm)(f),onClick:f?g:p},m),h))});f.displayName="Link";var p=f},10130:function(e,t,n){"use strict";n.d(t,{$:function(){return i},u:function(){return a}});var r=n(53860),o=n(40596),i=function(e){var t=e.disabled,n=e.textDecoration,i=(0,o.Z)(),a=(0,r.ZQ)(i,1)[0];return{color:({light:"blue:60",dark:"blue:40"})[a],cursor:"pointer",textDecoration:null!=n?n:"none",display:"inline-flex",alignItems:"center",_disabled:{color:({light:"black:disabled",dark:"white:disabled"})[a],cursor:"not-allowed"},_visited:{color:({light:"purple:60",dark:"purple:50"})[a]},_hover:{color:({light:"blue:50",dark:"blue:40"})[a],textDecoration:t?n:n?"none":"underline"},_active:{color:"blue:60",textDecoration:null!=n?n:t?"none":"underline"}}},a=function(){return{}}},15192:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(53860),o=n(25013),i=n(70404),a=n(56818),s=n(5081),c=n(92307),u=n.n(c),l=n(2784),f=n(98827),p=n(65204),d=n(20655),h=n(52741),m=n(99723),g=n(52903),y=n(49857),v=["anchorEl","autoSelect","children","closeOnBlur","closeOnSelect","defaultActiveIndex","defaultIsOpen","isOpen","offset","onClose","onOpen","placement","returnFocusOnClose"],b=u()(function(e){return(0,r.Zj)({},e)}),k=(0,l.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Menu"}),c=n.anchorEl,u=n.autoSelect,k=n.children,x=n.closeOnBlur,w=n.closeOnSelect,_=n.defaultActiveIndex,S=void 0===_?-1:_,O=n.defaultIsOpen,E=n.isOpen,j=n.offset,T=n.onClose,C=n.onOpen,A=n.placement,R=void 0===A?"bottom-start":A,I=n.returnFocusOnClose,P=void 0===I||I,Z=(0,r.Kd)(n,v),N=(0,l.useRef)(null),F=(0,l.useRef)(null),L=(0,l.useState)(S),M=(0,r.ZQ)(L,2),D=M[0],B=M[1],z=(0,l.useState)(null!=E?E:void 0!==O&&O),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q=(0,o.Z)(U),W=(0,l.useCallback)(function(){return N.current?(0,i.t)(N.current).filter(function(e){return"menuitem"===e.getAttribute("role")}):[]},[]);(0,l.useEffect)(function(){void 0!==E&&H(E)},[E]),(0,l.useEffect)(function(){U&&requestAnimationFrame(function(){W().forEach(function(e,t){return 0===t&&e.setAttribute("tabindex",0)})})},[U,W]),(0,l.useEffect)(function(){-1!==D&&requestAnimationFrame(function(){var e=W(),t=e[D];t&&t.focus(),e.forEach(function(e,t){t===D?e.setAttribute("tabindex",0):e.setAttribute("tabindex",-1)})}),-1===D&&!U&&q&&P&&requestAnimationFrame(function(){var e=F.current;e&&e.focus()}),-1===D&&U&&!q&&requestAnimationFrame(function(){var e=N.current;e&&e.focus()})},[U,D,W,N,F,q,P]);var V=(0,l.useCallback)(function(){void 0!==E||H(!0),"function"==typeof C&&C()},[E,C]),K=(0,l.useCallback)(function(){W().length>0&&B(0)},[W]),Q=(0,l.useCallback)(function(){var e=W();e.length>0&&B(e.length-1)},[W]),G=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D+1)%e.length)},[D,W]),Y=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D-1+e.length)%e.length)},[D,W]),X=(0,l.useCallback)(function(){void 0!==E||H(!1),"function"==typeof T&&T(),B(S),W().forEach(function(e){return e.setAttribute("tabindex",-1)})},[W,E,T,S]);c&&(F.current=c);var J=(0,d.Z)(),ee="".concat(p.Z.name,":Menu-").concat(J),et="".concat(p.Z.name,":MenuToggle-").concat(J),en=b({autoSelect:void 0!==u&&u,closeOnBlur:void 0===x||x,closeOnSelect:void 0===w||w,direction:{top:"up",bottom:"down"}[(0,s.Zs)(R).split("-")[0]],focusOnFirstItem:K,focusOnLastItem:Q,focusOnNextItem:G,focusOnPreviousItem:Y,isOpen:U,offset:j,onClose:X,onOpen:V,placement:R,menuId:ee,menuContentRef:N,menuToggleId:et,menuToggleRef:F}),er=(0,m.uq)();return(0,g.tZ)(h.p.Provider,{value:en,children:(0,g.tZ)(y.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},er),Z),{},{children:(0,a.Pu)(k,en)}))})});k.displayName="Menu";var x=k},66785:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(2784),i=n(62080),a=n(98827),s=n(12226),c=n(24718),u=n(99723),l=n(52903),f=n(49857),p=["children","css","disabled","onClick","onKeyDown","variant"],d=(0,o.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"MenuButton"}),o=n.children,d=n.css,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=n.variant,v=(0,r.Kd)(n,p),b=[(0,u.lp)({variant:y}),d],k=(0,u.q8)();return(0,l.tZ)(s.Z,{disabled:h,onClick:m,onKeyDown:g,children:function(e){var n=e.getMenuToggleProps;return(0,l.BX)(i.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,css:b,variant:y},n()),k),v),{},{children:[(0,l.tZ)(f.Z,{children:o}),(0,l.tZ)(c.Z,{})]}))}})});d.displayName="MenuButton";var h=d},47721:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(98827),u=n(67250),l=n(14594),f=n(99723),p=n(8031),d=n(52903),h=["PopperComponent","PopperProps","TransitionComponent","TransitionProps","children","onBlur","onKeyDown"],m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuContent"}),m=n.PopperComponent,g=void 0===m?u.Z:m,y=n.PopperProps,v=n.TransitionComponent,b=void 0===v?l.Z:v,k=n.TransitionProps,x=n.children,w=n.onBlur,_=n.onKeyDown,S=(0,r.Kd)(n,h),O=(0,s.useRef)(null),E=(0,o.Z)(O,t),j=(0,p.Z)(),T=(0,r.Zj)({},j),C=T.closeOnBlur,A=T.isOpen,R=T.focusOnFirstItem,I=T.focusOnLastItem,P=T.focusOnNextItem,Z=T.focusOnPreviousItem,N=T.menuId,F=T.menuToggleId,L=T.menuToggleRef,M=T.menuContentRef,D=T.offset,B=T.onClose,z=T.placement,$={};$.onBlur=function(e){var t,n,r,o,i=e.relatedTarget||document.activeElement,s=!(null!==(t=L.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,i)),c=!(null!==(r=M.current)&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,i));A&&C&&i&&s&&c&&(0,a.zU)(B)()},$.onKeyDown=function(e){var t=null==e?void 0:e.key,n=null==e?void 0:e.shiftKey;"ArrowDown"===t&&(e.preventDefault(),(0,a.zU)(P)()),"ArrowUp"===t&&(e.preventDefault(),(0,a.zU)(Z)()),"End"===t&&(e.preventDefault(),(0,a.zU)(I)()),"Home"===t&&(e.preventDefault(),(0,a.zU)(R)()),"Tab"===t&&(e.preventDefault(),(0,a.zU)(n?Z:P)()),"Escape"===t&&(0,a.zU)(B)()};var U=(0,f.Pn)({tabIndex:-1}),H=(0,a.rY)(D),q=(0,r.ZQ)(H,2),W=q[0],V=void 0===W?0:W,K=q[1],Q=void 0===K?0:K,G=(0,s.useMemo)(function(){return[{name:"flip",enabled:!1},{name:"offset",options:{offset:[V,Q]}}]},[V,Q]);return(0,d.tZ)(g,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-labelledby":F,anchorEl:null==L?void 0:L.current,"data-menu-id":N,id:N,isOpen:A,placement:z,ref:M,role:"menu",tabIndex:-1,unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"dropdown",onBlur:(0,i.N)(w,$.onBlur),onKeyDown:(0,i.N)(_,$.onKeyDown)},y),{},{modifiers:[].concat((0,r.u)(G),(0,r.u)((0,a.rY)(null==y?void 0:y.modifiers)))},U),S),{},{children:function(e){e.placement;var t=e.transition,n=(0,r.Zj)({},t),o=n.in,a=n.onEnter,s=n.onExited;return(0,d.tZ)(b,(0,r.Zj)((0,r.Zj)({appear:!0,easing:"linear",timeout:{enter:133,exit:Math.floor(93.1)}},k),{},{ref:E,in:o,onEnter:(0,i.PP)(a,null==k?void 0:k.onEnter),onExited:(0,i.PP)(s,null==k?void 0:k.onExited),children:x}))}}))});m.displayName="MenuContent";var g=m},3342:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(72448),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuDivider"}),o=(0,s.ue)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuDivider";var l=u},94829:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(99723),l=n(8031),f=n(52903),p=["disabled","onClick","onKeyDown","role"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuItem"}),a=n.disabled,d=n.onClick,h=n.onKeyDown,m=n.role,g=(0,r.Kd)(n,p),y=(0,l.Z)(),v=(0,r.Zj)({},y),b=v.closeOnSelect,k=v.onClose,x=(0,u.XP)({tabIndex:-1});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({ref:t,role:void 0===m?"menuitem":m,tabIndex:-1,disabled:a,"aria-disabled":(0,o.Qm)(a),onClick:(0,o.N)(d,function(e){if(a){e.stopPropagation(),e.preventDefault();return}b&&(0,i.zU)(k)()}),onKeyDown:(0,o.N)(h,function(e){!a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d&&(0,i.zU)(d)(),b&&(0,i.zU)(k)())})},x),g))});d.displayName="MenuItem";var h=d},87888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(47721),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuList"}),o=(0,s.id)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuList";var l=u},12226:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(83513),u=n(98827),l=n(99723),f=n(8031),p=n(52903),d=["children","disabled","onClick","onKeyDown"],h=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"MenuToggle"}),s=n.children,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=(0,r.Kd)(n,d),v=(0,f.Z)(),b=(0,r.Zj)({},v),k=b.autoSelect,x=b.focusOnLastItem,w=b.focusOnFirstItem,_=b.isOpen,S=b.menuId,O=b.menuToggleId,E=b.menuToggleRef,j=b.onClose,T=b.onOpen,C=(0,o.Z)(E,t),A=(0,l.Z7)(),R=(0,i.N)(m,function(e){if(h){e.preventDefault();return}if(_){(0,a.zU)(j)();return}(0,a.zU)(T)(),k&&w()}),I=(0,i.N)(g,function(e){if(h){e.preventDefault();return}if("ArrowDown"===e.key){(0,a.zU)(T)(),(0,a.zU)(w)();return}if("ArrowUp"===e.key){(0,a.zU)(T)(),(0,a.zU)(x)();return}}),P=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":S,"aria-disabled":(0,i.Qm)(h),"aria-expanded":(0,i.Qm)(_),"aria-haspopup":"menu",disabled:h,id:O,onClick:R,onKeyDown:I,ref:C,role:"button",tabIndex:0},A),y)};return"function"==typeof s?s({getMenuToggleProps:P}):(0,p.tZ)(c.Z,(0,r.Zj)((0,r.Zj)({},P()),{},{children:s}))});h.displayName="MenuToggle";var m=h},24718:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(20325),i=n(85163),a=n(20012),s=n(40809),c=n(45795),u=n(83377),l=n(33558),f=n(56818),p=n(2784),d=n(41759),h=n(98827),m=n(99723),g=n(8031),y=n(52903),v=n(49857),b=["appear","children","disabled","easing","style","timeout"],k=function(e,t){var n={entering:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},entered:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},exiting:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}},exited:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}}}[e];return"function"==typeof n?n(t):n},x={enter:u.YU.easeOut,exit:u.YU.easeOut},w={enter:133,exit:Math.floor(93.1)},_=(0,p.forwardRef)(function(e,t){var n=(0,h.Z)({props:e,name:"MenuToggleIcon"}),_=n.appear,S=n.children,O=n.disabled,E=n.easing,j=void 0===E?x:E,T=n.style,C=n.timeout,A=void 0===C?w:C,R=(0,r.Kd)(n,b),I=(0,g.Z)(),P=(0,r.Zj)({},I),Z=P.isOpen,N=P.direction,F=(0,m.ar)(),L=(0,p.useRef)(null),M=(0,o.Z)(L,t);return(0,p.useEffect)(function(){if(Z){var e=L.current;(0,l.nq)(e)}},[Z]),(0,y.tZ)(d.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==_&&_,in:Z,nodeRef:L,timeout:A},R),{},{children:function(e,t){var n=Z?(0,u.c)({style:T,timeout:A,easing:j}):(0,u.Zk)({style:T,timeout:A,easing:j}),o=(0,u.zx)("transform",n),l=k(e,{direction:N}),p=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},F),l),{},{"aria-disabled":(0,f.Qm)(O),transition:o});if("function"==typeof S)return S(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:M,style:(0,r.Zj)((0,r.Zj)({},p),T)}));var d={up:i.Z,down:a.Z,left:s.Z,right:c.Z}[N];return(0,y.tZ)(v.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:M},p),t),{},{style:T,children:null!=S?S:!!d&&(0,y.tZ)(d,{size:"4x"})}))}}))});_.displayName="MenuToggleIcon";var S=_},52741:function(e,t,n){"use strict";n.d(t,{p:function(){return o},z:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99723:function(e,t,n){"use strict";n.d(t,{$T:function(){return y},Ln:function(){return p},O6:function(){return b},Pn:function(){return l},TP:function(){return k},XP:function(){return d},Z7:function(){return m},_N:function(){return v},ar:function(){return g},id:function(){return f},lp:function(){return c},q8:function(){return u},ue:function(){return h},uq:function(){return s}});var r=n(53860),o=n(30608),i=n(40596),a=n(85017),s=function(){return{position:"relative",display:"inline-flex"}},c=function(e){var t=e.variant,n=(0,i.Z)(),a={dark:"white:primary",light:"black:primary"}[(0,r.ZQ)(n,1)[0]];return(0,o.Z)((0,r.Zj)({},{ghost:{"&:hover":{color:a},"&:active":{color:a}},secondary:{"&:hover":{color:a},"&:active":{color:a}}}[t]))},u=function(){return{display:"inline-flex",alignItems:"center",justifyContent:"space-between",columnGap:"1x"}},l=function(e){return{outline:e.tabIndex<0?0:void 0}},f=function(){var e,t,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0],s=(0,a.Z)({colorMode:o}),c=(0,r.ZQ)(s,1)[0],u={dark:{backgroundColor:"gray:80",boxShadow:null==c?void 0:null===(e=c.shadow)||void 0===e?void 0:e.medium},light:{backgroundColor:"white",boxShadow:null==c?void 0:null===(t=c.shadow)||void 0===t?void 0:t.medium}}[o];return(0,r.Zj)((0,r.Zj)({},u),{},{color:"inherit",m:"0",p:"0",py:"2x"})},p=function(){var e=(0,i.Z)();return{px:"3x",py:"2x",color:({dark:"white:secondary",light:"black:secondary"})[(0,r.ZQ)(e,1)[0]]}},d=function(e){var t=e.tabIndex,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0];return{fontSize:"sm",lineHeight:"sm",color:({dark:"white:primary",light:"black:primary"})[o],cursor:"pointer",display:"flex",textDecoration:"none",alignItems:"center",textAlign:"left",outline:t<0?0:void 0,px:"3x",py:"2x",userSelect:"none",width:"100%",_focusVisible:{outlineColor:({dark:"blue:60",light:"blue:60"})[o],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[o]},_selected:{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[o]},_disabled:{backgroundColor:"inherit",color:({dark:"white:disabled",light:"black:disabled"})[o],cursor:"not-allowed"}}},h=function(){return{my:"2x"}},m=function(){return{display:"inline-flex"}},g=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}},y=function(){return{position:"relative"}},v=function(e){return{outline:e.tabIndex<0?0:void 0}},b=function(e){var t,n,o,s=e.isOpen,c=e.placement,u=(0,i.Z)(),l=(0,r.ZQ)(u,1)[0],f=(0,a.Z)({colorMode:l}),p=(0,r.ZQ)(f,1)[0],d={light:{backgroundColor:"white",boxShadow:null==p?void 0:null===(t=p.shadow)||void 0===t?void 0:t.medium},dark:{backgroundColor:"gray:80",boxShadow:null==p?void 0:null===(n=p.shadow)||void 0===n?void 0:n.medium}}[l],h=function(e){return({"right-start":{position:"absolute",top:0,left:"100%"},"right-end":{position:"absolute",bottom:0,left:"100%"},"left-start":{position:"absolute",top:0,right:"100%"},"left-end":{position:"absolute",bottom:0,right:"100%"}})[e]},m=null!==(o=h(c))&&void 0!==o?o:h("right-start");return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},d),m),{},{color:"inherit",display:s?"block":"none",m:"0",p:"0",py:"2x"})},k=function(){return{cursor:"pointer",display:"inline-flex"}}},8031:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(52741),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.p)}},13462:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(70404),i=n(56818),a=n(92307),s=n.n(a),c=n(2784),u=n(64355),l=n.n(u),f=n(98827),p=n(47732),d=n(3241),h=n(20325),m=n(53638),g=n(13692),y=n(52903),v=n(49857),b=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"ModalContainer"}),o=(0,g.Z)(),i=(0,r.Zj)({},o),a=i.closeOnOutsideClick,s=i.onClose,c=i.containerRef,u=(0,h.Z)(c,t),l=(0,m.ix)(),p=(0,r.Zj)((0,r.Zj)({ref:u,onClick:function(e){e.stopPropagation(),a&&"function"==typeof s&&s(e)}},l),n);return(0,y.tZ)(v.Z,(0,r.Zj)({},p))});b.displayName="ModalContainer";var k=n(77762),x=["autoFocus","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","portalProps","returnFocusOnClose","scrollBehavior","size"],w=s()(function(e){return(0,r.Zj)({},e)}),_=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Modal"}),a=n.autoFocus,s=void 0!==a&&a,u=n.children,h=n.closeOnEsc,m=n.closeOnOutsideClick,g=n.ensureFocus,v=void 0!==g&&g,_=n.finalFocusRef,S=n.initialFocusRef,O=n.isClosable,E=n.isOpen,j=void 0!==E&&E,T=n.onClose,C=n.portalProps,A=n.returnFocusOnClose,R=n.scrollBehavior,I=n.size,P=(0,r.Kd)(n,x),Z=(0,c.useState)(j),N=(0,r.ZQ)(Z,2),F=N[0],L=N[1],M=(0,c.useRef)(),D=(0,c.useRef)(),B=w({autoFocus:s,closeOnEsc:void 0!==h&&h,closeOnOutsideClick:void 0!==m&&m,ensureFocus:v,finalFocusRef:_,initialFocusRef:S,isClosable:void 0!==O&&O,isOpen:j,onClose:T,scrollBehavior:void 0===R?"inside":R,size:void 0===I?"auto":I,containerRef:M,contentRef:D,placement:"center"}),z=(void 0===A||A)&&!_,$=(0,c.useCallback)(function(){if(S&&S.current){var e=S.current;"function"==typeof e.focus&&e.focus();return}if(D.current){var t=D.current;if((0,o.t)(t).length>0)return;"function"==typeof t.focus&&t.focus()}},[S]),U=(0,c.useCallback)(function(){if(_&&_.current){var e=_.current;"function"==typeof e.focus&&e.focus()}},[_]),H=(0,c.useCallback)(function(){L(!1)},[]);return(0,c.useEffect)(function(){if(j&&!F){L(!0);return}},[j,F]),(0,y.tZ)(k.t.Provider,{value:B,children:(0,y.tZ)(d.Z,{in:j,onExitComplete:H,children:!!F&&(0,y.tZ)(p.Z,(0,r.Zj)((0,r.Zj)({},C),{},{children:(0,y.tZ)(l(),{disabled:!v,autoFocus:s,returnFocus:z,onActivation:$,onDeactivation:U,children:(0,y.tZ)(b,(0,r.Zj)((0,r.Zj)({ref:t},P),{},{children:(0,i.Pu)(u,B)}))})}))})})});_.displayName="Modal";var S=_},40736:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(56818),a=n(2784),s=n(98827),c=n(62272),u=n(48504),l=n(97198),f=n(83513),p=n(53638),d=n(13692),h=n(52903),m=["children","onClick"],g=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalCloseButton"}),o=n.children,a=n.onClick,c=(0,r.Kd)(n,m),u=(0,d.Z)(),g=(0,r.Zj)({},u).onClose,y=(0,p.Zr)();return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-label":"Close",ref:t,onClick:(0,i.N)(a,g)},y),c),{},{children:null!=o?o:(0,h.tZ)(l.Z,{size:"4x"})}))});g.displayName="ModalCloseButton";var y=["TransitionComponent","TransitionProps","children"],v=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalContent"}),a=n.TransitionComponent,l=void 0===a?c.Z:a,f=n.TransitionProps,m=n.children,v=(0,r.Kd)(n,y),b=(0,u.Z)(),k=(0,r.ZQ)(b,2)[1],x=(0,d.Z)(),w=(0,r.Zj)({},x),_=w.closeOnEsc,S=w.isClosable,O=w.isOpen,E=w.onClose,j=w.scrollBehavior,T=w.size,C=w.contentRef,A=w.placement,R=(0,o.Z)(C,t),I=(0,p.fT)({placement:A,scrollBehavior:j,size:T,tabIndex:-1}),P=(0,r.Zj)((0,r.Zj)({"aria-modal":(0,i.Qm)(!0),ref:R,role:"dialog",tabIndex:-1,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),_&&"function"==typeof E&&E(e))}},I),v);return(0,h.BX)(l,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!x},f),P),{},{in:!x||O,onExited:(0,i.PP)(k,null==f?void 0:f.onExited),children:[m,!!S&&(0,h.tZ)(g,{})]}))});v.displayName="ModalContent";var b=v},21400:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(33558),a=n(56818),s=n(5081),c=n(2784),u=n(98827),l=n(62272),f=n(48504),p=n(53638),d=n(13692),h=n(52903),m=["TransitionComponent","TransitionProps"],g=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ModalOverlay"}),g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,b=(0,r.Kd)(n,m),k=(0,f.Z)(),x=(0,r.ZQ)(k,2)[1],w=(0,d.Z)(),_=(0,r.Zj)({},w),S=_.isOpen,O=_.scrollBehavior,E=_.containerRef,j=_.contentRef,T=(0,c.useRef)(),C=(0,o.Z)(T,t),A=(0,p.Yw)(),R=(0,r.Zj)((0,r.Zj)({ref:C},A),b);return(0,c.useEffect)(function(){var e=function(){var e,t,n,r,o=null==T?void 0:T.current;if(o){var a=(null==E?void 0:E.current)&&(0,i.Dx)(null==E?void 0:E.current),c=(0,s.pE)(parseFloat(null==a?void 0:a.paddingLeft)+parseFloat(null==a?void 0:a.paddingRight)),u=(0,s.pE)(parseFloat(null==a?void 0:a.paddingTop)+parseFloat(null==a?void 0:a.paddingBottom)),l=(0,s.pE)(null==j?void 0:null===(e=j.current)||void 0===e?void 0:e.offsetWidth)+c,f=(0,s.pE)(null==j?void 0:null===(t=j.current)||void 0===t?void 0:t.offsetHeight)+u;l>(null==E?void 0:null===(n=E.current)||void 0===n?void 0:n.offsetWidth)?o.style.width="".concat(l,"px"):o.style.width="",f>(null==E?void 0:null===(r=E.current)||void 0===r?void 0:r.offsetHeight)?o.style.height="".concat(f,"px"):o.style.height=""}};e();var t=null,n=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(t){e()}),E.current&&t.observe(E.current),j.current&&t.observe(j.current)),function(){t&&t.disconnect()}},[O,E,j]),(0,h.tZ)(y,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!w},v),R),{},{in:!w||S,onExited:(0,a.PP)(x,null==v?void 0:v.onExited)}))});g.displayName="ModalOverlay";var y=g},77762:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=(0,n(2784).createContext)()},53638:function(e,t,n){"use strict";n.d(t,{IB:function(){return g},Yw:function(){return f},Zr:function(){return d},fT:function(){return p},ix:function(){return l},mS:function(){return m},vZ:function(){return h}});var r=n(53860),o=n(77485),i=n.n(o),a=n(40596),s=n(85017),c=n(31131),u=n(27216),l=function(){return{position:"fixed",left:0,right:0,top:0,bottom:0,display:"flex",overflow:"auto",zIndex:"modal"}},f=function(){var e=(0,a.Z)();return{position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundColor:({dark:"rgba(0, 0, 0, .7)",light:"rgba(0, 0, 0, .7)"})[(0,r.ZQ)(e,1)[0]]}},p=function(e){var t,n,o=e.placement,i=e.scrollBehavior,c=e.size,u=e.tabIndex,l=(0,a.Z)(),f=(0,r.ZQ)(l,1)[0],p=(0,s.Z)({colorMode:f}),d=(0,r.ZQ)(p,1)[0],h={light:{color:"black:primary",bg:"white",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:30",boxShadow:null==d?void 0:null===(t=d.shadow)||void 0===t?void 0:t.thick},dark:{color:"white:primary",bg:"gray:90",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:80",boxShadow:null==d?void 0:null===(n=d.shadow)||void 0===n?void 0:n.thick}}[f];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",flexDirection:"column",outline:u<0?0:void 0,overflow:"clip",position:"relative"}),h),{center:{margin:"auto"}}[o]),{xs:{width:352,minHeight:240,maxHeight:"inside"===i?"80vh":void 0},sm:{width:512,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},md:{width:672,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},lg:{width:832,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},xl:{width:992,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},full:{maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0,minHeight:"stretch",width:"100%"},auto:{width:"auto",height:"auto",maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0}}[void 0===c?"auto":c])},d=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)().sizes,o=(0,c.P)({color:{dark:"white:tertiary",light:"black:tertiary"}[t],size:"8x"}),i=n["1q"],s="calc(".concat(n["2x"]," - ").concat(i,")"),l="calc(".concat(n["2x"]," - ").concat(i,")");return(0,r.Zj)((0,r.Zj)({},o),{},{_focusVisible:{outlineColor:"blue:60",outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:{dark:"white:emphasis",light:"black:primary"}[t]},position:"absolute",top:s,right:l})},h=function(e){return{pt:"4x",pb:"6x",pl:"6x",pr:e.isClosable?"12x":"6x",position:"relative",fontSize:"xl",lineHeight:"xl"}},m=function(e){var t=e.scrollBehavior,n=(0,u.u)(),r=n.sizes,o=n.lineHeights;return{px:"6x",pb:"6x",flex:1,height:"auto",overflowY:"inside"===t?"auto":void 0,_firstOfType:{marginTop:"calc(".concat(i()(r,"4x")," + ").concat(i()(o,"xl")," + ").concat(i()(r,"3x"),")")}}},g=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)(),o=n.sizes,s=n.lineHeights;return{display:"flex",justifyContent:"flex-end",px:"6x",py:"4x",borderTop:1,borderTopColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[t],_firstOfType:{marginTop:"calc(".concat(i()(o,"4x")," + ").concat(i()(s,"xl")," + ").concat(i()(o,"3x"),")")}}}},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(77762),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.t)}},911:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(2784),i=n(98827),a=n(28716),s=n(73531),c=n(1079),u=n(52903),l=n(49857),f=["boundaryCount","count","defaultPage","disabled","onChange","page","renderItem","siblingCount","slot"],p=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Pagination"}),p=n.boundaryCount,d=n.count,h=n.defaultPage,m=n.disabled,g=n.onChange,y=n.page,v=n.renderItem,b=void 0===v?function(e){return(0,u.tZ)(s.Z,(0,r.Zj)({},e))}:v,k=n.siblingCount,x=n.slot,w=(0,r.Kd)(n,f),_=(0,c.Z)({boundaryCount:void 0===p?1:p,count:void 0===d?1:d,defaultPage:void 0===h?1:h,disabled:m,onChange:g,page:y,siblingCount:void 0===k?1:k,slot:x}).items,S=(0,a.d)();return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},S),w),{},{children:_.map(function(e,t){return(0,u.tZ)(o.Fragment,{children:b((0,r.Zj)({},e))},"".concat(e.type,"-").concat(e.page))})}))});p.displayName="Pagination";var d=p},73531:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(90800),i=n(8991),a=n(40809),s=n(45795),c=n(88043),u=n(56818),l=n(2784),f=n(62080),p=n(98827),d=n(28716),h=n(52903),m=["aria-label","disabled","type","page","selected","slot","variant"],g={"start-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),"end-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),first:(0,h.tZ)(i.Z,{size:"4x"}),previous:(0,h.tZ)(a.Z,{size:"4x"}),next:(0,h.tZ)(s.Z,{size:"4x"}),last:(0,h.tZ)(c.Z,{size:"4x"})},y=function(e){var t=e.type,n=e.page,r=e.selected;return"start-ellipsis"!==t&&"end-ellipsis"!==t&&("page"!==t||r)?"page"===t&&r?"Page ".concat(n):"Go to ".concat(t," page"):"Go to page ".concat(n)},v=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"PaginationItem"}),o=n["aria-label"],i=n.disabled,a=n.type,s=void 0===a?"page":a,c=n.page,l=n.selected,v=void 0!==l&&l,b=n.slot,k=n.variant,x=(0,r.Kd)(n,m),w=(0,r.Zj)((0,r.Zj)({},g),b),_=(0,d.V)({type:s});return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-current":(0,u.Qm)(v),"aria-label":null!=o?o:y({type:s,page:c,selected:v}),disabled:void 0!==i&&i,selected:v,variant:void 0===k?"ghost":k},_),x),{},{children:"page"===s?c:null==w?void 0:w[s]}))});v.displayName="PaginationItem";var b=v},28716:function(e,t,n){"use strict";n.d(t,{V:function(){return a},d:function(){return i}});var r=n(53860),o=n(40596),i=function(){return{display:"flex",alignItems:"center"}},a=function(e){var t=e.type,n=(0,o.Z)(),i=(0,r.ZQ)(n,1)[0];return(0,r.Zj)((0,r.Zj)({},"page"===t?{px:"2x",minWidth:"8x"}:{px:"2x",width:"8x"}),{},{transition:"none",_selected:{borderColor:{dark:"blue:50",light:"blue:50"}[i]}})}},1079:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53860),o=n(2784),i={first:!1,previous:!0,next:!0,last:!1},a=function(e){var t=(0,r.Zj)({},e),n=t.boundaryCount,a=void 0===n?1:n,s=t.count,c=void 0===s?1:s,u=t.defaultPage,l=t.disabled,f=void 0!==l&&l,p=t.onChange,d=t.page,h=t.siblingCount,m=void 0===h?1:h,g=t.slot,y=(0,o.useState)(null!=d?d:void 0===u?1:u),v=(0,r.ZQ)(y,2),b=v[0],k=v[1],x=(0,r.Zj)((0,r.Zj)({},i),g);(0,o.useEffect)(function(){void 0!==d&&k(d)},[d]);var w=function(e){return function(t){void 0!==d||k(e),"function"==typeof p&&p(e)}},_=function(e,t){return Array.from({length:t-e+1},function(t,n){return e+n})},S=_(1,Math.min(a,c)),O=_(Math.max(c-a+1,a+1),c),E=Math.max(Math.min(b-m,c-a-2*m-1),a+2),j=Math.min(Math.max(b+m,a+2*m+2),O.length>0?O[0]-2:c-1);return{items:[].concat((0,r.u)(x.first?[{type:"first"}]:[]),(0,r.u)(x.previous?[{type:"previous"}]:[]),(0,r.u)(S.map(function(e){return{type:"page",value:e}})),(0,r.u)(E>a+2?[{type:"start-ellipsis"}]:a+1a?[{type:"page",value:c-a}]:[]),(0,r.u)(O.map(function(e){return{type:"page",value:e}})),(0,r.u)(x.next?[{type:"next"}]:[]),(0,r.u)(x.last?[{type:"last"}]:[])).map(function(e){if("page"===e.type){var t,n=e.value;return{type:"page",page:n,disabled:!!f,selected:e.value===b,onClick:w(n)}}var r=!!f||["first","previous"].includes(e.type)&&b<=1||["next","last"].includes(e.type)&&b>=c,o="first"===(t=e.type)?1:"previous"===t?Math.max(b-1,1):"start-ellipsis"===t?Math.max(E-(m+1),1):"end-ellipsis"===t?Math.min(j+(m+1),c):"next"===t?Math.min(b+1,c):"last"===t?c:null;return{type:e.type,page:o,disabled:r,selected:!1,onClick:w(o)}})}}},67250:function(e,t,n){"use strict";n.d(t,{Z:function(){return eb}});var r,o,i,a,s,c=n(53860);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=u(e).Element;return e instanceof t||e instanceof Element}function f(e){var t=u(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("undefined"==typeof ShadowRoot)return!1;var t=u(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var d=Math.max,h=Math.min,m=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(g())}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(l(e)?u(e):window).visualViewport,s=!y()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,d=r.width/o,h=r.height/i;return{width:d,height:h,top:p,right:c+d,bottom:p+h,left:c,x:c,y:p}}function b(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return v(x(e)).left+b(e).scrollLeft}function _(e){return u(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function O(e){var t=v(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function E(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function j(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:f(t)&&S(t)?t:e(E(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(j(E(a)))}function T(e){return f(e)&&"fixed"!==_(e).position?e.offsetParent:null}function C(e){for(var t=u(e),n=T(e);n&&["table","td","th"].indexOf(k(n))>=0&&"static"===_(n).position;)n=T(n);return n&&("html"===k(n)||"body"===k(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&f(e)&&"fixed"===_(e).position)return null;var n=E(e);for(p(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(k(n));){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="bottom",R="right",I="left",P="auto",Z=["top",A,R,I],N="start",F="viewport",L="popper",M=Z.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),D=[].concat(Z,[P]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],z={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function V(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?H(o):null,a=o?q(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:c};break;case I:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?W(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case N:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n,r,o,i,a,s,c=e.popper,l=e.popperRect,f=e.placement,p=e.variation,d=e.offsets,h=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,b=e.isFixed,k=d.x,w=void 0===k?0:k,S=d.y,O=void 0===S?0:S,E="function"==typeof v?v({x:w,y:O}):{x:w,y:O};w=E.x,O=E.y;var j=d.hasOwnProperty("x"),T=d.hasOwnProperty("y"),P=I,Z="top",N=window;if(y){var F=C(c),L="clientHeight",M="clientWidth";F===u(c)&&"static"!==_(F=x(c)).position&&"absolute"===h&&(L="scrollHeight",M="scrollWidth"),("top"===f||(f===I||f===R)&&"end"===p)&&(Z=A,O-=(b&&F===N&&N.visualViewport?N.visualViewport.height:F[L])-l.height,O*=g?1:-1),(f===I||("top"===f||f===A)&&"end"===p)&&(P=R,w-=(b&&F===N&&N.visualViewport?N.visualViewport.width:F[M])-l.width,w*=g?1:-1)}var D=Object.assign({position:h},y&&K),B=!0===v?(t={x:w,y:O},n=u(c),r=t.x,o=t.y,{x:m(r*(i=n.devicePixelRatio||1))/i||0,y:m(o*i)/i||0}):{x:w,y:O};return(w=B.x,O=B.y,g)?Object.assign({},D,((s={})[Z]=T?"0":"",s[P]=j?"0":"",s.transform=1>=(N.devicePixelRatio||1)?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",s)):Object.assign({},D,((a={})[Z]=T?O+"px":"",a[P]=j?w+"px":"",a.transform="",a))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,function(e){return G[e]})}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return X[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var r,o,i,a,s,c,f,p,h,m;return t===F?et(function(e,t){var n=u(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=y();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+w(e),y:c}}(e,n)):l(t)?((r=v(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):et((o=x(e),a=x(o),s=b(o),c=null==(i=o.ownerDocument)?void 0:i.body,f=d(a.scrollWidth,a.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),p=d(a.scrollHeight,a.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),h=-s.scrollLeft+w(o),m=-s.scrollTop,"rtl"===_(c||a).direction&&(h+=d(a.clientWidth,c?c.clientWidth:0)-f),{width:f,height:p,x:h,y:m}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,o,i,a,s,c,u,p=t,m=p.placement,g=void 0===m?e.placement:m,y=p.strategy,b=void 0===y?e.strategy:y,w=p.boundary,S=p.rootBoundary,O=p.elementContext,T=void 0===O?L:O,I=p.altBoundary,P=p.padding,N=void 0===P?0:P,M=eo("number"!=typeof N?N:ei(N,Z)),D=e.rects.popper,B=e.elements[void 0!==I&&I?T===L?"reference":L:T],z=(n=l(B)?B:B.contextElement||x(e.elements.popper),r=void 0===w?"clippingParents":w,o=void 0===S?F:S,c=(s=[].concat("clippingParents"===r?(i=j(E(n)),l(a=["absolute","fixed"].indexOf(_(n).position)>=0&&f(n)?C(n):n)?i.filter(function(e){return l(e)&&ee(e,a)&&"body"!==k(e)}):[]):[].concat(r),[o]))[0],(u=s.reduce(function(e,t){var r=en(n,t,b);return e.top=d(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=d(r.left,e.left),e},en(n,c,b))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),$=v(e.elements.reference),U=V({reference:$,element:D,strategy:"absolute",placement:g}),H=et(Object.assign({},D,U)),q=T===L?H:$,W={top:z.top-q.top+M.top,bottom:q.bottom-z.bottom+M.bottom,left:z.left-q.left+M.left,right:q.right-z.right+M.right},K=e.modifiersData.offset;if(T===L&&K){var Q=K[g];Object.keys(W).forEach(function(e){var t=[R,A].indexOf(e)>=0?1:-1,n=["top",A].indexOf(e)>=0?"y":"x";W[e]+=Q[n]*t})}return W}function es(e,t,n){return d(e,h(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",R,A,I].some(function(t){return e[t]>=0})}var el=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",n.update,U)}),s&&c.addEventListener("resize",n.update,U),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),s&&c.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=V({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:H(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&k(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&k(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=D.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[I,"top"].indexOf(o=H(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[I,R].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,y=H(g)===g,v=c||(y||!h?[Y(g)]:function(e){if(H(e)===P)return[];var t=Y(e);return[J(e),t,J(t)]}(g)),b=[g].concat(v).reduce(function(e,n){var r,o,i,a,s,c,p,d,g,y,v,b;return e.concat(H(n)===P?(o=(r={placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?D:p,0===(v=(y=(g=q(o))?c?M:M.filter(function(e){return q(e)===g}):Z).filter(function(e){return d.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[H(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),k=t.rects.reference,x=t.rects.popper,w=new Map,_=!0,S=b[0],O=0;O=0,F=C?"width":"height",L=ea(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),B=C?T?R:I:T?A:"top";k[F]>x[F]&&(B=Y(B));var z=Y(B),$=[];if(i&&$.push(L[j]<=0),s&&$.push(L[B]<=0,L[z]<=0),$.every(function(e){return e})){S=E,_=!1;break}w.set(E,$)}if(_)for(var U=h?3:1,W=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},V=U;V>0&&"break"!==W(V);V--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,f=void 0===l||l,p=n.tetherOffset,m=void 0===p?0:p,g=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),y=H(t.placement),v=q(t.placement),b=!v,k=W(y),x="x"===k?"y":"x",w=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(void 0===o||o){var Z,F="y"===k?"top":I,L="y"===k?A:R,M="y"===k?"height":"width",D=w[k],B=D+g[F],z=D-g[L],$=f?-S[M]/2:0,U=v===N?_[M]:S[M],V=v===N?-S[M]:-_[M],K=t.elements.arrow,Q=f&&K?O(K):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),Y=G[F],X=G[L],J=es(0,_[M],Q[M]),ee=b?_[M]/2-$-J-Y-j.mainAxis:U-J-Y-j.mainAxis,et=b?-_[M]/2+$+J+X+j.mainAxis:V+J+X+j.mainAxis,en=t.elements.arrow&&C(t.elements.arrow),eo=en?"y"===k?en.clientTop||0:en.clientLeft||0:0,ei=null!=(Z=null==T?void 0:T[k])?Z:0,ec=es(f?h(B,D+ee-ei-eo):B,D,f?d(z,D+et-ei):z);w[k]=ec,P[k]=ec-D}if(void 0!==i&&i){var eu,el,ef="x"===k?"top":I,ep="x"===k?A:R,ed=w[x],eh="y"===x?"height":"width",em=ed+g[ef],eg=ed-g[ep],ey=-1!==["top",I].indexOf(y),ev=null!=(el=null==T?void 0:T[x])?el:0,eb=ey?em:ed-_[eh]-S[eh]-ev+j.altAxis,ek=ey?ed+_[eh]+S[eh]-ev-j.altAxis:eg,ex=f&&ey?(eu=es(eb,ed,ek))>ek?ek:eu:es(f?eb:em,ed,f?ek:eg);w[x]=ex,P[x]=ex-ed}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=H(r.placement),u=W(c),l=[I,R].indexOf(c)>=0?"height":"width";if(a&&s){var f=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,Z)),p=O(a),d="y"===u?"top":I,h="y"===u?A:R,m=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],g=s[u]-r.rects.reference[u],y=C(a),v=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,b=f[d],k=v-p[l]-f[h],x=v/2-p[l]/2+(m/2-g/2),w=es(b,x,k);r.modifiersData[o]=((n={})[u]=w,n.centerOffset=w-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),f=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?z:a,function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,d={state:a,setOptions:function(n){var r,o,u,f,p,m="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},s,a.options,m),a.scrollParents={reference:l(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var g=(o=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,f=new Set,p=[],o.forEach(function(e){u.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=u.get(t);n&&e(n)}}),p.push(t)}(e)}),B.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=g.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:d,options:void 0===n?{}:n});c.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!p){var e,t,n,r,o,i,s,c,l,h,g,y,_=a.elements,E=_.reference,j=_.popper;if($(E,j)){a.rects={reference:(t=C(j),n="fixed"===a.options.strategy,r=f(t),c=f(t)&&(i=m((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=m(o.height)/t.offsetHeight||1,1!==i||1!==s),l=x(t),h=v(E,c,n),g={scrollLeft:0,scrollTop:0},y={x:0,y:0},(r||!r&&!n)&&(("body"!==k(t)||S(l))&&(g=(e=t)!==u(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:b(e)),f(t)?(y=v(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):l&&(y.x=w(l))),{x:h.left+g.scrollLeft-y.x,y:h.top+g.scrollTop-y.y,width:h.width,height:h.height}),popper:O(j)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T0&&void 0!==arguments[0]?arguments[0]:{},t=e.cssVariables,n=void 0!==t&&t,r=(0,l.Kd)(e,_),o=(0,v.TS)((0,l.Zj)({},y),r),i=arguments.length,a=Array(i>1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.useRef)(null);(0,a.useEffect)(function(){n.current=e},[e]),(0,a.useEffect)(function(){if(null==t)return function(){};var e=setTimeout(function(){"function"==typeof n.current&&n.current()},t);return function(){return clearTimeout(e)}},[t])},u=n(52903),l=n(49857),f=["duration","onClose","onMouseEnter","onMouseLeave"],p=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ToastController"}),p=n.duration,d=void 0===p?null:p,h=n.onClose,m=n.onMouseEnter,g=n.onMouseLeave,y=(0,r.Kd)(n,f),v=(0,a.useRef)(),b=(0,o.Z)(v,t),k=(0,a.useState)(d),x=(0,r.ZQ)(k,2),w=x[0],_=x[1],S=(0,a.useCallback)(function(e){_(null)},[]),O=(0,a.useCallback)(function(e){_(d)},[d]);return c(h,w),(0,u.tZ)(l.Z,(0,r.Zj)({ref:b,onMouseEnter:(0,i.N)(m,S),onMouseLeave:(0,i.N)(g,O)},y))})},31476:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(53860),i=n(912),a=n(56818),s=n(13409),c=n(5081),u=n(92307),l=n.n(u),f=n(2784),p=n(98827),d=n(47732),h=n(52903),m=n(49857),g=["placement"],y=(0,f.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"ToastContainer"}),r=n.placement,i=(0,o.Kd)(n,g),a={boxSizing:"border-box",maxHeight:"100%",maxWidth:"100%",overflow:"hidden",position:"fixed",zIndex:"toast"},s=(0,c.Zs)(r);return s.includes("top")&&(a.top=0),s.includes("bottom")&&(a.bottom=0),s.includes("left")&&(a.left=0),s.includes("right")&&(a.right=0),(s.includes("center")||"top"===s||"bottom"===s)&&(a.left="50%",a.transform="translateX(-50%)"),(0,h.tZ)(m.Z,(0,o.Zj)((0,o.Zj)({ref:t,"data-toast-placement":s},a),i))}),v=n(14378),b=n(53335),k=n(57619),x=n(82268),w=(r=0,function(){return String(r+=1)}),_=l()(function(e){return(0,o.Zj)({},e)}),S=["bottom","bottom-right","bottom-left","top","top-left","top-right"],O=function(e,t){var n=Object.values(e).reduce(function(e,t){return e.concat(t)},[]).find(function(e){return e.id===t});return null==n?void 0:n.placement},E=function(e){var t=(0,p.Z)({props:e,name:"ToastManager"}),n=t.TransitionComponent,r=void 0===n?b.Z:n,u=t.TransitionProps,l=t.children,m=t.containerRef,g=t.placement,E=void 0===g?"bottom-right":g,j=(0,i.Z)(),T=(0,f.useState)(function(){return S.reduce(function(e,t){return e[t]=[],e},{})}),C=(0,o.ZQ)(T,2),A=C[0],R=C[1],I=(0,f.useCallback)(function(e,t){R(function(n){var r;return t=null!==(r=t)&&void 0!==r?r:O(n,e),(0,o.Zj)((0,o.Zj)({},n),{},(0,o._x)({},t,(0,c.rY)(n[t]).filter(function(t){return t.id!==e})))})},[]),P=(0,f.useCallback)(function(e){R(function(t){var n=(null!=e&&e.placements?(0,c.rY)(null==e?void 0:e.placements):Object.keys(t)).reduce(function(e,t){return e[t]=[],e},{});return(0,o.Zj)((0,o.Zj)({},t),n)})},[]),Z=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).find(function(t){return t.id===e})},[A]),N=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).findIndex(function(t){return t.id===e})},[A]),F=(0,f.useCallback)(function(e,t){var n,r=null===(n=Z(e))||void 0===n?void 0:n.placement,i=N(e);return!!r&&-1!==i&&(R(function(e){var n=(0,o.Zj)({},e);return n[r][i]=(0,o.Zj)((0,o.Zj)({},n[r][i]),t),n}),!0)},[Z,N]),L=_({close:I,closeAll:P,find:Z,findIndex:N,update:F,notify:(0,f.useCallback)(function(e,t){var n,r,i=Object.freeze({id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:w(),content:e,data:null==t?void 0:t.data,duration:null==t?void 0:t.duration,placement:(0,c.Zs)(null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:E)});return S.includes(i.placement)?(R(function(e){var t=i.placement.includes("top"),n=(0,o.u)((0,c.rY)(e[i.placement])),r=[];return r=t?[i].concat((0,o.u)(n)).slice(0,void 0):[].concat((0,o.u)(n),[i]).slice(void 0),(0,o.Zj)((0,o.Zj)({},e),{},(0,o._x)({},i.placement,r))}),i.id):(console.error('[ToastManager] Error: Invalid toast placement "'.concat(i.placement,'". Please provide a valid placement from the following options: ').concat(S.join(", "),".")),!1)},[E]),placement:E,state:A,setState:R});return(0,h.BX)(x.K.Provider,{value:L,children:[(0,a.Pu)(l,L),!!j&&(0,h.tZ)(d.Z,{containerRef:m,children:Object.keys(A).map(function(e){var t=(0,c.rY)(A[e]).filter(function(e){return!(0,s.Rw)(e)});return(0,h.tZ)(y,{placement:e,children:(0,h.tZ)(k.Z,{children:t.map(function(t){var n,i,a,s=(n=t.id,function(){I(n,e)});return(0,h.tZ)(r,(0,o.Zj)((0,o.Zj)({in:!0,unmountOnExit:!0},u),{},{children:(0,h.tZ)(v.Z,{duration:t.duration,onClose:s,children:(i=t.content,a={id:t.id,data:t.data,onClose:s,placement:t.placement},"function"==typeof i?(0,h.tZ)(i,(0,o.Zj)({},a)):i)})}),t.id)})})},e)})})]})};E.displayName="ToastManager";var j=E},53335:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},h=function(e,t){var n={entering:{height:"auto",opacity:1,transform:d(1)},entered:{height:"auto",opacity:1,transform:"none"},exiting:{height:0,opacity:0,overflow:"hidden",transform:d(.75)},exited:{height:0,opacity:0,transform:d(.75)}}[e];return"function"==typeof n?n(t):n},m={enter:i.YU.easeInOut,exit:i.YU.easeInOut},g={enter:i.nV.standard,exit:i.nV.standard},y=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),v=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ToastTransition"}),d=n.appear,v=n.children,b=n.easing,k=void 0===b?m:b,x=n.in,w=n.style,_=n.timeout,S=void 0===_?g:_,O=(0,r.Kd)(n,p),E=(0,s.useRef)(null),j=(0,o.Z)(E,t),T=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=E.current;(0,a.nq)(e)},[x]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==d&&d,in:x,nodeRef:E,timeout:S},O),{},{children:function(e,t){var n=x?(0,i.c)({style:w,timeout:S,easing:k}):(0,i.Zk)({style:w,timeout:S,easing:k}),o=[(0,i.zx)("height",n),(0,i.zx)("opacity",n),(0,i.zx)("transform",{duration:.666*n.duration,easing:n.easing,delay:x?n.delay:n.delay||.333*n.duration})].join(","),a=h(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||x?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:j,style:(0,r.Zj)((0,r.Zj)({},s),w)}));if(x&&"entering"===e||!x&&("entering"===e||"entered"===e)){var c=T.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:j},t),s),{},{style:w,children:(0,l.tZ)(y,{ref:T,children:v})}))}}))});v.displayName="ToastTransition";var b=v},57619:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860);n(2784);var o=n(60258),i=n(98827),a=n(52903),s=function(e){var t=(0,i.Z)({props:e,name:"ToastTransitionGroup"});return(0,a.tZ)(o.Z,(0,r.Zj)({component:null},t))};s.displayName="ToastTransitionGroup";var c=s},82268:function(e,t,n){"use strict";n.d(t,{K:function(){return i},u:function(){return o}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99870:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(53860),o=n(92307),i=n.n(o),a=n(2784),s=n(98827),c=n(67250),u=n(65204),l=n(57894),f=n(20655),p=n(33558),d=n(40596),h=n(85017),m=n(27216),g=n(13823),y=function(e){var t,n,o=e.arrowHeight,i=e.arrowWidth,a=(0,d.Z)(),s=(0,r.ZQ)(a,1)[0],c=(0,m.u)().sizes,u=null!==(t=c[o])&&void 0!==t?t:(0,g.Z)(o),l=null!==(n=c[i])&&void 0!==n?n:(0,g.Z)(i),f={dark:"rgba(0, 0, 0, 0.16)",light:"rgba(0, 0, 0, 0.08)"}[s];return{'&[data-popper-placement^="top"]':{position:"absolute",bottom:0,"::before":{content:'""',borderTop:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 1px 1px ".concat(f,")"),position:"absolute",bottom:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="bottom"]':{position:"absolute",top:0,"::before":{content:'""',borderBottom:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 -1px 1px ".concat(f,")"),position:"absolute",top:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="left"]':{position:"absolute",right:0,"::before":{content:'""',borderLeft:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(1px 0px 1px ".concat(f,")"),position:"absolute",right:"-".concat(u),transform:"translateY(-50%)"}},'&[data-popper-placement^="right"]':{position:"absolute",left:0,"::before":{content:'""',borderRight:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(-1px 0px 1px ".concat(f,")"),position:"absolute",left:"-".concat(u),transform:"translateY(-50%)"}}}},v=function(){var e,t=(0,d.Z)(),n=(0,r.ZQ)(t,1)[0],o=(0,h.Z)({colorMode:n}),i=(0,r.ZQ)(o,1)[0],a={dark:"gray:80",light:"white"}[n],s={dark:"white:primary",light:"black:primary"}[n];return{backgroundColor:a,borderRadius:"sm",boxShadow:null==i?void 0:null===(e=i.shadow)||void 0===e?void 0:e.thin,color:s,fontWeight:"normal",fontSize:"sm",lineHeight:"sm",px:"3x",py:"1x"}},b=(0,a.createContext)(),k=function(){if(!a.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,a.useContext)(b)},x=n(52903),w=n(49857),_=["arrowHeight","arrowWidth","sx"],S=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipArrow"}),o=n.arrowHeight,i=n.arrowWidth,a=n.sx,c=(0,r.Kd)(n,_),u=k(),l=u.placement,f=u.tooltipContentRef,d=null==f?void 0:f.current,h=y({arrowHeight:void 0===o?4:o,arrowWidth:void 0===i?8:i});if((0,p.Re)(d)){var m=(0,p.Dx)(d.firstChild);h.color=null==m?void 0:m.backgroundColor}return(0,x.tZ)(w.Z,(0,r.Zj)({ref:t,role:"presentation","data-popper-arrow":!0,"data-popper-placement":l,sx:[h].concat((0,r.u)(Array.isArray(a)?a:[a]))},c))});S.displayName="TooltipArrow";var O=n(912),E=n(20325),j=n(13409),T=n(56818),C=n(5081),A=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","children"],R=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipContent"}),o=n.PopperComponent,i=void 0===o?c.Z:o,u=n.PopperProps,f=n.TooltipArrowComponent,d=void 0===f?S:f,h=n.TooltipArrowProps,m=n.TransitionComponent,g=void 0===m?l.Z:m,y=n.TransitionProps,b=n.children,_=(0,r.Kd)(n,A),R=(0,O.Z)(),I=(0,a.useRef)(null),P=(0,E.Z)(I,t),Z=k(),N=Z.arrow,F=Z.disabled,L=Z.followCursor,M=Z.isOpen,D=Z.mousePageX,B=Z.mousePageY,z=Z.nextToCursor,$=Z.offset,U=Z.placement,H=Z.tooltipId,q=Z.tooltipContentRef,W=Z.tooltipTriggerId,V=Z.tooltipTriggerRef,K=v(),Q=V.current,G=(0,C.rY)($),Y=(0,r.ZQ)(G,2),X=Y[0],J=void 0===X?0:X,ee=Y[1],et=void 0===ee?8:ee,en=(0,a.useMemo)(function(){return[{name:"offset",options:{offset:function(e){var t=e.placement,n=e.reference,r=e.popper,o=(0,C.Nu)(J),i=(0,C.Nu)(et);if((0,p.Re)(Q)&&(L||z)){var a=Q.getBoundingClientRect(),s=a.x+globalThis.scrollX,c=a.y+globalThis.scrollY;(t.startsWith("top")||t.startsWith("bottom"))&&(t.endsWith("start")?o+=(0,C.Nu)(D-s-r.width):t.endsWith("end")?o+=(0,C.Nu)(D-s-n.width+r.width):o+=(0,C.Nu)(D-s-n.width/2),t.startsWith("top")?i+=(0,C.Nu)(c-B):t.startsWith("bottom")&&(i+=(0,C.Nu)(B-c-n.height))),(t.startsWith("left")||t.startsWith("right"))&&(t.endsWith("start")?o+=(0,C.Nu)(B-c-r.height):t.endsWith("end")?o+=(0,C.Nu)(B-c-n.height+r.height):o+=(0,C.Nu)(B-c-n.height/2),t.startsWith("left")?i+=(0,C.Nu)(s-D):t.startsWith("right")&&(i+=(0,C.Nu)(D-s-n.width)))}return[o,i]}}}]},[J,et,Q,L,z,D,B]);return!R||F||!b||(0,j.oM)(b)||(0,j.yD)(b)?null:(0,x.tZ)(i,(0,r.Zj)((0,r.Zj)({"aria-hidden":(0,T.Qm)(!M),"aria-labelledby":W,"data-popper-placement":U,anchorEl:V.current,id:H,isOpen:M,placement:U,pointerEvents:"none",ref:q,role:"tooltip",unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"tooltip"},u),{},{modifiers:[].concat((0,r.u)(en),(0,r.u)((0,C.rY)(null==u?void 0:u.modifiers))),children:function(e){var t=e.placement,n=e.transition,o=(0,r.Zj)({},n),i=o.in,a=o.onEnter,s=o.onExited;return(0,x.tZ)(g,(0,r.Zj)((0,r.Zj)({appear:!0},y),{},{ref:P,in:i,onEnter:(0,T.PP)(a,null==y?void 0:y.onEnter),onExited:(0,T.PP)(s,null==y?void 0:y.onExited),children:function(e,n){var o=n.ref,i=n.style;return(0,x.BX)(w.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:o},K),i),{},{transformOrigin:{top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"}[t]},_),{},{children:[b,!!N&&(0,x.tZ)(d,(0,r.Zj)({},h))]}))}}))}}))});R.displayName="TooltipContent";var I=n(32502),P=n(24340),Z=["children","shouldWrapChildren","onBlur","onClick","onFocus","onMouseEnter","onMouseLeave","onMouseMove","onPointerDown"],N=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipTrigger"}),o=n.children,i=n.shouldWrapChildren,c=n.onBlur,u=n.onClick,l=n.onFocus,f=n.onMouseEnter,d=n.onMouseLeave,h=n.onMouseMove,m=n.onPointerDown,g=(0,r.Kd)(n,Z),y=k(),v=y.closeOnClick,b=y.closeOnEsc,_=y.closeOnPointerDown,S=y.followCursor,O=y.isOpen,j=y.onClose,C=y.onOpen,A=y.openOnFocus,R=y.setMousePageX,N=y.setMousePageY,F=y.tooltipId,L=y.tooltipTriggerId,M=y.tooltipTriggerRef,D=(0,E.Z)(M,t),B={},z=(0,a.useState)(!0),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q={};q.onBlur=function(e){O&&j()},q.onClick=function(e){O&&v&&j()},q.onFocus=function(e){!O&&A&&C()},q.onKeyDown=function(e){O&&b&&"Escape"===e.key&&j()},q.onMouseEnter=function(e){H(!0),C(function(){H(S)})},q.onMouseLeave=function(e){j(function(){H(!0)})},q.onMouseMove=function(e){(U||S)&&(R(e.pageX),N(e.pageY))},q.onPointerDown=function(e){O&&_&&j()},(0,I.Z)(function(){return(0,p.lZ)(M.current)},"keydown",b?q.onKeyDown:void 0),(0,I.Z)(function(){return M.current},"mouseleave",q.onMouseLeave);var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},e),{},{"aria-describedby":O?F:void 0,id:L,ref:(0,P.l)(D,t),onBlur:(0,T.N)(null==e?void 0:e.onBlur,c,q.onBlur),onClick:(0,T.N)(null==e?void 0:e.onClick,u,q.onClick),onFocus:(0,T.N)(null==e?void 0:e.onFocus,l,q.onFocus),onMouseEnter:(0,T.N)(null==e?void 0:e.onMouseEnter,f,q.onMouseEnter),onMouseLeave:(0,T.N)(null==e?void 0:e.onMouseLeave,d,q.onMouseLeave),onMouseMove:(0,T.N)(null==e?void 0:e.onMouseMove,h,q.onMouseMove),onPointerDown:(0,T.N)(null==e?void 0:e.onPointerDown,m,q.onPointerDown)},B),g)};if("function"==typeof o)return o({getTooltipTriggerProps:W});if(void 0!==i&&i)return(0,x.tZ)(w.Z,(0,r.Zj)((0,r.Zj)({},W()),{},{children:o}));var V=a.Children.only(o),K=W(null==V?void 0:V.props,null==V?void 0:V.ref);return(0,a.cloneElement)(V,K)});N.displayName="TooltipTrigger";var F=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","shouldWrapChildren","arrow","children","closeOnClick","closeOnEsc","closeOnPointerDown","defaultIsOpen","disabled","enterDelay","followCursor","isOpen","label","leaveDelay","nextToCursor","offset","onClose","onOpen","openOnFocus","placement"],L=i()(function(e){return(0,r.Zj)({},e)}),M=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"Tooltip"}),o=n.PopperComponent,i=void 0===o?c.Z:o,p=n.PopperProps,d=n.TooltipArrowComponent,h=void 0===d?S:d,m=n.TooltipArrowProps,g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,k=n.shouldWrapChildren,w=n.arrow,_=n.children,O=n.closeOnClick,E=n.closeOnEsc,j=n.closeOnPointerDown,T=n.defaultIsOpen,C=n.disabled,A=n.enterDelay,I=void 0===A?100:A,P=n.followCursor,Z=n.isOpen,M=n.label,D=n.leaveDelay,B=void 0===D?0:D,z=n.nextToCursor,$=n.offset,U=n.onClose,H=n.onOpen,q=n.openOnFocus,W=n.placement,V=(0,r.Kd)(n,F),K=(0,a.useRef)(null),Q=(0,a.useRef)(null),G=(0,a.useState)(0),Y=(0,r.ZQ)(G,2),X=Y[0],J=Y[1],ee=(0,a.useState)(0),et=(0,r.ZQ)(ee,2),en=et[0],er=et[1],eo=(0,a.useState)(null!=Z?Z:void 0!==T&&T),ei=(0,r.ZQ)(eo,2),ea=ei[0],es=ei[1];(0,a.useEffect)(function(){void 0!==Z&&es(Z)},[Z]);var ec=(0,a.useRef)(),eu=(0,a.useRef)(),el=(0,a.useCallback)(function(e,t){eu.current&&(clearTimeout(eu.current),eu.current=void 0),t>0?ec.current=setTimeout(function(){ec.current=void 0,es(!0),"function"==typeof e&&e()},t):(es(!0),"function"==typeof e&&e())},[]),ef=(0,a.useCallback)(function(e,t){ec.current&&(clearTimeout(ec.current),ec.current=void 0),t>0?eu.current=setTimeout(function(){eu.current=void 0,es(!1),"function"==typeof e&&e()},t):(es(!1),"function"==typeof e&&e())},[]),ep=(0,a.useCallback)(function(e){void 0!==Z||el(e,I),"function"==typeof H&&H()},[Z,H,el,I]),ed=(0,a.useCallback)(function(e){void 0!==Z||ef(e,B),"function"==typeof U&&U()},[Z,U,ef,B]);(0,a.useEffect)(function(){return function(){ec.current&&(clearTimeout(ec.current),ec.current=void 0),eu.current&&(clearTimeout(eu.current),eu.current=void 0)}},[]);var eh=(0,f.Z)(),em=L({arrow:!P&&!z&&(void 0===w||w),closeOnClick:void 0===O||O,closeOnEsc:void 0===E||E,closeOnPointerDown:void 0===j||j,disabled:C,followCursor:P,isOpen:ea,mousePageX:X,mousePageY:en,nextToCursor:z,offset:$,onClose:ed,onOpen:ep,openOnFocus:void 0===q||q,placement:void 0===W?"bottom":W,setMousePageX:J,setMousePageY:er,tooltipId:"".concat(u.Z.name,":Tooltip-").concat(eh),tooltipContentRef:K,tooltipTriggerId:"".concat(u.Z.name,":TooltipTrigger-").concat(eh),tooltipTriggerRef:Q});return"function"==typeof _?(0,x.tZ)(b.Provider,{value:em,children:_(em)}):(0,x.BX)(b.Provider,{value:em,children:[(0,x.tZ)(N,{shouldWrapChildren:void 0!==k&&k,children:_}),(0,x.tZ)(R,(0,r.Zj)((0,r.Zj)({PopperComponent:i,PopperProps:p,TooltipArrowComponent:h,TooltipArrowProps:m,TransitionComponent:y,TransitionProps:v},V),{},{children:M}))]})});M.displayName="Tooltip";var D=M},14594:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","collapsedHeight","easing","in","style","timeout"],d=function(e,t){var n={entering:{height:"auto",opacity:1,overflow:"hidden"},entered:{height:"auto",opacity:1},exiting:{height:t.collapsedHeight||0,opacity:0,overflow:"hidden"},exited:{height:t.collapsedHeight||0,opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.standard,exit:i.nV.standard},g=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),y=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Collapse"}),y=n.appear,v=n.children,b=n.collapsedHeight,k=void 0===b?0:b,x=n.easing,w=void 0===x?h:x,_=n.in,S=n.style,O=n.timeout,E=void 0===O?m:O,j=(0,r.Kd)(n,p),T=(0,s.useRef)(null),C=(0,o.Z)(T,t),A=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=T.current;(0,a.nq)(e)},[_]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==y&&y,in:_,nodeRef:T,timeout:E},j),{},{children:function(e,t){var n=_?(0,i.c)({style:S,timeout:E,easing:w}):(0,i.Zk)({style:S,timeout:E,easing:w}),o=(0,i.zx)(["height","opacity"],n),a=d(e,{collapsedHeight:k}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||_||k?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:C,style:(0,r.Zj)((0,r.Zj)({},s),S)}));if(_&&"entering"===e||!_&&("entering"===e||"entered"===e)){var c=A.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:C},t),s),{},{style:S,children:(0,l.tZ)(g,{ref:A,children:v})}))}}))});y.displayName="Collapse";var v=y},62272:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e,t){var n={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.enteringScreen,exit:i.nV.leavingScreen},g=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Fade"}),g=n.appear,y=n.children,v=n.easing,b=void 0===v?h:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?m:w,S=(0,r.Kd)(n,p),O=(0,s.useRef)(null),E=(0,o.Z)(O,t);return(0,s.useEffect)(function(){if(k){var e=O.current;(0,a.nq)(e)}},[k]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==g&&g,in:k,nodeRef:O,timeout:_},S),{},{children:function(e,t){var n=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),o=(0,i.zx)("opacity",n),a=d(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof y?y(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:E,style:(0,r.Zj)((0,r.Zj)({},s),x)})):(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:E},t),s),{},{style:x,children:y}))}}))});g.displayName="Fade";var y=g},57894:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(5081),c=n(2784),u=n(41759),l=n(98827),f=n(52903),p=n(49857),d=["appear","children","easing","in","style","timeout"],h=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},m=function(e,t){var n={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:h(.75)},exited:{opacity:0,transform:h(.75)}}[e];return"function"==typeof n?n(t):n},g={enter:i.YU.easeInOut,exit:i.YU.easeInOut},y=function(e){if(!(e=(0,s.Nu)(e)))return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)},v=(0,c.forwardRef)(function(e,t){var n=(0,l.Z)({props:e,name:"Grow"}),s=n.appear,h=n.children,v=n.easing,b=void 0===v?g:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?"auto":w,S=(0,r.Kd)(n,d),O=(0,c.useRef)(null),E=(0,c.useRef)(0),j=(0,c.useRef)(null),T=(0,o.Z)(j,t);(0,c.useEffect)(function(){if(k){var e=j.current;(0,a.nq)(e)}},[k]),(0,c.useEffect)(function(){return function(){O.current&&(clearTimeout(O.current),O.current=null)}},[]);var C=(0,c.useCallback)(function(e){"auto"===_&&(O.current=setTimeout(e,E.current||0))},[_]);return(0,f.tZ)(u.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==s&&s,in:k,nodeRef:j,timeout:"auto"===_?null:_,addEndListener:C},S),{},{children:function(e,t){var n=j.current,o=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),a="auto"===_?y(null==n?void 0:n.clientHeight):o.duration,s=[(0,i.zx)("opacity",{duration:a,delay:o.delay}),(0,i.zx)("transform",{duration:.666*a,easing:o.easing,delay:k?o.delay:o.delay||.333*a})].join(",");E.current="auto"===_?a:0;var c=m(e,{}),u=(0,r.Zj)((0,r.Zj)({},c),{},{transition:s,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof h?h(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:T,style:(0,r.Zj)((0,r.Zj)({},u),x)})):(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:T},t),u),{},{style:x,children:h}))}}))});v.displayName="Grow";var b=v},3241:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53860),o=n(29970),i=n(5081),a=n(2784),s=n(60265),c=n(52903),u=(0,a.forwardRef)(function(e,t){var n=e.children,u=e.in,l=e.onExitComplete,f=(0,o.Z)(function(){return new Map}),p=(0,a.useMemo)(function(){return{in:u,onExitComplete:function(e){f.set(e,!0);var t,n=!0,o=(0,r.sf)(f);try{for(o.s();!(t=o.n()).done;)if(!(0,r.ZQ)(t.value,2)[1]){n=!1;break}}catch(e){o.e(e)}finally{o.f()}n&&(0,i.zU)(l)()},register:function(e){return f.set(e,!1),function(){f.delete(e)}}}},[u,l,f]);return(0,a.useEffect)(function(){u||0!==f.size||l()},[u,l,f]),(0,c.tZ)(s.j.Provider,{value:p,children:n})})},60265:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=(0,n(2784).createContext)()},48504:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(20655),s=n(60265),c=function(){var e=(0,a.Z)();if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,i.useContext)(s.j),n=(0,r.Zj)({},t),c=n.in,u=n.onExitComplete,l=n.register;return((0,i.useEffect)(function(){return(0,o.zU)(l)(e)},[e,l]),void 0===t)?[null,null]:!c&&u?[!1,function(){return(0,o.zU)(u)(e)}]:[!0,null]}},13823:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5081),o=function(e){return"string"==typeof e?e:(e=(0,r.Nu)(e),"".concat(e,"px"))}},24340:function(e,t,n){"use strict";n.d(t,{k:function(){return r},l:function(){return o}});var r=function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}},o=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{Ac:function(){return i},ZQ:function(){return s},Zj:function(){return o},_x:function(){return a},sf:function(){return f},u:function(){return c}})},76078:function(e,t,n){"use strict";n.d(t,{$:function(){return c},J:function(){return s}});var r,o=n(38201),i=function(){},a=function(e){return(Array.isArray(e)&&(e=e.join(",")),e&&"string"==typeof e)?function(t){var n={};return t&&"object"===(0,o.Ac)(t)&&(n[e]=t),Object.entries(n)}:i},s={_active:a(["&:active","&[data-active]"]),_checked:a(["&:checked","&[aria-checked=true]","&[data-checked]"]),_disabled:a(["&:disabled","&:disabled:focus","&:disabled:hover","&[aria-disabled=true]","&[aria-disabled=true]:focus","&[aria-disabled=true]:hover","&[data-disabled]"]),_empty:a("&:empty"),_enabled:a(["&:enabled","&:enabled:focus","&:enabled:hover"]),_firstChild:a("&:first-child"),_firstOfType:a("&:first-of-type"),_fullscreen:a("&:fullscreen"),_focus:a(["&:focus","&[data-focus]"]),_focusActive:a("&:focus:active"),_focusHover:a("&:focus:hover"),_focusVisible:a("&:focus-visible"),_focusWithin:a("&:focus-within"),_hover:a(["&:hover","&[data-hover]"]),_indeterminate:a(["&:indeterminate"]),_invalid:a(["&:invalid","&[aria-invalid=true]"]),_lastChild:a("&:last-child"),_lastOfType:a("&:last-of-type"),_notFirstChild:a("&:not(:first-child)"),_notFirstOfType:a("&:not(:first-of-type)"),_notLastChild:a("&:not(:last-child)"),_notLastOfType:a("&:not(:last-of-type)"),_nthOfType:(Array.isArray(r="&:nth-of-type")&&(r=r.join(",")),r&&"string"==typeof r)?function(e){var t={};if(e&&"object"===(0,o.Ac)(e))for(var n=0,i=Object.entries(e);n0&&void 0!==arguments[0]?arguments[0]:{};if(null==t)return{};if(Array.isArray(t))return t.reduce(function(t,o){return(0,r.Zj)((0,r.Zj)({},t),e(o)(n))},{});var c=(0,r.Zj)({},n.theme||n),u=function(e){var t={},n=(0,i.Z)((0,a.Z)(c,"breakpoints")),o=[null].concat((0,r.u)(n.map(function(e){return"@media screen and (min-width: ".concat(e,")")})));for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var u="function"==typeof e[s]?e[s](c):e[s];if(null!=u){if(!Array.isArray(u)){t[s]=u;continue}for(var l=0;l1&&p.forEach(function(n){f[n]=e((0,r._x)({},n,t[n]))}),f},p=n(71370),d=function(e,t){var n=(0,r.Zj)({},t),o=n.prefix,i=n.delimiter,a=void 0===i?"-":i,s=[void 0===o?"":o,e].filter(Boolean).join(a).replace(/\s+/g,a).replace(/[^a-zA-Z0-9-_]/g,a).replace(/^-+|-+$/g,"");return"--".concat(s)},h=function(e,t,n){var r,o=null==n?void 0:null===(r=n.props)||void 0===r?void 0:r.theme,i=!!(null!=o&&o.vars),a=m(e,t,n);return i&&/^var\(\s*([a-zA-Z0-9\-_]+)\s*\)$/.test(String(null!=a?a:"").trim())?"calc(0px - ".concat(a,")"):"number"==typeof a&&Number.isFinite(a)?-1*a:"-".concat(a)},m=function(e,t,n){var r=null==n?void 0:null===(s=n.props)||void 0===s?void 0:s.theme,i=!!(null!=r&&r.vars),a=(0,o.Z)(e,t);if(void 0!==a&&i){var s,c,u,l,f,p,h=null==r?void 0:null===(c=r.config)||void 0===c?void 0:c.prefix,m=null!==(u=null==r?void 0:null===(l=r.vars)||void 0===l?void 0:l.prefix)&&void 0!==u?u:h,g=null==r?void 0:r.__cssVariableMap,y=null!==(f=null==r?void 0:r.vars)&&void 0!==f?f:g,v=d([null==n?void 0:null===(p=n.context)||void 0===p?void 0:p.scale,String(null!=t?t:"")].filter(Boolean).join("."),{prefix:m,delimiter:"-"}),b=null==y?void 0:y[v];if(void 0!==b)return String(null!=a?a:"").replaceAll(b,"var(".concat(v,")"))}return null!=a?a:t},g=function(e,t,n){if("string"==typeof t){var r=t.startsWith("+")||t.startsWith("-")?t.slice(1):t;return t.startsWith("-")&&Object.prototype.hasOwnProperty.call(e,r)?h(e,r,n):m(e,t,n)}if("number"==typeof t&&Number.isFinite(t)){var o=Math.abs(t);return t<0&&Object.prototype.hasOwnProperty.call(e,o)?h(e,o,n):m(e,t,n)}return m(e,t,n)},y=function(e){var t=e.group,n=e.properties,o=e.property,i=e.alias,a=e.scale,s=e.defaultScale,c=e.transform,u=void 0===c?m:c,l=[].concat((0,r.u)((0,p.Z)(n)),(0,r.u)((0,p.Z)(o))),f={group:t,properties:l,alias:i,scale:a,defaultScale:null!=s?s:{}},d=function(e,t,n){var o=u(e,t,{context:f,props:n});return null==o?{}:l.reduce(function(e,t){if("object"===(0,r.Ac)(o)){var n;e[t]=null!==(n=null==o?void 0:o[t])&&void 0!==n?n:e[t]}else e[t]=o;return e},{})};return Object.assign(d,(0,r.Zj)({},f)),d},v=function(e,t){var n=null==t?void 0:t.group;return f(Object.keys((0,r.Zj)({},e)).reduce(function(t,o){var i=e[o];return"function"==typeof i?t[o]=i:!0===i?t[o]=y({group:n,property:o}):t[o]=y((0,r.Zj)({group:n},i)),t},{}))},b=v({animation:!0,animationDelay:!0,animationDirection:!0,animationDuration:!0,animationFillMode:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0},{group:"animation"}),k={background:{property:"background",scale:"colors"},backgroundAttachment:{property:"backgroundAttachment"},backgroundClip:{property:"backgroundClip"},backgroundColor:{property:"backgroundColor",scale:"colors"},backgroundImage:{property:"backgroundImage"},backgroundPosition:{property:"backgroundPosition",scale:"space",transform:g},backgroundPositionX:{property:"backgroundPositionX",scale:"space",transform:g},backgroundPositionY:{property:"backgroundPositionY",scale:"space",transform:g},backgroundRepeat:{property:"backgroundRepeat"},backgroundSize:{property:"backgroundSize",scale:"sizes"}};k.bg=(0,r.Zj)((0,r.Zj)({},k.background),{},{alias:"background"}),k.bgAttachment=(0,r.Zj)((0,r.Zj)({},k.backgroundAttachment),{},{alias:"backgroundAttachment"}),k.bgClip=(0,r.Zj)((0,r.Zj)({},k.backgroundClip),{},{alias:"backgroundClip"}),k.bgColor=(0,r.Zj)((0,r.Zj)({},k.backgroundColor),{},{alias:"backgroundColor"}),k.bgImage=(0,r.Zj)((0,r.Zj)({},k.backgroundImage),{},{alias:"backgroundImage"}),k.bgPosition=(0,r.Zj)((0,r.Zj)({},k.backgroundPosition),{},{alias:"backgroundPosition"}),k.bgPositionX=(0,r.Zj)((0,r.Zj)({},k.backgroundPositionX),{},{alias:"backgroundPositionX"}),k.bgPositionY=(0,r.Zj)((0,r.Zj)({},k.backgroundPositionY),{},{alias:"backgroundPositionY"}),k.bgRepeat=(0,r.Zj)((0,r.Zj)({},k.backgroundRepeat),{},{alias:"backgroundRepeat"}),k.bgSize=(0,r.Zj)((0,r.Zj)({},k.backgroundSize),{},{alias:"backgroundSize"});var x=v(k,{group:"background"}),w=v((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{border:{property:"border",scale:"borders"},borderColor:{property:"borderColor",scale:"colors"},borderStyle:!0,borderWidth:{property:"borderWidth",scale:"sizes"}}),{borderTop:{property:"borderTop",scale:"borders"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:!0,borderTopWidth:{property:"borderTopWidth",scale:"sizes"}}),{borderRight:{property:"borderRight",scale:"borders"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:!0,borderRightWidth:{property:"borderRightWidth",scale:"sizes"}}),{borderBottom:{property:"borderBottom",scale:"borders"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:!0,borderBottomWidth:{property:"borderBottomWidth",scale:"sizes"}}),{borderLeft:{property:"borderLeft",scale:"borders"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:!0,borderLeftWidth:{property:"borderLeftWidth",scale:"sizes"}}),{borderRadius:{property:"borderRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderEndEndRadius:{property:"borderEndEndRadius",scale:"radii"},borderEndStartRadius:{property:"borderEndStartRadius",scale:"radii"},borderStartEndRadius:{property:"borderStartEndRadius",scale:"radii"},borderStartStartRadius:{property:"borderStartStartRadius",scale:"radii"}}),{borderBlock:{property:"borderBlock",scale:"borders"},borderBlockColor:{property:"borderBlockColor",scale:"colors"},borderBlockStyle:!0,borderBlockWidth:{property:"borderBlockWidth",scale:"sizes"},borderBlockEnd:{property:"borderBlockEnd",scale:"borders"},borderBlockEndColor:{property:"borderBlockEndColor",scale:"colors"},borderBlockEndStyle:!0,borderBlockEndWidth:{property:"borderBlockEndWidth",scale:"sizes"},borderBlockStart:{property:"borderBlockStart",scale:"borders"},borderBlockStartColor:{property:"borderBlockStartColor",scale:"colors"},borderBlockStartStyle:!0,borderBlockStartWidth:{property:"borderBlockStartWidth",scale:"sizes"}}),{borderImage:!0,borderImageOutset:{property:"borderImageOutset",scale:"space",transform:g},borderImageRepeat:!0,borderImageSlice:{property:"borderImageSlice",scale:"space",transform:g},borderImageSource:!0,borderImageWidth:{property:"borderImageWidth",scale:"sizes"}}),{borderInline:{property:"borderInline",scale:"borders"},borderInlineColor:{property:"borderInlineColor",scale:"colors"},borderInlineStyle:!0,borderInlineWidth:{property:"borderInlineWidth",scale:"sizes"},borderInlineEnd:{property:"borderInlineEnd",scale:"borders"},borderInlineEndColor:{property:"borderInlineEndColor",scale:"colors"},borderInlineEndStyle:!0,borderInlineEndWidth:{property:"borderInlineEndWidth",scale:"sizes"},borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartColor:{property:"borderInlineStartColor",scale:"colors"},borderInlineStartStyle:!0,borderInlineStartWidth:{property:"borderInlineStartWidth",scale:"sizes"}}),{},{borderCollapse:!0,borderSpacing:{property:"borderSpacing",scale:"sizes"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}}),{group:"border"}),_=v({color:{property:"color",scale:"colors"},colorScheme:!0},{group:"color"}),S=v({contain:!0,containIntrinsicSize:{property:"containIntrinsicSize",scale:"sizes"},contentVisibility:!0},{group:"containment"}),O=v({backdropFilter:!0,backgroundBlendMode:!0,boxShadow:{property:"boxShadow",scale:"shadows"},filter:!0,mixBlendMode:!0,opacity:!0},{group:"effect"}),E=v({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:{property:"flexBasis",scale:"sizes"},justifySelf:!0,alignSelf:!0,order:!0},{group:"flexbox"}),j=v({gap:{property:"gap",scale:"sizes"},columnGap:{property:"columnGap",scale:"sizes"},rowGap:{property:"rowGap",scale:"sizes"}},{group:"gap"}),T=v({gridArea:!0,gridAutoColumns:!0,gridAutoFlow:!0,gridAutoRows:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,gridTemplate:!0,gridTemplateAreas:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridGap:{property:"gridGap",scale:"sizes"},gridColumnGap:{property:"gridColumnGap",scale:"sizes"},gridRowGap:{property:"gridRowGap",scale:"sizes"}},{group:"grid"}),C=v({imageOrientation:!0,imageRendering:!0},{group:"image"}),A=v({appearance:!0,caretColor:{property:"caretColor",scale:"colors"},cursor:!0,pointerEvents:!0,resize:!0,userSelect:!0},{group:"interactivity"}),R={width:{property:"width",scale:"sizes"},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0,aspectRatio:!0,boxSizing:!0,float:!0,objectFit:!0,objectPosition:!0,visibility:!0};R.w=(0,r.Zj)((0,r.Zj)({},R.width),{},{alias:"width"}),R.h=(0,r.Zj)((0,r.Zj)({},R.height),{},{alias:"height"});var I=v(R,{group:"layout"}),P=v({listStyleImage:!0,listStylePosition:!0,listStyleType:!0},{group:"list-style"}),Z={margin:{property:"margin",scale:"space",transform:g},marginTop:{property:"marginTop",scale:"space",transform:g},marginRight:{property:"marginRight",scale:"space",transform:g},marginBottom:{property:"marginBottom",scale:"space",transform:g},marginLeft:{property:"marginLeft",scale:"space",transform:g},marginBlock:{property:"marginBlock",scale:"space",transform:g},marginBlockStart:{property:"marginBlockStart",scale:"space",transform:g},marginBlockEnd:{property:"marginBlockEnd",scale:"space",transform:g},marginInline:{property:"marginInline",scale:"space",transform:g},marginInlineStart:{property:"marginInlineStart",scale:"space",transform:g},marginInlineEnd:{property:"marginInlineEnd",scale:"space",transform:g}};Z.marginX={properties:["marginLeft","marginRight"],scale:"space",transform:g},Z.marginY={properties:["marginTop","marginBottom"],scale:"space",transform:g},Z.m=(0,r.Zj)((0,r.Zj)({},Z.margin),{},{alias:"margin"}),Z.mt=(0,r.Zj)((0,r.Zj)({},Z.marginTop),{},{alias:"marginTop"}),Z.mr=(0,r.Zj)((0,r.Zj)({},Z.marginRight),{},{alias:"marginRight"}),Z.mb=(0,r.Zj)((0,r.Zj)({},Z.marginBottom),{},{alias:"marginBottom"}),Z.ml=(0,r.Zj)((0,r.Zj)({},Z.marginLeft),{},{alias:"marginLeft"}),Z.mx=(0,r.Zj)((0,r.Zj)({},Z.marginX),{},{alias:"marginX"}),Z.my=(0,r.Zj)((0,r.Zj)({},Z.marginY),{},{alias:"marginY"});var N=v(Z,{group:"margin"}),F=v({clip:!0,clipPath:!0,mask:!0,maskBorder:!0,maskType:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0},{group:"masking"}),L=v({outline:{property:"outline",scale:"outlines"},outlineColor:{property:"outlineColor",scale:"colors"},outlineOffset:{property:"outlineOffset",scale:"space",transform:g},outlineWidth:{property:"outlineWidth",scale:"sizes"},outlineStyle:!0},{group:"outline"}),M={padding:{property:"padding",scale:"space"},paddingTop:{property:"paddingTop",scale:"space"},paddingRight:{property:"paddingRight",scale:"space"},paddingBottom:{property:"paddingBottom",scale:"space"},paddingLeft:{property:"paddingLeft",scale:"space"}};M.paddingX={properties:["paddingLeft","paddingRight"],scale:"space"},M.paddingY={properties:["paddingTop","paddingBottom"],scale:"space"},M.p=(0,r.Zj)((0,r.Zj)({},M.padding),{},{alias:"padding"}),M.pt=(0,r.Zj)((0,r.Zj)({},M.paddingTop),{},{alias:"paddingTop"}),M.pr=(0,r.Zj)((0,r.Zj)({},M.paddingRight),{},{alias:"paddingRight"}),M.pb=(0,r.Zj)((0,r.Zj)({},M.paddingBottom),{},{alias:"paddingBottom"}),M.pl=(0,r.Zj)((0,r.Zj)({},M.paddingLeft),{},{alias:"paddingLeft"}),M.px=(0,r.Zj)((0,r.Zj)({},M.paddingX),{},{alias:"paddingX"}),M.py=(0,r.Zj)((0,r.Zj)({},M.paddingY),{},{alias:"paddingY"});var D=v(M,{group:"padding"}),B=v({inset:{property:"inset",scale:"space",transform:g},insetBlock:{property:"insetBlock",scale:"space",transform:g},insetBlockEnd:{property:"insetBlockEnd",scale:"space",transform:g},insetBlockStart:{property:"insetBlockStart",scale:"space",transform:g},insetInline:{property:"insetInline",scale:"space",transform:g},insetInlineEnd:{property:"insetInlineEnd",scale:"space",transform:g},insetInlineStart:{property:"insetInlineStart",scale:"space",transform:g},position:!0,top:{property:"top",scale:"space",transform:g},right:{property:"right",scale:"space",transform:g},bottom:{property:"bottom",scale:"space",transform:g},left:{property:"left",scale:"space",transform:g},zIndex:{property:"zIndex",scale:"zIndices"}},{group:"position"}),z={scrollBehavior:!0,scrollMargin:{property:"scrollMargin",scale:"space",transform:g},scrollMarginBlock:{property:"scrollMarginBlock",scale:"space",transform:g},scrollMarginBlockEnd:{property:"scrollMarginBlockEnd",scale:"space",transform:g},scrollMarginBlockStart:{property:"scrollMarginBlockStart",scale:"space",transform:g},scrollMarginInline:{property:"scrollMarginInline",scale:"space",transform:g},scrollMarginInlineEnd:{property:"scrollMarginInlineEnd",scale:"space",transform:g},scrollMarginInlineStart:{property:"scrollMarginInlineStart",scale:"space",transform:g},scrollMarginTop:{property:"scrollMarginTop",scale:"space",transform:g},scrollMarginRight:{property:"scrollMarginRight",scale:"space",transform:g},scrollMarginBottom:{property:"scrollMarginBottom",scale:"space",transform:g},scrollMarginLeft:{property:"scrollMarginLeft",scale:"space",transform:g},scrollPadding:{property:"scrollPadding",scale:"space"},scrollPaddingTop:{property:"scrollPaddingTop",scale:"space"},scrollPaddingRight:{property:"scrollPaddingRight",scale:"space"},scrollPaddingBottom:{property:"scrollPaddingBottom",scale:"space"},scrollPaddingLeft:{property:"scrollPaddingLeft",scale:"space"},scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0};z.scrollMarginX={properties:["scrollMarginLeft","scrollMarginRight"],scale:"space",transform:g},z.scrollMarginY={properties:["scrollMarginTop","scrollMarginBottom"],scale:"space",transform:g},z.scrollPaddingX={properties:["scrollPaddingLeft","scrollPaddingRight"],scale:"space"},z.scrollPaddingY={properties:["scrollPaddingTop","scrollPaddingBottom"],scale:"space"};var $=function(){for(var e={},t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)}},34841:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e,t,n,r,o){for(r=0,t=t&&t.split?t.split("."):[t];re.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(!e||!(e instanceof HTMLElement))return[];var n=Array.from(e.querySelectorAll('a[href],area[href],audio[controls],button:not([disabled]),embed,iframe,input:not([type="hidden"]):not([disabled]),object,select:not([disabled]),textarea:not([disabled]),video[controls],*[contenteditable]:not([contenteditable="false"]),*[tabindex]:not([aria-disabled="true"])'));return n=n.filter(function(e){var t=(0,r.Dx)(e);return(null==t?void 0:t.display)!=="none"}),!0===t&&(n=n.filter(function(e){return"-1"!==e.getAttribute("tabindex")})),n}},33558:function(e,t,n){"use strict";n.d(t,{Dx:function(){return a},Jb:function(){return u},Nq:function(){return o},Re:function(){return f},lZ:function(){return c},nq:function(){return p},oe:function(){return s},vY:function(){return i}});var r=n(53248),o=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},i=function(e){var t=c(e);return null==t?void 0:t.activeElement},a=function(e){if(!e)throw TypeError("No element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):null},s=function e(t){return f(t)?e(t.offsetParent)+t.offsetLeft:0},c=function(e){var t;return l(e)&&null!==(t=e.ownerDocument)&&void 0!==t?t:document},u=function e(t){return f(t)?e(t.offsetParent)+t.offsetTop:0},l=function(e){return null!=e&&"object"===(0,r.Ac)(e)&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE},f=function(e){if(!l(e))return!1;var t,n=null!==(t=e.ownerDocument.defaultView)&&void 0!==t?t:window;return e instanceof n.HTMLElement},p=function(e){return e&&(null==e?void 0:e.scrollTop)}},56818:function(e,t,n){"use strict";n.d(t,{N:function(){return l},PB:function(){return f},PP:function(){return u},Pu:function(){return h},Qm:function(){return c},TL:function(){return m},TS:function(){return p},ZT:function(){return d}});var r=n(53248),o=n(5081),i=n(13409),a=function(e){return 0===(e=(0,o.rY)(e)).length?"":1===e.length?"'".concat(e[0],"'"):2===e.length?"'".concat(e[0],"' and '").concat(e[1],"'"):"'".concat(e.slice(0,-1).join("', '"),"', and '").concat(e.slice(-1),"'")},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(n.has(t))return n.get(t);if(Array.isArray(t)){var o=[];n.set(t,o);for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0};if(Array.isArray(t)&&Array.isArray(n)){var a=o.clone?(0,r.u)(t):t;return n.forEach(function(t,n){(0,i.PO)(t)&&(0,i.PO)(a[n])?a[n]=e(a[n],t,o):a[n]=o.clone?s(t):t}),a}if((0,i.PO)(t)&&(0,i.PO)(n)){for(var c=o.clone?(0,r.Zj)({},t):t,u=0,l=Object.entries(n);u1?t-1:0),r=1;r1?"are":"is";s?u.push("".concat(a(e)," ").concat(l," deprecated and will be removed in the next major release.")):u.push("".concat(a(e)," ").concat(l," deprecated.")),i.length>0&&u.push("Use ".concat(a(i)," instead.")),c&&u.push(c),console.error(u.join(" "))}}},83377:function(e,t,n){"use strict";n.d(t,{YU:function(){return s},Zk:function(){return u},c:function(){return c},nV:function(){return a},zx:function(){return l}});var r=n(53248),o=n(5081),i=function(e){return e>0?"".concat(Math.round(e),"ms"):""},a={standard:300,enteringScreen:225,leavingScreen:195},s={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},c=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.enter)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.enter)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},u=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.exit)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.exit)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},l=function(e,t){e=null!==(n=e)&&void 0!==n?n:["all"];var n,c=(0,r.Zj)({},t),u=c.duration,l=void 0===u?a.standard:u,f=c.easing,p=void 0===f?s.easeInOut:f,d=c.delay,h=void 0===d?0:d;return(0,o.rY)(e).map(function(e){return[e,"string"==typeof l?l:i(l),p,"string"==typeof h?h:i(h)].filter(function(e){return null!=e&&""!==e}).join(" ")}).join(",")}},85748:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},15538:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},43681:function(e,t,n){var r=n(96314),o=n(66193),i=n(60121),a=n(16147);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},73408:function(e,t,n){var r=n(13850),o=n(23912),i=n(60121),a=n(83096);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},68064:function(e,t,n){var r=n(67425).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47739:function(e,t,n){var r=n(67425).default,o=n(68064);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},67425:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60121:function(e,t,n){var r=n(85748);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},80753:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},56666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(32802);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7896:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},88960:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},32802:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86522);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},86522:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},45392:function(e,t,n){"use strict";n.d(t,{Zo:function(){return s},ah:function(){return i}});var r=n(2784);let o=r.createContext({});function i(e){let t=r.useContext(o);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||a:i(e),r.createElement(o.Provider,{value:s},t)}},20303:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){var t,n,o,l,m,b,w,_,S,O,E,j,T,C,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=(0,u.a)(),P=(0,c.z)(),Z=(0,s.a)(),N=f(A),F=f(R),L=(0,r.useRef)(!0),M=(0,r.useRef)(null),D=(0,r.useRef)(P.status),B=(0,r.useMemo)(function(){return k(k({},e(function(e,t){if(t){L.current=!0;return}if(L.current){var n=e.instantSearchInstance,r=(e.widgetParams,x(e,g));(0,i.J)(r,M.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&n.status===D.current||(U(r),M.current=r,D.current=n.status)}},function(){L.current=!1})(N)),F)},[e,N,F]),z=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(function(){if(B.getWidgetRenderState){var e,t=Z.getHelper(),n=Z.getWidgetUiState({})[Z.getIndexId()];t.state=(null===(e=B.getWidgetSearchParameters)||void 0===e?void 0:e.call(B,t.state,{uiState:n}))||t.state;var r=(0,a.E)(Z),o=r.results,i=r.scopedResults,s=B.getWidgetRenderState({helper:t,parent:Z,instantSearchInstance:P,results:o,scopedResults:i,state:t.state,renderState:P.renderState,templatesConfig:P.templatesConfig,createURL:Z.createURL,searchMetadata:{isSearchStalled:"stalled"===P.status},status:P.status,error:P.error});return s.widgetParams,x(s,y)}return{}}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return v(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),$=z[0],U=z[1];return m=(n={widget:B,parentIndex:Z,props:N,shouldSsr:!!I}).widget,b=n.parentIndex,w=n.props,_=n.shouldSsr,S=(0,h.P)(),O=(0,r.useRef)(w),(0,r.useEffect)(function(){O.current=w},[w]),E=(0,r.useRef)(m),(0,r.useEffect)(function(){E.current=m},[m]),j=(0,r.useRef)(null),T=_&&!b.getWidgets().includes(m),C=(0,c.z)(),(0,d.L)(function(){var e=E.current;return j.current?(clearTimeout(j.current),(0,i.J)(w,O.current)||(b.removeWidgets([e]),b.addWidgets([m]))):T||b.addWidgets([m]),function(){j.current=setTimeout(function(){C._schedule(function(){C._preventWidgetCleanup||b.removeWidgets([e])})})}},[b,m,T,C,w]),(T||(null==S?void 0:null===(o=S.current)||void 0===o?void 0:o.status)==="pending")&&b.addWidgets([m]),"undefined"==typeof window&&null!=S&&S.current&&"ais.index"!==m.$$type&&(p(S.current),"ais.dynamicWidgets"!==m.$$type&&null!==(l=C.helper)&&void 0!==l&&l.lastResults&&p(S.current)),$}},11849:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},5881:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},87287:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{J:function(){return function e(t,n,i){var a,s;if(null!=i&&i(t,n)||t===n)return!0;if(t&&n&&(a=t.constructor)===n.constructor){if(a===Date)return t.getTime()===n.getTime();if(a===RegExp)return t.toString()===n.toString();if(a===Array){if((s=t.length)===n.length)for(;s--&&e(t[s],n[s],i););return -1===s}if(!a||"object"===r(t)){for(a in s=0,t)if(o.call(t,a)&&++s&&!o.call(n,a)||!(a in n)||!e(t[a],n[a],i))return!1;return Object.keys(n).length===s}}return t!=t&&n!=n}}});var o=Object.prototype.hasOwnProperty},73183:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(96906);function o(e){var t,n,o;return new r.SearchResults(e,[{query:null!==(t=e.query)&&void 0!==t?t:"",page:null!==(n=e.page)&&void 0!==n?n:0,hitsPerPage:null!==(o=e.hitsPerPage)&&void 0!==o?o:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t component must be used within ."),e}},53232:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(2784),o=n(18670),i=n(5881);function a(){var e=(0,r.useContext)(i.Z);return(0,o.k)(null!==e,"Hooks must be used inside the component.\n\nThey are not compatible with the `react-instantsearch-core@6.x` and `react-instantsearch-dom` packages, so make sure to use the component from `react-instantsearch-core@7.x`."),e}},29170:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},91106:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2784),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},38436:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},65245:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,f,p,d;n.d(t,{uz:function(){return oO},nu:function(){return oS}});var h,m,g,y,v,b,k,x,w,_,S,O,E,j,T,C,A,R,I,P,Z,N,F,L,M,D,B=n(2784),z=function(){for(var e,t,n=0,r="",o=arguments.length;nt in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&X(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&X(e,n,t[n]);return e},ee=(e,t)=>H(e,W(t)),et=(e,t)=>{var n={};for(var r in e)G.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&K)for(var r of K(e))0>t.indexOf(r)&&Y.call(e,r)&&(n[r]=e[r]);return n},en=(d=null!=(f=(u={"../../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(/=l.reach));w+=x.value.length,x=x.next){var _,S=x.value;if(n.length>t.length)return;if(!(S instanceof o)){var O=1;if(y){if(!(_=i(k,w,t,g))||_.index>=t.length)break;var E=_.index,j=_.index+_[0].length,T=w;for(T+=x.value.length;E>=T;)T+=(x=x.next).value.length;if(T-=x.value.length,w=T,x.value instanceof o)continue;for(var C=x;C!==n.tail&&(Tl.reach&&(l.reach=P);var Z=x.prev;if(R&&(Z=s(n,Z,R),w+=R.length),function(e,t,n){for(var r=t.next,o=0;o1){var N={cause:f+","+d,reach:P};e(t,n,a,x.prev,w,N),l&&N.reach>l.reach&&(l.reach=N.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)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 i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){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}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 i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},r}();t.exports=n,n.default=n}},function(){return l||(0,u[V(u)[0]])((l={exports:{}}).exports,l),l.exports})())?$(Q(f)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of V(t))G.call(e,o)||o===n||U(e,o,{get:()=>t[o],enumerable:!(r=q(t,o))||r.enumerable});return e})(!p&&f&&f.__esModule?d:U(d,"default",{value:f,enumerable:!0}),f));en.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{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]},en.languages.markup.tag.inside["attr-value"].inside.entity=en.languages.markup.entity,en.languages.markup.doctype.inside["internal-subset"].inside=en.languages.markup,en.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(en.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:en.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:en.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},en.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(en.languages.markup.tag,"addAttribute",{value:function(e,t){en.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:en.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),en.languages.html=en.languages.markup,en.languages.mathml=en.languages.markup,en.languages.svg=en.languages.markup,en.languages.xml=en.languages.extend("markup",{}),en.languages.ssml=en.languages.xml,en.languages.atom=en.languages.xml,en.languages.rss=en.languages.xml,g={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},v=RegExp((v="(?:[^\\\\-]|"+(y=/\\(?: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+")")+"-"+v),b={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},en.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:v,inside:{escape:y,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":g,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:y}},"special-escape":g,"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":b}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:y,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},en.languages.javascript=en.languages.extend("clike",{"class-name":[en.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}|\?\?=?|\?\.?|[~:]/}),en.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,en.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:en.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:en.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:en.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:en.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:en.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),en.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:en.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"}}),en.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),en.languages.markup&&(en.languages.markup.tag.addInlined("script","javascript"),en.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")),en.languages.js=en.languages.javascript,en.languages.actionscript=en.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),en.languages.actionscript["class-name"].alias="function",delete en.languages.actionscript.parameter,delete en.languages.actionscript["literal-property"],en.languages.markup&&en.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:en.languages.markup}}),k=/#(?!\{).+/,x={pattern:/#\{[^}]+\}/,alias:"variable"},en.languages.coffeescript=en.languages.extend("javascript",{comment:k,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:x}}],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"}}),en.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:k,interpolation:x}}}),en.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:en.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:x}}]}),en.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete en.languages.coffeescript["template-string"],en.languages.coffee=en.languages.coffeescript,Object.defineProperty(w=en.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(o=en.languages[e]){var o,i=o[r];if((i=i||(o=en.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(i=o[r]={pattern:i}),Array.isArray(i))for(var a=0,s=i.length;a|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(en),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\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:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?: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}(en),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//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}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(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+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),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__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(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",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(en),en.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:en.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+/},en.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?|<|>)?|>[>=]?|\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"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in c&&function t(n){for(var a=0,c=n.length;a=f.length)return;var a,c,p,d,h,m,g,y=n[i];"string"==typeof y||"string"==typeof y.content?(a=f[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(a))&&(++u,c=m.substring(0,g),h=l[a],p=void 0,(d={})["interpolation-punctuation"]=o,3===(d=e.tokenize(h,d)).length&&((p=[1,1]).push.apply(p,s(d[1],e.languages.javascript,"javascript")),d.splice.apply(d,p)),p=new e.Token("interpolation",d,r.alias,h),d=m.substring(g+a.length),h=[],c&&h.push(c),h.push(p),d&&(t(m=[d]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[i,1].concat(h)),i+=h.length-1):y.content=h)):Array.isArray(g=y.content)?t(g):t([g])}}(c),new e.Token(a,c,"language-"+a,t)}(l,f,p))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(en),en.languages.typescript=en.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/}),en.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 en.languages.typescript.parameter,delete en.languages.typescript["literal-property"],S=en.languages.extend("typescript",{}),delete S["class-name"],en.languages.typescript["class-name"].inside=S,en.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:S}}}}),en.languages.ts=en.languages.typescript,O=en.languages.javascript,j="(@(?:arg|argument|param|property)\\s+(?:"+(E=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",en.languages.jsdoc=en.languages.extend("javadoclike",{parameter:{pattern:RegExp(j+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),en.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(j+/\[(?:(?!\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:O,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return E})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+E),lookbehind:!0,inside:{string:O.string,number:O.number,boolean:O.boolean,keyword:en.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:O,alias:"language-javascript"}}}}),en.languages.javadoclike.addSupport("javascript",en.languages.jsdoc),en.languages.flow=en.languages.extend("javascript",{}),en.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),en.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 en.languages.flow.parameter,en.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(en.languages.flow.keyword)||(en.languages.flow.keyword=[en.languages.flow.keyword]),en.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}),en.languages.n4js=en.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/}),en.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),en.languages.n4jsd=en.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//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*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\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*)#?/.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*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\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:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],o=0;o"!==i.content[i.content.length-1].content&&r.push({tagName:a(i.content[0].content[1]),openedBraces:0}):0]=?/,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:/[{}[\]();,.:\\]/},en.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=en.languages.swift}),en.languages.kotlin=en.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 en.languages.kotlin["class-name"],C={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:en.languages.kotlin}},en.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:C},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:C},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete en.languages.kotlin.string,en.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),en.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),en.languages.kt=en.languages.kotlin,en.languages.kts=en.languages.kotlin,en.languages.c=en.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|[?:~]|[-+*/%&|^!=<>]=?/}),en.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),en.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},en.languages.c.string],char:en.languages.c.char,comment:en.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:en.languages.c}}}}),en.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 en.languages.c.boolean,en.languages.objectivec=en.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 en.languages.objectivec["class-name"],en.languages.objc=en.languages.objectivec,en.languages.reason=en.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/}),en.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 en.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//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}(en),en.languages.go=en.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/}),en.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete en.languages.go["class-name"],A=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,R=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return A.source}),en.languages.cpp=en.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return A.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:A,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),en.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return R})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),en.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:en.languages.cpp}}}}),en.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),en.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:en.languages.extend("cpp",{})}}),en.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},en.languages.cpp["base-clause"]),en.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:/[{}[\];(),.:]/},en.languages.python["string-interpolation"].inside.interpolation.inside.rest=en.languages.python,en.languages.py=en.languages.python;var er={};((e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})})(er,{dracula:()=>eo,duotoneDark:()=>ei,duotoneLight:()=>ea,github:()=>es,jettwaveDark:()=>ek,jettwaveLight:()=>ex,nightOwl:()=>ec,nightOwlLight:()=>eu,oceanicNext:()=>ep,okaidia:()=>ed,oneDark:()=>ew,oneLight:()=>e_,palenight:()=>eh,shadesOfPurple:()=>em,synthwave84:()=>eg,ultramin:()=>ey,vsDark:()=>ev,vsLight:()=>eb});var eo={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)"}}]},ei={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"}}]},ea={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"}}]},es={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"}}]},ec={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)"}}]},eu={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)"}}]},el="#c5a5c5",ef="#8dc891",ep={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:el}},{types:["attr-value"],style:{color:ef}},{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:ef}},{types:["punctuation"],style:{color:ef}},{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:el}},{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}}]},ed={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"}}]},eh={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)"}}]},em={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)"}}]},eg={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"}}]},ey={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)"}}]},ev={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)"}}]},eb={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ex={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"}}]},ew={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%)"}}]},e_={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%)"}}]},eS=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=J(J({},e[t]),o);e[t]=n}),e},{});return r.root=n,r.plain=ee(J({},n),{backgroundColor:void 0}),r},eO=(e,t)=>{let[n,r]=(0,B.useState)(eS(t,e)),o=(0,B.useRef)(),i=(0,B.useRef)();return(0,B.useEffect)(()=>{(t!==o.current||e!==i.current)&&(o.current=t,i.current=e,r(eS(t,e)))},[e,t]),n},eE=e=>(0,B.useCallback)(t=>{var{className:n,style:r,line:o}=t;let i=ee(J({},et(t,["className","style","line"])),{className:z("token-line",n)});return"object"==typeof e&&"plain"in e&&(i.style=e.plain),"object"==typeof r&&(i.style=J(J({},i.style||{}),r)),i},[e]),ej=e=>{let t=(0,B.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,B.useCallback)(e=>{var{token:n,className:r,style:o}=e;let i=ee(J({},et(e,["token","className","style"])),{className:z("token",...n.types,r),children:n.content,style:t(n)});return null!=o&&(i.style=J(J({},i.style||{}),o)),i},[t])},eT=/\r\n|\r|\n/,eC=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)},eA=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eR=e=>{let t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];for(;a>-1;){for(;(i=r[a]++)0?u:["plain"],e=l):(u=eA(u,l.type),l.alias&&(u=eA(u,l.alias)),e=l.content),"string"!=typeof e){a++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}let f=e.split(eT),p=f.length;s.push({types:u,content:f[0]});for(let e=1;e{let o=(0,B.useRef)(e);return(0,B.useMemo)(()=>{if(null==n)return eR([t]);let 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),eR(e.tokens)},[t,n,r])},eP=({children:e,language:t,code:n,theme:r,prism:o})=>{let i=t.toLowerCase(),a=eO(i,r),s=eE(a),c=ej(a),u=o.languages[i];return e({tokens:eI({prism:o,language:i,code:n,grammar:u}),className:`prism-code language-${i}`,style:null!=a?a.root:{},getLineProps:s,getTokenProps:c})},eZ=e=>(0,B.createElement)(eP,ee(J({},e),{prism:e.prism||en,theme:e.theme||ev,code:e.code,language:e.language})),eN={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function eF(e){var t=window.getSelection();t.empty(),t.addRange(e)}function eL(e){return(e.metaKey||e.ctrlKey)&&!e.altKey&&"KeyZ"===e.code}function eM(e){e=[e.firstChild];for(var t,n="";t=e.pop();)t.nodeType===Node.TEXT_NODE?n+=t.textContent:t.nodeType===Node.ELEMENT_NODE&&"BR"===t.nodeName&&(n+="\n"),t.nextSibling&&e.push(t.nextSibling),t.firstChild&&e.push(t.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function eD(e){var t=window.getSelection().getRangeAt(0),n=t.collapsed?0:t.toString().length,r=document.createRange();return r.setStart(e,0),r.setEnd(t.startContainer,t.startOffset),{position:e=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[t=r.length-1],line:t}}function eB(e,t,n){0>=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var o,i=0,a=t;o=e[e.length-1];){if(o.nodeType===Node.TEXT_NODE){if(i+o.textContent.length>=a){var s=a-i;if(a===t){if(a=r,s=a){if(a===t){if(s=r,0";case N.template:return"template";case N.ellipsis:return"...";case N.backQuote:return"`";case N.dollarBraceL:return"${";case N.at:return"@";case N.hash:return"#";case N.eq:return"=";case N.assign:return"_=";case N.preIncDec:case N.postIncDec:return"++/--";case N.bang:return"!";case N.tilde:return"~";case N.pipeline:return"|>";case N.nullishCoalescing:return"??";case N.logicalOR:return"||";case N.logicalAND:return"&&";case N.bitwiseOR:return"|";case N.bitwiseXOR:return"^";case N.bitwiseAND:return"&";case N.equality:return"==/!=";case N.lessThan:return"<";case N.greaterThan:return">";case N.relationalOrEqual:return"<=/>=";case N.bitShiftL:return"<<";case N.bitShiftR:return">>/>>>";case N.plus:return"+";case N.minus:return"-";case N.modulo:return"%";case N.star:return"*";case N.slash:return"/";case N.exponent:return"**";case N.jsxName:return"jsxName";case N.jsxText:return"jsxText";case N.jsxEmptyText:return"jsxEmptyText";case N.jsxTagStart:return"jsxTagStart";case N.jsxTagEnd:return"jsxTagEnd";case N.typeParameterStart:return"typeParameterStart";case N.nonNullAssertion:return"nonNullAssertion";case N._break:return"break";case N._case:return"case";case N._catch:return"catch";case N._continue:return"continue";case N._debugger:return"debugger";case N._default:return"default";case N._do:return"do";case N._else:return"else";case N._finally:return"finally";case N._for:return"for";case N._function:return"function";case N._if:return"if";case N._return:return"return";case N._switch:return"switch";case N._throw:return"throw";case N._try:return"try";case N._var:return"var";case N._let:return"let";case N._const:return"const";case N._while:return"while";case N._with:return"with";case N._new:return"new";case N._this:return"this";case N._super:return"super";case N._class:return"class";case N._extends:return"extends";case N._export:return"export";case N._import:return"import";case N._yield:return"yield";case N._null:return"null";case N._true:return"true";case N._false:return"false";case N._in:return"in";case N._instanceof:return"instanceof";case N._typeof:return"typeof";case N._void:return"void";case N._delete:return"delete";case N._async:return"async";case N._get:return"get";case N._set:return"set";case N._declare:return"declare";case N._readonly:return"readonly";case N._abstract:return"abstract";case N._static:return"static";case N._public:return"public";case N._private:return"private";case N._protected:return"protected";case N._override:return"override";case N._as:return"as";case N._enum:return"enum";case N._type:return"type";case N._implements:return"implements";default:return""}}(e)}"`)}function e2(e="Unexpected token",t=a.start){if(a.error)return;let n=SyntaxError(e);n.pos=t,a.error=n,a.pos=s.length,tv(N.eof)}let e5=[9,11,12,F.space,F.nonBreakingSpace,F.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],e3=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e6=new Uint8Array(65536);for(let e of e5)e6[e]=1;let e8=new Uint8Array(65536);for(let e=0;e<128;e++)e8[e]=!function(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw Error("Should not be called with non-ASCII char code.")}(e)?0:1;for(let e=128;e<65536;e++)e8[e]=1;for(let e of e5)e8[e]=0;e8[8232]=0,e8[8233]=0;let e4=e8.slice();for(let e=F.digit0;e<=F.digit9;e++)e4[e]=0;let e9=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,Z._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,Z._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,Z._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,Z._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,Z._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,Z._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(N._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(N._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,Z._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(N._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(N._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(N._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,Z._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(N._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(N._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(N._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,Z._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(N._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,Z._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(N._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,Z._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(N._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,Z._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(N._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,Z._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,Z._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,Z._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,Z._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,Z._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(N._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(N._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(N._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(N._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function e7(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.FunctionScopedDeclaration||t===L.BlockScopedDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ObjectShorthandFunctionScopedDeclaration||t===L.ObjectShorthandBlockScopedDeclaration}function te(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ImportDeclaration}!function(e){e[e.Access=0]="Access",e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";let t=3;e[e.FunctionScopedDeclaration=t]="FunctionScopedDeclaration";let n=t+1;e[e.BlockScopedDeclaration=n]="BlockScopedDeclaration";let r=n+1;e[e.ObjectShorthandTopLevelDeclaration=r]="ObjectShorthandTopLevelDeclaration";let o=r+1;e[e.ObjectShorthandFunctionScopedDeclaration=o]="ObjectShorthandFunctionScopedDeclaration";let i=o+1;e[e.ObjectShorthandBlockScopedDeclaration=i]="ObjectShorthandBlockScopedDeclaration";let a=i+1;e[e.ObjectShorthand=a]="ObjectShorthand";let s=a+1;e[e.ImportDeclaration=s]="ImportDeclaration";let c=s+1;e[e.ObjectKey=c]="ObjectKey";let u=c+1;e[e.ImportAccess=u]="ImportAccess"}(L||(L={})),(h=M||(M={}))[h.NoChildren=0]="NoChildren",h[h.OneChild=1]="OneChild",h[h.StaticChildren=2]="StaticChildren",h[h.KeyAfterPropSpread=3]="KeyAfterPropSpread";class tt{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function tn(){a.tokens.push(new tt),tm()}function tr(){a.tokens.push(new tt),a.start=a.pos,function(){for(;;){if(a.pos>=s.length){e2("Unterminated template");return}let e=s.charCodeAt(a.pos);if(e===F.graveAccent||e===F.dollarSign&&s.charCodeAt(a.pos+1)===F.leftCurlyBrace){if(a.pos===a.start&&tc(N.template)){if(e===F.dollarSign){a.pos+=2,tv(N.dollarBraceL);return}++a.pos,tv(N.backQuote);return}tv(N.template);return}e===F.backslash&&a.pos++,a.pos++}}()}function to(e){for(let t=a.tokens.length-e;t=s.length){let e=a.tokens;e.length>=2&&e[e.length-1].start>=s.length&&e[e.length-2].start>=s.length&&e2("Unexpectedly reached the end of input."),tv(N.eof);return}e4[e=s.charCodeAt(a.pos)]||e===F.backslash||e===F.atSign&&s.charCodeAt(a.pos+1)===F.atSign?function(){let e=0,t=0,n=a.pos;for(;nF.lowercaseZ);){let r=e9[e+(t-F.lowercaseA)+1];if(-1===r)break;e=r,n++}let r=e9[e];if(r>-1&&!e8[t]){a.pos=n,1&r?tv(r>>>1):tv(N.name,r>>>1);return}for(;ns.length){e2("Unterminated comment",a.pos-2);return}a.pos+=2}();break;case F.slash:tg(2);break;default:return}break;default:if(!e6[e])return;++a.pos}}}function tv(e,t=Z.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function tb(){if(a.isType){tw(N.greaterThan,1);return}let e=s.charCodeAt(a.pos+1);if(e===F.greaterThan){let e=s.charCodeAt(a.pos+2)===F.greaterThan?3:2;if(s.charCodeAt(a.pos+e)===F.equalsTo){tw(N.assign,e+1);return}tw(N.bitShiftR,e);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.greaterThan,1)}function tk(){a.type===N.greaterThan&&(a.pos-=1,tb())}function tx(e){switch(e){case F.numberSign:++a.pos,tv(N.hash);return;case F.dot:!function(){let e=s.charCodeAt(a.pos+1);if(e>=F.digit0&&e<=F.digit9){tS(!0);return}e===F.dot&&s.charCodeAt(a.pos+2)===F.dot?(a.pos+=3,tv(N.ellipsis)):(++a.pos,tv(N.dot))}();return;case F.leftParenthesis:++a.pos,tv(N.parenL);return;case F.rightParenthesis:++a.pos,tv(N.parenR);return;case F.semicolon:++a.pos,tv(N.semi);return;case F.comma:++a.pos,tv(N.comma);return;case F.leftSquareBracket:++a.pos,tv(N.bracketL);return;case F.rightSquareBracket:++a.pos,tv(N.bracketR);return;case F.leftCurlyBrace:i&&s.charCodeAt(a.pos+1)===F.verticalBar?tw(N.braceBarL,2):(++a.pos,tv(N.braceL));return;case F.rightCurlyBrace:++a.pos,tv(N.braceR);return;case F.colon:s.charCodeAt(a.pos+1)===F.colon?tw(N.doubleColon,2):(++a.pos,tv(N.colon));return;case F.questionMark:!function(){let e=s.charCodeAt(a.pos+1),t=s.charCodeAt(a.pos+2);e!==F.questionMark||i&&a.isType?e!==F.dot||t>=F.digit0&&t<=F.digit9?(++a.pos,tv(N.question)):(a.pos+=2,tv(N.questionDot)):t===F.equalsTo?tw(N.assign,3):tw(N.nullishCoalescing,2)}();return;case F.atSign:++a.pos,tv(N.at);return;case F.graveAccent:++a.pos,tv(N.backQuote);return;case F.digit0:{let e=s.charCodeAt(a.pos+1);if(e===F.lowercaseX||e===F.uppercaseX||e===F.lowercaseO||e===F.uppercaseO||e===F.lowercaseB||e===F.uppercaseB){!function(){for(a.pos+=2;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e>=F.lowercaseA&&e<=F.lowercaseF||e>=F.uppercaseA&&e<=F.uppercaseF||e===F.underscore)a.pos++;else break}s.charCodeAt(a.pos)===F.lowercaseN?(++a.pos,tv(N.bigint)):tv(N.num)}();return}}case F.digit1:case F.digit2:case F.digit3:case F.digit4:case F.digit5:case F.digit6:case F.digit7:case F.digit8:case F.digit9:tS(!1);return;case F.quotationMark:case F.apostrophe:!function(e){for(a.pos++;;){if(a.pos>=s.length){e2("Unterminated string constant");return}let t=s.charCodeAt(a.pos);if(t===F.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,tv(N.string)}(e);return;case F.slash:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.slash,1);return;case F.percentSign:case F.asterisk:let t,n,r;t=e===F.asterisk?N.star:N.modulo,n=1,r=s.charCodeAt(a.pos+1),e===F.asterisk&&r===F.asterisk&&(n++,r=s.charCodeAt(a.pos+2),t=N.exponent),r===F.equalsTo&&s.charCodeAt(a.pos+2)!==F.greaterThan&&(n++,t=N.assign),tw(t,n);return;case F.verticalBar:case F.ampersand:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){s.charCodeAt(a.pos+2)===F.equalsTo?tw(N.assign,3):tw(e===F.verticalBar?N.logicalOR:N.logicalAND,2);return}if(e===F.verticalBar){if(t===F.greaterThan){tw(N.pipeline,2);return}if(t===F.rightCurlyBrace&&i){tw(N.braceBarR,2);return}}if(t===F.equalsTo){tw(N.assign,2);return}tw(e===F.verticalBar?N.bitwiseOR:N.bitwiseAND,1)}(e);return;case F.caret:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.bitwiseXOR,1);return;case F.plusSign:case F.dash:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){tw(N.preIncDec,2);return}t===F.equalsTo?tw(N.assign,2):e===F.plusSign?tw(N.plus,1):tw(N.minus,1)}(e);return;case F.lessThan:!function(){let e=s.charCodeAt(a.pos+1);if(e===F.lessThan){if(s.charCodeAt(a.pos+2)===F.equalsTo){tw(N.assign,3);return}a.isType?tw(N.lessThan,1):tw(N.bitShiftL,2);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.lessThan,1)}();return;case F.greaterThan:tb();return;case F.equalsTo:case F.exclamationMark:!function(e){let t=s.charCodeAt(a.pos+1);if(t===F.equalsTo){tw(N.equality,s.charCodeAt(a.pos+2)===F.equalsTo?3:2);return}if(e===F.equalsTo&&t===F.greaterThan){a.pos+=2,tv(N.arrow);return}tw(e===F.equalsTo?N.eq:N.bang,1)}(e);return;case F.tilde:tw(N.tilde,1);return}e2(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function tw(e,t){a.pos+=t,tv(e)}function t_(){for(;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e===F.underscore)a.pos++;else break}}function tS(e){let t=!1,n=!1;e||t_();let r=s.charCodeAt(a.pos);if(r===F.dot&&(++a.pos,t_(),r=s.charCodeAt(a.pos)),(r===F.uppercaseE||r===F.lowercaseE)&&(((r=s.charCodeAt(++a.pos))===F.plusSign||r===F.dash)&&++a.pos,t_(),r=s.charCodeAt(a.pos)),r===F.lowercaseN?(++a.pos,t=!0):r===F.lowercaseM&&(++a.pos,n=!0),t){tv(N.bigint);return}if(n){tv(N.decimal);return}tv(N.num)}function tO(e,t=e.currentIndex()){let n=t+1;if(tE(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(tE(e,++n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw Error(`Unexpected import/export specifier at ${t}`)}function tE(e,t){let n=e.tokens[t];return n.type===N.braceR||n.type===N.comma}var tj=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function tT(e){let[t,n]=tC(e.jsxPragma||"React.createElement"),[r,o]=tC(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}function tC(e){let t=e.indexOf(".");return -1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class tA{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class tR extends tA{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,o){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=o,tR.prototype.__init.call(this),tR.prototype.__init2.call(this),tR.prototype.__init3.call(this),tR.prototype.__init4.call(this),tR.prototype.__init5.call(this),this.jsxPragmaInfo=tT(o),this.isAutomaticRuntime="automatic"===o.jsxRuntime,this.jsxImportSource=o.jsxImportSource||"react"}process(){return!!this.tokens.matches1(N.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime){if(this.importProcessor)for(let[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{let{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);let r=Object.entries(n).map(([e,t])=>`${e} as ${t}`).join(", ");if(r){let t=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");e+=`import {${r}} from "${t}";`}}}return e}processJSXTag(){let{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==M.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){let t=this.getLineNumberForIndex(e);return`lineNumber: ${t}`}getLineNumberForIndex(e){let t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(N.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(N.slash,N.jsxTagEnd));else if(this.tokens.matches1(N.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:e}=this,t=this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base;return`${t}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){let n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(!this.importProcessor)return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e];{let n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,N.jsxName,N.jsxName)&&!this.tokens.matches2AtIndex(e-1,N.greaterThan,N.jsxName)&&!this.tokens.matches1AtIndex(e,N.braceL)&&!this.tokens.matches1AtIndex(e,N.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,N.slash,N.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){let e=this.tokens.identifierName();tI(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=F.lowercaseA&&t<=F.lowercaseZ}function tP(e){let t=0,n=0;for(let r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function tZ(e,t){let n,r="",o=0,i=t;if("#"===e[i]){var a,s;let t,r=10;if("x"===e[++i])for(r=16,t=++i;i=F.digit0&&a<=F.digit9||a>=F.lowercaseA&&a<=F.lowercaseF||a>=F.uppercaseA&&a<=F.uppercaseF);)i++;else for(t=i;i=F.digit0&&s<=F.digit9;)i++;if(";"===e[i]){let o=e.slice(t,i);o&&(i++,n=String.fromCodePoint(parseInt(o,r)))}}else for(;i0)&&!(t.namedExports.length>0)&&[...t.defaultNames,...t.wildcardNames,...t.namedImports.map(({localName:e})=>e)].every(e=>this.shouldAutomaticallyElideImportedName(e)))||this.importsToReplace.set(e,"")}shouldAutomaticallyElideImportedName(e){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(let[e,t]of this.importInfoByPath.entries()){let n;let{defaultNames:r,wildcardNames:o,namedImports:i,namedExports:a,exportStarNames:s,hasStarExport:c}=t;if(0===r.length&&0===o.length&&0===i.length&&0===a.length&&0===s.length&&!c){this.importsToReplace.set(e,`require('${e}');`);continue}let u=this.getFreeIdentifierForPath(e);n=this.enableLegacyTypeScriptModuleInterop?u:o.length>0?o[0]:this.getFreeIdentifierForPath(e);let l=`var ${u} = require('${e}');`;if(o.length>0)for(let e of o){let t=this.enableLegacyTypeScriptModuleInterop?u:`${this.helperManager.getHelperName("interopRequireWildcard")}(${u})`;l+=` var ${e} = ${t};`}else s.length>0&&n!==u?l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${u});`:r.length>0&&n!==u&&(l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireDefault")}(${u});`);for(let{importedName:e,localName:t}of a)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${u}, '${t}', '${e}');`;for(let e of s)l+=` exports.${e} = ${n};`;for(let t of(c&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${u});`),this.importsToReplace.set(e,l),r))this.identifierReplacements.set(t,`${n}.default`);for(let{importedName:e,localName:t}of i)this.identifierReplacements.set(t,`${u}.${e}`)}}getFreeIdentifierForPath(e){let t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){let t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,Z._type)||this.tokens.matches1AtIndex(e,N._typeof))&&!this.tokens.matches1AtIndex(e+1,N.comma)&&!this.tokens.matchesContextualAtIndex(e+1,Z._from)||this.tokens.matches1AtIndex(e,N.parenL))return;if(this.tokens.matches1AtIndex(e,N.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,N.comma)&&e++),this.tokens.matches1AtIndex(e,N.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,N.braceL)){let n=this.getNamedImports(e+1);for(let o of(e=n.newIndex,n.namedImports))"default"===o.importedName?t.push(o.localName):r.push(o)}if(this.tokens.matchesContextualAtIndex(e,Z._from)&&e++,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(e),i=this.getImportInfo(o);i.defaultNames.push(...t),i.wildcardNames.push(...n),i.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(i.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,N._export,N._var)||this.tokens.matches2AtIndex(e,N._export,N._let)||this.tokens.matches2AtIndex(e,N._export,N._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,N._export,N._function)||this.tokens.matches2AtIndex(e,N._export,N._class)){let t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,N._export,N.name,N._function)){let t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,N._export,N.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,N._export,N.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,N.braceL)||this.tokens.matches1AtIndex(n,N.dollarBraceL)||this.tokens.matches1AtIndex(n,N.bracketL))t++;else if(this.tokens.matches1AtIndex(n,N.braceR)||this.tokens.matches1AtIndex(n,N.bracketR))t--;else if(0!==t||this.tokens.matches1AtIndex(n,N.name)){if(this.tokens.matches1AtIndex(1,N.eq)){let e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw Error("Expected = token with an end index.");n=e-1}else if(e7(this.tokens.tokens[n])){let e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}else break}preprocessNamedExportAtIndex(e){e+=2;let{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,this.tokens.matchesContextualAtIndex(e,Z._from))e++;else{for(let{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,N._export,N.star,N._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of star export statement.");let n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){let t=[];for(;;){if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}let n=tO(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,N.comma,N.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}if(this.tokens.matches1AtIndex(e,N.comma))e++;else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`)}return{newIndex:e,namedImports:t}}getImportInfo(e){let t=this.importInfoByPath.get(e);if(t)return t;let n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){let t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){let t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map(e=>`exports.${e}`).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var tL=n(78372);let tM={require:` import {createRequire as CREATE_REQUIRE_NAME} from "module"; const require = CREATE_REQUIRE_NAME(import.meta.url); `,interopRequireWildcard:` diff --git a/react/pr-947/_next/static/chunks/pages/components/accordion-911194ccb61e5834.js b/react/pr-947/_next/static/chunks/pages/components/accordion-ef99ea5d244f4397.js similarity index 88% rename from react/pr-947/_next/static/chunks/pages/components/accordion-911194ccb61e5834.js rename to react/pr-947/_next/static/chunks/pages/components/accordion-ef99ea5d244f4397.js index 3cd939585f..85f0690f70 100644 --- a/react/pr-947/_next/static/chunks/pages/components/accordion-911194ccb61e5834.js +++ b/react/pr-947/_next/static/chunks/pages/components/accordion-ef99ea5d244f4397.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9861],{79601:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return F}});var o=t(52322),r=t(45392),i=t(96835),c=t(40596),l=t(90094),a=t(76013),d=t(79036),s=t(80508),h=t(99293),x=t(70758),m=t(25619),f=t(21457),u=t(2784),p=t(24231);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,o)}return t}function y(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,o=Array(n);te.length)&&(n=e.length);for(var t=0,o=Array(n);t {\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:'import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\nimport SkeletonBlock from \'@/components/SkeletonBlock\';\n\nconst App = () => {\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h3,{id:"controlled-accordion",children:["Controlled accordion",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#controlled-accordion",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(n.p,{children:"Extend the default behavior to create an accordion with controlled state."}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:P,file:{data:"import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from '@tonic-ui/react';\nimport React from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [expandedItem, setExpandedItem] = React.useState('item1');\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:"import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from '@tonic-ui/react';\nimport React from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [expandedItem, setExpandedItem] = React.useState('item1');\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h3,{id:"customization",children:["Customization",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customization",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.p,{children:["If you don't like the default styles, you can use ",(0,o.jsx)(n.code,{children:"AccordionToggle"}),", ",(0,o.jsx)(n.code,{children:"AccordionToggleIcon"}),", and ",(0,o.jsx)(n.code,{children:"AccordionContent"})," to customize the accordion."]}),"\n",(0,o.jsx)(n.p,{children:"Here is an example of customizing the accordion:"}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:v,file:{data:"import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionToggle,\n AccordionToggleIcon,\n Space,\n Text,\n useColorMode,\n} from '@tonic-ui/react';\nimport { ChevronDownIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const borderColor = {\n dark: 'rgba(255, 255, 255, 0.12)',\n light: 'rgba(0, 0, 0, 0.12)',\n }[colorMode];\n const [expandedItem, setExpandedItem] = useState(null);\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n const renderToggleIcon = item => (\n \n {(state, { ref, style: styleProps }) => {\n styleProps.transform = (expandedItem === item) ? 'rotate(0deg)' : 'rotate(-90deg)';\n return ();\n }}\n \n );\n const getAccordionItemProps = item => {\n const isExpanded = expandedItem === item;\n const itemStyleProps = {\n border: 1,\n borderColor,\n borderStyle: 'solid',\n borderBottomWidth: isExpanded ? 1 : 0,\n transition: 'all .2s',\n my: isExpanded ? '3x' : 0,\n _firstOfType: {\n mt: 0,\n },\n _lastOfType: {\n mb: 0,\n borderBottomWidth: 1,\n },\n };\n\n return {\n ...itemStyleProps,\n isExpanded,\n onToggle: handleToggle(item),\n };\n };\n const getAccordionToggleProps = item => {\n const toggleStyleProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n backgroundColor: {\n dark: 'gray:90',\n light: 'white',\n }[colorMode],\n color: {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode],\n px: '4x',\n minHeight: '12x',\n };\n\n return {\n ...toggleStyleProps,\n };\n };\n\n return (\n \n {['item1', 'item2', 'item3'].map((item, index) => (\n \n \n {renderToggleIcon(item)}\n \n \n Collapsible Item #{index + 1}\n \n \n \n \n \n \n ))}\n \n );\n};\n\nexport default App;",path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:"import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionToggle,\n AccordionToggleIcon,\n Space,\n Text,\n useColorMode,\n} from '@tonic-ui/react';\nimport { ChevronDownIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const borderColor = {\n dark: 'rgba(255, 255, 255, 0.12)',\n light: 'rgba(0, 0, 0, 0.12)',\n }[colorMode];\n const [expandedItem, setExpandedItem] = useState(null);\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n const renderToggleIcon = item => (\n \n {(state, { ref, style: styleProps }) => {\n styleProps.transform = (expandedItem === item) ? 'rotate(0deg)' : 'rotate(-90deg)';\n return ();\n }}\n \n );\n const getAccordionItemProps = item => {\n const isExpanded = expandedItem === item;\n const itemStyleProps = {\n border: 1,\n borderColor,\n borderStyle: 'solid',\n borderBottomWidth: isExpanded ? 1 : 0,\n transition: 'all .2s',\n my: isExpanded ? '3x' : 0,\n _firstOfType: {\n mt: 0,\n },\n _lastOfType: {\n mb: 0,\n borderBottomWidth: 1,\n },\n };\n\n return {\n ...itemStyleProps,\n isExpanded,\n onToggle: handleToggle(item),\n };\n };\n const getAccordionToggleProps = item => {\n const toggleStyleProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n backgroundColor: {\n dark: 'gray:90',\n light: 'white',\n }[colorMode],\n color: {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode],\n px: '4x',\n minHeight: '12x',\n };\n\n return {\n ...toggleStyleProps,\n };\n };\n\n return (\n \n {['item1', 'item2', 'item3'].map((item, index) => (\n \n \n {renderToggleIcon(item)}\n \n \n Collapsible Item #{index + 1}\n \n \n \n \n \n \n ))}\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h2,{id:"props",children:["Props",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordion-1",children:["Accordion",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordion-1",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsx)(n.tbody,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionitem",children:["AccordionItem",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionitem",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"isExpanded"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is expanded."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"defaultIsExpanded"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is expanded by default."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"onToggle"}),(0,o.jsx)(n.td,{align:"left",children:"function"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A callback that is called when the accordion item is toggled."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionheader",children:["AccordionHeader",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionheader",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion header is disabled."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionbody",children:["AccordionBody",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionbody",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsx)(n.tbody,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordiontoggle",children:["AccordionToggle",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordiontoggle",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion toggle is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"onClick"}),(0,o.jsx)(n.td,{align:"left",children:"function"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A callback that is called when the accordion toggle is clicked."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordiontoggleicon",children:["AccordionToggleIcon",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordiontoggleicon",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"appear"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left",children:"false"}),(0,o.jsxs)(n.td,{align:"left",children:["By default the child component does not perform the enter transition when it first mounts, regardless of the value of ",(0,o.jsx)(n.code,{children:"in"}),". If you want this behavior, set both ",(0,o.jsx)(n.code,{children:"appear"})," and ",(0,o.jsx)(n.code,{children:"in"})," to true."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(state, props) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used instead of a React element. This function is called with the current transition state ('entering', 'entered', 'exiting', 'exited'), ref, style, and context specific props for a component."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion toggle icon is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"easing"}),(0,o.jsxs)(n.td,{align:"left",children:["string | ",(0,o.jsx)(n.code,{children:"{ enter?: string, exit?: string }"})]}),(0,o.jsx)(n.td,{align:"left",children:(0,o.jsx)(n.code,{children:"{ enter: easing.easeInOut, exit: easing.easeInOut }"})}),(0,o.jsx)(n.td,{align:"left",children:"The timing function that describes how intermediate values are calculated during a transition. You may specify a single timing function for all transitions, or individually with an object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"in"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),", the component will transition in."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"mountOnEnter"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),', it will "lazy mount" the component on the first ',(0,o.jsx)(n.code,{children:"in={true}"}),". After the first enter transition the component will stay mounted, even on the 'exited' state, unless you also specify ",(0,o.jsx)(n.code,{children:"unmountOnExit"}),". By default the child component is mounted immediately along with the parent transition component."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"timeout"}),(0,o.jsxs)(n.td,{align:"left",children:["number | ",(0,o.jsx)(n.code,{children:"{ appear?: number, enter?: number, exit?: number }"})]}),(0,o.jsx)(n.td,{align:"left",children:(0,o.jsx)(n.code,{children:"{ enter: duration.enterScreen, exit: duration.levingScreen }"})}),(0,o.jsx)(n.td,{align:"left",children:"The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"unmountOnExit"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),", it will unmount the child component when ",(0,o.jsx)(n.code,{children:"in={false}"})," and the animation has finished. By default the child component stays mounted after it reaches the 'exited' state."]})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordioncontent",children:["AccordionContent",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordioncontent",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionComponent"}),(0,o.jsx)(n.td,{align:"left",children:"ElementType"}),(0,o.jsx)(n.td,{align:"left",children:"Collapse"}),(0,o.jsx)(n.td,{align:"left",children:"The component used for the transition."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionProps"}),(0,o.jsx)(n.td,{align:"left",children:"object"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["Props applied to the ",(0,o.jsx)(n.a,{href:"http://reactcommunity.org/react-transition-group/transition#Transition-props",children:"Transition"})," element."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionProps.appear"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left",children:"false"}),(0,o.jsx)(n.td,{align:"left"})]})]})]})]})}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,r.ah)(),e.components).wrapper;return n?(0,o.jsx)(n,Object.assign({},e,{children:(0,o.jsx)(D,e)})):D(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var o=t(27216),r=t(40596),i=t(49857),c=t(73645),l=t(99870),a=t(62272),d=t(14594),s=t(65019),h=t(37384),x=t(99554),m=t(69111),f=t(5632),u=t(2784),p=t(65245);function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},y=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,u.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,i,c,l=[],a=!0,d=!1;try{for(i=(t=t.call(e)).next;!(a=(o=i.call(t)).done)&&(l.push(o.value),2!==l.length);a=!0);}catch(e){d=!0,r=e}finally{try{if(!a&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(d)throw r}}return l}}(n,2)||function(e,n){if(e){if("string"==typeof e)return g(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:e,onCopy:function(){j(e),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},b=t(63768),A=t(76761),k=t(73205),v=t(98107),E=t(44285),I=["component","defaultExpanded","expanded","file","sandbox"];function T(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,i,c,l=[],a=!0,d=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;a=!1}else for(;!(a=(o=i.call(t)).done)&&(l.push(o.value),l.length!==n);a=!0);}catch(e){d=!0,r=e}finally{try{if(!a&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(d)throw r}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return S(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}}}(e,I);var w=(0,f.useRouter)(),B=T((0,u.useReducer)(function(e){return!e},!1),2),C=B[0],O=B[1],H=(0,o.u)(),N=T((0,r.Z)(),1)[0],P={dark:A.y,light:A.q}[N],R=T((0,s.Z)(null!=j?j:void 0!==g&&g),2),D=R[0],F=R[1],_=y(null==S?void 0:S.data),M=_.onCopy,z=_.hasCopied,W=(0,u.useCallback)(function(){M()},[M]),G=(0,u.useCallback)(function(){(0,k.b)(Z)},[Z]),X=(0,u.useCallback)(function(){O(),F(!1)},[O,F]);return((0,u.useEffect)(function(){void 0!==j&&j!==D&&F(j)},[j,D,F]),t)?u.createElement(p.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:P},u.createElement(i.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},u.createElement(i.Z,{fontSize:"sm",lineHeight:"sm"},u.createElement(u.Fragment,{key:C},u.createElement(t,null)))),u.createElement(c.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},u.createElement(E.Z,{"data-track":D?"CodeBlock|hide_source|".concat((0,v.Z)({path:w.pathname})):"CodeBlock|show_source|".concat((0,v.Z)({path:w.pathname})),onClick:F},u.createElement(l.Z,{label:D?"Hide the source":"Show the source"},u.createElement(h.Z,null))),u.createElement(E.Z,{"data-track":"CodeBlock|copy_source|".concat((0,v.Z)({path:w.pathname})),onClick:W},u.createElement(l.Z,{label:z?"Copied":"Copy the source"},u.createElement(x.Z,null))),u.createElement(E.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(w.pathname),onClick:G},u.createElement(l.Z,{label:"Edit in CodeSandbox"},u.createElement(b.Z,null))),u.createElement(E.Z,{"data-track":"CodeBlock|reset|".concat(w.pathname),onClick:X},u.createElement(l.Z,{label:"Reset the demo"},u.createElement(m.Z,null)))),u.createElement(a.Z,{in:D},u.createElement(d.Z,{in:D,unmountOnExit:!0},u.createElement(i.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==H?void 0:null===(n=H.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):u.createElement(p.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:P},u.createElement(i.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};Z.displayName="Demo";var w=Z},24231:function(e,n,t){"use strict";var o=t(73645),r=t(57861),i=t(2784);n.Z=function(e){return i.createElement(o.Z,e,i.createElement(o.Z,{flex:"none",mr:"4x",alignItems:"center"},i.createElement(r.Z,{variant:"circle",width:"10x",height:"10x"})),i.createElement(o.Z,{flex:"auto",flexDirection:"column",rowGap:"2x"},i.createElement(r.Z,null),i.createElement(r.Z,null),i.createElement(r.Z,null)))}},46326:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/accordion",function(){return t(79601)}])},10525:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var o=t(2784),r=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,o.useRef)(!1);n&&!t.current&&("function"==typeof e&&e(),t.current=!0)}},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}}),t(2784);var o=t(75928),r=t(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}}),t(2784);var o=t(75928),r=t(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},57861:function(e,n,t){"use strict";t.d(n,{Z:function(){return A}});var o,r,i=t(53860),c=t(10525),l=t(56818),a=t(2784),d=t(98827),s=t(28165),h=t(40596),x=(0,s.F4)(o||(o=(0,i.AI)(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: .4;\n }\n 100% {\n opacity: 1;\n }\n"]))),m=(0,s.F4)(r||(r=(0,i.AI)(["\n 0% {\n transform: translateX(-100%);\n }\n 50% {\n // +0.5s of delay between each loop\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n"]))),f=function(e){var n=e.animation,t=e.colorMode;return"pulse"===n?{animation:"".concat(x," 1.5s ease-in-out .5s infinite")}:"wave"===n?{position:"relative",overflow:"hidden",__after:{animation:"".concat(m," 1.6s linear .5s infinite"),background:"linear-gradient(90deg,".concat(["transparent","rgba(255, 255, 255, ".concat({dark:.08,light:.32}[t],")"),"transparent"].join(","),")"),content:'""',position:"absolute",inset:0,transform:"translateX(-100%)"}}:{animation:n}},u=function(e){var n=e.variant;return"text"===n?{height:"3x",borderRadius:"sm",_empty:{"::before":{content:'"\\00a0"'}}}:"rectangle"===n?{}:"circle"===n?{borderRadius:"50%"}:{}},p=function(e){var n=e.animation,t=e.variant,o=(0,h.Z)(),r=(0,i.ZQ)(o,1)[0],c={dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"}[r],l=f({animation:n,colorMode:r}),a=u({variant:t});return(0,i.Zj)((0,i.Zj)({display:"block",backgroundColor:c},l),a)},g=t(52903),j=t(49857),y=["animation","variant"],b=(0,a.forwardRef)(function(e,n){var t=(0,d.Z)({props:e,name:"Skeleton"}),o=t.animation,r=t.variant,a=(0,i.Kd)(t,y),s=void 0===r?"text":r,h="".concat(b.displayName,":");(0,c.Z)(function(){(0,l.TL)('variant="rect"',{prefix:h,alternative:'variant="rectangle"',willRemove:!0})},"rect"===s),"rect"===s&&(s="rectangle");var x=p({animation:o,variant:s});return(0,g.tZ)(j.Z,(0,i.Zj)((0,i.Zj)({ref:n},x),a))});b.displayName="Skeleton";var A=b}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=46326)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9861],{79601:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return F}});var o=t(52322),r=t(45392),i=t(96835),c=t(40596),l=t(90094),a=t(76013),d=t(79036),s=t(80508),h=t(99293),x=t(70758),m=t(25619),f=t(21457),u=t(2784),p=t(24231);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,o)}return t}function y(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,o=Array(n);te.length)&&(n=e.length);for(var t=0,o=Array(n);t {\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:'import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\nimport SkeletonBlock from \'@/components/SkeletonBlock\';\n\nconst App = () => {\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h3,{id:"controlled-accordion",children:["Controlled accordion",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#controlled-accordion",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(n.p,{children:"Extend the default behavior to create an accordion with controlled state."}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:P,file:{data:"import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from '@tonic-ui/react';\nimport React from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [expandedItem, setExpandedItem] = React.useState('item1');\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:"import {\n Accordion,\n AccordionItem,\n AccordionHeader,\n AccordionBody,\n Text,\n} from '@tonic-ui/react';\nimport React from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [expandedItem, setExpandedItem] = React.useState('item1');\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n\n return (\n \n \n \n \n Accordion 1\n \n \n \n \n \n \n \n \n \n Accordion 2\n \n \n \n \n \n \n \n \n \n Disabled Accordion\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h3,{id:"customization",children:["Customization",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customization",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.p,{children:["If you don't like the default styles, you can use ",(0,o.jsx)(n.code,{children:"AccordionToggle"}),", ",(0,o.jsx)(n.code,{children:"AccordionToggleIcon"}),", and ",(0,o.jsx)(n.code,{children:"AccordionContent"})," to customize the accordion."]}),"\n",(0,o.jsx)(n.p,{children:"Here is an example of customizing the accordion:"}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:v,file:{data:"import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionToggle,\n AccordionToggleIcon,\n Space,\n Text,\n useColorMode,\n} from '@tonic-ui/react';\nimport { ChevronDownIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const borderColor = {\n dark: 'rgba(255, 255, 255, 0.12)',\n light: 'rgba(0, 0, 0, 0.12)',\n }[colorMode];\n const [expandedItem, setExpandedItem] = useState(null);\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n const renderToggleIcon = item => (\n \n {(state, { ref, style: styleProps }) => {\n styleProps.transform = (expandedItem === item) ? 'rotate(0deg)' : 'rotate(-90deg)';\n return ();\n }}\n \n );\n const getAccordionItemProps = item => {\n const isExpanded = expandedItem === item;\n const itemStyleProps = {\n border: 1,\n borderColor,\n borderStyle: 'solid',\n borderBottomWidth: isExpanded ? 1 : 0,\n transition: 'all .2s',\n my: isExpanded ? '3x' : 0,\n _firstOfType: {\n mt: 0,\n },\n _lastOfType: {\n mb: 0,\n borderBottomWidth: 1,\n },\n };\n\n return {\n ...itemStyleProps,\n isExpanded,\n onToggle: handleToggle(item),\n };\n };\n const getAccordionToggleProps = item => {\n const toggleStyleProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n backgroundColor: {\n dark: 'gray:90',\n light: 'white',\n }[colorMode],\n color: {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode],\n px: '4x',\n minHeight: '12x',\n };\n\n return {\n ...toggleStyleProps,\n };\n };\n\n return (\n \n {['item1', 'item2', 'item3'].map((item, index) => (\n \n \n {renderToggleIcon(item)}\n \n \n Collapsible Item #{index + 1}\n \n \n \n \n \n \n ))}\n \n );\n};\n\nexport default App;",path:"pages/components/accordion/index.page.mdx"},sandbox:{files:{"src/components/SkeletonBlock.js":'import {\n Flex,\n Skeleton,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst SkeletonBlock = (props) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SkeletonBlock;'},raw:"import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionToggle,\n AccordionToggleIcon,\n Space,\n Text,\n useColorMode,\n} from '@tonic-ui/react';\nimport { ChevronDownIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\nimport SkeletonBlock from '@/components/SkeletonBlock';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const borderColor = {\n dark: 'rgba(255, 255, 255, 0.12)',\n light: 'rgba(0, 0, 0, 0.12)',\n }[colorMode];\n const [expandedItem, setExpandedItem] = useState(null);\n const handleToggle = item => ({ isExpanded }) => {\n setExpandedItem(isExpanded ? item : null);\n };\n const renderToggleIcon = item => (\n \n {(state, { ref, style: styleProps }) => {\n styleProps.transform = (expandedItem === item) ? 'rotate(0deg)' : 'rotate(-90deg)';\n return ();\n }}\n \n );\n const getAccordionItemProps = item => {\n const isExpanded = expandedItem === item;\n const itemStyleProps = {\n border: 1,\n borderColor,\n borderStyle: 'solid',\n borderBottomWidth: isExpanded ? 1 : 0,\n transition: 'all .2s',\n my: isExpanded ? '3x' : 0,\n _firstOfType: {\n mt: 0,\n },\n _lastOfType: {\n mb: 0,\n borderBottomWidth: 1,\n },\n };\n\n return {\n ...itemStyleProps,\n isExpanded,\n onToggle: handleToggle(item),\n };\n };\n const getAccordionToggleProps = item => {\n const toggleStyleProps = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n backgroundColor: {\n dark: 'gray:90',\n light: 'white',\n }[colorMode],\n color: {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode],\n px: '4x',\n minHeight: '12x',\n };\n\n return {\n ...toggleStyleProps,\n };\n };\n\n return (\n \n {['item1', 'item2', 'item3'].map((item, index) => (\n \n \n {renderToggleIcon(item)}\n \n \n Collapsible Item #{index + 1}\n \n \n \n \n \n \n ))}\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(n.h2,{id:"props",children:["Props",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordion-1",children:["Accordion",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordion-1",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsx)(n.tbody,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionitem",children:["AccordionItem",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionitem",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"isExpanded"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is expanded."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"defaultIsExpanded"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion item is expanded by default."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"onToggle"}),(0,o.jsx)(n.td,{align:"left",children:"function"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A callback that is called when the accordion item is toggled."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionheader",children:["AccordionHeader",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionheader",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion header is disabled."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordionbody",children:["AccordionBody",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordionbody",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsx)(n.tbody,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]})})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordiontoggle",children:["AccordionToggle",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordiontoggle",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion toggle is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"onClick"}),(0,o.jsx)(n.td,{align:"left",children:"function"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A callback that is called when the accordion toggle is clicked."})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordiontoggleicon",children:["AccordionToggleIcon",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordiontoggleicon",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"appear"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left",children:"false"}),(0,o.jsxs)(n.td,{align:"left",children:["By default the child component does not perform the enter transition when it first mounts, regardless of the value of ",(0,o.jsx)(n.code,{children:"in"}),". If you want this behavior, set both ",(0,o.jsx)(n.code,{children:"appear"})," and ",(0,o.jsx)(n.code,{children:"in"})," to true."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsxs)(n.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(n.code,{children:"(state, props) => ReactNode"})]}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"A function child can be used instead of a React element. This function is called with the current transition state ('entering', 'entered', 'exiting', 'exited'), ref, style, and context specific props for a component."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"disabled"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left",children:"Whether the accordion toggle icon is disabled."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"easing"}),(0,o.jsxs)(n.td,{align:"left",children:["string | ",(0,o.jsx)(n.code,{children:"{ enter?: string, exit?: string }"})]}),(0,o.jsx)(n.td,{align:"left",children:(0,o.jsx)(n.code,{children:"{ enter: easing.easeInOut, exit: easing.easeInOut }"})}),(0,o.jsx)(n.td,{align:"left",children:"The timing function that describes how intermediate values are calculated during a transition. You may specify a single timing function for all transitions, or individually with an object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"in"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),", the component will transition in."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"mountOnEnter"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),', it will "lazy mount" the component on the first ',(0,o.jsx)(n.code,{children:"in={true}"}),". After the first enter transition the component will stay mounted, even on the 'exited' state, unless you also specify ",(0,o.jsx)(n.code,{children:"unmountOnExit"}),". By default the child component is mounted immediately along with the parent transition component."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"timeout"}),(0,o.jsxs)(n.td,{align:"left",children:["number | ",(0,o.jsx)(n.code,{children:"{ appear?: number, enter?: number, exit?: number }"})]}),(0,o.jsx)(n.td,{align:"left",children:(0,o.jsx)(n.code,{children:"{ enter: duration.enterScreen, exit: duration.levingScreen }"})}),(0,o.jsx)(n.td,{align:"left",children:"The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"unmountOnExit"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["If ",(0,o.jsx)(n.code,{children:"true"}),", it will unmount the child component when ",(0,o.jsx)(n.code,{children:"in={false}"})," and the animation has finished. By default the child component stays mounted after it reaches the 'exited' state."]})]})]})]}),"\n",(0,o.jsxs)(n.h3,{id:"accordioncontent",children:["AccordionContent",(0,o.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accordioncontent",children:(0,o.jsx)(n.svg,{children:(0,o.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(n.table,{children:[(0,o.jsx)(n.thead,{children:(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.th,{align:"left",children:"Name"}),(0,o.jsx)(n.th,{align:"left",children:"Type"}),(0,o.jsx)(n.th,{align:"left",children:"Default"}),(0,o.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(n.tbody,{children:[(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"children"}),(0,o.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsx)(n.td,{align:"left"})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionComponent"}),(0,o.jsx)(n.td,{align:"left",children:"ElementType"}),(0,o.jsx)(n.td,{align:"left",children:"Collapse"}),(0,o.jsx)(n.td,{align:"left",children:"The component used for the transition."})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionProps"}),(0,o.jsx)(n.td,{align:"left",children:"object"}),(0,o.jsx)(n.td,{align:"left"}),(0,o.jsxs)(n.td,{align:"left",children:["Props applied to the ",(0,o.jsx)(n.a,{href:"http://reactcommunity.org/react-transition-group/transition#Transition-props",children:"Transition"})," element."]})]}),(0,o.jsxs)(n.tr,{children:[(0,o.jsx)(n.td,{align:"left",children:"TransitionProps.appear"}),(0,o.jsx)(n.td,{align:"left",children:"boolean"}),(0,o.jsx)(n.td,{align:"left",children:"false"}),(0,o.jsx)(n.td,{align:"left"})]})]})]})]})}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,r.ah)(),e.components).wrapper;return n?(0,o.jsx)(n,Object.assign({},e,{children:(0,o.jsx)(D,e)})):D(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var o=t(27216),r=t(40596),i=t(49857),c=t(73645),l=t(99870),a=t(62272),d=t(14594),s=t(65019),h=t(37384),x=t(99554),m=t(69111),f=t(5632),u=t(2784),p=t(65245);function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},y=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,u.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,i,c,l=[],a=!0,d=!1;try{for(i=(t=t.call(e)).next;!(a=(o=i.call(t)).done)&&(l.push(o.value),2!==l.length);a=!0);}catch(e){d=!0,r=e}finally{try{if(!a&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(d)throw r}}return l}}(n,2)||function(e,n){if(e){if("string"==typeof e)return g(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:e,onCopy:function(){j(e),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},b=t(63768),A=t(76761),k=t(73205),v=t(98107),E=t(44285),I=["component","defaultExpanded","expanded","file","sandbox"];function T(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,i,c,l=[],a=!0,d=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;a=!1}else for(;!(a=(o=i.call(t)).done)&&(l.push(o.value),l.length!==n);a=!0);}catch(e){d=!0,r=e}finally{try{if(!a&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(d)throw r}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return S(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}}}(e,I);var w=(0,f.useRouter)(),B=T((0,u.useReducer)(function(e){return!e},!1),2),C=B[0],O=B[1],H=(0,o.u)(),N=T((0,r.Z)(),1)[0],P={dark:A.y,light:A.q}[N],R=T((0,s.Z)(null!=j?j:void 0!==g&&g),2),D=R[0],F=R[1],_=y(null==S?void 0:S.data),M=_.onCopy,z=_.hasCopied,W=(0,u.useCallback)(function(){M()},[M]),G=(0,u.useCallback)(function(){(0,k.b)(Z)},[Z]),X=(0,u.useCallback)(function(){O(),F(!1)},[O,F]);return((0,u.useEffect)(function(){void 0!==j&&j!==D&&F(j)},[j,D,F]),t)?u.createElement(p.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:P},u.createElement(i.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},u.createElement(i.Z,{fontSize:"sm",lineHeight:"sm"},u.createElement(u.Fragment,{key:C},u.createElement(t,null)))),u.createElement(c.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},u.createElement(E.Z,{"data-track":D?"Code|hide_source|".concat((0,v.Z)({path:w.pathname})):"Code|show_source|".concat((0,v.Z)({path:w.pathname})),onClick:F},u.createElement(l.Z,{label:D?"Hide the source":"Show the source"},u.createElement(h.Z,null))),u.createElement(E.Z,{"data-track":"Code|copy_source|".concat((0,v.Z)({path:w.pathname})),onClick:W},u.createElement(l.Z,{label:z?"Copied":"Copy the source"},u.createElement(x.Z,null))),u.createElement(E.Z,{"data-track":"Code|edit_in_codesandbox|".concat(w.pathname),onClick:G},u.createElement(l.Z,{label:"Edit in CodeSandbox"},u.createElement(b.Z,null))),u.createElement(E.Z,{"data-track":"Code|reset|".concat(w.pathname),onClick:X},u.createElement(l.Z,{label:"Reset the demo"},u.createElement(m.Z,null)))),u.createElement(a.Z,{in:D},u.createElement(d.Z,{in:D,unmountOnExit:!0},u.createElement(i.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==H?void 0:null===(n=H.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):u.createElement(p.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:P},u.createElement(i.Z,{as:p.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};Z.displayName="Demo";var w=Z},24231:function(e,n,t){"use strict";var o=t(73645),r=t(57861),i=t(2784);n.Z=function(e){return i.createElement(o.Z,e,i.createElement(o.Z,{flex:"none",mr:"4x",alignItems:"center"},i.createElement(r.Z,{variant:"circle",width:"10x",height:"10x"})),i.createElement(o.Z,{flex:"auto",flexDirection:"column",rowGap:"2x"},i.createElement(r.Z,null),i.createElement(r.Z,null),i.createElement(r.Z,null)))}},46326:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/accordion",function(){return t(79601)}])},10525:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var o=t(2784),r=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,o.useRef)(!1);n&&!t.current&&("function"==typeof e&&e(),t.current=!0)}},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}}),t(2784);var o=t(75928),r=t(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}}),t(2784);var o=t(75928),r=t(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},57861:function(e,n,t){"use strict";t.d(n,{Z:function(){return A}});var o,r,i=t(53860),c=t(10525),l=t(56818),a=t(2784),d=t(98827),s=t(28165),h=t(40596),x=(0,s.F4)(o||(o=(0,i.AI)(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: .4;\n }\n 100% {\n opacity: 1;\n }\n"]))),m=(0,s.F4)(r||(r=(0,i.AI)(["\n 0% {\n transform: translateX(-100%);\n }\n 50% {\n // +0.5s of delay between each loop\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n"]))),f=function(e){var n=e.animation,t=e.colorMode;return"pulse"===n?{animation:"".concat(x," 1.5s ease-in-out .5s infinite")}:"wave"===n?{position:"relative",overflow:"hidden",__after:{animation:"".concat(m," 1.6s linear .5s infinite"),background:"linear-gradient(90deg,".concat(["transparent","rgba(255, 255, 255, ".concat({dark:.08,light:.32}[t],")"),"transparent"].join(","),")"),content:'""',position:"absolute",inset:0,transform:"translateX(-100%)"}}:{animation:n}},u=function(e){var n=e.variant;return"text"===n?{height:"3x",borderRadius:"sm",_empty:{"::before":{content:'"\\00a0"'}}}:"rectangle"===n?{}:"circle"===n?{borderRadius:"50%"}:{}},p=function(e){var n=e.animation,t=e.variant,o=(0,h.Z)(),r=(0,i.ZQ)(o,1)[0],c={dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"}[r],l=f({animation:n,colorMode:r}),a=u({variant:t});return(0,i.Zj)((0,i.Zj)({display:"block",backgroundColor:c},l),a)},g=t(52903),j=t(49857),y=["animation","variant"],b=(0,a.forwardRef)(function(e,n){var t=(0,d.Z)({props:e,name:"Skeleton"}),o=t.animation,r=t.variant,a=(0,i.Kd)(t,y),s=void 0===r?"text":r,h="".concat(b.displayName,":");(0,c.Z)(function(){(0,l.TL)('variant="rect"',{prefix:h,alternative:'variant="rectangle"',willRemove:!0})},"rect"===s),"rect"===s&&(s="rectangle");var x=p({animation:o,variant:s});return(0,g.tZ)(j.Z,(0,i.Zj)((0,i.Zj)({ref:n},x),a))});b.displayName="Skeleton";var A=b}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=46326)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/alert-31b0a8fcea10b7f2.js b/react/pr-947/_next/static/chunks/pages/components/alert-010f11008f4c91dd.js similarity index 93% rename from react/pr-947/_next/static/chunks/pages/components/alert-31b0a8fcea10b7f2.js rename to react/pr-947/_next/static/chunks/pages/components/alert-010f11008f4c91dd.js index c05af00cb9..d1ab43d183 100644 --- a/react/pr-947/_next/static/chunks/pages/components/alert-31b0a8fcea10b7f2.js +++ b/react/pr-947/_next/static/chunks/pages/components/alert-010f11008f4c91dd.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9688],{47587:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Y}});var r=t(52322),i=t(45392),a=t(96835),o=t(14594),s=t(69860),l=t(49857),c=t(62080),u=t(2784);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t0?1:0,E=k.length>0?k.length:0,Z=function(e){return u.createElement(p.Z,j({color:"black:secondary",_disabled:{color:"black:disabled"},_hover:{color:"black:primary"}},e))},I=function(){var e,n=function(e){if(Array.isArray(e))return e}(e=(0,u.useState)(C))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{for(a=(t=t.call(e)).next;!(l=(r=a.call(t)).done)&&(s.push(r.value),2!==s.length);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,2)||function(e,n){if(e){if("string"==typeof e)return A(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return A(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),t=n[0],r=n[1],i=k[t-1]||{};return u.createElement(s.Z,{variant:i.variant,severity:i.severity,icon:i.icon,isClosable:!0},u.createElement(x.Z,{justifyContent:"space-between"},u.createElement(m.Z,null,i.message),u.createElement(x.Z,{columnGap:"2x",alignItems:"center"},u.createElement(Z,{disabled:t<=C,onClick:function(){return r(Math.max(C,t-1))}},u.createElement(y.Z,null)),u.createElement(m.Z,null,t,"/",E),u.createElement(Z,{disabled:t>=E,onClick:function(){return r(Math.min(E,t+1))}},u.createElement(T.Z,null)))))},w=t(61619),B=function(){return u.createElement(w.Z,{direction:"column",spacing:"4x"},u.createElement(s.Z,{isClosable:!0,severity:"success"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Success")),u.createElement(m.Z,{mr:-36},"This is a success alert.")),u.createElement(s.Z,{isClosable:!0,severity:"info"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Info")),u.createElement(m.Z,{mr:-36},"This is an info alert.")),u.createElement(s.Z,{isClosable:!0,severity:"warning"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Warning")),u.createElement(m.Z,{mr:-36},"This is a warning alert.")),u.createElement(s.Z,{isClosable:!0,severity:"error"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Error")),u.createElement(m.Z,{mr:-36},"This is an error alert.")))},S=t(17025);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t (\n \n This is an important message.\n \n);\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is an important message.\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h4,{id:"outline",children:["Outline",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#outline",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"outline"})," variant is useful for displaying a contextual alert that is not a part of the primary flow of the application."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:$,file:{data:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is a contextual alert.\n \n);\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is a contextual alert.\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"severities",children:["Severities",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severities",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"severity"})," prop can be used to specify the severity level of the alert. The severity levels are: ",(0,r.jsx)(n.code,{children:"success"}),", ",(0,r.jsx)(n.code,{children:"info"}),", ",(0,r.jsx)(n.code,{children:"warning"}),", and ",(0,r.jsx)(n.code,{children:"error"}),". The default severity level is ",(0,r.jsx)(n.code,{children:"success"}),"."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:D,file:{data:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"icons",children:["Icons",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icons",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"icon"})," prop allows you to specify an icon to be displayed in the alert.\nIf not specified, the default icon will be used based on the ",(0,r.jsx)(n.code,{children:"severity"})," prop."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:P,file:{data:'import { Alert, Stack } from \'@tonic-ui/react\';\nimport { CheckCircleOIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack } from \'@tonic-ui/react\';\nimport { CheckCircleOIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"customizing-the-background-color",children:["Customizing the background color",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customizing-the-background-color",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:W,file:{data:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a promotion message\n \n \n This is a promotion message\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a promotion message\n \n \n This is a promotion message\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"how-to-close-an-alert",children:["How to close an alert",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#how-to-close-an-alert",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h4,{id:"using-the-isclosable-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"isClosable"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-isclosable-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"isClosable"})," prop is used to make an alert closable by adding a close button to it. By default, the value of ",(0,r.jsx)(n.code,{children:"isClosable"})," is false. To make an alert closable, set ",(0,r.jsx)(n.code,{children:"isClosable"})," to true."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:'\n This is a success alert.\n\n'})}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:H,file:{data:"import { Alert, Collapse, Text } from '@tonic-ui/react';\nimport { useToggle } from '@tonic-ui/react-hooks';\nimport React from 'react';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Collapse, Text } from '@tonic-ui/react';\nimport { useToggle } from '@tonic-ui/react-hooks';\nimport React from 'react';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h4,{id:"using-the-alertclosebutton-component",children:["Using the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-alertclosebutton-component",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component provides an easy way to add a close button to an alert. This button is specifically designed to handle closing the alert, so you don't need to write any additional code to handle it. If you use ",(0,r.jsx)(n.code,{children:"AlertCloseButton"}),", you can omit the ",(0,r.jsx)(n.code,{children:"isClosable"})," prop in the ",(0,r.jsx)(n.code,{children:"Alert"})," component."]}),"\n",(0,r.jsxs)(n.p,{children:["Besides the default functionality of the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"}),", you can also pass additional props, such as ",(0,r.jsx)(n.code,{children:"data-test"})," or ",(0,r.jsx)(n.code,{children:"data-tracking"})," attributes, to the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component as needed."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:'\n This is a success alert.\n \n\n'})}),"\n",(0,r.jsxs)(n.p,{children:["When using the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component, be sure to manually adjust its position. In the example above, the close button is positioned absolutely, with 3 pixels from the top and 7 pixels from the right of its parent element."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:U,file:{data:'import { Alert, AlertCloseButton, Collapse, Text } from \'@tonic-ui/react\';\nimport { useToggle } from \'@tonic-ui/react-hooks\';\nimport React from \'react\';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n \n );\n};\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, AlertCloseButton, Collapse, Text } from \'@tonic-ui/react\';\nimport { useToggle } from \'@tonic-ui/react-hooks\';\nimport React from \'react\';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"alert-actions",children:["Alert actions",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alert-actions",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"An alert action is a button or link to trigger an action. It is used to provide additional context to the user."}),"\n",(0,r.jsxs)(n.p,{children:["The action button is usually aligned to the right of the alert. You can use ",(0,r.jsx)(n.code,{children:"justifyContent"})," to align the action button to the right."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:z,file:{data:'import { Alert, Button, Flex, LinkButton, Stack, Text } from \'@tonic-ui/react\';\nimport React, { forwardRef } from \'react\';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = \'ActionButton\';\n\nconst App = () => (\n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n Action Button\n \n \n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n \n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Button, Flex, LinkButton, Stack, Text } from \'@tonic-ui/react\';\nimport React, { forwardRef } from \'react\';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = \'ActionButton\';\n\nconst App = () => (\n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n Action Button\n \n \n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"formatted-text",children:["Formatted text",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#formatted-text",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["You can use the ",(0,r.jsx)(n.code,{children:"Text"})," component to format text."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:B,file:{data:'import { Alert, Box, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Success\n \n \n This is a success alert.\n \n \n \n \n Info\n \n \n This is an info alert.\n \n \n \n \n Warning\n \n \n This is a warning alert.\n \n \n \n \n Error\n \n \n This is an error alert.\n \n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Box, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Success\n \n \n This is a success alert.\n \n \n \n \n Info\n \n \n This is an info alert.\n \n \n \n \n Warning\n \n \n This is a warning alert.\n \n \n \n \n Error\n \n \n This is an error alert.\n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"pagination",children:["Pagination",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#pagination",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"For some use cases, you may want to display a list of alerts using pagination to reduce the number of visible alerts on the screen."}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:I,file:{data:"import { Alert, ButtonBase, Flex, Text } from '@tonic-ui/react';\nimport { ChevronDownIcon, ChevronUpIcon, SuccessIcon, InfoIcon, WarningMinorIcon, ErrorIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\n\nconst alerts = [\n { variant: 'solid', severity: 'success', icon: , message: 'This is a success alert' },\n { variant: 'solid', severity: 'info', icon: , message: 'This is an info alert' },\n { variant: 'solid', severity: 'warning', icon: , message: 'This is a warning alert' },\n { variant: 'solid', severity: 'error', icon: , message: 'This is an error alert' },\n];\nconst pageMin = alerts.length > 0 ? 1 : 0;\nconst pageMax = alerts.length > 0 ? alerts.length : 0;\n\nconst IconButton = (props) => (\n \n);\n\nconst App = () => {\n const [page, setPage] = useState(pageMin);\n const alert = alerts[page - 1] || {};\n\n return (\n \n \n {alert.message}\n \n setPage(Math.max(pageMin, page - 1))}\n >\n \n \n {page}/{pageMax}\n = pageMax}\n onClick={() => setPage(Math.min(pageMax, page + 1))}\n >\n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, ButtonBase, Flex, Text } from '@tonic-ui/react';\nimport { ChevronDownIcon, ChevronUpIcon, SuccessIcon, InfoIcon, WarningMinorIcon, ErrorIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\n\nconst alerts = [\n { variant: 'solid', severity: 'success', icon: , message: 'This is a success alert' },\n { variant: 'solid', severity: 'info', icon: , message: 'This is an info alert' },\n { variant: 'solid', severity: 'warning', icon: , message: 'This is a warning alert' },\n { variant: 'solid', severity: 'error', icon: , message: 'This is an error alert' },\n];\nconst pageMin = alerts.length > 0 ? 1 : 0;\nconst pageMax = alerts.length > 0 ? alerts.length : 0;\n\nconst IconButton = (props) => (\n \n);\n\nconst App = () => {\n const [page, setPage] = useState(pageMin);\n const alert = alerts[page - 1] || {};\n\n return (\n \n \n {alert.message}\n \n setPage(Math.max(pageMin, page - 1))}\n >\n \n \n {page}/{pageMax}\n = pageMax}\n onClick={() => setPage(Math.min(pageMax, page + 1))}\n >\n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"transition-effects",children:["Transition effects",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#transition-effects",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"To animate the alert, you can use a transition component to apply an animation effect."}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:h,file:{data:"import { Alert, Box, Button, Collapse } from '@tonic-ui/react';\nimport React, { useState } from 'react';\n\nconst App = () => {\n const [isOpen, setIsOpen] = useState(true);\n const handleOpen = () => setIsOpen(true);\n const handleClose = () => setIsOpen(false);\n\n return (\n <>\n \n \n Click the close button on the right side.\n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Box, Button, Collapse } from '@tonic-ui/react';\nimport React, { useState } from 'react';\n\nconst App = () => {\n const [isOpen, setIsOpen] = useState(true);\n const handleOpen = () => setIsOpen(true);\n const handleClose = () => setIsOpen(false);\n\n return (\n <>\n \n \n Click the close button on the right side.\n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h2,{id:"props",children:["Props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"alert-1",children:["Alert",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alert-1",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"isClosable"}),(0,r.jsx)(n.td,{align:"left",children:"boolean"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsxs)(n.td,{align:"left",children:["If ",(0,r.jsx)(n.code,{children:"true"}),", a close button will appear on the right side."]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"onClose"}),(0,r.jsx)(n.td,{align:"left",children:"function"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left",children:"A callback called when the close button is clicked."})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"variant"}),(0,r.jsx)(n.td,{align:"left",children:"string"}),(0,r.jsx)(n.td,{align:"left",children:"'solid'"}),(0,r.jsx)(n.td,{align:"left",children:"The variant to use. One of: 'solid', 'outline'"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"severity"}),(0,r.jsx)(n.td,{align:"left",children:"string"}),(0,r.jsx)(n.td,{align:"left",children:"'success'"}),(0,r.jsx)(n.td,{align:"left",children:"The severity level to use. One of: 'success', 'info', 'warning', 'error'"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"icon"}),(0,r.jsx)(n.td,{align:"left",children:"string | ReactNode | false"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsxs)(n.td,{align:"left",children:["Override the icon displayed before the children. Unless provided, the icon is mapped to the value of the ",(0,r.jsx)(n.code,{children:"severity"})," prop."]})]})]})]}),"\n",(0,r.jsxs)(n.h3,{id:"alertclosebutton",children:["AlertCloseButton",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alertclosebutton",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]})})]})]})}var Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,i.ah)(),e.components).wrapper;return n?(0,r.jsx)(n,Object.assign({},e,{children:(0,r.jsx)(X,e)})):X(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(27216),i=t(40596),a=t(49857),o=t(73645),s=t(99870),l=t(62272),c=t(14594),u=t(65019),d=t(37384),h=t(99554),p=t(69111),x=t(5632),m=t(2784),f=t(65245);function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},b=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,m.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{for(a=(t=t.call(e)).next;!(l=(r=a.call(t)).done)&&(s.push(r.value),2!==s.length);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(n,2)||function(e,n){if(e){if("string"==typeof e)return v(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=t[1];return{value:e,onCopy:function(){g(e),i(!0),setTimeout(function(){return i(!1)},1500)},hasCopied:r}},y=t(63768),T=t(76761),A=t(73205),j=t(98107),k=t(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function E(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=a.call(t)).done)&&(s.push(r.value),s.length!==n);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}}}(e,C);var w=(0,x.useRouter)(),B=E((0,m.useReducer)(function(e){return!e},!1),2),S=B[0],O=B[1],M=(0,r.u)(),z=E((0,i.Z)(),1)[0],R={dark:T.y,light:T.q}[z],N=E((0,u.Z)(null!=g?g:void 0!==v&&v),2),F=N[0],U=N[1],_=b(null==Z?void 0:Z.data),H=_.onCopy,W=_.hasCopied,L=(0,m.useCallback)(function(){H()},[H]),P=(0,m.useCallback)(function(){(0,A.b)(I)},[I]),D=(0,m.useCallback)(function(){O(),U(!1)},[O,U]);return((0,m.useEffect)(function(){void 0!==g&&g!==F&&U(g)},[g,F,U]),t)?m.createElement(f.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:R},m.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[z],p:"4x"},m.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:S},m.createElement(t,null)))),m.createElement(o.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(k.Z,{"data-track":F?"CodeBlock|hide_source|".concat((0,j.Z)({path:w.pathname})):"CodeBlock|show_source|".concat((0,j.Z)({path:w.pathname})),onClick:U},m.createElement(s.Z,{label:F?"Hide the source":"Show the source"},m.createElement(d.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|copy_source|".concat((0,j.Z)({path:w.pathname})),onClick:L},m.createElement(s.Z,{label:W?"Copied":"Copy the source"},m.createElement(h.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(w.pathname),onClick:P},m.createElement(s.Z,{label:"Edit in CodeSandbox"},m.createElement(y.Z,null))),m.createElement(k.Z,{"data-track":"CodeBlock|reset|".concat(w.pathname),onClick:D},m.createElement(s.Z,{label:"Reset the demo"},m.createElement(p.Z,null)))),m.createElement(l.Z,{in:F},m.createElement(c.Z,{in:F,unmountOnExit:!0},m.createElement(a.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==M?void 0:null===(n=M.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(f.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:R},m.createElement(a.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};I.displayName="Demo";var w=I},99124:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/alert",function(){return t(47587)}])},64864:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M8 0c-4.4 0-8 3.6-8 8s3.6 8 8 8c4.4 0 8-3.6 8-8s-3.6-8-8-8zM8 14.5c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5 6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM11 5l1.2 1-5.2 6-3.6-3.6 1.1-1.1 2.4 2.4 4.1-4.7z"}),"CheckCircleOIcon")},71731:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M8 4l7 6.607-1.476 1.393-5.524-5.214-5.524 5.214-1.476-1.393z"}),"ChevronUpIcon")},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},17025:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var r=t(53860),i=t(2784),a=t(83513),o=t(98827),s=t(19088),l=t(10130),c=t(52903),u=(0,i.forwardRef)(function(e,n){var t=(0,o.Z)({props:e,name:"LinkButton"}),i=(0,l.u)();return(0,c.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({as:a.Z,ref:n},i),t))});u.displayName="LinkButton";var d=u}},function(e){e.O(0,[9860,2888,9774,179],function(){return e(e.s=99124)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9688],{47587:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Y}});var r=t(52322),i=t(45392),a=t(96835),o=t(14594),s=t(69860),l=t(49857),c=t(62080),u=t(2784);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t0?1:0,E=k.length>0?k.length:0,Z=function(e){return u.createElement(p.Z,j({color:"black:secondary",_disabled:{color:"black:disabled"},_hover:{color:"black:primary"}},e))},I=function(){var e,n=function(e){if(Array.isArray(e))return e}(e=(0,u.useState)(C))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{for(a=(t=t.call(e)).next;!(l=(r=a.call(t)).done)&&(s.push(r.value),2!==s.length);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,2)||function(e,n){if(e){if("string"==typeof e)return A(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return A(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),t=n[0],r=n[1],i=k[t-1]||{};return u.createElement(s.Z,{variant:i.variant,severity:i.severity,icon:i.icon,isClosable:!0},u.createElement(x.Z,{justifyContent:"space-between"},u.createElement(m.Z,null,i.message),u.createElement(x.Z,{columnGap:"2x",alignItems:"center"},u.createElement(Z,{disabled:t<=C,onClick:function(){return r(Math.max(C,t-1))}},u.createElement(y.Z,null)),u.createElement(m.Z,null,t,"/",E),u.createElement(Z,{disabled:t>=E,onClick:function(){return r(Math.min(E,t+1))}},u.createElement(T.Z,null)))))},w=t(61619),B=function(){return u.createElement(w.Z,{direction:"column",spacing:"4x"},u.createElement(s.Z,{isClosable:!0,severity:"success"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Success")),u.createElement(m.Z,{mr:-36},"This is a success alert.")),u.createElement(s.Z,{isClosable:!0,severity:"info"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Info")),u.createElement(m.Z,{mr:-36},"This is an info alert.")),u.createElement(s.Z,{isClosable:!0,severity:"warning"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Warning")),u.createElement(m.Z,{mr:-36},"This is a warning alert.")),u.createElement(s.Z,{isClosable:!0,severity:"error"},u.createElement(l.Z,{mb:"1x"},u.createElement(m.Z,{fontWeight:"bold"},"Error")),u.createElement(m.Z,{mr:-36},"This is an error alert.")))},S=t(17025);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t (\n \n This is an important message.\n \n);\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is an important message.\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h4,{id:"outline",children:["Outline",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#outline",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"outline"})," variant is useful for displaying a contextual alert that is not a part of the primary flow of the application."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:$,file:{data:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is a contextual alert.\n \n);\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Text } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n This is a contextual alert.\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"severities",children:["Severities",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#severities",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"severity"})," prop can be used to specify the severity level of the alert. The severity levels are: ",(0,r.jsx)(n.code,{children:"success"}),", ",(0,r.jsx)(n.code,{children:"info"}),", ",(0,r.jsx)(n.code,{children:"warning"}),", and ",(0,r.jsx)(n.code,{children:"error"}),". The default severity level is ",(0,r.jsx)(n.code,{children:"success"}),"."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:D,file:{data:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n This is a success alert.\n \n \n This is an info alert.\n \n \n This is a warning alert.\n \n \n This is an error alert.\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"icons",children:["Icons",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icons",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"icon"})," prop allows you to specify an icon to be displayed in the alert.\nIf not specified, the default icon will be used based on the ",(0,r.jsx)(n.code,{children:"severity"})," prop."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:P,file:{data:'import { Alert, Stack } from \'@tonic-ui/react\';\nimport { CheckCircleOIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack } from \'@tonic-ui/react\';\nimport { CheckCircleOIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n This is a success alert.\n \n }>\n This is a success alert.\n \n \n This is a success alert.\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"customizing-the-background-color",children:["Customizing the background color",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customizing-the-background-color",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:W,file:{data:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a promotion message\n \n \n This is a promotion message\n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n This is a promotion message\n \n \n This is a promotion message\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"how-to-close-an-alert",children:["How to close an alert",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#how-to-close-an-alert",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h4,{id:"using-the-isclosable-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"isClosable"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-isclosable-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"isClosable"})," prop is used to make an alert closable by adding a close button to it. By default, the value of ",(0,r.jsx)(n.code,{children:"isClosable"})," is false. To make an alert closable, set ",(0,r.jsx)(n.code,{children:"isClosable"})," to true."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:'\n This is a success alert.\n\n'})}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:H,file:{data:"import { Alert, Collapse, Text } from '@tonic-ui/react';\nimport { useToggle } from '@tonic-ui/react-hooks';\nimport React from 'react';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Collapse, Text } from '@tonic-ui/react';\nimport { useToggle } from '@tonic-ui/react-hooks';\nimport React from 'react';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h4,{id:"using-the-alertclosebutton-component",children:["Using the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-alertclosebutton-component",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component provides an easy way to add a close button to an alert. This button is specifically designed to handle closing the alert, so you don't need to write any additional code to handle it. If you use ",(0,r.jsx)(n.code,{children:"AlertCloseButton"}),", you can omit the ",(0,r.jsx)(n.code,{children:"isClosable"})," prop in the ",(0,r.jsx)(n.code,{children:"Alert"})," component."]}),"\n",(0,r.jsxs)(n.p,{children:["Besides the default functionality of the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"}),", you can also pass additional props, such as ",(0,r.jsx)(n.code,{children:"data-test"})," or ",(0,r.jsx)(n.code,{children:"data-tracking"})," attributes, to the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component as needed."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-jsx",children:'\n This is a success alert.\n \n\n'})}),"\n",(0,r.jsxs)(n.p,{children:["When using the ",(0,r.jsx)(n.code,{children:"AlertCloseButton"})," component, be sure to manually adjust its position. In the example above, the close button is positioned absolutely, with 3 pixels from the top and 7 pixels from the right of its parent element."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:U,file:{data:'import { Alert, AlertCloseButton, Collapse, Text } from \'@tonic-ui/react\';\nimport { useToggle } from \'@tonic-ui/react-hooks\';\nimport React from \'react\';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n \n );\n};\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, AlertCloseButton, Collapse, Text } from \'@tonic-ui/react\';\nimport { useToggle } from \'@tonic-ui/react-hooks\';\nimport React from \'react\';\n\nconst App = () => {\n const [isOpen, onClose] = useToggle(true);\n return (\n \n \n This is a success alert.\n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"alert-actions",children:["Alert actions",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alert-actions",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"An alert action is a button or link to trigger an action. It is used to provide additional context to the user."}),"\n",(0,r.jsxs)(n.p,{children:["The action button is usually aligned to the right of the alert. You can use ",(0,r.jsx)(n.code,{children:"justifyContent"})," to align the action button to the right."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:z,file:{data:'import { Alert, Button, Flex, LinkButton, Stack, Text } from \'@tonic-ui/react\';\nimport React, { forwardRef } from \'react\';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = \'ActionButton\';\n\nconst App = () => (\n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n Action Button\n \n \n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n \n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Button, Flex, LinkButton, Stack, Text } from \'@tonic-ui/react\';\nimport React, { forwardRef } from \'react\';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = \'ActionButton\';\n\nconst App = () => (\n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n Action Button\n \n \n \n \n \n This is a warning alert.\n Learn More\n \n \n \n \n This is an error alert.\n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"formatted-text",children:["Formatted text",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#formatted-text",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["You can use the ",(0,r.jsx)(n.code,{children:"Text"})," component to format text."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:B,file:{data:'import { Alert, Box, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Success\n \n \n This is a success alert.\n \n \n \n \n Info\n \n \n This is an info alert.\n \n \n \n \n Warning\n \n \n This is a warning alert.\n \n \n \n \n Error\n \n \n This is an error alert.\n \n \n \n);\n\nexport default App;',path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:'import { Alert, Box, Stack, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Success\n \n \n This is a success alert.\n \n \n \n \n Info\n \n \n This is an info alert.\n \n \n \n \n Warning\n \n \n This is a warning alert.\n \n \n \n \n Error\n \n \n This is an error alert.\n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"pagination",children:["Pagination",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#pagination",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"For some use cases, you may want to display a list of alerts using pagination to reduce the number of visible alerts on the screen."}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:I,file:{data:"import { Alert, ButtonBase, Flex, Text } from '@tonic-ui/react';\nimport { ChevronDownIcon, ChevronUpIcon, SuccessIcon, InfoIcon, WarningMinorIcon, ErrorIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\n\nconst alerts = [\n { variant: 'solid', severity: 'success', icon: , message: 'This is a success alert' },\n { variant: 'solid', severity: 'info', icon: , message: 'This is an info alert' },\n { variant: 'solid', severity: 'warning', icon: , message: 'This is a warning alert' },\n { variant: 'solid', severity: 'error', icon: , message: 'This is an error alert' },\n];\nconst pageMin = alerts.length > 0 ? 1 : 0;\nconst pageMax = alerts.length > 0 ? alerts.length : 0;\n\nconst IconButton = (props) => (\n \n);\n\nconst App = () => {\n const [page, setPage] = useState(pageMin);\n const alert = alerts[page - 1] || {};\n\n return (\n \n \n {alert.message}\n \n setPage(Math.max(pageMin, page - 1))}\n >\n \n \n {page}/{pageMax}\n = pageMax}\n onClick={() => setPage(Math.min(pageMax, page + 1))}\n >\n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, ButtonBase, Flex, Text } from '@tonic-ui/react';\nimport { ChevronDownIcon, ChevronUpIcon, SuccessIcon, InfoIcon, WarningMinorIcon, ErrorIcon } from '@tonic-ui/react-icons';\nimport React, { useState } from 'react';\n\nconst alerts = [\n { variant: 'solid', severity: 'success', icon: , message: 'This is a success alert' },\n { variant: 'solid', severity: 'info', icon: , message: 'This is an info alert' },\n { variant: 'solid', severity: 'warning', icon: , message: 'This is a warning alert' },\n { variant: 'solid', severity: 'error', icon: , message: 'This is an error alert' },\n];\nconst pageMin = alerts.length > 0 ? 1 : 0;\nconst pageMax = alerts.length > 0 ? alerts.length : 0;\n\nconst IconButton = (props) => (\n \n);\n\nconst App = () => {\n const [page, setPage] = useState(pageMin);\n const alert = alerts[page - 1] || {};\n\n return (\n \n \n {alert.message}\n \n setPage(Math.max(pageMin, page - 1))}\n >\n \n \n {page}/{pageMax}\n = pageMax}\n onClick={() => setPage(Math.min(pageMax, page + 1))}\n >\n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"transition-effects",children:["Transition effects",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#transition-effects",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"To animate the alert, you can use a transition component to apply an animation effect."}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:h,file:{data:"import { Alert, Box, Button, Collapse } from '@tonic-ui/react';\nimport React, { useState } from 'react';\n\nconst App = () => {\n const [isOpen, setIsOpen] = useState(true);\n const handleOpen = () => setIsOpen(true);\n const handleClose = () => setIsOpen(false);\n\n return (\n <>\n \n \n Click the close button on the right side.\n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/alert/index.page.mdx"},sandbox:{files:{},raw:"import { Alert, Box, Button, Collapse } from '@tonic-ui/react';\nimport React, { useState } from 'react';\n\nconst App = () => {\n const [isOpen, setIsOpen] = useState(true);\n const handleOpen = () => setIsOpen(true);\n const handleClose = () => setIsOpen(false);\n\n return (\n <>\n \n \n Click the close button on the right side.\n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h2,{id:"props",children:["Props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"alert-1",children:["Alert",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alert-1",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"isClosable"}),(0,r.jsx)(n.td,{align:"left",children:"boolean"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsxs)(n.td,{align:"left",children:["If ",(0,r.jsx)(n.code,{children:"true"}),", a close button will appear on the right side."]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"onClose"}),(0,r.jsx)(n.td,{align:"left",children:"function"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left",children:"A callback called when the close button is clicked."})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"variant"}),(0,r.jsx)(n.td,{align:"left",children:"string"}),(0,r.jsx)(n.td,{align:"left",children:"'solid'"}),(0,r.jsx)(n.td,{align:"left",children:"The variant to use. One of: 'solid', 'outline'"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"severity"}),(0,r.jsx)(n.td,{align:"left",children:"string"}),(0,r.jsx)(n.td,{align:"left",children:"'success'"}),(0,r.jsx)(n.td,{align:"left",children:"The severity level to use. One of: 'success', 'info', 'warning', 'error'"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"icon"}),(0,r.jsx)(n.td,{align:"left",children:"string | ReactNode | false"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsxs)(n.td,{align:"left",children:["Override the icon displayed before the children. Unless provided, the icon is mapped to the value of the ",(0,r.jsx)(n.code,{children:"severity"})," prop."]})]})]})]}),"\n",(0,r.jsxs)(n.h3,{id:"alertclosebutton",children:["AlertCloseButton",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#alertclosebutton",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]})})]})]})}var Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,i.ah)(),e.components).wrapper;return n?(0,r.jsx)(n,Object.assign({},e,{children:(0,r.jsx)(X,e)})):X(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(27216),i=t(40596),a=t(49857),o=t(73645),s=t(99870),l=t(62272),c=t(14594),u=t(65019),d=t(37384),h=t(99554),p=t(69111),x=t(5632),m=t(2784),f=t(65245);function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},b=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,m.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{for(a=(t=t.call(e)).next;!(l=(r=a.call(t)).done)&&(s.push(r.value),2!==s.length);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(n,2)||function(e,n){if(e){if("string"==typeof e)return v(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=t[1];return{value:e,onCopy:function(){g(e),i(!0),setTimeout(function(){return i(!1)},1500)},hasCopied:r}},y=t(63768),T=t(76761),A=t(73205),j=t(98107),k=t(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function E(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=a.call(t)).done)&&(s.push(r.value),s.length!==n);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}}}(e,C);var w=(0,x.useRouter)(),B=E((0,m.useReducer)(function(e){return!e},!1),2),S=B[0],O=B[1],M=(0,r.u)(),z=E((0,i.Z)(),1)[0],R={dark:T.y,light:T.q}[z],N=E((0,u.Z)(null!=g?g:void 0!==v&&v),2),F=N[0],U=N[1],_=b(null==Z?void 0:Z.data),H=_.onCopy,W=_.hasCopied,L=(0,m.useCallback)(function(){H()},[H]),P=(0,m.useCallback)(function(){(0,A.b)(I)},[I]),D=(0,m.useCallback)(function(){O(),U(!1)},[O,U]);return((0,m.useEffect)(function(){void 0!==g&&g!==F&&U(g)},[g,F,U]),t)?m.createElement(f.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:R},m.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[z],p:"4x"},m.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:S},m.createElement(t,null)))),m.createElement(o.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(k.Z,{"data-track":F?"Code|hide_source|".concat((0,j.Z)({path:w.pathname})):"Code|show_source|".concat((0,j.Z)({path:w.pathname})),onClick:U},m.createElement(s.Z,{label:F?"Hide the source":"Show the source"},m.createElement(d.Z,null))),m.createElement(k.Z,{"data-track":"Code|copy_source|".concat((0,j.Z)({path:w.pathname})),onClick:L},m.createElement(s.Z,{label:W?"Copied":"Copy the source"},m.createElement(h.Z,null))),m.createElement(k.Z,{"data-track":"Code|edit_in_codesandbox|".concat(w.pathname),onClick:P},m.createElement(s.Z,{label:"Edit in CodeSandbox"},m.createElement(y.Z,null))),m.createElement(k.Z,{"data-track":"Code|reset|".concat(w.pathname),onClick:D},m.createElement(s.Z,{label:"Reset the demo"},m.createElement(p.Z,null)))),m.createElement(l.Z,{in:F},m.createElement(c.Z,{in:F,unmountOnExit:!0},m.createElement(a.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==M?void 0:null===(n=M.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(f.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:R},m.createElement(a.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};I.displayName="Demo";var w=I},99124:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/alert",function(){return t(47587)}])},64864:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M8 0c-4.4 0-8 3.6-8 8s3.6 8 8 8c4.4 0 8-3.6 8-8s-3.6-8-8-8zM8 14.5c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5 6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM11 5l1.2 1-5.2 6-3.6-3.6 1.1-1.1 2.4 2.4 4.1-4.7z"}),"CheckCircleOIcon")},71731:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M8 4l7 6.607-1.476 1.393-5.524-5.214-5.524 5.214-1.476-1.393z"}),"ChevronUpIcon")},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),i=t(52903),a=(0,r.Z)((0,i.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},17025:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var r=t(53860),i=t(2784),a=t(83513),o=t(98827),s=t(19088),l=t(10130),c=t(52903),u=(0,i.forwardRef)(function(e,n){var t=(0,o.Z)({props:e,name:"LinkButton"}),i=(0,l.u)();return(0,c.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({as:a.Z,ref:n},i),t))});u.displayName="LinkButton";var d=u}},function(e){e.O(0,[9860,2888,9774,179],function(){return e(e.s=99124)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/box-efda112fcbd59d22.js b/react/pr-947/_next/static/chunks/pages/components/box-d30719bd2a5efc4a.js similarity index 79% rename from react/pr-947/_next/static/chunks/pages/components/box-efda112fcbd59d22.js rename to react/pr-947/_next/static/chunks/pages/components/box-d30719bd2a5efc4a.js index b388348bbe..3b1e3dd78d 100644 --- a/react/pr-947/_next/static/chunks/pages/components/box-efda112fcbd59d22.js +++ b/react/pr-947/_next/static/chunks/pages/components/box-d30719bd2a5efc4a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1045],{20133:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var r=t(52322),o=t(45392),a=t(96835),i=t(62080),l=t(2784),c=function(){return l.createElement(i.Z,{sx:{backgroundColor:"red:60",color:"white:primary",_focus:{":not(:active)":{backgroundColor:"red:60"}},_hover:{backgroundColor:"red:50"},_active:{backgroundColor:"red:70"}}},"Button")},s=t(49857),d=function(){return l.createElement(s.Z,{as:"button",backgroundColor:"blue:60",border:"none",borderRadius:"sm",color:"white:primary",cursor:"pointer",display:"inline-flex",px:"3x",py:"2x",_hover:{backgroundColor:"blue:50"},_active:{backgroundColor:"blue:70"}},"Button")},u=function(){return l.createElement(s.Z,{as:"button",backgroundColor:"gray:60",border:"none",borderRadius:"sm",color:"white:primary",cursor:"pointer",display:"inline-flex",px:"3x",py:"2x"},"Button")},p=function(){return l.createElement(s.Z,{as:"button"},"Button")};function h(e){var n=Object.assign({div:"div",h1:"h1",p:"p",code:"code",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",h3:"h3",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,o.ah)(),e.components);return(0,r.jsxs)(n.div,{className:"main-content",children:["\n","\n","\n","\n","\n",(0,r.jsx)(n.h1,{id:"box",children:"Box"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Box"})," is a fundamental building block that allows you to control styling using style props to build a variety of components."]}),"\n",(0,r.jsxs)(n.h2,{id:"import",children:["Import",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",children:"import { Box } from '@tonic-ui/react';\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"usage",children:["Usage",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"using-the-as-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"as"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-as-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["By default, the ",(0,r.jsx)(n.code,{children:"Box"})," component renders a ",(0,r.jsx)(n.code,{children:"div"})," element. There might be cases where you want to render a different element, you can use the ",(0,r.jsx)(n.code,{children:"as"})," prop to do that."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:p,file:{data:"import { Box } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:"import { Box } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-style-props",children:["Using style props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-style-props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"Style props provide a way to use CSS-in-JS styling technique to pass styles as props to style components without having to use a separate CSS file."}),"\n",(0,r.jsxs)(n.p,{children:["You can see the ",(0,r.jsx)(n.a,{href:"../styled-system/style-props",children:"Style Props"})," page to learn how to use style props."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:u,file:{data:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n
\n);\n\nexport default App;',path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n
\n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-pseudo-style-props",children:["Using pseudo style props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-pseudo-style-props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["Styling elements with ",(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes",children:"pseudo-classes"})," and ",(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements",children:"pseudo-elements"})," can be accomplished by prefixing the pseudo selector with one or two underscores (",(0,r.jsx)(n.code,{children:"_"})," for pseudo-classees or ",(0,r.jsx)(n.code,{children:"__"})," for pseudo-elements)."]}),"\n",(0,r.jsxs)(n.p,{children:["You can see the ",(0,r.jsx)(n.a,{href:"../styled-system/pseudo-style-props",children:"Pseudo Styled Props"})," page to learn how to use pseudo style props."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:d,file:{data:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-the-sx-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"sx"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-sx-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:c,file:{data:"import { Button } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:"import { Button } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.p,{children:["Read more on ",(0,r.jsx)(n.a,{href:"../getting-started/the-sx-prop",children:"the sx prop"})," page."]}),"\n",(0,r.jsxs)(n.h2,{id:"props",children:["Props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"box-1",children:["Box",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#box-1",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"as"}),(0,r.jsx)(n.td,{align:"left",children:"string | ElementType"}),(0,r.jsx)(n.td,{align:"left",children:"'div'"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"sx"}),(0,r.jsx)(n.td,{align:"left",children:"object"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]})]})]})]})}var x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,o.ah)(),e.components).wrapper;return n?(0,r.jsx)(n,Object.assign({},e,{children:(0,r.jsx)(h,e)})):h(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(27216),o=t(40596),a=t(49857),i=t(73645),l=t(99870),c=t(62272),s=t(14594),d=t(65019),u=t(37384),p=t(99554),h=t(69111),x=t(5632),f=t(2784),m=t(65245);function b(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},y=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,f.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],c=!0,s=!1;try{for(a=(t=t.call(e)).next;!(c=(r=a.call(t)).done)&&(l.push(r.value),2!==l.length);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(n,2)||function(e,n){if(e){if("string"==typeof e)return b(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],o=t[1];return{value:e,onCopy:function(){g(e),o(!0),setTimeout(function(){return o(!1)},1500)},hasCopied:r}},j=t(63768),v=t(76761),k=t(73205),C=t(98107),B=t(44285),E=["component","defaultExpanded","expanded","file","sandbox"];function w(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}}}(e,E);var _=(0,x.useRouter)(),A=w((0,f.useReducer)(function(e){return!e},!1),2),O=A[0],R=A[1],I=(0,r.u)(),N=w((0,o.Z)(),1)[0],z={dark:v.y,light:v.q}[N],U=w((0,d.Z)(null!=g?g:void 0!==b&&b),2),T=U[0],H=U[1],P=y(null==Z?void 0:Z.data),M=P.onCopy,F=P.hasCopied,X=(0,f.useCallback)(function(){M()},[M]),D=(0,f.useCallback)(function(){(0,k.b)(S)},[S]),q=(0,f.useCallback)(function(){R(),H(!1)},[R,H]);return((0,f.useEffect)(function(){void 0!==g&&g!==T&&H(g)},[g,T,H]),t)?f.createElement(m.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:z},f.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},f.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},f.createElement(f.Fragment,{key:O},f.createElement(t,null)))),f.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},f.createElement(B.Z,{"data-track":T?"CodeBlock|hide_source|".concat((0,C.Z)({path:_.pathname})):"CodeBlock|show_source|".concat((0,C.Z)({path:_.pathname})),onClick:H},f.createElement(l.Z,{label:T?"Hide the source":"Show the source"},f.createElement(u.Z,null))),f.createElement(B.Z,{"data-track":"CodeBlock|copy_source|".concat((0,C.Z)({path:_.pathname})),onClick:X},f.createElement(l.Z,{label:F?"Copied":"Copy the source"},f.createElement(p.Z,null))),f.createElement(B.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(_.pathname),onClick:D},f.createElement(l.Z,{label:"Edit in CodeSandbox"},f.createElement(j.Z,null))),f.createElement(B.Z,{"data-track":"CodeBlock|reset|".concat(_.pathname),onClick:q},f.createElement(l.Z,{label:"Reset the demo"},f.createElement(h.Z,null)))),f.createElement(c.Z,{in:T},f.createElement(s.Z,{in:T,unmountOnExit:!0},f.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==I?void 0:null===(n=I.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):f.createElement(m.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:z},f.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};S.displayName="Demo";var _=S},23019:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/box",function(){return t(20133)}])},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),o=t(52903),a=(0,r.Z)((0,o.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),o=t(52903),a=(0,r.Z)((0,o.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=23019)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1045],{20133:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var r=t(52322),o=t(45392),a=t(96835),i=t(62080),l=t(2784),s=function(){return l.createElement(i.Z,{sx:{backgroundColor:"red:60",color:"white:primary",_focus:{":not(:active)":{backgroundColor:"red:60"}},_hover:{backgroundColor:"red:50"},_active:{backgroundColor:"red:70"}}},"Button")},c=t(49857),d=function(){return l.createElement(c.Z,{as:"button",backgroundColor:"blue:60",border:"none",borderRadius:"sm",color:"white:primary",cursor:"pointer",display:"inline-flex",px:"3x",py:"2x",_hover:{backgroundColor:"blue:50"},_active:{backgroundColor:"blue:70"}},"Button")},u=function(){return l.createElement(c.Z,{as:"button",backgroundColor:"gray:60",border:"none",borderRadius:"sm",color:"white:primary",cursor:"pointer",display:"inline-flex",px:"3x",py:"2x"},"Button")},p=function(){return l.createElement(c.Z,{as:"button"},"Button")};function h(e){var n=Object.assign({div:"div",h1:"h1",p:"p",code:"code",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",h3:"h3",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,o.ah)(),e.components);return(0,r.jsxs)(n.div,{className:"main-content",children:["\n","\n","\n","\n","\n",(0,r.jsx)(n.h1,{id:"box",children:"Box"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Box"})," is a fundamental building block that allows you to control styling using style props to build a variety of components."]}),"\n",(0,r.jsxs)(n.h2,{id:"import",children:["Import",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",children:"import { Box } from '@tonic-ui/react';\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"usage",children:["Usage",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"using-the-as-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"as"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-as-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["By default, the ",(0,r.jsx)(n.code,{children:"Box"})," component renders a ",(0,r.jsx)(n.code,{children:"div"})," element. There might be cases where you want to render a different element, you can use the ",(0,r.jsx)(n.code,{children:"as"})," prop to do that."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:p,file:{data:"import { Box } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:"import { Box } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-style-props",children:["Using style props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-style-props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(n.p,{children:"Style props provide a way to use CSS-in-JS styling technique to pass styles as props to style components without having to use a separate CSS file."}),"\n",(0,r.jsxs)(n.p,{children:["You can see the ",(0,r.jsx)(n.a,{href:"../styled-system/style-props",children:"Style Props"})," page to learn how to use style props."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:u,file:{data:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-pseudo-style-props",children:["Using pseudo style props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-pseudo-style-props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.p,{children:["Styling elements with ",(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes",children:"pseudo-classes"})," and ",(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements",children:"pseudo-elements"})," can be accomplished by prefixing the pseudo selector with one or two underscores (",(0,r.jsx)(n.code,{children:"_"})," for pseudo-classees or ",(0,r.jsx)(n.code,{children:"__"})," for pseudo-elements)."]}),"\n",(0,r.jsxs)(n.p,{children:["You can see the ",(0,r.jsx)(n.a,{href:"../styled-system/pseudo-style-props",children:"Pseudo Styled Props"})," page to learn how to use pseudo style props."]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:d,file:{data:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:'import { Box } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.h3,{id:"using-the-sx-prop",children:["Using the ",(0,r.jsx)(n.code,{children:"sx"})," prop",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#using-the-sx-prop",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(a.Z,Object.assign({},{component:s,file:{data:"import { Button } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",path:"pages/components/box/index.page.mdx"},sandbox:{files:{},raw:"import { Button } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Button\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(n.p,{children:["Read more on ",(0,r.jsx)(n.a,{href:"../getting-started/the-sx-prop",children:"the sx prop"})," page."]}),"\n",(0,r.jsxs)(n.h2,{id:"props",children:["Props",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.h3,{id:"box-1",children:["Box",(0,r.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#box-1",children:(0,r.jsx)(n.svg,{children:(0,r.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{align:"left",children:"Name"}),(0,r.jsx)(n.th,{align:"left",children:"Type"}),(0,r.jsx)(n.th,{align:"left",children:"Default"}),(0,r.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"as"}),(0,r.jsx)(n.td,{align:"left",children:"string | ElementType"}),(0,r.jsx)(n.td,{align:"left",children:"'div'"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"children"}),(0,r.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{align:"left",children:"sx"}),(0,r.jsx)(n.td,{align:"left",children:"object"}),(0,r.jsx)(n.td,{align:"left"}),(0,r.jsx)(n.td,{align:"left"})]})]})]})]})}var x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,o.ah)(),e.components).wrapper;return n?(0,r.jsx)(n,Object.assign({},e,{children:(0,r.jsx)(h,e)})):h(e)}},96835:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(27216),o=t(40596),a=t(49857),i=t(73645),l=t(99870),s=t(62272),c=t(14594),d=t(65019),u=t(37384),p=t(99554),h=t(69111),x=t(5632),f=t(2784),m=t(65245);function b(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},y=function(e){var n,t=function(e){if(Array.isArray(e))return e}(n=(0,f.useState)(!1))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{for(a=(t=t.call(e)).next;!(s=(r=a.call(t)).done)&&(l.push(r.value),2!==l.length);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(n,2)||function(e,n){if(e){if("string"==typeof e)return b(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],o=t[1];return{value:e,onCopy:function(){g(e),o(!0),setTimeout(function(){return o(!1)},1500)},hasCopied:r}},j=t(63768),v=t(76761),k=t(73205),C=t(98107),B=t(44285),E=["component","defaultExpanded","expanded","file","sandbox"];function w(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}}}(e,E);var _=(0,x.useRouter)(),A=w((0,f.useReducer)(function(e){return!e},!1),2),O=A[0],R=A[1],I=(0,r.u)(),N=w((0,o.Z)(),1)[0],z={dark:v.y,light:v.q}[N],U=w((0,d.Z)(null!=g?g:void 0!==b&&b),2),T=U[0],H=U[1],P=y(null==Z?void 0:Z.data),M=P.onCopy,F=P.hasCopied,X=(0,f.useCallback)(function(){M()},[M]),D=(0,f.useCallback)(function(){(0,k.b)(S)},[S]),q=(0,f.useCallback)(function(){R(),H(!1)},[R,H]);return((0,f.useEffect)(function(){void 0!==g&&g!==T&&H(g)},[g,T,H]),t)?f.createElement(m.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:z},f.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},f.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},f.createElement(f.Fragment,{key:O},f.createElement(t,null)))),f.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},f.createElement(B.Z,{"data-track":T?"Code|hide_source|".concat((0,C.Z)({path:_.pathname})):"Code|show_source|".concat((0,C.Z)({path:_.pathname})),onClick:H},f.createElement(l.Z,{label:T?"Hide the source":"Show the source"},f.createElement(u.Z,null))),f.createElement(B.Z,{"data-track":"Code|copy_source|".concat((0,C.Z)({path:_.pathname})),onClick:X},f.createElement(l.Z,{label:F?"Copied":"Copy the source"},f.createElement(p.Z,null))),f.createElement(B.Z,{"data-track":"Code|edit_in_codesandbox|".concat(_.pathname),onClick:D},f.createElement(l.Z,{label:"Edit in CodeSandbox"},f.createElement(j.Z,null))),f.createElement(B.Z,{"data-track":"Code|reset|".concat(_.pathname),onClick:q},f.createElement(l.Z,{label:"Reset the demo"},f.createElement(h.Z,null)))),f.createElement(s.Z,{in:T},f.createElement(c.Z,{in:T,unmountOnExit:!0},f.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==I?void 0:null===(n=I.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):f.createElement(m.nu,{code:null==Z?void 0:Z.data,disabled:!0,language:"jsx",theme:z},f.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};S.displayName="Demo";var _=S},23019:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/box",function(){return t(20133)}])},99554:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),o=t(52903),a=(0,r.Z)((0,o.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}}),t(2784);var r=t(75928),o=t(52903),a=(0,r.Z)((0,o.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=23019)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/button-base-8c30c90000100589.js b/react/pr-947/_next/static/chunks/pages/components/button-base-fc85b3357c17dad5.js similarity index 82% rename from react/pr-947/_next/static/chunks/pages/components/button-base-8c30c90000100589.js rename to react/pr-947/_next/static/chunks/pages/components/button-base-fc85b3357c17dad5.js index 59d9554792..e518413ad1 100644 --- a/react/pr-947/_next/static/chunks/pages/components/button-base-8c30c90000100589.js +++ b/react/pr-947/_next/static/chunks/pages/components/button-base-fc85b3357c17dad5.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1170],{15317:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return I}});var o=t(52322),r=t(45392),a=t(96835),c=t(62080),i=t(69860),l=t(73645),s=t(70758),u=t(2784);function d(){return(d=Object.assign?Object.assign.bind():function(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}(n,v),r=B({size:void 0===t?"8x":t});return u.createElement(m.Z,g({ref:e},r,o))});C.displayName="IconButton";var k=function(){return u.createElement(C,null,u.createElement(x.Z,null))},w=function(){return u.createElement(m.Z,{disabled:!0,_disabled:{opacity:.28}},"Button is disabled")},A=function(){return u.createElement(m.Z,null,"Click Me")};function S(n){var e=Object.assign({div:"div",h1:"h1",p:"p",code:"code",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",h3:"h3",h4:"h4",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,r.ah)(),n.components);return(0,o.jsxs)(e.div,{className:"main-content",children:["\n","\n","\n","\n","\n",(0,o.jsx)(e.h1,{id:"buttonbase",children:"ButtonBase"}),"\n",(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.code,{children:"ButtonBase"})," does not have appearance settings including default border, color, outline, and padding. It aims to be a simple building block for creating a button."]}),"\n",(0,o.jsxs)(e.h2,{id:"import",children:["Import",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"import { ButtonBase } from '@tonic-ui/react';\n"})}),"\n",(0,o.jsxs)(e.h2,{id:"usage",children:["Usage",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:A,file:{data:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n Click Me\n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n Click Me\n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"attributes",children:["Attributes",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#attributes",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["Standard button attributes are supported, e.g., ",(0,o.jsx)(e.code,{children:"type"}),", ",(0,o.jsx)(e.code,{children:"disabled"}),", etc."]}),"\n",(0,o.jsxs)(e.h4,{id:"disabled",children:[(0,o.jsx)(e.code,{children:"disabled"}),(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#disabled",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:w,file:{data:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n \n Button is disabled\n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n \n Button is disabled\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"icon-button",children:["Icon button",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icon-button",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["You can use ",(0,o.jsx)(e.code,{children:"ButtonBase"})," to compose an icon button. An icon button is a button that contains only an icon."]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:k,file:{data:"import { ButtonBase, useColorMode, useTheme } from '@tonic-ui/react';\nimport { CloseIcon } from '@tonic-ui/react-icons';\nimport {\n createTransitionStyle,\n} from '@tonic-ui/utils';\nimport React, { forwardRef } from 'react';\n\nconst useIconButtonStyle = ({ size = '8x' }) => {\n const { colors } = useTheme();\n const [colorMode] = useColorMode();\n const color = {\n dark: 'white:tertiary',\n light: 'black:tertiary',\n }[colorMode];\n const activeColor = color;\n const hoverColor = {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode];\n const focusColor = color;\n const focusHoverColor = hoverColor;\n const focusActiveColor = activeColor;\n const focusBorderColor = 'blue:60'\n const focusBoxShadowBorderColor = 'blue:60';\n\n return {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n border: 1,\n borderColor: 'transparent',\n color,\n width: size,\n height: size,\n transition: createTransitionStyle(['border-color', 'box-shadow', 'color'], { duration: 200 }),\n _hover: {\n color: hoverColor,\n },\n _active: {\n color: activeColor,\n },\n _focus: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusColor,\n },\n _focusHover: {\n color: focusHoverColor,\n },\n _focusActive: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusActiveColor,\n },\n };\n};\n\nconst IconButton = forwardRef((\n {\n size = '8x',\n ...rest\n },\n ref,\n) => {\n const styleProps = useIconButtonStyle({ size });\n\n return (\n \n );\n});\nIconButton.displayName = 'IconButton';\n\nconst App = () => {\n return (\n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import { ButtonBase, useColorMode, useTheme } from '@tonic-ui/react';\nimport { CloseIcon } from '@tonic-ui/react-icons';\nimport {\n createTransitionStyle,\n} from '@tonic-ui/utils';\nimport React, { forwardRef } from 'react';\n\nconst useIconButtonStyle = ({ size = '8x' }) => {\n const { colors } = useTheme();\n const [colorMode] = useColorMode();\n const color = {\n dark: 'white:tertiary',\n light: 'black:tertiary',\n }[colorMode];\n const activeColor = color;\n const hoverColor = {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode];\n const focusColor = color;\n const focusHoverColor = hoverColor;\n const focusActiveColor = activeColor;\n const focusBorderColor = 'blue:60'\n const focusBoxShadowBorderColor = 'blue:60';\n\n return {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n border: 1,\n borderColor: 'transparent',\n color,\n width: size,\n height: size,\n transition: createTransitionStyle(['border-color', 'box-shadow', 'color'], { duration: 200 }),\n _hover: {\n color: hoverColor,\n },\n _active: {\n color: activeColor,\n },\n _focus: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusColor,\n },\n _focusHover: {\n color: focusHoverColor,\n },\n _focusActive: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusActiveColor,\n },\n };\n};\n\nconst IconButton = forwardRef((\n {\n size = '8x',\n ...rest\n },\n ref,\n) => {\n const styleProps = useIconButtonStyle({ size });\n\n return (\n \n );\n});\nIconButton.displayName = 'IconButton';\n\nconst App = () => {\n return (\n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"notification-action-button",children:["Notification action button",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#notification-action-button",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["To perform an action on an alert or toast notification, you can use ",(0,o.jsx)(e.code,{children:"ButtonBase"})," to compose an action button using the ",(0,o.jsx)(e.code,{children:"sx"})," prop."]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:h,file:{data:"import {\n Alert,\n Button,\n Flex,\n Text,\n} from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = 'ActionButton';\n\nconst App = () => {\n return (\n \n \n \n This is an alert notification with an action button.\n \n \n Action Button\n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n Alert,\n Button,\n Flex,\n Text,\n} from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = 'ActionButton';\n\nconst App = () => {\n return (\n \n \n \n This is an alert notification with an action button.\n \n \n Action Button\n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h2,{id:"props",children:["Props",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.h3,{id:"buttonbase-1",children:["ButtonBase",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttonbase-1",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{align:"left",children:"Name"}),(0,o.jsx)(e.th,{align:"left",children:"Type"}),(0,o.jsx)(e.th,{align:"left",children:"Default"}),(0,o.jsx)(e.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{align:"left",children:"children"}),(0,o.jsx)(e.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(e.td,{align:"left"}),(0,o.jsx)(e.td,{align:"left"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{align:"left",children:"disabled"}),(0,o.jsx)(e.td,{align:"left",children:"boolean"}),(0,o.jsx)(e.td,{align:"left"}),(0,o.jsxs)(e.td,{align:"left",children:["If ",(0,o.jsx)(e.code,{children:"true"}),", the button will be disabled. This sets ",(0,o.jsx)(e.code,{children:"aria-disabled=true"})," and you can style this state by passing the ",(0,o.jsx)(e.code,{children:"_disabled"})," prop."]})]})]})]})]})}var I=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},(0,r.ah)(),n.components).wrapper;return e?(0,o.jsx)(e,Object.assign({},n,{children:(0,o.jsx)(S,n)})):S(n)}},96835:function(n,e,t){"use strict";t.d(e,{Z:function(){return E}});var o=t(27216),r=t(40596),a=t(49857),c=t(73645),i=t(99870),l=t(62272),s=t(14594),u=t(65019),d=t(37384),f=t(99554),h=t(69111),p=t(5632),b=t(2784),m=t(65245);function x(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t0&&document.getSelection().getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},v=function(n){var e,t=function(n){if(Array.isArray(n))return n}(e=(0,b.useState)(!1))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,c,i=[],l=!0,s=!1;try{for(a=(t=t.call(n)).next;!(l=(o=a.call(t)).done)&&(i.push(o.value),2!==i.length);l=!0);}catch(n){s=!0,r=n}finally{try{if(!l&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw r}}return i}}(e,2)||function(n,e){if(n){if("string"==typeof n)return x(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(n,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:n,onCopy:function(){y(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},g=t(63768),j=t(76761),B=t(73205),C=t(98107),k=t(44285),w=["component","defaultExpanded","expanded","file","sandbox"];function A(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,c,i=[],l=!0,s=!1;try{if(a=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(o=a.call(t)).done)&&(i.push(o.value),i.length!==e);l=!0);}catch(n){s=!0,r=n}finally{try{if(!l&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw r}}return i}}(n,e)||function(n,e){if(n){if("string"==typeof n)return S(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(n,e)}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}}}(n,w);var E=(0,p.useRouter)(),O=A((0,b.useReducer)(function(n){return!n},!1),2),Z=O[0],_=O[1],T=(0,o.u)(),z=A((0,r.Z)(),1)[0],R={dark:j.y,light:j.q}[z],N=A((0,u.Z)(null!=y?y:void 0!==x&&x),2),M=N[0],H=N[1],P=v(null==S?void 0:S.data),F=P.onCopy,U=P.hasCopied,$=(0,b.useCallback)(function(){F()},[F]),X=(0,b.useCallback)(function(){(0,B.b)(I)},[I]),D=(0,b.useCallback)(function(){_(),H(!1)},[_,H]);return((0,b.useEffect)(function(){void 0!==y&&y!==M&&H(y)},[y,M,H]),t)?b.createElement(m.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:R},b.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[z],p:"4x"},b.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},b.createElement(b.Fragment,{key:Z},b.createElement(t,null)))),b.createElement(c.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},b.createElement(k.Z,{"data-track":M?"CodeBlock|hide_source|".concat((0,C.Z)({path:E.pathname})):"CodeBlock|show_source|".concat((0,C.Z)({path:E.pathname})),onClick:H},b.createElement(i.Z,{label:M?"Hide the source":"Show the source"},b.createElement(d.Z,null))),b.createElement(k.Z,{"data-track":"CodeBlock|copy_source|".concat((0,C.Z)({path:E.pathname})),onClick:$},b.createElement(i.Z,{label:U?"Copied":"Copy the source"},b.createElement(f.Z,null))),b.createElement(k.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(E.pathname),onClick:X},b.createElement(i.Z,{label:"Edit in CodeSandbox"},b.createElement(g.Z,null))),b.createElement(k.Z,{"data-track":"CodeBlock|reset|".concat(E.pathname),onClick:D},b.createElement(i.Z,{label:"Reset the demo"},b.createElement(h.Z,null)))),b.createElement(l.Z,{in:M},b.createElement(s.Z,{in:M,unmountOnExit:!0},b.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==T?void 0:null===(e=T.space)||void 0===e?void 0:e["4x"]," !important"),overflowX:"auto"}}})))):b.createElement(m.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:R},b.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};I.displayName="Demo";var E=I},3742:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-base",function(){return t(15317)}])},99554:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")}},function(n){n.O(0,[9860,2888,9774,179],function(){return n(n.s=3742)}),_N_E=n.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1170],{15317:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return I}});var o=t(52322),r=t(45392),a=t(96835),i=t(62080),c=t(69860),l=t(73645),s=t(70758),u=t(2784);function d(){return(d=Object.assign?Object.assign.bind():function(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}(n,v),r=B({size:void 0===t?"8x":t});return u.createElement(m.Z,g({ref:e},r,o))});C.displayName="IconButton";var k=function(){return u.createElement(C,null,u.createElement(x.Z,null))},w=function(){return u.createElement(m.Z,{disabled:!0,_disabled:{opacity:.28}},"Button is disabled")},A=function(){return u.createElement(m.Z,null,"Click Me")};function S(n){var e=Object.assign({div:"div",h1:"h1",p:"p",code:"code",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",h3:"h3",h4:"h4",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,r.ah)(),n.components);return(0,o.jsxs)(e.div,{className:"main-content",children:["\n","\n","\n","\n","\n",(0,o.jsx)(e.h1,{id:"buttonbase",children:"ButtonBase"}),"\n",(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.code,{children:"ButtonBase"})," does not have appearance settings including default border, color, outline, and padding. It aims to be a simple building block for creating a button."]}),"\n",(0,o.jsxs)(e.h2,{id:"import",children:["Import",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"import { ButtonBase } from '@tonic-ui/react';\n"})}),"\n",(0,o.jsxs)(e.h2,{id:"usage",children:["Usage",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:A,file:{data:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n Click Me\n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n Click Me\n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"attributes",children:["Attributes",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#attributes",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["Standard button attributes are supported, e.g., ",(0,o.jsx)(e.code,{children:"type"}),", ",(0,o.jsx)(e.code,{children:"disabled"}),", etc."]}),"\n",(0,o.jsxs)(e.h4,{id:"disabled",children:[(0,o.jsx)(e.code,{children:"disabled"}),(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#disabled",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:w,file:{data:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n \n Button is disabled\n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n ButtonBase,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n return (\n \n Button is disabled\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"icon-button",children:["Icon button",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icon-button",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["You can use ",(0,o.jsx)(e.code,{children:"ButtonBase"})," to compose an icon button. An icon button is a button that contains only an icon."]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:k,file:{data:"import { ButtonBase, useColorMode, useTheme } from '@tonic-ui/react';\nimport { CloseIcon } from '@tonic-ui/react-icons';\nimport {\n createTransitionStyle,\n} from '@tonic-ui/utils';\nimport React, { forwardRef } from 'react';\n\nconst useIconButtonStyle = ({ size = '8x' }) => {\n const { colors } = useTheme();\n const [colorMode] = useColorMode();\n const color = {\n dark: 'white:tertiary',\n light: 'black:tertiary',\n }[colorMode];\n const activeColor = color;\n const hoverColor = {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode];\n const focusColor = color;\n const focusHoverColor = hoverColor;\n const focusActiveColor = activeColor;\n const focusBorderColor = 'blue:60'\n const focusBoxShadowBorderColor = 'blue:60';\n\n return {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n border: 1,\n borderColor: 'transparent',\n color,\n width: size,\n height: size,\n transition: createTransitionStyle(['border-color', 'box-shadow', 'color'], { duration: 200 }),\n _hover: {\n color: hoverColor,\n },\n _active: {\n color: activeColor,\n },\n _focus: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusColor,\n },\n _focusHover: {\n color: focusHoverColor,\n },\n _focusActive: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusActiveColor,\n },\n };\n};\n\nconst IconButton = forwardRef((\n {\n size = '8x',\n ...rest\n },\n ref,\n) => {\n const styleProps = useIconButtonStyle({ size });\n\n return (\n \n );\n});\nIconButton.displayName = 'IconButton';\n\nconst App = () => {\n return (\n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import { ButtonBase, useColorMode, useTheme } from '@tonic-ui/react';\nimport { CloseIcon } from '@tonic-ui/react-icons';\nimport {\n createTransitionStyle,\n} from '@tonic-ui/utils';\nimport React, { forwardRef } from 'react';\n\nconst useIconButtonStyle = ({ size = '8x' }) => {\n const { colors } = useTheme();\n const [colorMode] = useColorMode();\n const color = {\n dark: 'white:tertiary',\n light: 'black:tertiary',\n }[colorMode];\n const activeColor = color;\n const hoverColor = {\n dark: 'white:primary',\n light: 'black:primary',\n }[colorMode];\n const focusColor = color;\n const focusHoverColor = hoverColor;\n const focusActiveColor = activeColor;\n const focusBorderColor = 'blue:60'\n const focusBoxShadowBorderColor = 'blue:60';\n\n return {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n border: 1,\n borderColor: 'transparent',\n color,\n width: size,\n height: size,\n transition: createTransitionStyle(['border-color', 'box-shadow', 'color'], { duration: 200 }),\n _hover: {\n color: hoverColor,\n },\n _active: {\n color: activeColor,\n },\n _focus: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusColor,\n },\n _focusHover: {\n color: focusHoverColor,\n },\n _focusActive: {\n borderColor: focusBorderColor,\n boxShadow: focusBoxShadowBorderColor ? `inset 0 0 0 1px ${colors[focusBoxShadowBorderColor]}` : undefined,\n color: focusActiveColor,\n },\n };\n};\n\nconst IconButton = forwardRef((\n {\n size = '8x',\n ...rest\n },\n ref,\n) => {\n const styleProps = useIconButtonStyle({ size });\n\n return (\n \n );\n});\nIconButton.displayName = 'IconButton';\n\nconst App = () => {\n return (\n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h3,{id:"notification-action-button",children:["Notification action button",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#notification-action-button",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["To perform an action on an alert or toast notification, you can use ",(0,o.jsx)(e.code,{children:"ButtonBase"})," to compose an action button using the ",(0,o.jsx)(e.code,{children:"sx"})," prop."]}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:h,file:{data:"import {\n Alert,\n Button,\n Flex,\n Text,\n} from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = 'ActionButton';\n\nconst App = () => {\n return (\n \n \n \n This is an alert notification with an action button.\n \n \n Action Button\n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-base/index.page.mdx"},sandbox:{files:{},raw:"import {\n Alert,\n Button,\n Flex,\n Text,\n} from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ActionButton = forwardRef((props, ref) => (\n \n));\nActionButton.displayName = 'ActionButton';\n\nconst App = () => {\n return (\n \n \n \n This is an alert notification with an action button.\n \n \n Action Button\n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(e.h2,{id:"props",children:["Props",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.h3,{id:"buttonbase-1",children:["ButtonBase",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttonbase-1",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{align:"left",children:"Name"}),(0,o.jsx)(e.th,{align:"left",children:"Type"}),(0,o.jsx)(e.th,{align:"left",children:"Default"}),(0,o.jsx)(e.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{align:"left",children:"children"}),(0,o.jsx)(e.td,{align:"left",children:"ReactNode"}),(0,o.jsx)(e.td,{align:"left"}),(0,o.jsx)(e.td,{align:"left"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{align:"left",children:"disabled"}),(0,o.jsx)(e.td,{align:"left",children:"boolean"}),(0,o.jsx)(e.td,{align:"left"}),(0,o.jsxs)(e.td,{align:"left",children:["If ",(0,o.jsx)(e.code,{children:"true"}),", the button will be disabled. This sets ",(0,o.jsx)(e.code,{children:"aria-disabled=true"})," and you can style this state by passing the ",(0,o.jsx)(e.code,{children:"_disabled"})," prop."]})]})]})]})]})}var I=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},(0,r.ah)(),n.components).wrapper;return e?(0,o.jsx)(e,Object.assign({},n,{children:(0,o.jsx)(S,n)})):S(n)}},96835:function(n,e,t){"use strict";t.d(e,{Z:function(){return E}});var o=t(27216),r=t(40596),a=t(49857),i=t(73645),c=t(99870),l=t(62272),s=t(14594),u=t(65019),d=t(37384),f=t(99554),h=t(69111),p=t(5632),b=t(2784),m=t(65245);function x(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t0&&document.getSelection().getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},v=function(n){var e,t=function(n){if(Array.isArray(n))return n}(e=(0,b.useState)(!1))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,c=[],l=!0,s=!1;try{for(a=(t=t.call(n)).next;!(l=(o=a.call(t)).done)&&(c.push(o.value),2!==c.length);l=!0);}catch(n){s=!0,r=n}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,2)||function(n,e){if(n){if("string"==typeof n)return x(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(n,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:n,onCopy:function(){y(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},g=t(63768),j=t(76761),B=t(73205),C=t(98107),k=t(44285),w=["component","defaultExpanded","expanded","file","sandbox"];function A(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,c=[],l=!0,s=!1;try{if(a=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(o=a.call(t)).done)&&(c.push(o.value),c.length!==e);l=!0);}catch(n){s=!0,r=n}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(n,e)||function(n,e){if(n){if("string"==typeof n)return S(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return S(n,e)}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}}}(n,w);var E=(0,p.useRouter)(),O=A((0,b.useReducer)(function(n){return!n},!1),2),Z=O[0],_=O[1],T=(0,o.u)(),z=A((0,r.Z)(),1)[0],R={dark:j.y,light:j.q}[z],N=A((0,u.Z)(null!=y?y:void 0!==x&&x),2),M=N[0],H=N[1],P=v(null==S?void 0:S.data),F=P.onCopy,U=P.hasCopied,$=(0,b.useCallback)(function(){F()},[F]),X=(0,b.useCallback)(function(){(0,B.b)(I)},[I]),D=(0,b.useCallback)(function(){_(),H(!1)},[_,H]);return((0,b.useEffect)(function(){void 0!==y&&y!==M&&H(y)},[y,M,H]),t)?b.createElement(m.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:R},b.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[z],p:"4x"},b.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},b.createElement(b.Fragment,{key:Z},b.createElement(t,null)))),b.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},b.createElement(k.Z,{"data-track":M?"Code|hide_source|".concat((0,C.Z)({path:E.pathname})):"Code|show_source|".concat((0,C.Z)({path:E.pathname})),onClick:H},b.createElement(c.Z,{label:M?"Hide the source":"Show the source"},b.createElement(d.Z,null))),b.createElement(k.Z,{"data-track":"Code|copy_source|".concat((0,C.Z)({path:E.pathname})),onClick:$},b.createElement(c.Z,{label:U?"Copied":"Copy the source"},b.createElement(f.Z,null))),b.createElement(k.Z,{"data-track":"Code|edit_in_codesandbox|".concat(E.pathname),onClick:X},b.createElement(c.Z,{label:"Edit in CodeSandbox"},b.createElement(g.Z,null))),b.createElement(k.Z,{"data-track":"Code|reset|".concat(E.pathname),onClick:D},b.createElement(c.Z,{label:"Reset the demo"},b.createElement(h.Z,null)))),b.createElement(l.Z,{in:M},b.createElement(s.Z,{in:M,unmountOnExit:!0},b.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==T?void 0:null===(e=T.space)||void 0===e?void 0:e["4x"]," !important"),overflowX:"auto"}}})))):b.createElement(m.nu,{code:null==S?void 0:S.data,disabled:!0,language:"jsx",theme:R},b.createElement(a.Z,{as:m.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};I.displayName="Demo";var E=I},3742:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-base",function(){return t(15317)}])},99554:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")}},function(n){n.O(0,[9860,2888,9774,179],function(){return n(n.s=3742)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/button-d608041485dce1ac.js b/react/pr-947/_next/static/chunks/pages/components/button-fc494c837f365b33.js similarity index 86% rename from react/pr-947/_next/static/chunks/pages/components/button-d608041485dce1ac.js rename to react/pr-947/_next/static/chunks/pages/components/button-fc494c837f365b33.js index 810e1b352f..048dbb374a 100644 --- a/react/pr-947/_next/static/chunks/pages/components/button-d608041485dce1ac.js +++ b/react/pr-947/_next/static/chunks/pages/components/button-fc494c837f365b33.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9091],{71562:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return w}});var a=e(52322),r=e(45392),o=e(96835),i=e(73645),l=e(62080),c=e(43116),s=e(22231),u=e(45795),d=e(2784),m=function(){return d.createElement(i.Z,{direction:"column",rowGap:"4x"},d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"primary",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"primary",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"primary",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"primary",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"primary",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"primary",columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"secondary",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"secondary",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"secondary",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"secondary",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"secondary",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"secondary",columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"ghost",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"ghost",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"ghost",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"ghost",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"ghost",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"ghost",columnGap:"2x"},"Next",d.createElement(u.Z,null))))},h=e(40596),p=e(85017);function x(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(a=o.call(e)).done)&&(l.push(a.value),l.length!==n);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return g(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return g(t,n)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);et.length)&&(n=t.length);for(var e=0,a=Array(n);e (\n \n);\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"variants",children:["Variants",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#variants",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Use the ",(0,a.jsx)(n.code,{children:"variant"})," prop to change the visual style of ",(0,a.jsx)(n.code,{children:"Button"}),". You can set the value to ",(0,a.jsx)(n.code,{children:"emphasis"}),", ",(0,a.jsx)(n.code,{children:"primary"}),", ",(0,a.jsx)(n.code,{children:"default"}),", ",(0,a.jsx)(n.code,{children:"secondary"}),", or ",(0,a.jsx)(n.code,{children:"ghost"}),"."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:A,file:{data:'import {\n Button,\n Flex,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Flex,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"sizes",children:["Sizes",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#sizes",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Use the ",(0,a.jsx)(n.code,{children:"size"})," prop to change the size of the button. You can set the value to ",(0,a.jsx)(n.code,{children:"sm"}),", ",(0,a.jsx)(n.code,{children:"md"}),", or ",(0,a.jsx)(n.code,{children:"lg"}),"."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:S,file:{data:'import {\n Button,\n Stack,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Stack,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"states",children:["States",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#states",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["You can make buttons look inactive or active by adding the ",(0,a.jsx)(n.code,{children:"disabled"})," or ",(0,a.jsx)(n.code,{children:"selected"})," prop. In either case, the button will not be clickable in disabled or selected state."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:Z,file:{data:'import {\n Button,\n Flex,\n Grid,\n TextLabel,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Normal\n Disabled\n Selected\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Flex,\n Grid,\n TextLabel,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Normal\n Disabled\n Selected\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h4,{id:"disabled-state",children:["Disabled state",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#disabled-state",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["If the ",(0,a.jsx)(n.code,{children:"disabled"})," prop is set (or set to ",(0,a.jsx)(n.code,{children:"true"}),"), the button will have a ",(0,a.jsx)(n.code,{children:"disabled"})," attribute and not respond to user interactions."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:'\n'})}),"\n",(0,a.jsxs)(n.p,{children:["To customize the visual appearance of the disabled state, pass the ",(0,a.jsx)(n.code,{children:"_disabled"})," style prop to override the default style."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:b,file:{data:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const disabledBackgroundColor = {\n dark: 'gray:60',\n light: 'gray:20',\n }[colorMode];\n const disabledColor = colorStyle.color.emphasis;\n const disabledOpacity = {\n dark: '0.28',\n light: '0.3',\n }[colorMode];\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const disabledBackgroundColor = {\n dark: 'gray:60',\n light: 'gray:20',\n }[colorMode];\n const disabledColor = colorStyle.color.emphasis;\n const disabledOpacity = {\n dark: '0.28',\n light: '0.3',\n }[colorMode];\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h4,{id:"selected-state",children:["Selected state",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#selected-state",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["If the ",(0,a.jsx)(n.code,{children:"selected"})," prop is set (or set to ",(0,a.jsx)(n.code,{children:"true"}),"), the button will have both ",(0,a.jsx)(n.code,{children:"pointer-events: none"})," style and ",(0,a.jsx)(n.code,{children:'tabindex="-1"'})," attribute. This will prevent the button from receiving pointer events and will not be reachable via sequential keyboard navigation."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:'\n'})}),"\n",(0,a.jsxs)(n.p,{children:["To customize the visual appearance of the selected state, pass the ",(0,a.jsx)(n.code,{children:"_selected"})," style prop to override the default style."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:f,file:{data:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const selectedBackgroundColor = {\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n const selectedColor = colorStyle.color.emphasis;\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const selectedBackgroundColor = {\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n const selectedColor = colorStyle.color.emphasis;\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"icons",children:["Icons",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icons",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Icons are commonly used in toolbar buttons. You can use the ",(0,a.jsx)(n.code,{children:"columnGap"})," style prop or the ",(0,a.jsx)(n.a,{href:"space",children:"Space"})," component to adjust the spacing between the icon and the label."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:m,file:{data:'import { Button, Flex } from \'@tonic-ui/react\';\nimport { AddIcon, AngleRightIcon, SettingsIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import { Button, Flex } from \'@tonic-ui/react\';\nimport { AddIcon, AngleRightIcon, SettingsIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"customization",children:["Customization",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customization",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["To create a custom button, you can use the style props for the ",(0,a.jsx)(n.a,{href:"button-base",children:"ButtonBase"})," component."]}),"\n",(0,a.jsxs)(n.h2,{id:"props",children:["Props",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.h3,{id:"button-1",children:["Button",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#button-1",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.table,{children:[(0,a.jsx)(n.thead,{children:(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.th,{align:"left",children:"Name"}),(0,a.jsx)(n.th,{align:"left",children:"Type"}),(0,a.jsx)(n.th,{align:"left",children:"Default"}),(0,a.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,a.jsxs)(n.tbody,{children:[(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"children"}),(0,a.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsx)(n.td,{align:"left"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"disabled"}),(0,a.jsx)(n.td,{align:"left",children:"boolean"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsxs)(n.td,{align:"left",children:["If ",(0,a.jsx)(n.code,{children:"true"}),", the button will have a ",(0,a.jsx)(n.code,{children:"disabled"})," attribute and not respond to user interactions.",(0,a.jsx)("br",{}),"You can pass the ",(0,a.jsx)(n.code,{children:"_disabled"})," style prop to customize the visual appearance of the disabled state."]})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"selected"}),(0,a.jsx)(n.td,{align:"left",children:"boolean"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsxs)(n.td,{align:"left",children:["If ",(0,a.jsx)(n.code,{children:"true"}),", the button will have a ",(0,a.jsx)(n.code,{children:'tabIndex="-1"'})," attribute and will not receive pointer events (i.e. ",(0,a.jsx)(n.code,{children:"pointer-events: none;"}),").",(0,a.jsx)("br",{}),"You can pass the ",(0,a.jsx)(n.code,{children:"_selected"})," style prop to customize the visual appearance of the selected state."]})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"size"}),(0,a.jsx)(n.td,{align:"left",children:"string"}),(0,a.jsx)(n.td,{align:"left",children:"'md'"}),(0,a.jsx)(n.td,{align:"left",children:"The size of the button. Acceptable values: 'sm', 'md', 'lg'"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"variant"}),(0,a.jsx)(n.td,{align:"left",children:"string"}),(0,a.jsx)(n.td,{align:"left",children:"'default'"}),(0,a.jsx)(n.td,{align:"left",children:"The variant of the button style to use. Acceptable values: 'emphasis', 'primary', 'default', 'secondary', 'ghost'"})]})]})]})]})}var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,r.ah)(),t.components).wrapper;return n?(0,a.jsx)(n,Object.assign({},t,{children:(0,a.jsx)(k,t)})):k(t)}},96835:function(t,n,e){"use strict";e.d(n,{Z:function(){return w}});var a=e(27216),r=e(40596),o=e(49857),i=e(73645),l=e(99870),c=e(62272),s=e(14594),u=e(65019),d=e(37384),m=e(99554),h=e(69111),p=e(5632),x=e(2784),g=e(65245);function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);e0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e))},v=function(t){var n,e=function(t){if(Array.isArray(t))return t}(n=(0,x.useState)(!1))||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{for(o=(e=e.call(t)).next;!(c=(a=o.call(e)).done)&&(l.push(a.value),2!==l.length);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,2)||function(t,n){if(t){if("string"==typeof t)return f(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return f(t,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=e[0],r=e[1];return{value:t,onCopy:function(){B(t),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:a}},b=e(63768),y=e(76761),j=e(73205),Z=e(98107),E=e(44285),S=["component","defaultExpanded","expanded","file","sandbox"];function A(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(a=o.call(e)).done)&&(l.push(a.value),l.length!==n);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return I(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return I(t,n)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);e=0||(r[e]=t[e]);return r}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}}}(t,S);var w=(0,p.useRouter)(),G=A((0,x.useReducer)(function(t){return!t},!1),2),C=G[0],R=G[1],z=(0,a.u)(),N=A((0,r.Z)(),1)[0],M={dark:y.y,light:y.q}[N],F=A((0,u.Z)(null!=B?B:void 0!==f&&f),2),O=F[0],T=F[1],L=v(null==I?void 0:I.data),_=L.onCopy,D=L.hasCopied,P=(0,x.useCallback)(function(){_()},[_]),H=(0,x.useCallback)(function(){(0,j.b)(k)},[k]),U=(0,x.useCallback)(function(){R(),T(!1)},[R,T]);return((0,x.useEffect)(function(){void 0!==B&&B!==O&&T(B)},[B,O,T]),e)?x.createElement(g.nu,{code:null==I?void 0:I.data,disabled:!0,language:"jsx",theme:M},x.createElement(o.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},x.createElement(o.Z,{fontSize:"sm",lineHeight:"sm"},x.createElement(x.Fragment,{key:C},x.createElement(e,null)))),x.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},x.createElement(E.Z,{"data-track":O?"CodeBlock|hide_source|".concat((0,Z.Z)({path:w.pathname})):"CodeBlock|show_source|".concat((0,Z.Z)({path:w.pathname})),onClick:T},x.createElement(l.Z,{label:O?"Hide the source":"Show the source"},x.createElement(d.Z,null))),x.createElement(E.Z,{"data-track":"CodeBlock|copy_source|".concat((0,Z.Z)({path:w.pathname})),onClick:P},x.createElement(l.Z,{label:D?"Copied":"Copy the source"},x.createElement(m.Z,null))),x.createElement(E.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(w.pathname),onClick:H},x.createElement(l.Z,{label:"Edit in CodeSandbox"},x.createElement(b.Z,null))),x.createElement(E.Z,{"data-track":"CodeBlock|reset|".concat(w.pathname),onClick:U},x.createElement(l.Z,{label:"Reset the demo"},x.createElement(h.Z,null)))),x.createElement(c.Z,{in:O},x.createElement(s.Z,{in:O,unmountOnExit:!0},x.createElement(o.Z,{as:g.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==z?void 0:null===(n=z.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):x.createElement(g.nu,{code:null==I?void 0:I.data,disabled:!0,language:"jsx",theme:M},x.createElement(o.Z,{as:g.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};k.displayName="Demo";var w=k},67792:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button",function(){return e(71562)}])},43116:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M15 9h-6v6h-2v-6h-6v-2h6v-6h2v6h6v2z"}),"AddIcon")},99554:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},22231:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M16 9v-2l-2.13-0.27c-0.163-0.757-0.447-1.427-0.834-2.023l0.014 0.023 1.33-1.7-1.38-1.39-1.74 1.36c-0.573-0.376-1.242-0.664-1.96-0.823l-0.040-0.007-0.26-2.17h-2l-0.26 2.13c-0.757 0.163-1.427 0.447-2.023 0.834l0.023-0.014-1.67-1.31-1.41 1.42 1.34 1.69c-0.376 0.573-0.664 1.242-0.823 1.96l-0.007 0.040-2.17 0.25v2l2.14 0.27c0.163 0.757 0.447 1.427 0.834 2.023l-0.014-0.023-1.32 1.7 1.41 1.41 1.71-1.38c0.574 0.37 1.243 0.65 1.961 0.803l0.039 0.007 0.24 2.19h2l0.27-2.14c0.757-0.163 1.427-0.447 2.023-0.834l-0.023 0.014 1.73 1.34 1.38-1.38-1.38-1.75c0.373-0.573 0.657-1.243 0.813-1.96l0.007-0.040zM8 11c-1.657 0-3-1.343-3-3s1.343-3 3-3c1.657 0 3 1.343 3 3v0c0 1.657-1.343 3-3 3v0z"}),"SettingsIcon")},6194:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var a=e(53860),r=e(2784),o=e(98827),i=e(52903),l=e(49857),c=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],s=(0,r.forwardRef)(function(t,n){var e=(0,o.Z)({props:t,name:"Grid"}),r=e.gap,s=e.rowGap,u=e.columnGap,d=e.column,m=e.row,h=e.area,p=e.autoFlow,x=e.autoRows,g=e.autoColumns,f=e.templateRows,B=e.templateColumns,v=e.templateAreas,b=(0,a.Kd)(e,c);return(0,i.tZ)(l.Z,(0,a.Zj)({ref:n,display:"grid",gridGap:r,gridRowGap:s,gridColumnGap:u,gridColumn:d,gridRow:m,gridArea:h,gridAutoFlow:p,gridAutoRows:x,gridAutoColumns:g,gridTemplateRows:f,gridTemplateColumns:B,gridTemplateAreas:v},b))});s.displayName="Grid";var u=s},67622:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var a=e(53860),r=e(2784),o=e(98827),i=e(70758),l=e(91334),c=e(52903),s=["size"],u=(0,r.forwardRef)(function(t,n){var e=(0,o.Z)({props:t,name:"TextLabel"}),r=e.size,u=(0,a.Kd)(e,s),d=(0,l.w)({size:r});return(0,c.tZ)(i.Z,(0,a.Zj)((0,a.Zj)({as:"label",ref:n},d),u))});u.displayName="TextLabel";var d=u}},function(t){t.O(0,[2888,9774,179],function(){return t(t.s=67792)}),_N_E=t.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9091],{71562:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return k}});var a=e(52322),r=e(45392),o=e(96835),i=e(73645),l=e(62080),c=e(43116),s=e(22231),u=e(45795),d=e(2784),m=function(){return d.createElement(i.Z,{direction:"column",rowGap:"4x"},d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"primary",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"primary",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"primary",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"primary",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"primary",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"primary",columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"secondary",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"secondary",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"secondary",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"secondary",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"secondary",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"secondary",columnGap:"2x"},"Next",d.createElement(u.Z,null))),d.createElement(i.Z,{columnGap:"4x"},d.createElement(l.Z,{variant:"ghost",width:"8x",height:"8x",borderRadius:"circle"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"ghost",width:"8x",height:"8x"},d.createElement(c.Z,null)),d.createElement(l.Z,{variant:"ghost",borderRadius:"2rem",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"ghost",columnGap:"2x"},d.createElement(s.Z,null),"Settings"),d.createElement(l.Z,{variant:"ghost",borderRadius:"2rem",columnGap:"2x"},"Next",d.createElement(u.Z,null)),d.createElement(l.Z,{variant:"ghost",columnGap:"2x"},"Next",d.createElement(u.Z,null))))},h=e(40596),p=e(85017);function x(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(a=o.call(e)).done)&&(l.push(a.value),l.length!==n);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return g(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return g(t,n)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);et.length)&&(n=t.length);for(var e=0,a=Array(n);e (\n \n);\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"variants",children:["Variants",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#variants",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Use the ",(0,a.jsx)(n.code,{children:"variant"})," prop to change the visual style of ",(0,a.jsx)(n.code,{children:"Button"}),". You can set the value to ",(0,a.jsx)(n.code,{children:"emphasis"}),", ",(0,a.jsx)(n.code,{children:"primary"}),", ",(0,a.jsx)(n.code,{children:"default"}),", ",(0,a.jsx)(n.code,{children:"secondary"}),", or ",(0,a.jsx)(n.code,{children:"ghost"}),"."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:A,file:{data:'import {\n Button,\n Flex,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Flex,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"sizes",children:["Sizes",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#sizes",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Use the ",(0,a.jsx)(n.code,{children:"size"})," prop to change the size of the button. You can set the value to ",(0,a.jsx)(n.code,{children:"sm"}),", ",(0,a.jsx)(n.code,{children:"md"}),", or ",(0,a.jsx)(n.code,{children:"lg"}),"."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:S,file:{data:'import {\n Button,\n Stack,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Stack,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"states",children:["States",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#states",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["You can make buttons look inactive or active by adding the ",(0,a.jsx)(n.code,{children:"disabled"})," or ",(0,a.jsx)(n.code,{children:"selected"})," prop. In either case, the button will not be clickable in disabled or selected state."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:Z,file:{data:'import {\n Button,\n Flex,\n Grid,\n TextLabel,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Normal\n Disabled\n Selected\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n Flex,\n Grid,\n TextLabel,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Normal\n Disabled\n Selected\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h4,{id:"disabled-state",children:["Disabled state",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#disabled-state",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["If the ",(0,a.jsx)(n.code,{children:"disabled"})," prop is set (or set to ",(0,a.jsx)(n.code,{children:"true"}),"), the button will have a ",(0,a.jsx)(n.code,{children:"disabled"})," attribute and not respond to user interactions."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:'\n'})}),"\n",(0,a.jsxs)(n.p,{children:["To customize the visual appearance of the disabled state, pass the ",(0,a.jsx)(n.code,{children:"_disabled"})," style prop to override the default style."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:b,file:{data:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const disabledBackgroundColor = {\n dark: 'gray:60',\n light: 'gray:20',\n }[colorMode];\n const disabledColor = colorStyle.color.emphasis;\n const disabledOpacity = {\n dark: '0.28',\n light: '0.3',\n }[colorMode];\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const disabledBackgroundColor = {\n dark: 'gray:60',\n light: 'gray:20',\n }[colorMode];\n const disabledColor = colorStyle.color.emphasis;\n const disabledOpacity = {\n dark: '0.28',\n light: '0.3',\n }[colorMode];\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h4,{id:"selected-state",children:["Selected state",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#selected-state",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["If the ",(0,a.jsx)(n.code,{children:"selected"})," prop is set (or set to ",(0,a.jsx)(n.code,{children:"true"}),"), the button will have both ",(0,a.jsx)(n.code,{children:"pointer-events: none"})," style and ",(0,a.jsx)(n.code,{children:'tabindex="-1"'})," attribute. This will prevent the button from receiving pointer events and will not be reachable via sequential keyboard navigation."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-jsx",children:'\n'})}),"\n",(0,a.jsxs)(n.p,{children:["To customize the visual appearance of the selected state, pass the ",(0,a.jsx)(n.code,{children:"_selected"})," style prop to override the default style."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:f,file:{data:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const selectedBackgroundColor = {\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n const selectedColor = colorStyle.color.emphasis;\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n useColorMode,\n useColorStyle,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const selectedBackgroundColor = {\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n const selectedColor = colorStyle.color.emphasis;\n\n return (\n \n Custom Button\n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"icons",children:["Icons",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#icons",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["Icons are commonly used in toolbar buttons. You can use the ",(0,a.jsx)(n.code,{children:"columnGap"})," style prop or the ",(0,a.jsx)(n.a,{href:"space",children:"Space"})," component to adjust the spacing between the icon and the label."]}),"\n",(0,a.jsx)(o.Z,Object.assign({},{component:m,file:{data:'import { Button, Flex } from \'@tonic-ui/react\';\nimport { AddIcon, AngleRightIcon, SettingsIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',path:"pages/components/button/index.page.mdx"},sandbox:{files:{},raw:'import { Button, Flex } from \'@tonic-ui/react\';\nimport { AddIcon, AngleRightIcon, SettingsIcon } from \'@tonic-ui/react-icons\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,a.jsxs)(n.h3,{id:"customization",children:["Customization",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#customization",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.p,{children:["To create a custom button, you can use the style props for the ",(0,a.jsx)(n.a,{href:"button-base",children:"ButtonBase"})," component."]}),"\n",(0,a.jsxs)(n.h2,{id:"props",children:["Props",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.h3,{id:"button-1",children:["Button",(0,a.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#button-1",children:(0,a.jsx)(n.svg,{children:(0,a.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,a.jsxs)(n.table,{children:[(0,a.jsx)(n.thead,{children:(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.th,{align:"left",children:"Name"}),(0,a.jsx)(n.th,{align:"left",children:"Type"}),(0,a.jsx)(n.th,{align:"left",children:"Default"}),(0,a.jsx)(n.th,{align:"left",children:"Description"})]})}),(0,a.jsxs)(n.tbody,{children:[(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"children"}),(0,a.jsx)(n.td,{align:"left",children:"ReactNode"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsx)(n.td,{align:"left"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"disabled"}),(0,a.jsx)(n.td,{align:"left",children:"boolean"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsxs)(n.td,{align:"left",children:["If ",(0,a.jsx)(n.code,{children:"true"}),", the button will have a ",(0,a.jsx)(n.code,{children:"disabled"})," attribute and not respond to user interactions.",(0,a.jsx)("br",{}),"You can pass the ",(0,a.jsx)(n.code,{children:"_disabled"})," style prop to customize the visual appearance of the disabled state."]})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"selected"}),(0,a.jsx)(n.td,{align:"left",children:"boolean"}),(0,a.jsx)(n.td,{align:"left"}),(0,a.jsxs)(n.td,{align:"left",children:["If ",(0,a.jsx)(n.code,{children:"true"}),", the button will have a ",(0,a.jsx)(n.code,{children:'tabIndex="-1"'})," attribute and will not receive pointer events (i.e. ",(0,a.jsx)(n.code,{children:"pointer-events: none;"}),").",(0,a.jsx)("br",{}),"You can pass the ",(0,a.jsx)(n.code,{children:"_selected"})," style prop to customize the visual appearance of the selected state."]})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"size"}),(0,a.jsx)(n.td,{align:"left",children:"string"}),(0,a.jsx)(n.td,{align:"left",children:"'md'"}),(0,a.jsx)(n.td,{align:"left",children:"The size of the button. Acceptable values: 'sm', 'md', 'lg'"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{align:"left",children:"variant"}),(0,a.jsx)(n.td,{align:"left",children:"string"}),(0,a.jsx)(n.td,{align:"left",children:"'default'"}),(0,a.jsx)(n.td,{align:"left",children:"The variant of the button style to use. Acceptable values: 'emphasis', 'primary', 'default', 'secondary', 'ghost'"})]})]})]})]})}var k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,r.ah)(),t.components).wrapper;return n?(0,a.jsx)(n,Object.assign({},t,{children:(0,a.jsx)(w,t)})):w(t)}},96835:function(t,n,e){"use strict";e.d(n,{Z:function(){return k}});var a=e(27216),r=e(40596),o=e(49857),i=e(73645),l=e(99870),c=e(62272),s=e(14594),u=e(65019),d=e(37384),m=e(99554),h=e(69111),p=e(5632),x=e(2784),g=e(65245);function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);e0&&document.getSelection().getRangeAt(0);n.select(),document.execCommand("copy"),document.body.removeChild(n),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e))},B=function(t){var n,e=function(t){if(Array.isArray(t))return t}(n=(0,x.useState)(!1))||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{for(o=(e=e.call(t)).next;!(c=(a=o.call(e)).done)&&(l.push(a.value),2!==l.length);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,2)||function(t,n){if(t){if("string"==typeof t)return f(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return f(t,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=e[0],r=e[1];return{value:t,onCopy:function(){v(t),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:a}},b=e(63768),y=e(76761),j=e(73205),Z=e(98107),E=e(44285),S=["component","defaultExpanded","expanded","file","sandbox"];function A(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(a=o.call(e)).done)&&(l.push(a.value),l.length!==n);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return I(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return I(t,n)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=Array(n);e=0||(r[e]=t[e]);return r}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}}}(t,S);var k=(0,p.useRouter)(),G=A((0,x.useReducer)(function(t){return!t},!1),2),C=G[0],R=G[1],z=(0,a.u)(),N=A((0,r.Z)(),1)[0],M={dark:y.y,light:y.q}[N],F=A((0,u.Z)(null!=v?v:void 0!==f&&f),2),O=F[0],T=F[1],L=B(null==I?void 0:I.data),_=L.onCopy,D=L.hasCopied,P=(0,x.useCallback)(function(){_()},[_]),H=(0,x.useCallback)(function(){(0,j.b)(w)},[w]),U=(0,x.useCallback)(function(){R(),T(!1)},[R,T]);return((0,x.useEffect)(function(){void 0!==v&&v!==O&&T(v)},[v,O,T]),e)?x.createElement(g.nu,{code:null==I?void 0:I.data,disabled:!0,language:"jsx",theme:M},x.createElement(o.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[N],p:"4x"},x.createElement(o.Z,{fontSize:"sm",lineHeight:"sm"},x.createElement(x.Fragment,{key:C},x.createElement(e,null)))),x.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},x.createElement(E.Z,{"data-track":O?"Code|hide_source|".concat((0,Z.Z)({path:k.pathname})):"Code|show_source|".concat((0,Z.Z)({path:k.pathname})),onClick:T},x.createElement(l.Z,{label:O?"Hide the source":"Show the source"},x.createElement(d.Z,null))),x.createElement(E.Z,{"data-track":"Code|copy_source|".concat((0,Z.Z)({path:k.pathname})),onClick:P},x.createElement(l.Z,{label:D?"Copied":"Copy the source"},x.createElement(m.Z,null))),x.createElement(E.Z,{"data-track":"Code|edit_in_codesandbox|".concat(k.pathname),onClick:H},x.createElement(l.Z,{label:"Edit in CodeSandbox"},x.createElement(b.Z,null))),x.createElement(E.Z,{"data-track":"Code|reset|".concat(k.pathname),onClick:U},x.createElement(l.Z,{label:"Reset the demo"},x.createElement(h.Z,null)))),x.createElement(c.Z,{in:O},x.createElement(s.Z,{in:O,unmountOnExit:!0},x.createElement(o.Z,{as:g.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==z?void 0:null===(n=z.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}})))):x.createElement(g.nu,{code:null==I?void 0:I.data,disabled:!0,language:"jsx",theme:M},x.createElement(o.Z,{as:g.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};w.displayName="Demo";var k=w},67792:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button",function(){return e(71562)}])},43116:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M15 9h-6v6h-2v-6h-6v-2h6v-6h2v6h6v2z"}),"AddIcon")},99554:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},22231:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}}),e(2784);var a=e(75928),r=e(52903),o=(0,a.Z)((0,r.tZ)("path",{d:"M16 9v-2l-2.13-0.27c-0.163-0.757-0.447-1.427-0.834-2.023l0.014 0.023 1.33-1.7-1.38-1.39-1.74 1.36c-0.573-0.376-1.242-0.664-1.96-0.823l-0.040-0.007-0.26-2.17h-2l-0.26 2.13c-0.757 0.163-1.427 0.447-2.023 0.834l0.023-0.014-1.67-1.31-1.41 1.42 1.34 1.69c-0.376 0.573-0.664 1.242-0.823 1.96l-0.007 0.040-2.17 0.25v2l2.14 0.27c0.163 0.757 0.447 1.427 0.834 2.023l-0.014-0.023-1.32 1.7 1.41 1.41 1.71-1.38c0.574 0.37 1.243 0.65 1.961 0.803l0.039 0.007 0.24 2.19h2l0.27-2.14c0.757-0.163 1.427-0.447 2.023-0.834l-0.023 0.014 1.73 1.34 1.38-1.38-1.38-1.75c0.373-0.573 0.657-1.243 0.813-1.96l0.007-0.040zM8 11c-1.657 0-3-1.343-3-3s1.343-3 3-3c1.657 0 3 1.343 3 3v0c0 1.657-1.343 3-3 3v0z"}),"SettingsIcon")},6194:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var a=e(53860),r=e(2784),o=e(98827),i=e(52903),l=e(49857),c=["gap","rowGap","columnGap","column","row","area","autoFlow","autoRows","autoColumns","templateRows","templateColumns","templateAreas"],s=(0,r.forwardRef)(function(t,n){var e=(0,o.Z)({props:t,name:"Grid"}),r=e.gap,s=e.rowGap,u=e.columnGap,d=e.column,m=e.row,h=e.area,p=e.autoFlow,x=e.autoRows,g=e.autoColumns,f=e.templateRows,v=e.templateColumns,B=e.templateAreas,b=(0,a.Kd)(e,c);return(0,i.tZ)(l.Z,(0,a.Zj)({ref:n,display:"grid",gridGap:r,gridRowGap:s,gridColumnGap:u,gridColumn:d,gridRow:m,gridArea:h,gridAutoFlow:p,gridAutoRows:x,gridAutoColumns:g,gridTemplateRows:f,gridTemplateColumns:v,gridTemplateAreas:B},b))});s.displayName="Grid";var u=s},67622:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var a=e(53860),r=e(2784),o=e(98827),i=e(70758),l=e(91334),c=e(52903),s=["size"],u=(0,r.forwardRef)(function(t,n){var e=(0,o.Z)({props:t,name:"TextLabel"}),r=e.size,u=(0,a.Kd)(e,s),d=(0,l.w)({size:r});return(0,c.tZ)(i.Z,(0,a.Zj)((0,a.Zj)({as:"label",ref:n},d),u))});u.displayName="TextLabel";var d=u}},function(t){t.O(0,[2888,9774,179],function(){return t(t.s=67792)}),_N_E=t.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/button-group-6c7aeb8f687d94b8.js b/react/pr-947/_next/static/chunks/pages/components/button-group-f06acce52be7721e.js similarity index 90% rename from react/pr-947/_next/static/chunks/pages/components/button-group-6c7aeb8f687d94b8.js rename to react/pr-947/_next/static/chunks/pages/components/button-group-f06acce52be7721e.js index be4c4af352..814f966071 100644 --- a/react/pr-947/_next/static/chunks/pages/components/button-group-6c7aeb8f687d94b8.js +++ b/react/pr-947/_next/static/chunks/pages/components/button-group-f06acce52be7721e.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{91029:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return M}});var o=e(52322),r=e(45392),i=e(96835),a=e(40596),l=e(73645),c=e(49857),u=e(67622),s=e(39256),d=e(62080),h=e(29088),m=e(72448),v=e(81947),p=e(9537),f=e(59437),B=e(63860),g=e(2784);function x(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;c=!1}else for(;!(c=(o=i.call(e)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(n,t)||function(n,t){if(n){if("string"==typeof n)return y(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return y(n,t)}}(n,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},i.map(function(n,t){var e=x(n,2),o=e[0],r=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:w===o,onClick:function(n){M(o),n.currentTarget.blur()},width:"8x"},g.createElement(h.Z,{as:r})))}))),g.createElement(c.Z,null,g.createElement(c.Z,{mb:"2x"},g.createElement(u.Z,null,"Ghost")),g.createElement(s.Z,{variant:"ghost"},i.map(function(n,t){var e=x(n,2),o=e[0],i=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:L===o,onClick:function(n){A(o),n.currentTarget.blur()},width:"8x"},g.createElement(h.Z,{as:i})),t!==y&&g.createElement(m.Z,{orientation:"vertical",color:r}))}))),g.createElement(c.Z,null,g.createElement(c.Z,{mb:"2x"},g.createElement(u.Z,null,"Ghost (w/o ButtonGroup)")),g.createElement(l.Z,null,i.map(function(n,t){var e=x(n,2),o=e[0],r=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:z===o,onClick:function(n){R(o),n.currentTarget.blur()},variant:"ghost",width:"8x"},g.createElement(h.Z,{as:r})))}))))},k=e(61619);function Z(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{orientation:"vertical",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginTop:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three"))),g.createElement(k.Z,{spacing:"4x",alignItems:"center"},g.createElement(s.Z,{variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{orientation:"vertical",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginTop:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{color:o}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{color:o}),g.createElement(d.Z,null,"Three"))))};function C(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"md",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"lg",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right"))),g.createElement(k.Z,{spacing:"4x",alignItems:"flex-start"},g.createElement(s.Z,{size:"sm",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"md",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"lg",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right"))))};function j(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{orientation:"vertical",color:i}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{orientation:"vertical",color:i}),g.createElement(d.Z,null,"Three")))};function I(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e {\n const [colorMode] = useColorMode();\n const dividerColor ={\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n ButtonGroup,\n Divider,\n useColorMode,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const dividerColor ={\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-variants",children:["Group variants",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-variants",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Use the ",(0,o.jsx)(t.code,{children:"variant"})," prop to change the visual style of every button in a group. You can set the value to ",(0,o.jsx)(t.code,{children:"emphasis"}),", ",(0,o.jsx)(t.code,{children:"primary"}),", ",(0,o.jsx)(t.code,{children:"default"}),", ",(0,o.jsx)(t.code,{children:"secondary"})," and ",(0,o.jsx)(t.code,{children:"ghost"}),"."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:T,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor ={\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor ={\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor ={\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor ={\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-sizes",children:["Group sizes",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-sizes",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Use the ",(0,o.jsx)(t.code,{children:"size"})," prop to change the size of the ",(0,o.jsx)(t.code,{children:"ButtonGroup"}),". You can set the value to ",(0,o.jsx)(t.code,{children:"sm"}),", ",(0,o.jsx)(t.code,{children:"md"}),", or ",(0,o.jsx)(t.code,{children:"lg"}),"."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:D,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-orientation",children:["Group orientation",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-orientation",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Make a set of buttons appear vertically stacked rather than horizontally, by adding ",(0,o.jsx)(t.code,{children:'orientation="vertical"'})," to the ",(0,o.jsx)(t.code,{children:"ButtonGroup"})," component."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:E,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-states",children:["Group states",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-states",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(t.p,{children:"The following example shows different states (i.e. normal, disabled, and selected states) when composing a group of buttons."}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:["Use the ",(0,o.jsx)(t.code,{children:"disabled"})," prop to make the ",(0,o.jsx)(t.code,{children:"Button"})," appear disabled."]}),"\n",(0,o.jsxs)(t.li,{children:["Use the ",(0,o.jsx)(t.code,{children:"selected"})," prop to make the ",(0,o.jsx)(t.code,{children:"Button"})," appear selected."]}),"\n"]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:b,file:{data:'import { Box, Button, ButtonGroup, Divider, Flex, Icon, TextLabel, useColorMode } from \'@tonic-ui/react\';\nimport { ChartBarIcon, ChartLineIcon, ChartPieIcon, ChartTableIcon } from \'@tonic-ui/react-icons\';\nimport React, { Fragment, useState } from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor = {\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor = {\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor = {\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor = {\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n const icons = [\n [\'chart-pie\', ChartPieIcon],\n [\'chart-line\', ChartLineIcon],\n [\'chart-table\', ChartTableIcon],\n [\'chart-bar\', ChartBarIcon],\n ];\n const lastIconIndex = icons.length - 1;\n const [activeButton1, setActiveButton1] = useState(\'chart-pie\');\n const [activeButton2, setActiveButton2] = useState(\'chart-pie\');\n const [activeButton3, setActiveButton3] = useState(\'chart-pie\');\n const [activeButton4, setActiveButton4] = useState(\'chart-pie\');\n const [activeButton5, setActiveButton5] = useState(\'chart-pie\');\n const [activeButton6, setActiveButton6] = useState(\'chart-pie\');\n\n const handleClick1 = (button) => (e) => {\n setActiveButton1(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick2 = (button) => (e) => {\n setActiveButton2(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick3 = (button) => (e) => {\n setActiveButton3(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick4 = (button) => (e) => {\n setActiveButton4(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick5 = (button) => (e) => {\n setActiveButton5(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick6 = (button) => (e) => {\n setActiveButton6(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n\n return (\n \n \n \n \n Emphasis\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Primary\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Default\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Secondary\n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n \n \n Ghost\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Ghost (w/o ButtonGroup)\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import { Box, Button, ButtonGroup, Divider, Flex, Icon, TextLabel, useColorMode } from \'@tonic-ui/react\';\nimport { ChartBarIcon, ChartLineIcon, ChartPieIcon, ChartTableIcon } from \'@tonic-ui/react-icons\';\nimport React, { Fragment, useState } from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor = {\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor = {\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor = {\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor = {\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n const icons = [\n [\'chart-pie\', ChartPieIcon],\n [\'chart-line\', ChartLineIcon],\n [\'chart-table\', ChartTableIcon],\n [\'chart-bar\', ChartBarIcon],\n ];\n const lastIconIndex = icons.length - 1;\n const [activeButton1, setActiveButton1] = useState(\'chart-pie\');\n const [activeButton2, setActiveButton2] = useState(\'chart-pie\');\n const [activeButton3, setActiveButton3] = useState(\'chart-pie\');\n const [activeButton4, setActiveButton4] = useState(\'chart-pie\');\n const [activeButton5, setActiveButton5] = useState(\'chart-pie\');\n const [activeButton6, setActiveButton6] = useState(\'chart-pie\');\n\n const handleClick1 = (button) => (e) => {\n setActiveButton1(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick2 = (button) => (e) => {\n setActiveButton2(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick3 = (button) => (e) => {\n setActiveButton3(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick4 = (button) => (e) => {\n setActiveButton4(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick5 = (button) => (e) => {\n setActiveButton5(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick6 = (button) => (e) => {\n setActiveButton6(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n\n return (\n \n \n \n \n Emphasis\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Primary\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Default\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Secondary\n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n \n \n Ghost\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Ghost (w/o ButtonGroup)\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h2,{id:"props",children:["Props",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.h3,{id:"buttongroup-1",children:["ButtonGroup",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttongroup-1",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.table,{children:[(0,o.jsx)(t.thead,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.th,{align:"left",children:"Name"}),(0,o.jsx)(t.th,{align:"left",children:"Type"}),(0,o.jsx)(t.th,{align:"left",children:"Default"}),(0,o.jsx)(t.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(t.tbody,{children:[(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"children"}),(0,o.jsxs)(t.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(t.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(t.td,{align:"left"}),(0,o.jsx)(t.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"disabled"}),(0,o.jsx)(t.td,{align:"left",children:"boolean"}),(0,o.jsx)(t.td,{align:"left"}),(0,o.jsxs)(t.td,{align:"left",children:["If ",(0,o.jsx)(t.code,{children:"true"}),", all buttons will be disabled."]})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"orientation"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'horizontal'"}),(0,o.jsx)(t.td,{align:"left",children:"The orientation of the button group. One of: 'horizontal', 'vertical'"})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"size"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'md'"}),(0,o.jsx)(t.td,{align:"left",children:"The size of the button group. One of: 'sm', 'md', 'lg'"})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"variant"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'default'"}),(0,o.jsx)(t.td,{align:"left",children:"The variant of the button group. One of: 'emphasis', 'primary', 'default', 'secondary', 'ghost'"})]})]})]})]})}var M=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},(0,r.ah)(),n.components).wrapper;return t?(0,o.jsx)(t,Object.assign({},n,{children:(0,o.jsx)(w,n)})):w(n)}},96835:function(n,t,e){"use strict";e.d(t,{Z:function(){return I}});var o=e(27216),r=e(40596),i=e(49857),a=e(73645),l=e(99870),c=e(62272),u=e(14594),s=e(65019),d=e(37384),h=e(99554),m=e(69111),v=e(5632),p=e(2784),f=e(65245);function B(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e))},x=function(n){var t,e=function(n){if(Array.isArray(n))return n}(t=(0,p.useState)(!1))||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{for(i=(e=e.call(n)).next;!(c=(o=i.call(e)).done)&&(l.push(o.value),2!==l.length);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(t,2)||function(n,t){if(n){if("string"==typeof n)return B(n,2);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return B(n,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=e[0],r=e[1];return{value:n,onCopy:function(){g(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},y=e(63768),b=e(76761),k=e(73205),Z=e(98107),E=e(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function D(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;c=!1}else for(;!(c=(o=i.call(e)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(n,t)||function(n,t){if(n){if("string"==typeof n)return j(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return j(n,t)}}(n,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e=0||(r[e]=n[e]);return r}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,e)&&(r[e]=n[e])}}}(n,C);var I=(0,v.useRouter)(),G=D((0,p.useReducer)(function(n){return!n},!1),2),w=G[0],M=G[1],S=(0,o.u)(),L=D((0,r.Z)(),1)[0],A={dark:b.y,light:b.q}[L],O=D((0,s.Z)(null!=g?g:void 0!==B&&B),2),z=O[0],R=O[1],F=x(null==j?void 0:j.data),N=F.onCopy,U=F.hasCopied,_=(0,p.useCallback)(function(){N()},[N]),P=(0,p.useCallback)(function(){(0,k.b)(T)},[T]),H=(0,p.useCallback)(function(){M(),R(!1)},[M,R]);return((0,p.useEffect)(function(){void 0!==g&&g!==z&&R(g)},[g,z,R]),e)?p.createElement(f.nu,{code:null==j?void 0:j.data,disabled:!0,language:"jsx",theme:A},p.createElement(i.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[L],p:"4x"},p.createElement(i.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:w},p.createElement(e,null)))),p.createElement(a.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(E.Z,{"data-track":z?"CodeBlock|hide_source|".concat((0,Z.Z)({path:I.pathname})):"CodeBlock|show_source|".concat((0,Z.Z)({path:I.pathname})),onClick:R},p.createElement(l.Z,{label:z?"Hide the source":"Show the source"},p.createElement(d.Z,null))),p.createElement(E.Z,{"data-track":"CodeBlock|copy_source|".concat((0,Z.Z)({path:I.pathname})),onClick:_},p.createElement(l.Z,{label:U?"Copied":"Copy the source"},p.createElement(h.Z,null))),p.createElement(E.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(I.pathname),onClick:P},p.createElement(l.Z,{label:"Edit in CodeSandbox"},p.createElement(y.Z,null))),p.createElement(E.Z,{"data-track":"CodeBlock|reset|".concat(I.pathname),onClick:H},p.createElement(l.Z,{label:"Reset the demo"},p.createElement(m.Z,null)))),p.createElement(c.Z,{in:z},p.createElement(u.Z,{in:z,unmountOnExit:!0},p.createElement(i.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==S?void 0:null===(t=S.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(f.nu,{code:null==j?void 0:j.data,disabled:!0,language:"jsx",theme:A},p.createElement(i.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};T.displayName="Demo";var I=T},69388:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-group",function(){return e(91029)}])},63860:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M16 14v1h-16v-14h1v13zM5 9h-2v4h2zM8 5h-2v8h2zM11 7h-2v6h2zM14 3h-2v10h2z"}),"ChartBarIcon")},9537:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M16 14v1h-16v-14h1v13zM3.404 11.377l3.336-3.285 2.993 2.993 5.681-5.639-1.414-1.414-4.246 4.246-3.016-3.016-1.414 1.414 0.003 0.003-3.325 3.273z"}),"ChartLineIcon")},81947:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M7 8l5.067 5.125c-1.173 1.159-2.787 1.875-4.567 1.875-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.41-6.5 6-6.5zM9.036 8l4.398 4.398c0.975-1.187 1.567-2.722 1.567-4.394 0-0.001 0-0.003 0-0.004v0zM8 1v6h6.922c-0.766-3.267-3.522-5.71-6.893-5.998l-0.029-0.002z"}),"ChartPieIcon")},59437:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M15 1h-14c-0.552 0.002-0.998 0.448-1 1v12c0.002 0.552 0.448 0.998 1 1h14c0.552-0.002 0.998-0.448 1-1v-12c-0.002-0.552-0.448-0.998-1-1h-0zM10 3v3h-4v-3zM10 7v3h-4v-3zM1 3h4v3h-4zM1 7h4v3h-4zM1 14v-3h4v3zM6 14v-3h4v3zM15 14h-4v-3h4zM15 10h-4v-3h4zM15 6h-4v-3h4z"}),"ChartTableIcon")},99554:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},39256:function(n,t,e){"use strict";e.d(t,{Z:function(){return f}});var o=e(53860),r=e(56818),i=e(92307),a=e.n(i),l=e(2784),c=e(98827),u=e(12711),s=e(34730),d=e(52903),h=e(49857),m=["children","disabled","orientation","size","variant"],v=a()(function(n){return(0,o.Zj)({},n)}),p=(0,l.forwardRef)(function(n,t){var e=(0,c.Z)({props:n,name:"ButtonGroup"}),i=e.children,a=e.disabled,l=e.orientation,p=void 0===l?"horizontal":l,f=e.size,B=e.variant,g=(0,o.Kd)(e,m),x=(0,s.K7)({orientation:p}),y=v({disabled:a,orientation:p,size:void 0===f?"md":f,variant:void 0===B?"default":B});return(0,d.tZ)(u.u.Provider,{value:y,children:(0,d.tZ)(h.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:t},x),g),{},{children:(0,r.Pu)(i,y)}))})});p.displayName="ButtonGroup";var f=p},29088:function(n,t,e){"use strict";e.d(t,{Z:function(){return g}});var o,r,i=e(53860),a=e(95530),l=e(5081),c=e(2784),u=e(98827),s=e(28165),d=(0,s.F4)(o||(o=(0,i.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(1turn)\n }\n"]))),h=(0,s.F4)(r||(r=(0,i.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(-1turn)\n }\n"]))),m=function(n){var t,e=n.spin;return"ccw"===e?t="".concat(h," 2s linear infinite"):("cw"===e||!0===e)&&(t="".concat(d," 2s linear infinite")),{animation:t}},v=e(27216),p=e(52903),f=["children","icon","spin"],B=(0,c.forwardRef)(function(n,t){var e=(0,u.Z)({props:n,name:"Icon"}),o=e.children,r=e.icon,s=e.spin,d=(0,i.Kd)(e,f),h=(0,v.u)(),B=(0,c.useRef)([null,null]),g="string"==typeof r&&r.length>0&&function(n){var t,e=(0,i.ZQ)(B.current,2),o=e[0],r=e[1];if(o===n)return r;var a=null===(t=(0,l.rY)(null==h?void 0:h.icons).find(function(t){return(0,i.ZQ)(t,1)[0]===n}))||void 0===t?void 0:t[1];return a&&(B.current=[n,a]),a}(r)||o,x=m({spin:void 0!==s&&s});return(0,p.tZ)(a.Z,(0,i.Zj)((0,i.Zj)((0,i.Zj)({ref:t},x),d),{},{children:g}))});B.displayName="Icon";var g=B},67622:function(n,t,e){"use strict";e.d(t,{Z:function(){return d}});var o=e(53860),r=e(2784),i=e(98827),a=e(70758),l=e(91334),c=e(52903),u=["size"],s=(0,r.forwardRef)(function(n,t){var e=(0,i.Z)({props:n,name:"TextLabel"}),r=e.size,s=(0,o.Kd)(e,u),d=(0,l.w)({size:r});return(0,c.tZ)(a.Z,(0,o.Zj)((0,o.Zj)({as:"label",ref:t},d),s))});s.displayName="TextLabel";var d=s}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=69388)}),_N_E=n.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6689],{91029:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return M}});var o=e(52322),r=e(45392),i=e(96835),a=e(40596),l=e(73645),c=e(49857),u=e(67622),s=e(39256),d=e(62080),h=e(29088),m=e(72448),v=e(81947),p=e(9537),f=e(59437),B=e(63860),g=e(2784);function x(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;c=!1}else for(;!(c=(o=i.call(e)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(n,t)||function(n,t){if(n){if("string"==typeof n)return y(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return y(n,t)}}(n,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},i.map(function(n,t){var e=x(n,2),o=e[0],r=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:w===o,onClick:function(n){M(o),n.currentTarget.blur()},width:"8x"},g.createElement(h.Z,{as:r})))}))),g.createElement(c.Z,null,g.createElement(c.Z,{mb:"2x"},g.createElement(u.Z,null,"Ghost")),g.createElement(s.Z,{variant:"ghost"},i.map(function(n,t){var e=x(n,2),o=e[0],i=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:L===o,onClick:function(n){A(o),n.currentTarget.blur()},width:"8x"},g.createElement(h.Z,{as:i})),t!==y&&g.createElement(m.Z,{orientation:"vertical",color:r}))}))),g.createElement(c.Z,null,g.createElement(c.Z,{mb:"2x"},g.createElement(u.Z,null,"Ghost (w/o ButtonGroup)")),g.createElement(l.Z,null,i.map(function(n,t){var e=x(n,2),o=e[0],r=e[1];return g.createElement(g.Fragment,{key:o},g.createElement(d.Z,{disabled:t===y,selected:z===o,onClick:function(n){R(o),n.currentTarget.blur()},variant:"ghost",width:"8x"},g.createElement(h.Z,{as:r})))}))))},k=e(61619);function Z(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{orientation:"vertical",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginTop:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three"))),g.createElement(k.Z,{spacing:"4x",alignItems:"center"},g.createElement(s.Z,{variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{orientation:"vertical",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginTop:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{color:o}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{color:o}),g.createElement(d.Z,null,"Three"))))};function C(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"md",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"lg",variant:"secondary",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(d.Z,null,"Middle"),g.createElement(d.Z,null,"Right"))),g.createElement(k.Z,{spacing:"4x",alignItems:"flex-start"},g.createElement(s.Z,{size:"sm",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"md",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right")),g.createElement(s.Z,{size:"lg",variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"Left"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Middle"),g.createElement(m.Z,{orientation:"vertical",color:o}),g.createElement(d.Z,null,"Right"))))};function j(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(d.Z,null,"Two"),g.createElement(d.Z,null,"Three")),g.createElement(s.Z,{variant:"ghost",sx:{"> *:not(:first-of-type)":{marginLeft:-1}}},g.createElement(d.Z,null,"One"),g.createElement(m.Z,{orientation:"vertical",color:i}),g.createElement(d.Z,null,"Two"),g.createElement(m.Z,{orientation:"vertical",color:i}),g.createElement(d.Z,null,"Three")))};function I(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e {\n const [colorMode] = useColorMode();\n const dividerColor ={\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:"import {\n Button,\n ButtonGroup,\n Divider,\n useColorMode,\n} from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const dividerColor ={\n dark: 'gray:70',\n light: 'gray:30',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-variants",children:["Group variants",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-variants",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Use the ",(0,o.jsx)(t.code,{children:"variant"})," prop to change the visual style of every button in a group. You can set the value to ",(0,o.jsx)(t.code,{children:"emphasis"}),", ",(0,o.jsx)(t.code,{children:"primary"}),", ",(0,o.jsx)(t.code,{children:"default"}),", ",(0,o.jsx)(t.code,{children:"secondary"})," and ",(0,o.jsx)(t.code,{children:"ghost"}),"."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:T,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor ={\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor ={\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor ={\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor ={\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-sizes",children:["Group sizes",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-sizes",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Use the ",(0,o.jsx)(t.code,{children:"size"})," prop to change the size of the ",(0,o.jsx)(t.code,{children:"ButtonGroup"}),". You can set the value to ",(0,o.jsx)(t.code,{children:"sm"}),", ",(0,o.jsx)(t.code,{children:"md"}),", or ",(0,o.jsx)(t.code,{children:"lg"}),"."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:D,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-orientation",children:["Group orientation",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-orientation",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.p,{children:["Make a set of buttons appear vertically stacked rather than horizontally, by adding ",(0,o.jsx)(t.code,{children:'orientation="vertical"'})," to the ",(0,o.jsx)(t.code,{children:"ButtonGroup"})," component."]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:E,file:{data:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import {\n Button,\n ButtonGroup,\n Divider,\n Stack,\n useColorMode,\n} from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const defaultDividerColor ={\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor ={\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n \n \n \n \n \n \n *:not(:first-of-type)\': {\n marginTop: -1\n }\n }}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h3,{id:"group-states",children:["Group states",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#group-states",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(t.p,{children:"The following example shows different states (i.e. normal, disabled, and selected states) when composing a group of buttons."}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:["Use the ",(0,o.jsx)(t.code,{children:"disabled"})," prop to make the ",(0,o.jsx)(t.code,{children:"Button"})," appear disabled."]}),"\n",(0,o.jsxs)(t.li,{children:["Use the ",(0,o.jsx)(t.code,{children:"selected"})," prop to make the ",(0,o.jsx)(t.code,{children:"Button"})," appear selected."]}),"\n"]}),"\n",(0,o.jsx)(i.Z,Object.assign({},{component:b,file:{data:'import { Box, Button, ButtonGroup, Divider, Flex, Icon, TextLabel, useColorMode } from \'@tonic-ui/react\';\nimport { ChartBarIcon, ChartLineIcon, ChartPieIcon, ChartTableIcon } from \'@tonic-ui/react-icons\';\nimport React, { Fragment, useState } from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor = {\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor = {\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor = {\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor = {\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n const icons = [\n [\'chart-pie\', ChartPieIcon],\n [\'chart-line\', ChartLineIcon],\n [\'chart-table\', ChartTableIcon],\n [\'chart-bar\', ChartBarIcon],\n ];\n const lastIconIndex = icons.length - 1;\n const [activeButton1, setActiveButton1] = useState(\'chart-pie\');\n const [activeButton2, setActiveButton2] = useState(\'chart-pie\');\n const [activeButton3, setActiveButton3] = useState(\'chart-pie\');\n const [activeButton4, setActiveButton4] = useState(\'chart-pie\');\n const [activeButton5, setActiveButton5] = useState(\'chart-pie\');\n const [activeButton6, setActiveButton6] = useState(\'chart-pie\');\n\n const handleClick1 = (button) => (e) => {\n setActiveButton1(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick2 = (button) => (e) => {\n setActiveButton2(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick3 = (button) => (e) => {\n setActiveButton3(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick4 = (button) => (e) => {\n setActiveButton4(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick5 = (button) => (e) => {\n setActiveButton5(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick6 = (button) => (e) => {\n setActiveButton6(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n\n return (\n \n \n \n \n Emphasis\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Primary\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Default\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Secondary\n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n \n \n Ghost\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Ghost (w/o ButtonGroup)\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n );\n};\n\nexport default App;',path:"pages/components/button-group/index.page.mdx"},sandbox:{files:{},raw:'import { Box, Button, ButtonGroup, Divider, Flex, Icon, TextLabel, useColorMode } from \'@tonic-ui/react\';\nimport { ChartBarIcon, ChartLineIcon, ChartPieIcon, ChartTableIcon } from \'@tonic-ui/react-icons\';\nimport React, { Fragment, useState } from \'react\';\n\nconst App = () => {\n const [colorMode] = useColorMode();\n const emphasisDividerColor = {\n dark: \'red:80\',\n light: \'red:80\',\n }[colorMode];\n const primaryDividerColor = {\n dark: \'blue:80\',\n light: \'blue:80\',\n }[colorMode];\n const defaultDividerColor = {\n dark: \'gray:70\',\n light: \'gray:30\',\n }[colorMode];\n const ghostDividerColor = {\n dark: \'gray:60\',\n light: \'gray:20\',\n }[colorMode];\n\n const icons = [\n [\'chart-pie\', ChartPieIcon],\n [\'chart-line\', ChartLineIcon],\n [\'chart-table\', ChartTableIcon],\n [\'chart-bar\', ChartBarIcon],\n ];\n const lastIconIndex = icons.length - 1;\n const [activeButton1, setActiveButton1] = useState(\'chart-pie\');\n const [activeButton2, setActiveButton2] = useState(\'chart-pie\');\n const [activeButton3, setActiveButton3] = useState(\'chart-pie\');\n const [activeButton4, setActiveButton4] = useState(\'chart-pie\');\n const [activeButton5, setActiveButton5] = useState(\'chart-pie\');\n const [activeButton6, setActiveButton6] = useState(\'chart-pie\');\n\n const handleClick1 = (button) => (e) => {\n setActiveButton1(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick2 = (button) => (e) => {\n setActiveButton2(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick3 = (button) => (e) => {\n setActiveButton3(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick4 = (button) => (e) => {\n setActiveButton4(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick5 = (button) => (e) => {\n setActiveButton5(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n const handleClick6 = (button) => (e) => {\n setActiveButton6(button);\n // Remove focus when the button is clicked\n e.currentTarget.blur();\n };\n\n return (\n \n \n \n \n Emphasis\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Primary\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Default\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Secondary\n \n \n *:not(:first-of-type)\': {\n marginLeft: -1\n }\n }}\n >\n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n \n \n Ghost\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n {(index !== lastIconIndex) && (\n \n )}\n \n ))}\n \n \n \n \n \n Ghost (w/o ButtonGroup)\n \n \n \n {icons.map(([key, icon], index) => (\n \n \n \n \n \n ))}\n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,o.jsxs)(t.h2,{id:"props",children:["Props",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.h3,{id:"buttongroup-1",children:["ButtonGroup",(0,o.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttongroup-1",children:(0,o.jsx)(t.svg,{children:(0,o.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(t.table,{children:[(0,o.jsx)(t.thead,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.th,{align:"left",children:"Name"}),(0,o.jsx)(t.th,{align:"left",children:"Type"}),(0,o.jsx)(t.th,{align:"left",children:"Default"}),(0,o.jsx)(t.th,{align:"left",children:"Description"})]})}),(0,o.jsxs)(t.tbody,{children:[(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"children"}),(0,o.jsxs)(t.td,{align:"left",children:["ReactNode | ",(0,o.jsx)(t.code,{children:"(context) => ReactNode"})]}),(0,o.jsx)(t.td,{align:"left"}),(0,o.jsx)(t.td,{align:"left",children:"A function child can be used intead of a React element. This function is called with the context object."})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"disabled"}),(0,o.jsx)(t.td,{align:"left",children:"boolean"}),(0,o.jsx)(t.td,{align:"left"}),(0,o.jsxs)(t.td,{align:"left",children:["If ",(0,o.jsx)(t.code,{children:"true"}),", all buttons will be disabled."]})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"orientation"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'horizontal'"}),(0,o.jsx)(t.td,{align:"left",children:"The orientation of the button group. One of: 'horizontal', 'vertical'"})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"size"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'md'"}),(0,o.jsx)(t.td,{align:"left",children:"The size of the button group. One of: 'sm', 'md', 'lg'"})]}),(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{align:"left",children:"variant"}),(0,o.jsx)(t.td,{align:"left",children:"string"}),(0,o.jsx)(t.td,{align:"left",children:"'default'"}),(0,o.jsx)(t.td,{align:"left",children:"The variant of the button group. One of: 'emphasis', 'primary', 'default', 'secondary', 'ghost'"})]})]})]})]})}var M=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},(0,r.ah)(),n.components).wrapper;return t?(0,o.jsx)(t,Object.assign({},n,{children:(0,o.jsx)(w,n)})):w(n)}},96835:function(n,t,e){"use strict";e.d(t,{Z:function(){return I}});var o=e(27216),r=e(40596),i=e(49857),a=e(73645),l=e(99870),c=e(62272),u=e(14594),s=e(65019),d=e(37384),h=e(99554),m=e(69111),v=e(5632),p=e(2784),f=e(65245);function B(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e))},x=function(n){var t,e=function(n){if(Array.isArray(n))return n}(t=(0,p.useState)(!1))||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{for(i=(e=e.call(n)).next;!(c=(o=i.call(e)).done)&&(l.push(o.value),2!==l.length);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(t,2)||function(n,t){if(n){if("string"==typeof n)return B(n,2);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return B(n,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=e[0],r=e[1];return{value:n,onCopy:function(){g(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},y=e(63768),b=e(76761),k=e(73205),Z=e(98107),E=e(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function D(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,r,i,a,l=[],c=!0,u=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;c=!1}else for(;!(c=(o=i.call(e)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(n){u=!0,r=n}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(n,t)||function(n,t){if(n){if("string"==typeof n)return j(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return j(n,t)}}(n,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=Array(t);e=0||(r[e]=n[e]);return r}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,e)&&(r[e]=n[e])}}}(n,C);var I=(0,v.useRouter)(),G=D((0,p.useReducer)(function(n){return!n},!1),2),w=G[0],M=G[1],S=(0,o.u)(),L=D((0,r.Z)(),1)[0],A={dark:b.y,light:b.q}[L],O=D((0,s.Z)(null!=g?g:void 0!==B&&B),2),z=O[0],R=O[1],F=x(null==j?void 0:j.data),N=F.onCopy,U=F.hasCopied,_=(0,p.useCallback)(function(){N()},[N]),P=(0,p.useCallback)(function(){(0,k.b)(T)},[T]),H=(0,p.useCallback)(function(){M(),R(!1)},[M,R]);return((0,p.useEffect)(function(){void 0!==g&&g!==z&&R(g)},[g,z,R]),e)?p.createElement(f.nu,{code:null==j?void 0:j.data,disabled:!0,language:"jsx",theme:A},p.createElement(i.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[L],p:"4x"},p.createElement(i.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:w},p.createElement(e,null)))),p.createElement(a.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(E.Z,{"data-track":z?"Code|hide_source|".concat((0,Z.Z)({path:I.pathname})):"Code|show_source|".concat((0,Z.Z)({path:I.pathname})),onClick:R},p.createElement(l.Z,{label:z?"Hide the source":"Show the source"},p.createElement(d.Z,null))),p.createElement(E.Z,{"data-track":"Code|copy_source|".concat((0,Z.Z)({path:I.pathname})),onClick:_},p.createElement(l.Z,{label:U?"Copied":"Copy the source"},p.createElement(h.Z,null))),p.createElement(E.Z,{"data-track":"Code|edit_in_codesandbox|".concat(I.pathname),onClick:P},p.createElement(l.Z,{label:"Edit in CodeSandbox"},p.createElement(y.Z,null))),p.createElement(E.Z,{"data-track":"Code|reset|".concat(I.pathname),onClick:H},p.createElement(l.Z,{label:"Reset the demo"},p.createElement(m.Z,null)))),p.createElement(c.Z,{in:z},p.createElement(u.Z,{in:z,unmountOnExit:!0},p.createElement(i.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==S?void 0:null===(t=S.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(f.nu,{code:null==j?void 0:j.data,disabled:!0,language:"jsx",theme:A},p.createElement(i.Z,{as:f.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};T.displayName="Demo";var I=T},69388:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-group",function(){return e(91029)}])},63860:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M16 14v1h-16v-14h1v13zM5 9h-2v4h2zM8 5h-2v8h2zM11 7h-2v6h2zM14 3h-2v10h2z"}),"ChartBarIcon")},9537:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M16 14v1h-16v-14h1v13zM3.404 11.377l3.336-3.285 2.993 2.993 5.681-5.639-1.414-1.414-4.246 4.246-3.016-3.016-1.414 1.414 0.003 0.003-3.325 3.273z"}),"ChartLineIcon")},81947:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M7 8l5.067 5.125c-1.173 1.159-2.787 1.875-4.567 1.875-3.59 0-6.5-2.91-6.5-6.5v0c0-3.59 2.41-6.5 6-6.5zM9.036 8l4.398 4.398c0.975-1.187 1.567-2.722 1.567-4.394 0-0.001 0-0.003 0-0.004v0zM8 1v6h6.922c-0.766-3.267-3.522-5.71-6.893-5.998l-0.029-0.002z"}),"ChartPieIcon")},59437:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M15 1h-14c-0.552 0.002-0.998 0.448-1 1v12c0.002 0.552 0.448 0.998 1 1h14c0.552-0.002 0.998-0.448 1-1v-12c-0.002-0.552-0.448-0.998-1-1h-0zM10 3v3h-4v-3zM10 7v3h-4v-3zM1 3h4v3h-4zM1 7h4v3h-4zM1 14v-3h4v3zM6 14v-3h4v3zM15 14h-4v-3h4zM15 10h-4v-3h4zM15 6h-4v-3h4z"}),"ChartTableIcon")},99554:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}}),e(2784);var o=e(75928),r=e(52903),i=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},39256:function(n,t,e){"use strict";e.d(t,{Z:function(){return f}});var o=e(53860),r=e(56818),i=e(92307),a=e.n(i),l=e(2784),c=e(98827),u=e(12711),s=e(34730),d=e(52903),h=e(49857),m=["children","disabled","orientation","size","variant"],v=a()(function(n){return(0,o.Zj)({},n)}),p=(0,l.forwardRef)(function(n,t){var e=(0,c.Z)({props:n,name:"ButtonGroup"}),i=e.children,a=e.disabled,l=e.orientation,p=void 0===l?"horizontal":l,f=e.size,B=e.variant,g=(0,o.Kd)(e,m),x=(0,s.K7)({orientation:p}),y=v({disabled:a,orientation:p,size:void 0===f?"md":f,variant:void 0===B?"default":B});return(0,d.tZ)(u.u.Provider,{value:y,children:(0,d.tZ)(h.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:t},x),g),{},{children:(0,r.Pu)(i,y)}))})});p.displayName="ButtonGroup";var f=p},29088:function(n,t,e){"use strict";e.d(t,{Z:function(){return g}});var o,r,i=e(53860),a=e(95530),l=e(5081),c=e(2784),u=e(98827),s=e(28165),d=(0,s.F4)(o||(o=(0,i.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(1turn)\n }\n"]))),h=(0,s.F4)(r||(r=(0,i.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(-1turn)\n }\n"]))),m=function(n){var t,e=n.spin;return"ccw"===e?t="".concat(h," 2s linear infinite"):("cw"===e||!0===e)&&(t="".concat(d," 2s linear infinite")),{animation:t}},v=e(27216),p=e(52903),f=["children","icon","spin"],B=(0,c.forwardRef)(function(n,t){var e=(0,u.Z)({props:n,name:"Icon"}),o=e.children,r=e.icon,s=e.spin,d=(0,i.Kd)(e,f),h=(0,v.u)(),B=(0,c.useRef)([null,null]),g="string"==typeof r&&r.length>0&&function(n){var t,e=(0,i.ZQ)(B.current,2),o=e[0],r=e[1];if(o===n)return r;var a=null===(t=(0,l.rY)(null==h?void 0:h.icons).find(function(t){return(0,i.ZQ)(t,1)[0]===n}))||void 0===t?void 0:t[1];return a&&(B.current=[n,a]),a}(r)||o,x=m({spin:void 0!==s&&s});return(0,p.tZ)(a.Z,(0,i.Zj)((0,i.Zj)((0,i.Zj)({ref:t},x),d),{},{children:g}))});B.displayName="Icon";var g=B},67622:function(n,t,e){"use strict";e.d(t,{Z:function(){return d}});var o=e(53860),r=e(2784),i=e(98827),a=e(70758),l=e(91334),c=e(52903),u=["size"],s=(0,r.forwardRef)(function(n,t){var e=(0,i.Z)({props:n,name:"TextLabel"}),r=e.size,s=(0,o.Kd)(e,u),d=(0,l.w)({size:r});return(0,c.tZ)(a.Z,(0,o.Zj)((0,o.Zj)({as:"label",ref:t},d),s))});s.displayName="TextLabel";var d=s}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=69388)}),_N_E=n.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/button-link-cce0be12fbf93405.js b/react/pr-947/_next/static/chunks/pages/components/button-link-380b27017c25a30f.js similarity index 66% rename from react/pr-947/_next/static/chunks/pages/components/button-link-cce0be12fbf93405.js rename to react/pr-947/_next/static/chunks/pages/components/button-link-380b27017c25a30f.js index 3cd189dd58..9b95286ede 100644 --- a/react/pr-947/_next/static/chunks/pages/components/button-link-cce0be12fbf93405.js +++ b/react/pr-947/_next/static/chunks/pages/components/button-link-380b27017c25a30f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[363],{10695:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(52322),a=n(45392),o=n(96835),i=n(67634),l=n(45795),c=n(2784),d=function(){return c.createElement(i.Z,{href:"https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started",textDecoration:"none",variant:"default"},"Get Started ",c.createElement(l.Z,null))};function s(e){var t=Object.assign({div:"div",h1:"h1",p:"p",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",code:"code",h3:"h3",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,a.ah)(),e.components);return(0,r.jsxs)(t.div,{className:"main-content",children:["\n","\n",(0,r.jsx)(t.h1,{id:"buttonlink",children:"ButtonLink"}),"\n",(0,r.jsx)(t.p,{children:"This component provides an element resembling a button that purely acts as a link with a different style."}),"\n",(0,r.jsxs)(t.h2,{id:"import",children:["Import",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-js",children:"import { ButtonLink } from '@tonic-ui/react';\n"})}),"\n",(0,r.jsxs)(t.h2,{id:"usage",children:["Usage",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(t.p,{children:"You can right-click the button to see the context menu and copy link address when needed."}),"\n",(0,r.jsx)(o.Z,Object.assign({},{component:d,file:{data:"import { ButtonLink } from '@tonic-ui/react';\nimport { AngleRightIcon } from '@tonic-ui/react-icons';\nimport React from 'react';\n\nconst App = () => (\n \n Get Started \n \n);\n\nexport default App;",path:"pages/components/button-link/index.page.mdx"},sandbox:{files:{},raw:"import { ButtonLink } from '@tonic-ui/react';\nimport { AngleRightIcon } from '@tonic-ui/react-icons';\nimport React from 'react';\n\nconst App = () => (\n \n Get Started \n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(t.h2,{id:"props",children:["Props",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(t.h3,{id:"buttonlink-1",children:["ButtonLink",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttonlink-1",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{align:"left",children:"Name"}),(0,r.jsx)(t.th,{align:"left",children:"Type"}),(0,r.jsx)(t.th,{align:"left",children:"Default"}),(0,r.jsx)(t.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"children"}),(0,r.jsx)(t.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsx)(t.td,{align:"left"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"disabled"}),(0,r.jsx)(t.td,{align:"left",children:"boolean"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsxs)(t.td,{align:"left",children:["If ",(0,r.jsx)(t.code,{children:"true"}),", the button link will be disabled. This sets ",(0,r.jsx)(t.code,{children:"aria-disabled=true"})," and you can style this state by using the ",(0,r.jsx)(t.code,{children:"_disabled"})," prop."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"onClick"}),(0,r.jsx)(t.td,{align:"left",children:"function"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsx)(t.td,{align:"left",children:"A callback called when the button link is clicked."})]})]})]})]})}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},(0,a.ah)(),e.components).wrapper;return t?(0,r.jsx)(t,Object.assign({},e,{children:(0,r.jsx)(s,e)})):s(e)}},96835:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(27216),a=n(40596),o=n(49857),i=n(73645),l=n(99870),c=n(62272),d=n(14594),s=n(65019),u=n(37384),h=n(99554),f=n(69111),m=n(5632),p=n(2784),x=n(65245);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},v=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,p.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,d=!1;try{for(o=(n=n.call(e)).next;!(c=(r=o.call(n)).done)&&(l.push(r.value),2!==l.length);c=!0);}catch(e){d=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(d)throw a}}return l}}(t,2)||function(e,t){if(e){if("string"==typeof e)return g(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],a=n[1];return{value:e,onCopy:function(){b(e),a(!0),setTimeout(function(){return a(!1)},1500)},hasCopied:r}},j=n(63768),y=n(76761),k=n(73205),E=n(98107),Z=n(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,d=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){d=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(d)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}}}(e,C);var O=(0,m.useRouter)(),I=S((0,p.useReducer)(function(e){return!e},!1),2),_=I[0],B=I[1],N=(0,r.u)(),R=S((0,a.Z)(),1)[0],z={dark:y.y,light:y.q}[R],L=S((0,s.Z)(null!=b?b:void 0!==g&&g),2),T=L[0],M=L[1],H=v(null==A?void 0:A.data),D=H.onCopy,P=H.hasCopied,F=(0,p.useCallback)(function(){D()},[D]),G=(0,p.useCallback)(function(){(0,k.b)(w)},[w]),U=(0,p.useCallback)(function(){B(),M(!1)},[B,M]);return((0,p.useEffect)(function(){void 0!==b&&b!==T&&M(b)},[b,T,M]),n)?p.createElement(x.nu,{code:null==A?void 0:A.data,disabled:!0,language:"jsx",theme:z},p.createElement(o.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[R],p:"4x"},p.createElement(o.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:_},p.createElement(n,null)))),p.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(Z.Z,{"data-track":T?"CodeBlock|hide_source|".concat((0,E.Z)({path:O.pathname})):"CodeBlock|show_source|".concat((0,E.Z)({path:O.pathname})),onClick:M},p.createElement(l.Z,{label:T?"Hide the source":"Show the source"},p.createElement(u.Z,null))),p.createElement(Z.Z,{"data-track":"CodeBlock|copy_source|".concat((0,E.Z)({path:O.pathname})),onClick:F},p.createElement(l.Z,{label:P?"Copied":"Copy the source"},p.createElement(h.Z,null))),p.createElement(Z.Z,{"data-track":"CodeBlock|edit_in_codesandbox|".concat(O.pathname),onClick:G},p.createElement(l.Z,{label:"Edit in CodeSandbox"},p.createElement(j.Z,null))),p.createElement(Z.Z,{"data-track":"CodeBlock|reset|".concat(O.pathname),onClick:U},p.createElement(l.Z,{label:"Reset the demo"},p.createElement(f.Z,null)))),p.createElement(c.Z,{in:T},p.createElement(d.Z,{in:T,unmountOnExit:!0},p.createElement(o.Z,{as:x.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==N?void 0:null===(t=N.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(x.nu,{code:null==A?void 0:A.data,disabled:!0,language:"jsx",theme:z},p.createElement(o.Z,{as:x.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};w.displayName="Demo";var O=w},24253:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-link",function(){return n(10695)}])},99554:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}}),n(2784);var r=n(75928),a=n(52903),o=(0,r.Z)((0,a.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},67634:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),a=n(2784),o=n(98827),i=n(62080),l=n(52903),c=(0,a.forwardRef)(function(e,t){var n=(0,o.Z)({props:e,name:"ButtonLink"});return(0,l.tZ)(i.Z,(0,r.Zj)({as:"a",ref:t},n))});c.displayName="ButtonLink";var d=c}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=24253)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[363],{10695:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(52322),a=n(45392),i=n(96835),o=n(67634),l=n(45795),c=n(2784),d=function(){return c.createElement(o.Z,{href:"https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started",textDecoration:"none",variant:"default"},"Get Started ",c.createElement(l.Z,null))};function s(e){var t=Object.assign({div:"div",h1:"h1",p:"p",h2:"h2",a:"a",svg:"svg",use:"use",pre:"pre",code:"code",h3:"h3",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td"},(0,a.ah)(),e.components);return(0,r.jsxs)(t.div,{className:"main-content",children:["\n","\n",(0,r.jsx)(t.h1,{id:"buttonlink",children:"ButtonLink"}),"\n",(0,r.jsx)(t.p,{children:"This component provides an element resembling a button that purely acts as a link with a different style."}),"\n",(0,r.jsxs)(t.h2,{id:"import",children:["Import",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#import",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-js",children:"import { ButtonLink } from '@tonic-ui/react';\n"})}),"\n",(0,r.jsxs)(t.h2,{id:"usage",children:["Usage",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#usage",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsx)(t.p,{children:"You can right-click the button to see the context menu and copy link address when needed."}),"\n",(0,r.jsx)(i.Z,Object.assign({},{component:d,file:{data:"import { ButtonLink } from '@tonic-ui/react';\nimport { AngleRightIcon } from '@tonic-ui/react-icons';\nimport React from 'react';\n\nconst App = () => (\n \n Get Started \n \n);\n\nexport default App;",path:"pages/components/button-link/index.page.mdx"},sandbox:{files:{},raw:"import { ButtonLink } from '@tonic-ui/react';\nimport { AngleRightIcon } from '@tonic-ui/react-icons';\nimport React from 'react';\n\nconst App = () => (\n \n Get Started \n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,r.jsxs)(t.h2,{id:"props",children:["Props",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#props",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(t.h3,{id:"buttonlink-1",children:["ButtonLink",(0,r.jsx)(t.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#buttonlink-1",children:(0,r.jsx)(t.svg,{children:(0,r.jsx)(t.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{align:"left",children:"Name"}),(0,r.jsx)(t.th,{align:"left",children:"Type"}),(0,r.jsx)(t.th,{align:"left",children:"Default"}),(0,r.jsx)(t.th,{align:"left",children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"children"}),(0,r.jsx)(t.td,{align:"left",children:"ReactNode"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsx)(t.td,{align:"left"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"disabled"}),(0,r.jsx)(t.td,{align:"left",children:"boolean"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsxs)(t.td,{align:"left",children:["If ",(0,r.jsx)(t.code,{children:"true"}),", the button link will be disabled. This sets ",(0,r.jsx)(t.code,{children:"aria-disabled=true"})," and you can style this state by using the ",(0,r.jsx)(t.code,{children:"_disabled"})," prop."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{align:"left",children:"onClick"}),(0,r.jsx)(t.td,{align:"left",children:"function"}),(0,r.jsx)(t.td,{align:"left"}),(0,r.jsx)(t.td,{align:"left",children:"A callback called when the button link is clicked."})]})]})]})]})}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},(0,a.ah)(),e.components).wrapper;return t?(0,r.jsx)(t,Object.assign({},e,{children:(0,r.jsx)(s,e)})):s(e)}},96835:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(27216),a=n(40596),i=n(49857),o=n(73645),l=n(99870),c=n(62272),d=n(14594),s=n(65019),u=n(37384),h=n(99554),f=n(69111),m=n(5632),p=n(2784),x=n(65245);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},v=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,p.useState)(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,l=[],c=!0,d=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(l.push(r.value),2!==l.length);c=!0);}catch(e){d=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw a}}return l}}(t,2)||function(e,t){if(e){if("string"==typeof e)return g(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],a=n[1];return{value:e,onCopy:function(){b(e),a(!0),setTimeout(function(){return a(!1)},1500)},hasCopied:r}},j=n(63768),y=n(76761),k=n(73205),E=n(98107),Z=n(44285),C=["component","defaultExpanded","expanded","file","sandbox"];function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,l=[],c=!0,d=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){d=!0,a=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}}}(e,C);var O=(0,m.useRouter)(),I=S((0,p.useReducer)(function(e){return!e},!1),2),_=I[0],N=I[1],R=(0,r.u)(),z=S((0,a.Z)(),1)[0],B={dark:y.y,light:y.q}[z],L=S((0,s.Z)(null!=b?b:void 0!==g&&g),2),T=L[0],M=L[1],H=v(null==A?void 0:A.data),D=H.onCopy,P=H.hasCopied,F=(0,p.useCallback)(function(){D()},[D]),G=(0,p.useCallback)(function(){(0,k.b)(w)},[w]),U=(0,p.useCallback)(function(){N(),M(!1)},[N,M]);return((0,p.useEffect)(function(){void 0!==b&&b!==T&&M(b)},[b,T,M]),n)?p.createElement(x.nu,{code:null==A?void 0:A.data,disabled:!0,language:"jsx",theme:B},p.createElement(i.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[z],p:"4x"},p.createElement(i.Z,{fontSize:"sm",lineHeight:"sm"},p.createElement(p.Fragment,{key:_},p.createElement(n,null)))),p.createElement(o.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},p.createElement(Z.Z,{"data-track":T?"Code|hide_source|".concat((0,E.Z)({path:O.pathname})):"Code|show_source|".concat((0,E.Z)({path:O.pathname})),onClick:M},p.createElement(l.Z,{label:T?"Hide the source":"Show the source"},p.createElement(u.Z,null))),p.createElement(Z.Z,{"data-track":"Code|copy_source|".concat((0,E.Z)({path:O.pathname})),onClick:F},p.createElement(l.Z,{label:P?"Copied":"Copy the source"},p.createElement(h.Z,null))),p.createElement(Z.Z,{"data-track":"Code|edit_in_codesandbox|".concat(O.pathname),onClick:G},p.createElement(l.Z,{label:"Edit in CodeSandbox"},p.createElement(j.Z,null))),p.createElement(Z.Z,{"data-track":"Code|reset|".concat(O.pathname),onClick:U},p.createElement(l.Z,{label:"Reset the demo"},p.createElement(f.Z,null)))),p.createElement(c.Z,{in:T},p.createElement(d.Z,{in:T,unmountOnExit:!0},p.createElement(i.Z,{as:x.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==R?void 0:null===(t=R.space)||void 0===t?void 0:t["4x"]," !important"),overflowX:"auto"}}})))):p.createElement(x.nu,{code:null==A?void 0:A.data,disabled:!0,language:"jsx",theme:B},p.createElement(i.Z,{as:x.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};w.displayName="Demo";var O=w},24253:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/button-link",function(){return n(10695)}])},99554:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),a=n(52903),i=(0,r.Z)((0,a.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},69111:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),a=n(52903),i=(0,r.Z)((0,a.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},67634:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),a=n(2784),i=n(98827),o=n(62080),l=n(52903),c=(0,a.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"ButtonLink"});return(0,l.tZ)(o.Z,(0,r.Zj)({as:"a",ref:t},n))});c.displayName="ButtonLink";var d=c}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=24253)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/react/pr-947/_next/static/chunks/pages/components/checkbox-4d9ef1aae15350e6.js b/react/pr-947/_next/static/chunks/pages/components/checkbox-3953ed919c5dd683.js similarity index 75% rename from react/pr-947/_next/static/chunks/pages/components/checkbox-4d9ef1aae15350e6.js rename to react/pr-947/_next/static/chunks/pages/components/checkbox-3953ed919c5dd683.js index ad15c372b6..709ee99aa4 100644 --- a/react/pr-947/_next/static/chunks/pages/components/checkbox-4d9ef1aae15350e6.js +++ b/react/pr-947/_next/static/chunks/pages/components/checkbox-3953ed919c5dd683.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4927],{63349:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return v}});var c=t(52322),o=t(45392),r=t(96835),l=t(73645),a=t(1847),i=t(62080),s=t(2784),d=function(){var e=(0,s.useRef)(),n=(0,s.useCallback)(function(){e.current.focus(),console.log(e.current.checked)},[]);return s.createElement(l.Z,{alignItems:"center",columnGap:"6x"},s.createElement(a.Z,{defaultChecked:!0,inputRef:e},"Label"),s.createElement(i.Z,{onClick:n},"Click Me"))},h=t(61619);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,c=Array(n);t (\n \n Label\n \n);\n\nexport default App;",path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:"import { Checkbox } from '@tonic-ui/react';\nimport React from 'react';\n\nconst App = () => (\n \n Label\n \n);\n\nexport default App;",title:"Tonic UI"}})),"\n",(0,c.jsx)(n.p,{children:"You can use a flex container to align a checkbox with other components. This allows you to easily control the positioning and spacing of all elements within the container."}),"\n",(0,c.jsx)(r.Z,Object.assign({},{component:g,file:{data:'import { Box, Checkbox, Flex, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n Label\n Helper text\n \n \n);\n\nexport default App;',path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:'import { Box, Checkbox, Flex, Text } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n \n \n Label\n Helper text\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,c.jsxs)(n.h3,{id:"colors",children:["Colors",(0,c.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#colors",children:(0,c.jsx)(n.svg,{children:(0,c.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,c.jsxs)(n.p,{children:["Use the ",(0,c.jsx)(n.code,{children:"variantColor"})," prop to change the color scheme of the checkbox. ",(0,c.jsx)(n.code,{children:"variantColor"})," can be any color key with key ",(0,c.jsx)(n.code,{children:"50"})," (hover) or ",(0,c.jsx)(n.code,{children:"60"})," (checked, active) that exist in ",(0,c.jsx)(n.code,{children:"theme.colors"}),"."]}),"\n",(0,c.jsx)(r.Z,Object.assign({},{component:p,file:{data:'import { Checkbox, Flex } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Label\n \n \n Label\n \n \n);\n\nexport default App;',path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:'import { Checkbox, Flex } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Label\n \n \n Label\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,c.jsxs)(n.h3,{id:"sizes",children:["Sizes",(0,c.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#sizes",children:(0,c.jsx)(n.svg,{children:(0,c.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,c.jsxs)(n.p,{children:["Use the ",(0,c.jsx)(n.code,{children:"size"})," prop to change the size of the checkbox. You can set the value to ",(0,c.jsx)(n.code,{children:"sm"}),", ",(0,c.jsx)(n.code,{children:"md"}),", or ",(0,c.jsx)(n.code,{children:"lg"}),"."]}),"\n",(0,c.jsx)(r.Z,Object.assign({},{component:m,file:{data:'import { Checkbox, Flex } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Label\n \n \n Label\n \n \n Label\n \n \n);\n\nexport default App;',path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:'import { Checkbox, Flex } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n Label\n \n \n Label\n \n \n Label\n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,c.jsxs)(n.h3,{id:"states",children:["States",(0,c.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#states",children:(0,c.jsx)(n.svg,{children:(0,c.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,c.jsx)(r.Z,Object.assign({},{component:f,file:{data:'import { Checkbox, Flex, Stack } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Label\n \n \n Label\n \n \n Label\n \n \n \n \n Label\n \n \n Label\n \n \n Label\n \n \n \n);\n\nexport default App;',path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:'import { Checkbox, Flex, Stack } from \'@tonic-ui/react\';\nimport React from \'react\';\n\nconst App = () => (\n \n \n \n Label\n \n \n Label\n \n \n Label\n \n \n \n \n Label\n \n \n Label\n \n \n Label\n \n \n \n);\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,c.jsxs)(n.h3,{id:"indeterminate",children:["Indeterminate",(0,c.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#indeterminate",children:(0,c.jsx)(n.svg,{children:(0,c.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,c.jsx)(r.Z,Object.assign({},{component:x,file:{data:'import { Checkbox, Stack } from \'@tonic-ui/react\';\nimport React, { useState } from \'react\';\n\nconst App = () => {\n const [checkedItems, setCheckedItems] = useState([true, false]);\n const allChecked = checkedItems.every(Boolean);\n const isIndeterminate = checkedItems.some(Boolean) && !allChecked;\n\n return (\n <>\n setCheckedItems([e.target.checked, e.target.checked])}\n >\n Parent\n \n \n setCheckedItems([e.target.checked, checkedItems[1]])}\n >\n Child 1\n \n setCheckedItems([checkedItems[0], e.target.checked])}\n >\n Child 2\n \n \n \n );\n};\n\nexport default App;',path:"pages/components/checkbox/index.page.mdx"},sandbox:{files:{},raw:'import { Checkbox, Stack } from \'@tonic-ui/react\';\nimport React, { useState } from \'react\';\n\nconst App = () => {\n const [checkedItems, setCheckedItems] = useState([true, false]);\n const allChecked = checkedItems.every(Boolean);\n const isIndeterminate = checkedItems.some(Boolean) && !allChecked;\n\n return (\n <>\n setCheckedItems([e.target.checked, e.target.checked])}\n >\n Parent\n \n \n setCheckedItems([e.target.checked, checkedItems[1]])}\n >\n Child 1\n \n setCheckedItems([checkedItems[0], e.target.checked])}\n >\n Child 2\n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}})),"\n",(0,c.jsxs)(n.h2,{id:"accessibility",children:["Accessibility",(0,c.jsx)(n.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#accessibility",children:(0,c.jsx)(n.svg,{children:(0,c.jsx)(n.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,c.jsxs)(n.p,{children:["WAI-ARIA: ",(0,c.jsx)(n.a,{href:"https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/",children:"https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/"})]}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:["All form controls should have labels, and this includes radio buttons, checkboxes, and switches. In most cases, this is done by using the ",(0,c.jsx)(n.code,{children:"