@soyfri/shared-library 2.0.0-beta.0 → 2.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +243 -0
- package/dist/components/Drawer/Drawer.cjs +14 -17
- package/dist/components/Drawer/Drawer.cjs.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +8 -1
- package/dist/components/Drawer/Drawer.js +14 -17
- package/dist/components/Drawer/Drawer.js.map +1 -1
- package/dist/components/Input/Input.definitions.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.cjs +202 -0
- package/dist/components/RadioGroup/RadioGroup.cjs.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +53 -0
- package/dist/components/RadioGroup/RadioGroup.definitions.d.ts +6 -0
- package/dist/components/RadioGroup/RadioGroup.js +202 -0
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.sx.d.ts +20 -0
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +1 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup.d.ts +6 -0
- package/dist/components/Stepper/Stepper.cjs +136 -23
- package/dist/components/Stepper/Stepper.cjs.map +1 -1
- package/dist/components/Stepper/Stepper.js +137 -24
- package/dist/components/Stepper/Stepper.js.map +1 -1
- package/dist/components/Switch/Switch.cjs +181 -0
- package/dist/components/Switch/Switch.cjs.map +1 -0
- package/dist/components/Switch/Switch.d.ts +43 -0
- package/dist/components/Switch/Switch.definitions.d.ts +7 -0
- package/dist/components/Switch/Switch.js +181 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Switch/Switch.sx.d.ts +22 -0
- package/dist/components/Switch/Switch.types.d.ts +1 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch.d.ts +6 -0
- package/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -1
- package/dist/mui.d.ts +1 -0
- package/dist/package.json +207 -0
- package/dist/theme/componentStyles.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Drawer/Drawer.stories.tsx +168 -0
- package/src/components/Drawer/Drawer.tsx +26 -18
- package/src/components/Input/Input.definitions.ts +24 -0
- package/src/components/Input/Input.stories.tsx +29 -0
- package/src/components/RadioGroup/RadioGroup.definitions.ts +177 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +231 -0
- package/src/components/RadioGroup/RadioGroup.sx.ts +75 -0
- package/src/components/RadioGroup/RadioGroup.tsx +196 -0
- package/src/components/RadioGroup/RadioGroup.types.ts +10 -0
- package/src/components/RadioGroup/index.ts +9 -0
- package/src/components/Stepper/Stepper.stories.tsx +72 -0
- package/src/components/Stepper/Stepper.tsx +139 -4
- package/src/components/Switch/Switch.definitions.ts +134 -0
- package/src/components/Switch/Switch.stories.tsx +213 -0
- package/src/components/Switch/Switch.sx.ts +81 -0
- package/src/components/Switch/Switch.tsx +172 -0
- package/src/components/Switch/Switch.types.ts +10 -0
- package/src/components/Switch/index.ts +9 -0
- package/src/mui.ts +10 -0
- package/src/theme/componentStyles.ts +3 -1
- package/storybook-static/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
- package/storybook-static/assets/AccountCircle-BDZFsbTw.js +1 -0
- package/storybook-static/assets/ActionMenu-EynP8yU1.js +19 -0
- package/storybook-static/assets/ActionMenu.stories-DqSqRGix.js +185 -0
- package/storybook-static/assets/Alert-3zvTPc0p.js +1 -0
- package/storybook-static/assets/AppBar.stories-DcX3M5th.js +172 -0
- package/storybook-static/assets/Autocomplete.stories-CXJm8FOT.js +788 -0
- package/storybook-static/assets/Avatar-NbFfkZws.js +1 -0
- package/storybook-static/assets/Avatar.stories-CwOYCzqU.js +390 -0
- package/storybook-static/assets/Box-BnhEcfFm.js +1 -0
- package/storybook-static/assets/Button-D9h7OggD.js +1 -0
- package/storybook-static/assets/Button-DBpqmVB_.js +1 -0
- package/storybook-static/assets/Button.stories-F20dmnjq.js +320 -0
- package/storybook-static/assets/ButtonBase-qyaMEhe4.js +74 -0
- package/storybook-static/assets/Card.stories-B3NpAhO0.js +154 -0
- package/storybook-static/assets/CheckCircleOutline-CEj5mDsl.js +1 -0
- package/storybook-static/assets/Chip-C3vKPpzR.js +1 -0
- package/storybook-static/assets/Chip.stories-sxcfHVo9.js +333 -0
- package/storybook-static/assets/CircularProgress-DC7ZNWwl.js +28 -0
- package/storybook-static/assets/Clear-4kYcKvT3.js +1 -0
- package/storybook-static/assets/ClipBoard-DvLBdNHe.js +1 -0
- package/storybook-static/assets/ClipBoard.stories-BGUo47r6.js +108 -0
- package/storybook-static/assets/Close-CgHeRgmh.js +1 -0
- package/storybook-static/assets/Close-Cy8nELYU.js +1 -0
- package/storybook-static/assets/Color-AVL7NMMY-BJKvwERm.js +1 -0
- package/storybook-static/assets/ContentCopy-BfLTDb10.js +1 -0
- package/storybook-static/assets/DatePicker-Clkpr-Ku.js +1 -0
- package/storybook-static/assets/DatePicker.stories-EaUCMkh3.js +444 -0
- package/storybook-static/assets/DateRangePicker.stories-BMlkj-8K.js +390 -0
- package/storybook-static/assets/DateTimePicker.stories-B6gdzKq5.js +555 -0
- package/storybook-static/assets/DefaultPropsProvider-BGoQxtDa.js +16 -0
- package/storybook-static/assets/Delete-D2SMMmIA.js +1 -0
- package/storybook-static/assets/DialogContent-BeCDKgax.js +1 -0
- package/storybook-static/assets/Divider-BbCj9wT4.js +1 -0
- package/storybook-static/assets/DocsRenderer-PQXLIZUC-BebLK5Y_.js +1243 -0
- package/storybook-static/assets/Drawer-DcFwy73r.js +1 -0
- package/storybook-static/assets/Drawer.stories-C5AZkJBk.js +173 -0
- package/storybook-static/assets/EmptyTable-B-RKtgVs.png +0 -0
- package/storybook-static/assets/ErrorOutline-D9gM7ART.js +1 -0
- package/storybook-static/assets/Fade-Ll96CvH8.js +1 -0
- package/storybook-static/assets/Flyout.stories-Cf7z6MNw.js +163 -0
- package/storybook-static/assets/Gallery.stories-DdpWVTF6.js +127 -0
- package/storybook-static/assets/Grow-8y4FglGK.js +1 -0
- package/storybook-static/assets/Home-BRvJEp2L.js +1 -0
- package/storybook-static/assets/Icon.stories-D0mUiW_t.js +78 -0
- package/storybook-static/assets/IconButton-9OYSTH58.js +1 -0
- package/storybook-static/assets/Input-CjX0t4h-.js +1 -0
- package/storybook-static/assets/Input.stories-BRxekliy.js +650 -0
- package/storybook-static/assets/InputGroup.stories-DH6gUfmn.js +306 -0
- package/storybook-static/assets/KeyboardArrowRight-WO_attK2.js +1 -0
- package/storybook-static/assets/KeyboardArrowUp-DsyVef-i.js +1 -0
- package/storybook-static/assets/ListItem-D3O0103N.js +1 -0
- package/storybook-static/assets/ListItemIcon-hca6xN79.js +1 -0
- package/storybook-static/assets/ListItemText-BFLAwLdl.js +1 -0
- package/storybook-static/assets/Logout-gj-P3AfU.js +1 -0
- package/storybook-static/assets/Menu-ClzfjLc3.js +1 -0
- package/storybook-static/assets/MenuButton.stories-B-W_QVDt.js +162 -0
- package/storybook-static/assets/MenuItem-iU6tAqJI.js +1 -0
- package/storybook-static/assets/Modal-3okp9H2i.js +1 -0
- package/storybook-static/assets/Modal.stories-DIWzm4qR.js +468 -0
- package/storybook-static/assets/MoreVert-BoIVG4gh.js +1 -0
- package/storybook-static/assets/Notifications-DY_A-Sho.js +1 -0
- package/storybook-static/assets/PageLoader.stories-DmtO1mlm.js +158 -0
- package/storybook-static/assets/Paper-SwQBhqI7.js +1 -0
- package/storybook-static/assets/Person-CkQl-mpq.js +1 -0
- package/storybook-static/assets/PickersModalDialog-Tjnr_cu5.js +10 -0
- package/storybook-static/assets/PickersToolbarButton-Tt185-si.js +1 -0
- package/storybook-static/assets/Popper-CnCTYXxy.js +1 -0
- package/storybook-static/assets/Portal-Cj8XF9Lf.js +1 -0
- package/storybook-static/assets/ScrollTopButton.stories-BflQCwNP.js +90 -0
- package/storybook-static/assets/Select-CjcuMAY0.js +4 -0
- package/storybook-static/assets/Select-DJh2biEb.js +3 -0
- package/storybook-static/assets/Select.stories-DU1Gb3I2.js +1103 -0
- package/storybook-static/assets/Settings-BLKc1CnO.js +1 -0
- package/storybook-static/assets/Snackbar-BtVeKTw6.js +1 -0
- package/storybook-static/assets/Stack-D01OUIXi.js +1 -0
- package/storybook-static/assets/Stat.stories-Bn9-iuPT.js +60 -0
- package/storybook-static/assets/StatusMessage.stories-hnfX8FeU.js +73 -0
- package/storybook-static/assets/Stepper-BtKB5ykn.js +2 -0
- package/storybook-static/assets/Stepper.stories-CTEZbgPc.js +165 -0
- package/storybook-static/assets/Table.stories-CTn2Ktmn.js +1260 -0
- package/storybook-static/assets/TableContainer-CzLNaEU-.js +1 -0
- package/storybook-static/assets/TableRow-CS88-1HF.js +2 -0
- package/storybook-static/assets/Tabs-DLpDOu_n.js +1 -0
- package/storybook-static/assets/Tabs.stories-BFVuFy_5.js +159 -0
- package/storybook-static/assets/TextField-22T-xHBm.js +1 -0
- package/storybook-static/assets/Timeline.stories-DJU_U2Hv.js +97 -0
- package/storybook-static/assets/Tooltip-DbnHUxNj.js +1 -0
- package/storybook-static/assets/Tooltip.stories-B7tA3dnV.js +66 -0
- package/storybook-static/assets/Typography-BgntX2Ep.js +1 -0
- package/storybook-static/assets/Wizard.stories-CVrJLK_D.js +23 -0
- package/storybook-static/assets/createSimplePaletteValueFilter-bm0fmN_7.js +1 -0
- package/storybook-static/assets/createSvgIcon-D_Gca4vA.js +1 -0
- package/storybook-static/assets/debounce-Be36O1Ab.js +1 -0
- package/storybook-static/assets/emotion-react.browser.esm--g-C9cX9.js +8 -0
- package/storybook-static/assets/extendSxProp-CEpa30hT.js +1 -0
- package/storybook-static/assets/formField.sx-DMCmZIAa.js +1 -0
- package/storybook-static/assets/getReactElementRef-BQ3ANZdy.js +1 -0
- package/storybook-static/assets/iframe-BAJnc_4n.js +1079 -0
- package/storybook-static/assets/index-B1tlhOpe.js +240 -0
- package/storybook-static/assets/index-BF3FAXTk.js +9 -0
- package/storybook-static/assets/index-CIeucmOB.js +2 -0
- package/storybook-static/assets/index-CY7j4a7o.js +1 -0
- package/storybook-static/assets/index-CxkKctw5.js +1 -0
- package/storybook-static/assets/isFocusVisible-B8k4qzLc.js +1 -0
- package/storybook-static/assets/isMuiElement-CTZSFcY5.js +1 -0
- package/storybook-static/assets/jsx-runtime-D_zvdyIk.js +9 -0
- package/storybook-static/assets/listItemTextClasses-CC_rwJam.js +1 -0
- package/storybook-static/assets/mergeSlotProps-B0UBKBMe.js +1 -0
- package/storybook-static/assets/ownerDocument-DW-IO8s5.js +1 -0
- package/storybook-static/assets/ownerWindow-HkKU3E4x.js +1 -0
- package/storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/storybook-static/assets/react-18-BUJ64QCV.js +25 -0
- package/storybook-static/assets/resolvePreset-CN2aOJJr.js +1 -0
- package/storybook-static/assets/useControlled-DsVh1a5j.js +1 -0
- package/storybook-static/assets/useForkRef-0ANIrxcF.js +1 -0
- package/storybook-static/assets/useId-b4fZxjOL.js +1 -0
- package/storybook-static/assets/useMobilePicker-DK-c8xbD.js +1 -0
- package/storybook-static/assets/usePreviousProps-WR0rG4aR.js +1 -0
- package/storybook-static/assets/useSlot-b6pXgp5_.js +1 -0
- package/storybook-static/assets/useSlotProps-C0uMfuBt.js +1 -0
- package/storybook-static/assets/useTheme-BmOJK7ra.js +1 -0
- package/storybook-static/assets/useThemeProps-DYtxXiUU.js +1 -0
- package/storybook-static/assets/useThemeProps-U4yXiZ_5.js +1 -0
- package/storybook-static/assets/useTimeout-DNjRaOWc.js +1 -0
- package/storybook-static/assets/visuallyHidden-Dan1xhjv.js +1 -0
- package/storybook-static/favicon-wrapper.svg +46 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +686 -0
- package/storybook-static/index.html +160 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-2/manager-bundle.js +356 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-2/manager-bundle.js.LEGAL.txt +40 -0
- package/storybook-static/sb-addons/docs-4/manager-bundle.js +151 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +971 -0
- package/storybook-static/sb-addons/vitest-3/manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +797 -0
- package/storybook-static/sb-manager/globals-runtime.js +69679 -0
- package/storybook-static/sb-manager/globals.js +34 -0
- package/storybook-static/sb-manager/runtime.js +13195 -0
- package/storybook-static/vite-inject-mocker-entry.js +18 -0
|
@@ -0,0 +1,1079 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ActionMenu.stories-DqSqRGix.js","./jsx-runtime-D_zvdyIk.js","./index-B1tlhOpe.js","./ActionMenu-EynP8yU1.js","./createSvgIcon-D_Gca4vA.js","./DefaultPropsProvider-BGoQxtDa.js","./MoreVert-BoIVG4gh.js","./Tooltip-DbnHUxNj.js","./useSlotProps-C0uMfuBt.js","./useSlot-b6pXgp5_.js","./useForkRef-0ANIrxcF.js","./useTheme-BmOJK7ra.js","./extendSxProp-CEpa30hT.js","./useTimeout-DNjRaOWc.js","./useControlled-DsVh1a5j.js","./useId-b4fZxjOL.js","./getReactElementRef-BQ3ANZdy.js","./index-CY7j4a7o.js","./index-BF3FAXTk.js","./Grow-8y4FglGK.js","./Popper-CnCTYXxy.js","./ownerDocument-DW-IO8s5.js","./Portal-Cj8XF9Lf.js","./isFocusVisible-B8k4qzLc.js","./IconButton-9OYSTH58.js","./createSimplePaletteValueFilter-bm0fmN_7.js","./ButtonBase-qyaMEhe4.js","./emotion-react.browser.esm--g-C9cX9.js","./CircularProgress-DC7ZNWwl.js","./Menu-ClzfjLc3.js","./Paper-SwQBhqI7.js","./ownerWindow-HkKU3E4x.js","./debounce-Be36O1Ab.js","./mergeSlotProps-B0UBKBMe.js","./Modal-3okp9H2i.js","./Fade-Ll96CvH8.js","./MenuItem-iU6tAqJI.js","./listItemTextClasses-CC_rwJam.js","./ListItemIcon-hca6xN79.js","./ListItemText-BFLAwLdl.js","./Typography-BgntX2Ep.js","./Divider-BbCj9wT4.js","./ContentCopy-BfLTDb10.js","./Delete-D2SMMmIA.js","./Button-DBpqmVB_.js","./TableRow-CS88-1HF.js","./Chip-C3vKPpzR.js","./preload-helper-PPVm8Dsz.js","./AppBar.stories-DcX3M5th.js","./Notifications-DY_A-Sho.js","./Person-CkQl-mpq.js","./Settings-BLKc1CnO.js","./Logout-gj-P3AfU.js","./resolvePreset-CN2aOJJr.js","./Box-BnhEcfFm.js","./Avatar-NbFfkZws.js","./Autocomplete.stories-CXJm8FOT.js","./formField.sx-DMCmZIAa.js","./Clear-4kYcKvT3.js","./Select-DJh2biEb.js","./Close-Cy8nELYU.js","./usePreviousProps-WR0rG4aR.js","./TextField-22T-xHBm.js","./isMuiElement-CTZSFcY5.js","./Stack-D01OUIXi.js","./useThemeProps-DYtxXiUU.js","./Avatar.stories-CwOYCzqU.js","./AccountCircle-BDZFsbTw.js","./Button.stories-F20dmnjq.js","./Button-D9h7OggD.js","./Card.stories-B3NpAhO0.js","./Chip.stories-sxcfHVo9.js","./CheckCircleOutline-CEj5mDsl.js","./DatePicker.stories-EaUCMkh3.js","./DatePicker-Clkpr-Ku.js","./PickersModalDialog-Tjnr_cu5.js","./useThemeProps-U4yXiZ_5.js","./index-CIeucmOB.js","./DialogContent-BeCDKgax.js","./ListItem-D3O0103N.js","./visuallyHidden-Dan1xhjv.js","./useMobilePicker-DK-c8xbD.js","./DateRangePicker.stories-BMlkj-8K.js","./PickersToolbarButton-Tt185-si.js","./DateTimePicker.stories-B6gdzKq5.js","./Tabs-DLpDOu_n.js","./Drawer.stories-C5AZkJBk.js","./Home-BRvJEp2L.js","./Drawer-DcFwy73r.js","./Flyout.stories-Cf7z6MNw.js","./Close-CgHeRgmh.js","./Input-CjX0t4h-.js","./Gallery.stories-DdpWVTF6.js","./KeyboardArrowUp-DsyVef-i.js","./KeyboardArrowRight-WO_attK2.js","./Icon.stories-D0mUiW_t.js","./Input.stories-BRxekliy.js","./InputGroup.stories-DH6gUfmn.js","./Select-CjcuMAY0.js","./MenuButton.stories-B-W_QVDt.js","./Modal.stories-DIWzm4qR.js","./ErrorOutline-D9gM7ART.js","./ClipBoard-DvLBdNHe.js","./Snackbar-BtVeKTw6.js","./Alert-3zvTPc0p.js","./PageLoader.stories-DmtO1mlm.js","./ScrollTopButton.stories-BflQCwNP.js","./Select.stories-DU1Gb3I2.js","./Stat.stories-Bn9-iuPT.js","./StatusMessage.stories-hnfX8FeU.js","./Stepper.stories-CTEZbgPc.js","./Stepper-BtKB5ykn.js","./Table.stories-CTn2Ktmn.js","./TableContainer-CzLNaEU-.js","./Tabs.stories-BFVuFy_5.js","./Timeline.stories-DJU_U2Hv.js","./Tooltip.stories-B7tA3dnV.js","./ClipBoard.stories-BGUo47r6.js","./Wizard.stories-CVrJLK_D.js","./react-18-BUJ64QCV.js","./DocsRenderer-PQXLIZUC-BebLK5Y_.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as Ve}from"./preload-helper-PPVm8Dsz.js";function DN(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();var Jp={},ON=Object.create,Qi=Object.defineProperty,RN=Object.getOwnPropertyDescriptor,FN=Object.getOwnPropertyNames,IN=Object.getPrototypeOf,NN=Object.prototype.hasOwnProperty,s=(e,t)=>Qi(e,"name",{value:t,configurable:!0}),Ps=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),kN=(e,t)=>()=>(e&&(t=e(e=0)),t),O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jt=(e,t)=>{for(var r in t)Qi(e,r,{get:t[r],enumerable:!0})},DE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of FN(t))!NN.call(e,a)&&a!==r&&Qi(e,a,{get:()=>t[a],enumerable:!(n=RN(t,a))||n.enumerable});return e},Et=(e,t,r)=>(r=e!=null?ON(IN(e)):{},DE(t||!e||!e.__esModule?Qi(r,"default",{value:e,enumerable:!0}):r,e)),BN=e=>DE(Qi({},"__esModule",{value:!0}),e),jN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return s(function i(l,u,c){var p,d,h,f=t.call(l),m=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),f!=m||(p=n(l),d=n(u),p.length!=d.length||p.some(function(y){return!i(l[y],u[y],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":p=l.entries(),d=u.entries();do if(!i((h=p.next()).value,d.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!i(l[h],u[h],c)))return!1;return!0;case"Object":return i(r(l),r(u),c);default:return!1}},"n")(a,o,[])}})()}),qN=O((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}),MN=O((e,t)=>{var r=qN();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}),LN=O((e,t)=>{t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}),OE=O((e,t)=>{var r=MN(),n=LN();t.exports=(a,o=0,i)=>n(r(a),o,i)}),$N=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,a={"@@iterator":s(function(){return a},"iterator"),next:s(function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}},"next")};return a}s(t,"iteratorProxy"),e.default=t}),Zi=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r($N());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),UN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zi());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,b,g,v=[],D=!0,S=!1;try{if(b=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;D=!1}else for(;!(D=(m=b.call(f)).done)&&(v.push(m.value),v.length!==h);D=!0);}catch(_){S=!0,y=_}finally{try{if(!D&&f.return!=null&&(g=f.return(),Object(g)!==g))return}finally{if(S)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),b=y[0],g=y[1];d.call(h,g,b,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),VN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zi());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,b,g,v=[],D=!0,S=!1;try{if(b=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;D=!1}else for(;!(D=(m=b.call(f)).done)&&(v.push(m.value),v.length!==h);D=!0);}catch(_){S=!0,y=_}finally{try{if(!D&&f.return!=null&&(g=f.return(),Object(g)!==g))return}finally{if(S)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),b=y[0],g=y[1];d.call(h,g,b,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),HN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),JN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),zN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),GN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),WN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),KN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),YN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),XN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),QN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),ZN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),ek=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),tk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),rk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(HN()),r=f(JN()),n=f(zN()),a=f(GN()),o=f(WN()),i=f(KN()),l=f(YN()),u=f(XN()),c=f(QN()),p=f(ZN()),d=f(ek()),h=f(tk());function f(y){return y&&y.__esModule?y:{default:y}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]];e.default=m}),nk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ak=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),ok=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),ik=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),sk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),lk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),uk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),ck=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),pk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),dk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),fk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),hk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),mk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),yk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),gk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),bk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),vk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Ek=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),Ck=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),wk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),Ak=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),Sk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),_k=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Tk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),Pk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),Dk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),Ok=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Rk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),Fk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Ik=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Nk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),kk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Bk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),jk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),qk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Mk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Lk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),$k=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Uk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Vk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),Hk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),Jk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),zk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),Gk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),Wk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),Kk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Yk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),Xk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Qk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),Zk=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),tB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),rB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),nB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),aB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),oB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),iB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),sB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),lB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),uB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),cB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),pB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),dB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),fB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),hB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),mB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),yB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),bB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),vB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),EB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),CB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),wB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),AB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),SB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),_B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),TB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),PB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),DB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),OB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),RB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),FB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=P(nk()),r=P(ak()),n=P(ok()),a=P(ik()),o=P(sk()),i=P(lk()),l=P(uk()),u=P(ck()),c=P(pk()),p=P(dk()),d=P(fk()),h=P(hk()),f=P(mk()),m=P(yk()),y=P(gk()),b=P(bk()),g=P(vk()),v=P(Ek()),D=P(Ck()),S=P(wk()),_=P(Ak()),A=P(xk()),E=P(Sk()),C=P(_k()),T=P(Tk()),k=P(Pk()),B=P(Dk()),W=P(Ok()),z=P(Rk()),R=P(Fk()),L=P(Ik()),j=P(Nk()),X=P(kk()),Q=P(Bk()),oe=P(jk()),$=P(qk()),K=P(Mk()),U=P(Lk()),Y=P($k()),ee=P(Uk()),se=P(Vk()),te=P(Hk()),pe=P(Jk()),me=P(zk()),Xe=P(Gk()),ht=P(Wk()),Z=P(Kk()),ce=P(Yk()),ge=P(Xk()),be=P(Qk()),Ee=P(Zk()),xe=P(eB()),Se=P(tB()),ze=P(rB()),st=P(nB()),Dt=P(aB()),Gt=P(oB()),_t=P(iB()),Vt=P(sB()),Nt=P(lB()),Te=P(uB()),lt=P(cB()),Ae=P(pB()),ut=P(dB()),Qe=P(fB()),Zn=P(hB()),ea=P(mB()),kt=P(yB()),xn=P(gB()),pr=P(bB()),tt=P(vB()),Sn=P(EB()),ta=P(CB()),Ze=P(wB()),wt=P(AB()),Ar=P(xB()),Nr=P(SB()),kr=P(_B()),_n=P(TB()),dr=P(PB()),x=P(DB()),N=P(OB()),F=P(RB());function P(ie){return ie&&ie.__esModule?ie:{default:ie}}s(P,"_interopRequireDefault");var V=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",b.default],["deletion",g.default],["dialog",v.default],["directory",D.default],["document",S.default],["emphasis",_.default],["feed",A.default],["figure",E.default],["form",C.default],["generic",T.default],["grid",k.default],["gridcell",B.default],["group",W.default],["heading",z.default],["img",R.default],["insertion",L.default],["link",j.default],["list",X.default],["listbox",Q.default],["listitem",oe.default],["log",$.default],["main",K.default],["mark",U.default],["marquee",Y.default],["math",ee.default],["menu",se.default],["menubar",te.default],["menuitem",pe.default],["menuitemcheckbox",me.default],["menuitemradio",Xe.default],["meter",ht.default],["navigation",Z.default],["none",ce.default],["note",ge.default],["option",be.default],["paragraph",Ee.default],["presentation",xe.default],["progressbar",Se.default],["radio",ze.default],["radiogroup",st.default],["region",Dt.default],["row",Gt.default],["rowgroup",_t.default],["rowheader",Vt.default],["scrollbar",Nt.default],["search",Te.default],["searchbox",lt.default],["separator",Ae.default],["slider",ut.default],["spinbutton",Qe.default],["status",Zn.default],["strong",ea.default],["subscript",kt.default],["superscript",xn.default],["switch",pr.default],["tab",tt.default],["table",Sn.default],["tablist",ta.default],["tabpanel",Ze.default],["term",wt.default],["textbox",Ar.default],["time",Nr.default],["timer",kr.default],["toolbar",_n.default],["tooltip",dr.default],["tree",x.default],["treegrid",N.default],["treeitem",F.default]];e.default=V}),IB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),NB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),kB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),BB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),jB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),qB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),MB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),LB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),$B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),UB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),VB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),HB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),JB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),zB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),GB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),WB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),KB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),YB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),XB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),QB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),ZB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ej=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),tj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),rj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),nj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),aj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),oj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),ij=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),sj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),lj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),uj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),cj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),pj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),dj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),fj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),hj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),mj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),yj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),bj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),vj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),Ej=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=te(IB()),r=te(NB()),n=te(kB()),a=te(BB()),o=te(jB()),i=te(qB()),l=te(MB()),u=te(LB()),c=te($B()),p=te(UB()),d=te(VB()),h=te(HB()),f=te(JB()),m=te(zB()),y=te(GB()),b=te(WB()),g=te(KB()),v=te(YB()),D=te(XB()),S=te(QB()),_=te(ZB()),A=te(ej()),E=te(tj()),C=te(rj()),T=te(nj()),k=te(aj()),B=te(oj()),W=te(ij()),z=te(sj()),R=te(lj()),L=te(uj()),j=te(cj()),X=te(pj()),Q=te(dj()),oe=te(fj()),$=te(hj()),K=te(mj()),U=te(yj()),Y=te(gj()),ee=te(bj()),se=te(vj());function te(me){return me&&me.__esModule?me:{default:me}}s(te,"_interopRequireDefault");var pe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",b.default],["doc-endnotes",g.default],["doc-epigraph",v.default],["doc-epilogue",D.default],["doc-errata",S.default],["doc-example",_.default],["doc-footnote",A.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",T.default],["doc-index",k.default],["doc-introduction",B.default],["doc-noteref",W.default],["doc-notice",z.default],["doc-pagebreak",R.default],["doc-pagefooter",L.default],["doc-pageheader",j.default],["doc-pagelist",X.default],["doc-part",Q.default],["doc-preface",oe.default],["doc-prologue",$.default],["doc-pullquote",K.default],["doc-qna",U.default],["doc-subtitle",Y.default],["doc-tip",ee.default],["doc-toc",se.default]];e.default=pe}),Cj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),wj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),Aj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),xj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Cj()),r=a(wj()),n=a(Aj());function a(i){return i&&i.__esModule?i:{default:i}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}),ch=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(rk()),r=i(FB()),n=i(Ej()),a=i(xj()),o=i(Zi());function i(b){return b&&b.__esModule?b:{default:b}}s(i,"_interopRequireDefault");function l(b,g){var v=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!v){if(Array.isArray(b)||(v=p(b))||g&&b&&typeof b.length=="number"){v&&(b=v);var D=0,S=s(function(){},"F");return{s:S,n:s(function(){return D>=b.length?{done:!0}:{done:!1,value:b[D++]}},"n"),e:s(function(C){throw C},"e"),f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,A=!0,E=!1;return{s:s(function(){v=v.call(b)},"s"),n:s(function(){var C=v.next();return A=C.done,C},"n"),e:s(function(C){E=!0,_=C},"e"),f:s(function(){try{A||v.return==null||v.return()}finally{if(E)throw _}},"f")}}s(l,"_createForOfIteratorHelper");function u(b,g){return f(b)||h(b,g)||p(b,g)||c()}s(u,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(c,"_nonIterableRest");function p(b,g){if(b){if(typeof b=="string")return d(b,g);var v={}.toString.call(b).slice(8,-1);return v==="Object"&&b.constructor&&(v=b.constructor.name),v==="Map"||v==="Set"?Array.from(b):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(b,g):void 0}}s(p,"_unsupportedIterableToArray");function d(b,g){(g==null||g>b.length)&&(g=b.length);for(var v=0,D=Array(g);v<g;v++)D[v]=b[v];return D}s(d,"_arrayLikeToArray");function h(b,g){var v=b==null?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(v!=null){var D,S,_,A,E=[],C=!0,T=!1;try{if(_=(v=v.call(b)).next,g===0){if(Object(v)!==v)return;C=!1}else for(;!(C=(D=_.call(v)).done)&&(E.push(D.value),E.length!==g);C=!0);}catch(k){T=!0,S=k}finally{try{if(!C&&v.return!=null&&(A=v.return(),Object(A)!==A))return}finally{if(T)throw S}}return E}}s(h,"_iterableToArrayLimit");function f(b){if(Array.isArray(b))return b}s(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,a.default);m.forEach(function(b){var g=u(b,2),v=g[1],D=l(v.superClass),S;try{for(D.s();!(S=D.n()).done;){var _=S.value,A=l(_),E;try{var C=s(function(){var T=E.value,k=m.filter(function(L){var j=u(L,1),X=j[0];return X===T})[0];if(k)for(var B=k[1],W=0,z=Object.keys(B.props);W<z.length;W++){var R=z[W];Object.prototype.hasOwnProperty.call(v.props,R)||(v.props[R]=B.props[R])}},"_loop");for(A.s();!(E=A.n()).done;)C()}catch(T){A.e(T)}finally{A.f()}}}catch(T){D.e(T)}finally{D.f()}});var y={entries:s(function(){return m},"entries"),forEach:s(function(b){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=l(m),D;try{for(v.s();!(D=v.n()).done;){var S=u(D.value,2),_=S[0],A=S[1];b.call(g,A,_,m)}}catch(E){v.e(E)}finally{v.f()}},"forEach"),get:s(function(b){var g=m.filter(function(v){return v[0]===b})[0];return g&&g[1]},"get"),has:s(function(b){return!!y.get(b)},"has"),keys:s(function(){return m.map(function(b){var g=u(b,1),v=g[0];return v})},"keys"),values:s(function(){return m.map(function(b){var g=u(b,2),v=g[1];return v})},"values")};e.default=(0,o.default)(y,y.entries())}),Sj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Zi()),r=n(ch());function n(A){return A&&A.__esModule?A:{default:A}}s(n,"_interopRequireDefault");function a(A,E){return c(A)||u(A,E)||i(A,E)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(A,E){if(A){if(typeof A=="string")return l(A,E);var C={}.toString.call(A).slice(8,-1);return C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set"?Array.from(A):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?l(A,E):void 0}}s(i,"_unsupportedIterableToArray");function l(A,E){(E==null||E>A.length)&&(E=A.length);for(var C=0,T=Array(E);C<E;C++)T[C]=A[C];return T}s(l,"_arrayLikeToArray");function u(A,E){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var T,k,B,W,z=[],R=!0,L=!1;try{if(B=(C=C.call(A)).next,E===0){if(Object(C)!==C)return;R=!1}else for(;!(R=(T=B.call(C)).done)&&(z.push(T.value),z.length!==E);R=!0);}catch(j){L=!0,k=j}finally{try{if(!R&&C.return!=null&&(W=C.return(),Object(W)!==W))return}finally{if(L)throw k}}return z}}s(u,"_iterableToArrayLimit");function c(A){if(Array.isArray(A))return A}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(g=0;g<d.length;g++)if(h=d[g],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),y=s(function(){var A=m[b];if(A.module==="HTML"){var E=A.concept;if(E){var C=p.filter(function(W){return D(W[0],E)})[0],T;C?T=C[1]:T=[];for(var k=!0,B=0;B<T.length;B++)if(T[B]===h){k=!1;break}k&&T.push(h),C||p.push([E,T])}}},"_loop"),b=0;b<m.length;b++)y();var h,f,m,y,b,g,v={entries:s(function(){return p},"entries"),forEach:s(function(A){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,T=p;C<T.length;C++){var k=a(T[C],2),B=k[0],W=k[1];A.call(E,W,B,p)}},"forEach"),get:s(function(A){var E=p.filter(function(C){return A.name===C[0].name&&_(A.attributes,C[0].attributes)})[0];return E&&E[1]},"get"),has:s(function(A){return!!v.get(A)},"has"),keys:s(function(){return p.map(function(A){var E=a(A,1),C=E[0];return C})},"keys"),values:s(function(){return p.map(function(A){var E=a(A,2),C=E[1];return C})},"values")};function D(A,E){return A.name===E.name&&S(A.constraints,E.constraints)&&_(A.attributes,E.attributes)}s(D,"ariaRoleRelationConceptEquals");function S(A,E){if(A===void 0&&E!==void 0||A!==void 0&&E===void 0)return!1;if(A!==void 0&&E!==void 0){if(A.length!==E.length)return!1;for(var C=0;C<A.length;C++)if(A[C]!==E[C])return!1}return!0}s(S,"ariaRoleRelationConstraintsEquals");function _(A,E){if(A===void 0&&E!==void 0||A!==void 0&&E===void 0)return!1;if(A!==void 0&&E!==void 0){if(A.length!==E.length)return!1;for(var C=0;C<A.length;C++){if(A[C].name!==E[C].name||A[C].value!==E[C].value||A[C].constraints===void 0&&E[C].constraints!==void 0||A[C].constraints!==void 0&&E[C].constraints===void 0)return!1;if(A[C].constraints!==void 0&&E[C].constraints!==void 0){if(A[C].constraints.length!==E[C].constraints.length)return!1;for(var T=0;T<A[C].constraints.length;T++)if(A[C].constraints[T]!==E[C].constraints[T])return!1}}}return!0}s(_,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),_j=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Zi()),r=n(ch());function n(_){return _&&_.__esModule?_:{default:_}}s(n,"_interopRequireDefault");function a(_,A){return c(_)||u(_,A)||i(_,A)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(_,A){if(_){if(typeof _=="string")return l(_,A);var E={}.toString.call(_).slice(8,-1);return E==="Object"&&_.constructor&&(E=_.constructor.name),E==="Map"||E==="Set"?Array.from(_):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(_,A):void 0}}s(i,"_unsupportedIterableToArray");function l(_,A){(A==null||A>_.length)&&(A=_.length);for(var E=0,C=Array(A);E<A;E++)C[E]=_[E];return C}s(l,"_arrayLikeToArray");function u(_,A){var E=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(E!=null){var C,T,k,B,W=[],z=!0,R=!1;try{if(k=(E=E.call(_)).next,A===0){if(Object(E)!==E)return;z=!1}else for(;!(z=(C=k.call(E)).done)&&(W.push(C.value),W.length!==A);z=!0);}catch(L){R=!0,T=L}finally{try{if(!z&&E.return!=null&&(B=E.return(),Object(B)!==B))return}finally{if(R)throw T}}return W}}s(u,"_iterableToArrayLimit");function c(_){if(Array.isArray(_))return _}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(D=0;D<d.length;D++)if(h=d[D],f=r.default.get(h),m=[],f){for(y=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<y.length;v++)b=y[v],b.module==="HTML"&&(g=b.concept,g!=null&&m.push(g));m.length>0&&p.push([h,m])}var h,f,m,y,b,g,v,D,S={entries:s(function(){return p},"entries"),forEach:s(function(_){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,C=p;E<C.length;E++){var T=a(C[E],2),k=T[0],B=T[1];_.call(A,B,k,p)}},"forEach"),get:s(function(_){var A=p.filter(function(E){return E[0]===_})[0];return A&&A[1]},"get"),has:s(function(_){return!!S.get(_)},"has"),keys:s(function(){return p.map(function(_){var A=a(_,1),E=A[0];return E})},"keys"),values:s(function(){return p.map(function(_){var A=a(_,2),E=A[1];return E})},"values")};e.default=(0,t.default)(S,S.entries())}),RE=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(UN()),r=i(VN()),n=i(ch()),a=i(Sj()),o=i(_j());function i(l){return l&&l.__esModule?l:{default:l}}s(i,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=a.default,e.roleElements=o.default}),Tj=O((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),FE=O((e,t)=>{var r=Tj(),n={};for(let i of Object.keys(r))n[r[i]]=i;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let i of Object.keys(a)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=a[i];delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:l}),Object.defineProperty(a[i],"labels",{value:u})}a.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(l,u,c),d=Math.max(l,u,c),h=d-p,f,m;d===p?f=0:l===d?f=(u-c)/h:u===d?f=2+(c-l)/h:c===d&&(f=4+(l-u)/h),f=Math.min(f*60,360),f<0&&(f+=360);let y=(p+d)/2;return d===p?m=0:y<=.5?m=h/(d+p):m=h/(2-d-p),[f,m*100,y*100]},a.rgb.hsv=function(i){let l,u,c,p,d,h=i[0]/255,f=i[1]/255,m=i[2]/255,y=Math.max(h,f,m),b=y-Math.min(h,f,m),g=s(function(v){return(y-v)/6/b+1/2},"diffc");return b===0?(p=0,d=0):(d=b/y,l=g(h),u=g(f),c=g(m),h===y?p=c-u:f===y?p=1/3+l-c:m===y&&(p=2/3+u-l),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,y*100]},a.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],p=a.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[p,d*100,c*100]},a.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(1-l,1-u,1-c),d=(1-l-p)/(1-p)||0,h=(1-u-p)/(1-p)||0,f=(1-c-p)/(1-p)||0;return[d*100,h*100,f*100,p*100]};function o(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}s(o,"comparativeDistance"),a.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let p of Object.keys(r)){let d=r[p],h=o(i,d);h<u&&(u=h,c=p)}return c},a.keyword.rgb=function(i){return r[i]},a.rgb.xyz=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let p=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[p*100,d*100,h*100]},a.rgb.lab=function(i){let l=a.rgb.xyz(i),u=l[0],c=l[1],p=l[2];u/=95.047,c/=100,p/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let d=116*c-16,h=500*(u-c),f=200*(c-p);return[d,h,f]},a.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p,d,h;if(u===0)return h=c*255,[h,h,h];c<.5?p=c*(1+u):p=c+u-c*u;let f=2*c-p,m=[0,0,0];for(let y=0;y<3;y++)d=l+1/3*-(y-1),d<0&&d++,d>1&&d--,6*d<1?h=f+(p-f)*6*d:2*d<1?h=p:3*d<2?h=f+(p-f)*(2/3-d)*6:h=f,m[y]=h*255;return m},a.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,p*=d<=1?d:2-d;let h=(c+u)/2,f=c===0?2*p/(d+p):2*u/(c+u);return[l,f*100,h*100]},a.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,p=Math.floor(l)%6,d=l-Math.floor(l),h=255*c*(1-u),f=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,p){case 0:return[c,m,h];case 1:return[f,c,h];case 2:return[h,c,m];case 3:return[h,f,c];case 4:return[m,h,c];case 5:return[c,h,f]}},a.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=Math.max(c,.01),d,h;h=(2-u)*c;let f=(2-u)*p;return d=u*p,d/=f<=1?f:2-f,d=d||0,h/=2,[l,d*100,h*100]},a.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p=u+c,d;p>1&&(u/=p,c/=p);let h=Math.floor(6*l),f=1-c;d=6*l-h,(h&1)!==0&&(d=1-d);let m=u+d*(f-u),y,b,g;switch(h){default:case 6:case 0:y=f,b=m,g=u;break;case 1:y=m,b=f,g=u;break;case 2:y=u,b=f,g=m;break;case 3:y=u,b=m,g=f;break;case 4:y=m,b=u,g=f;break;case 5:y=f,b=u,g=m;break}return[y*255,b*255,g*255]},a.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p=i[3]/100,d=1-Math.min(1,l*(1-p)+p),h=1-Math.min(1,u*(1-p)+p),f=1-Math.min(1,c*(1-p)+p);return[d*255,h*255,f*255]},a.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p,d,h;return p=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),h=Math.min(Math.max(0,h),1),[p*255,d*255,h*255]},a.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*u-16,d=500*(l-u),h=200*(u-c);return[p,d,h]},a.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],p,d,h;d=(l+16)/116,p=u/500+d,h=d-c/200;let f=d**3,m=p**3,y=h**3;return d=f>.008856?f:(d-16/116)/7.787,p=m>.008856?m:(p-16/116)/7.787,h=y>.008856?y:(h-16/116)/7.787,p*=95.047,d*=100,h*=108.883,[p,d,h]},a.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],p;p=Math.atan2(c,u)*360/2/Math.PI,p<0&&(p+=360);let d=Math.sqrt(u*u+c*c);return[l,d,p]},a.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,p=u*Math.cos(c),d=u*Math.sin(c);return[l,p,d]},a.rgb.ansi16=function(i,l=null){let[u,c,p]=i,d=l===null?a.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let h=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(h+=60),h},a.hsv.ansi16=function(i){return a.rgb.ansi16(a.hsv.rgb(i),i[2])},a.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,p=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,p,d]},a.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,p=l%6/5*255;return[u,c,p]},a.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),p=c>>16&255,d=c>>8&255,h=c&255;return[p,d,h]},a.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),h=p-d,f,m;return h<1?f=d/(1-h):f=0,h<=0?m=0:p===l?m=(u-c)/h%6:p===u?m=2+(c-l)/h:m=4+(l-u)/h,m/=6,m%=1,[m*360,h*100,f*100]},a.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),p=0;return c<1&&(p=(u-.5*c)/(1-c)),[i[0],c*100,p*100]},a.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return[c*255,c*255,c*255];let p=[0,0,0],d=l%1*6,h=d%1,f=1-h,m=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=h,p[2]=0;break;case 1:p[0]=f,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=h;break;case 3:p[0]=0,p[1]=f,p[2]=1;break;case 4:p[0]=h,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=f}return m=(1-u)*c,[(u*p[0]+m)*255,(u*p[1]+m)*255,(u*p[2]+m)*255]},a.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),p=0;return c>0&&(p=l/c),[i[0],p*100,c*100]},a.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},a.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return[i[0],(c-l)*100,(1-c)*100]},a.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},a.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},a.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},a.gray.hsl=function(i){return[0,0,i[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(i){return[0,100,i[0]]},a.gray.cmyk=function(i){return[0,0,0,i[0]]},a.gray.lab=function(i){return[i[0],0,0]},a.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}),Pj=O((e,t)=>{var r=FE();function n(){let l={},u=Object.keys(r);for(let c=u.length,p=0;p<c;p++)l[u[p]]={distance:-1,parent:null};return l}s(n,"buildGraph");function a(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let p=c.pop(),d=Object.keys(r[p]);for(let h=d.length,f=0;f<h;f++){let m=d[f],y=u[m];y.distance===-1&&(y.distance=u[p].distance+1,y.parent=p,c.unshift(m))}}return u}s(a,"deriveBFS");function o(l,u){return function(c){return u(l(c))}}s(o,"link");function i(l,u){let c=[u[l].parent,l],p=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),p=o(r[u[d].parent][d],p),d=u[d].parent;return p.conversion=c,p}s(i,"wrapConversion"),t.exports=function(l){let u=a(l),c={},p=Object.keys(u);for(let d=p.length,h=0;h<d;h++){let f=p[h];u[f].parent!==null&&(c[f]=i(f,u))}return c}}),Dj=O((e,t)=>{var r=FE(),n=Pj(),a={},o=Object.keys(r);function i(u){let c=s(function(...p){let d=p[0];return d==null?d:(d.length>1&&(p=d),u(p))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(i,"wrapRaw");function l(u){let c=s(function(...p){let d=p[0];if(d==null)return d;d.length>1&&(p=d);let h=u(p);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(l,"wrapRounded"),o.forEach(u=>{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(p=>{let d=c[p];a[u][p]=l(d),a[u][p].raw=i(d)})}),t.exports=a}),Oj=O((e,t)=>{var r=s((d,h)=>(...f)=>`\x1B[${d(...f)+h}m`,"wrapAnsi16"),n=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),a=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),o=s(d=>d,"ansi2ansi"),i=s((d,h,f)=>[d,h,f],"rgb2rgb"),l=s((d,h,f)=>{Object.defineProperty(d,h,{get:s(()=>{let m=f();return Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=s((d,h,f,m)=>{u===void 0&&(u=Dj());let y=m?10:0,b={};for(let[g,v]of Object.entries(u)){let D=g==="ansi16"?"ansi":g;g===h?b[D]=d(f,y):typeof v=="object"&&(b[D]=d(v[h],y))}return b},"makeDynamicStyles");function p(){let d=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[y,b]of Object.entries(m))h[y]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},m[y]=h[y],d.set(b[0],b[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:d,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",o,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",o,!1)),l(h.color,"ansi16m",()=>c(a,"rgb",i,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),l(h.bgColor,"ansi16m",()=>c(a,"rgb",i,!0)),h}s(p,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:p})}),Rj=O((e,t)=>{t.exports={stdout:!1,stderr:!1}}),Fj=O((e,t)=>{var r=s((a,o,i)=>{let l=a.indexOf(o);if(l===-1)return a;let u=o.length,c=0,p="";do p+=a.substr(c,l-c)+o+i,c=l+u,l=a.indexOf(o,c);while(l!==-1);return p+=a.substr(c),p},"stringReplaceAll"),n=s((a,o,i,l)=>{let u=0,c="";do{let p=a[l-1]==="\r";c+=a.substr(u,(p?l-1:l)-u)+o+(p?`\r
|
|
9
|
+
`:`
|
|
10
|
+
`)+i,u=l+1,l=a.indexOf(`
|
|
11
|
+
`,u)}while(l!==-1);return c+=a.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),Ij=O((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
12
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let h=d[0]==="u",f=d[1]==="{";return h&&!f&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):h&&f?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}s(l,"unescape");function u(d,h){let f=[],m=h.trim().split(/\s*,\s*/g),y;for(let b of m){let g=Number(b);if(!Number.isNaN(g))f.push(g);else if(y=b.match(a))f.push(y[2].replace(o,(v,D,S)=>D?l(D):S));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${d}')`)}return f}s(u,"parseArguments");function c(d){n.lastIndex=0;let h=[],f;for(;(f=n.exec(d))!==null;){let m=f[1];if(f[2]){let y=u(m,f[2]);h.push([m].concat(y))}else h.push([m])}return h}s(c,"parseStyle");function p(d,h){let f={};for(let y of h)for(let b of y.styles)f[b[0]]=y.inverse?null:b.slice(1);let m=d;for(let[y,b]of Object.entries(f))if(Array.isArray(b)){if(!(y in m))throw new Error(`Unknown Chalk style: ${y}`);m=b.length>0?m[y](...b):m[y]}return m}s(p,"buildStyle"),t.exports=(d,h)=>{let f=[],m=[],y=[];if(h.replace(r,(b,g,v,D,S,_)=>{if(g)y.push(l(g));else if(D){let A=y.join("");y=[],m.push(f.length===0?A:p(d,f)(A)),f.push({inverse:v,styles:c(D)})}else if(S){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(p(d,f)(y.join(""))),y=[],f.pop()}else y.push(_)}),m.push(y.join("")),f.length>0){let b=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return m.join("")}}),IE=O((e,t)=>{var r=Oj(),{stdout:n,stderr:a}=Rj(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:i}=Fj(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=s((A,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;A.level=E.level===void 0?C:E.level},"applyOptions"),p=class{constructor(E){return h(E)}};s(p,"ChalkClass");var d=p,h=s(A=>{let E={};return c(E,A),E.template=(...C)=>S(E.template,...C),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=d,E.template},"chalkFactory");function f(A){return h(A)}s(f,"Chalk");for(let[A,E]of Object.entries(r))u[A]={get(){let C=g(this,b(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,A,{value:C}),C}};u.visible={get(){let A=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:A}),A}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let A of m)u[A]={get(){let{level:E}=this;return function(...C){let T=b(r.color[l[E]][A](...C),r.color.close,this._styler);return g(this,T,this._isEmpty)}}};for(let A of m){let E="bg"+A[0].toUpperCase()+A.slice(1);u[E]={get(){let{level:C}=this;return function(...T){let k=b(r.bgColor[l[C]][A](...T),r.bgColor.close,this._styler);return g(this,k,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(A){this._generator.level=A}}}),b=s((A,E,C)=>{let T,k;return C===void 0?(T=A,k=E):(T=C.openAll+A,k=E+C.closeAll),{open:A,close:E,openAll:T,closeAll:k,parent:C}},"createStyler"),g=s((A,E,C)=>{let T=s((...k)=>v(T,k.length===1?""+k[0]:k.join(" ")),"builder");return T.__proto__=y,T._generator=A,T._styler=E,T._isEmpty=C,T},"createBuilder"),v=s((A,E)=>{if(A.level<=0||!E)return A._isEmpty?"":E;let C=A._styler;if(C===void 0)return E;let{openAll:T,closeAll:k}=C;if(E.indexOf("\x1B")!==-1)for(;C!==void 0;)E=o(E,C.close,C.open),C=C.parent;let B=E.indexOf(`
|
|
13
|
+
`);return B!==-1&&(E=i(E,k,T,B)),T+E+k},"applyStyle"),D,S=s((A,...E)=>{let[C]=E;if(!Array.isArray(C))return E.join(" ");let T=E.slice(1),k=[C.raw[0]];for(let B=1;B<C.length;B++)k.push(String(T[B-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[B]));return D===void 0&&(D=Ij()),D(A,k.join(""))},"chalkTag");Object.defineProperties(f.prototype,u);var _=f();_.supportsColor=n,_.stderr=f({level:a?a.level:0}),_.stderr.supportsColor=a,_.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=_}),Nj=O((e,t)=>{function r(){this.__data__=[],this.size=0}s(r,"listCacheClear"),t.exports=r}),NE=O((e,t)=>{function r(n,a){return n===a||n!==n&&a!==a}s(r,"eq"),t.exports=r}),su=O((e,t)=>{var r=NE();function n(a,o){for(var i=a.length;i--;)if(r(a[i][0],o))return i;return-1}s(n,"assocIndexOf"),t.exports=n}),kj=O((e,t)=>{var r=su(),n=Array.prototype,a=n.splice;function o(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():a.call(l,u,1),--this.size,!0}s(o,"listCacheDelete"),t.exports=o}),Bj=O((e,t)=>{var r=su();function n(a){var o=this.__data__,i=r(o,a);return i<0?void 0:o[i][1]}s(n,"listCacheGet"),t.exports=n}),jj=O((e,t)=>{var r=su();function n(a){return r(this.__data__,a)>-1}s(n,"listCacheHas"),t.exports=n}),qj=O((e,t)=>{var r=su();function n(a,o){var i=this.__data__,l=r(i,a);return l<0?(++this.size,i.push([a,o])):i[l][1]=o,this}s(n,"listCacheSet"),t.exports=n}),lu=O((e,t)=>{var r=Nj(),n=kj(),a=Bj(),o=jj(),i=qj();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),Mj=O((e,t)=>{var r=lu();function n(){this.__data__=new r,this.size=0}s(n,"stackClear"),t.exports=n}),Lj=O((e,t)=>{function r(n){var a=this.__data__,o=a.delete(n);return this.size=a.size,o}s(r,"stackDelete"),t.exports=r}),$j=O((e,t)=>{function r(n){return this.__data__.get(n)}s(r,"stackGet"),t.exports=r}),Uj=O((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"stackHas"),t.exports=r}),kE=O((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),En=O((e,t)=>{var r=kE(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}),ph=O((e,t)=>{var r=En(),n=r.Symbol;t.exports=n}),Vj=O((e,t)=>{var r=ph(),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,i=r?r.toStringTag:void 0;function l(u){var c=a.call(u,i),p=u[i];try{u[i]=void 0;var d=!0}catch{}var h=o.call(u);return d&&(c?u[i]=p:delete u[i]),h}s(l,"getRawTag"),t.exports=l}),Hj=O((e,t)=>{var r=Object.prototype,n=r.toString;function a(o){return n.call(o)}s(a,"objectToString"),t.exports=a}),uu=O((e,t)=>{var r=ph(),n=Vj(),a=Hj(),o="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?i:o:l&&l in Object(c)?n(c):a(c)}s(u,"baseGetTag"),t.exports=u}),BE=O((e,t)=>{function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}s(r,"isObject"),t.exports=r}),jE=O((e,t)=>{var r=uu(),n=BE(),a="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var p=r(c);return p==o||p==i||p==a||p==l}s(u,"isFunction"),t.exports=u}),Jj=O((e,t)=>{var r=En(),n=r["__core-js_shared__"];t.exports=n}),zj=O((e,t)=>{var r=Jj(),n=(function(){var o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})();function a(o){return!!n&&n in o}s(a,"isMasked"),t.exports=a}),qE=O((e,t)=>{var r=Function.prototype,n=r.toString;function a(o){if(o!=null){try{return n.call(o)}catch{}try{return o+""}catch{}}return""}s(a,"toSource"),t.exports=a}),Gj=O((e,t)=>{var r=jE(),n=zj(),a=BE(),o=qE(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,d=c.hasOwnProperty,h=RegExp("^"+p.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!a(m)||n(m))return!1;var y=r(m)?h:l;return y.test(o(m))}s(f,"baseIsNative"),t.exports=f}),Wj=O((e,t)=>{function r(n,a){return n?.[a]}s(r,"getValue"),t.exports=r}),Ro=O((e,t)=>{var r=Gj(),n=Wj();function a(o,i){var l=n(o,i);return r(l)?l:void 0}s(a,"getNative"),t.exports=a}),dh=O((e,t)=>{var r=Ro(),n=En(),a=r(n,"Map");t.exports=a}),cu=O((e,t)=>{var r=Ro(),n=r(Object,"create");t.exports=n}),Kj=O((e,t)=>{var r=cu();function n(){this.__data__=r?r(null):{},this.size=0}s(n,"hashClear"),t.exports=n}),Yj=O((e,t)=>{function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}s(r,"hashDelete"),t.exports=r}),Xj=O((e,t)=>{var r=cu(),n="__lodash_hash_undefined__",a=Object.prototype,o=a.hasOwnProperty;function i(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return o.call(u,l)?u[l]:void 0}s(i,"hashGet"),t.exports=i}),Qj=O((e,t)=>{var r=cu(),n=Object.prototype,a=n.hasOwnProperty;function o(i){var l=this.__data__;return r?l[i]!==void 0:a.call(l,i)}s(o,"hashHas"),t.exports=o}),Zj=O((e,t)=>{var r=cu(),n="__lodash_hash_undefined__";function a(o,i){var l=this.__data__;return this.size+=this.has(o)?0:1,l[o]=r&&i===void 0?n:i,this}s(a,"hashSet"),t.exports=a}),eq=O((e,t)=>{var r=Kj(),n=Yj(),a=Xj(),o=Qj(),i=Zj();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),tq=O((e,t)=>{var r=eq(),n=lu(),a=dh();function o(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}s(o,"mapCacheClear"),t.exports=o}),rq=O((e,t)=>{function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}s(r,"isKeyable"),t.exports=r}),pu=O((e,t)=>{var r=rq();function n(a,o){var i=a.__data__;return r(o)?i[typeof o=="string"?"string":"hash"]:i.map}s(n,"getMapData"),t.exports=n}),nq=O((e,t)=>{var r=pu();function n(a){var o=r(this,a).delete(a);return this.size-=o?1:0,o}s(n,"mapCacheDelete"),t.exports=n}),aq=O((e,t)=>{var r=pu();function n(a){return r(this,a).get(a)}s(n,"mapCacheGet"),t.exports=n}),oq=O((e,t)=>{var r=pu();function n(a){return r(this,a).has(a)}s(n,"mapCacheHas"),t.exports=n}),iq=O((e,t)=>{var r=pu();function n(a,o){var i=r(this,a),l=i.size;return i.set(a,o),this.size+=i.size==l?0:1,this}s(n,"mapCacheSet"),t.exports=n}),ME=O((e,t)=>{var r=tq(),n=nq(),a=aq(),o=oq(),i=iq();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),sq=O((e,t)=>{var r=lu(),n=dh(),a=ME(),o=200;function i(l,u){var c=this.__data__;if(c instanceof r){var p=c.__data__;if(!n||p.length<o-1)return p.push([l,u]),this.size=++c.size,this;c=this.__data__=new a(p)}return c.set(l,u),this.size=c.size,this}s(i,"stackSet"),t.exports=i}),lq=O((e,t)=>{var r=lu(),n=Mj(),a=Lj(),o=$j(),i=Uj(),l=sq();function u(c){var p=this.__data__=new r(c);this.size=p.size}s(u,"Stack"),u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=i,u.prototype.set=l,t.exports=u}),uq=O((e,t)=>{var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}s(n,"setCacheAdd"),t.exports=n}),cq=O((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"setCacheHas"),t.exports=r}),pq=O((e,t)=>{var r=ME(),n=uq(),a=cq();function o(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}s(o,"SetCache"),o.prototype.add=o.prototype.push=n,o.prototype.has=a,t.exports=o}),dq=O((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length;++o<i;)if(a(n[o],o,n))return!0;return!1}s(r,"arraySome"),t.exports=r}),fq=O((e,t)=>{function r(n,a){return n.has(a)}s(r,"cacheHas"),t.exports=r}),LE=O((e,t)=>{var r=pq(),n=dq(),a=fq(),o=1,i=2;function l(u,c,p,d,h,f){var m=p&o,y=u.length,b=c.length;if(y!=b&&!(m&&b>y))return!1;var g=f.get(u),v=f.get(c);if(g&&v)return g==c&&v==u;var D=-1,S=!0,_=p&i?new r:void 0;for(f.set(u,c),f.set(c,u);++D<y;){var A=u[D],E=c[D];if(d)var C=m?d(E,A,D,c,u,f):d(A,E,D,u,c,f);if(C!==void 0){if(C)continue;S=!1;break}if(_){if(!n(c,function(T,k){if(!a(_,k)&&(A===T||h(A,T,p,d,f)))return _.push(k)})){S=!1;break}}else if(!(A===E||h(A,E,p,d,f))){S=!1;break}}return f.delete(u),f.delete(c),S}s(l,"equalArrays"),t.exports=l}),hq=O((e,t)=>{var r=En(),n=r.Uint8Array;t.exports=n}),mq=O((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i,l){o[++a]=[l,i]}),o}s(r,"mapToArray"),t.exports=r}),yq=O((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i){o[++a]=i}),o}s(r,"setToArray"),t.exports=r}),gq=O((e,t)=>{var r=ph(),n=hq(),a=NE(),o=LE(),i=mq(),l=yq(),u=1,c=2,p="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",y="[object RegExp]",b="[object Set]",g="[object String]",v="[object Symbol]",D="[object ArrayBuffer]",S="[object DataView]",_=r?r.prototype:void 0,A=_?_.valueOf:void 0;function E(C,T,k,B,W,z,R){switch(k){case S:if(C.byteLength!=T.byteLength||C.byteOffset!=T.byteOffset)return!1;C=C.buffer,T=T.buffer;case D:return!(C.byteLength!=T.byteLength||!z(new n(C),new n(T)));case p:case d:case m:return a(+C,+T);case h:return C.name==T.name&&C.message==T.message;case y:case g:return C==T+"";case f:var L=i;case b:var j=B&u;if(L||(L=l),C.size!=T.size&&!j)return!1;var X=R.get(C);if(X)return X==T;B|=c,R.set(C,T);var Q=o(L(C),L(T),B,W,z,R);return R.delete(C),Q;case v:if(A)return A.call(C)==A.call(T)}return!1}s(E,"equalByTag"),t.exports=E}),bq=O((e,t)=>{function r(n,a){for(var o=-1,i=a.length,l=n.length;++o<i;)n[l+o]=a[o];return n}s(r,"arrayPush"),t.exports=r}),fh=O((e,t)=>{var r=Array.isArray;t.exports=r}),vq=O((e,t)=>{var r=bq(),n=fh();function a(o,i,l){var u=i(o);return n(o)?u:r(u,l(o))}s(a,"baseGetAllKeys"),t.exports=a}),Eq=O((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length,l=0,u=[];++o<i;){var c=n[o];a(c,o,n)&&(u[l++]=c)}return u}s(r,"arrayFilter"),t.exports=r}),Cq=O((e,t)=>{function r(){return[]}s(r,"stubArray"),t.exports=r}),wq=O((e,t)=>{var r=Eq(),n=Cq(),a=Object.prototype,o=a.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(c){return o.call(u,c)}))}:n;t.exports=l}),Aq=O((e,t)=>{function r(n,a){for(var o=-1,i=Array(n);++o<n;)i[o]=a(o);return i}s(r,"baseTimes"),t.exports=r}),du=O((e,t)=>{function r(n){return n!=null&&typeof n=="object"}s(r,"isObjectLike"),t.exports=r}),xq=O((e,t)=>{var r=uu(),n=du(),a="[object Arguments]";function o(i){return n(i)&&r(i)==a}s(o,"baseIsArguments"),t.exports=o}),Sq=O((e,t)=>{var r=xq(),n=du(),a=Object.prototype,o=a.hasOwnProperty,i=a.propertyIsEnumerable,l=r((function(){return arguments})())?r:function(u){return n(u)&&o.call(u,"callee")&&!i.call(u,"callee")};t.exports=l}),_q=O((e,t)=>{function r(){return!1}s(r,"stubFalse"),t.exports=r}),$E=O((e,t)=>{var r=En(),n=_q(),a=typeof e=="object"&&e&&!e.nodeType&&e,o=a&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===a,l=i?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}),Tq=O((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(o,i){var l=typeof o;return i=i??r,!!i&&(l=="number"||l!="symbol"&&n.test(o))&&o>-1&&o%1==0&&o<i}s(a,"isIndex"),t.exports=a}),UE=O((e,t)=>{var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}s(n,"isLength"),t.exports=n}),Pq=O((e,t)=>{var r=uu(),n=UE(),a=du(),o="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",y="[object Set]",b="[object String]",g="[object WeakMap]",v="[object ArrayBuffer]",D="[object DataView]",S="[object Float32Array]",_="[object Float64Array]",A="[object Int8Array]",E="[object Int16Array]",C="[object Int32Array]",T="[object Uint8Array]",k="[object Uint8ClampedArray]",B="[object Uint16Array]",W="[object Uint32Array]",z={};z[S]=z[_]=z[A]=z[E]=z[C]=z[T]=z[k]=z[B]=z[W]=!0,z[o]=z[i]=z[v]=z[l]=z[D]=z[u]=z[c]=z[p]=z[d]=z[h]=z[f]=z[m]=z[y]=z[b]=z[g]=!1;function R(L){return a(L)&&n(L.length)&&!!z[r(L)]}s(R,"baseIsTypedArray"),t.exports=R}),Dq=O((e,t)=>{function r(n){return function(a){return n(a)}}s(r,"baseUnary"),t.exports=r}),Oq=O((e,t)=>{var r=kE(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,i=o&&r.process,l=(function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}})();t.exports=l}),VE=O((e,t)=>{var r=Pq(),n=Dq(),a=Oq(),o=a&&a.isTypedArray,i=o?n(o):r;t.exports=i}),Rq=O((e,t)=>{var r=Aq(),n=Sq(),a=fh(),o=$E(),i=Tq(),l=VE(),u=Object.prototype,c=u.hasOwnProperty;function p(d,h){var f=a(d),m=!f&&n(d),y=!f&&!m&&o(d),b=!f&&!m&&!y&&l(d),g=f||m||y||b,v=g?r(d.length,String):[],D=v.length;for(var S in d)(h||c.call(d,S))&&!(g&&(S=="length"||y&&(S=="offset"||S=="parent")||b&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||i(S,D)))&&v.push(S);return v}s(p,"arrayLikeKeys"),t.exports=p}),Fq=O((e,t)=>{var r=Object.prototype;function n(a){var o=a&&a.constructor,i=typeof o=="function"&&o.prototype||r;return a===i}s(n,"isPrototype"),t.exports=n}),Iq=O((e,t)=>{function r(n,a){return function(o){return n(a(o))}}s(r,"overArg"),t.exports=r}),Nq=O((e,t)=>{var r=Iq(),n=r(Object.keys,Object);t.exports=n}),kq=O((e,t)=>{var r=Fq(),n=Nq(),a=Object.prototype,o=a.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))o.call(l,c)&&c!="constructor"&&u.push(c);return u}s(i,"baseKeys"),t.exports=i}),Bq=O((e,t)=>{var r=jE(),n=UE();function a(o){return o!=null&&n(o.length)&&!r(o)}s(a,"isArrayLike"),t.exports=a}),jq=O((e,t)=>{var r=Rq(),n=kq(),a=Bq();function o(i){return a(i)?r(i):n(i)}s(o,"keys"),t.exports=o}),qq=O((e,t)=>{var r=vq(),n=wq(),a=jq();function o(i){return r(i,a,n)}s(o,"getAllKeys"),t.exports=o}),Mq=O((e,t)=>{var r=qq(),n=1,a=Object.prototype,o=a.hasOwnProperty;function i(l,u,c,p,d,h){var f=c&n,m=r(l),y=m.length,b=r(u),g=b.length;if(y!=g&&!f)return!1;for(var v=y;v--;){var D=m[v];if(!(f?D in u:o.call(u,D)))return!1}var S=h.get(l),_=h.get(u);if(S&&_)return S==u&&_==l;var A=!0;h.set(l,u),h.set(u,l);for(var E=f;++v<y;){D=m[v];var C=l[D],T=u[D];if(p)var k=f?p(T,C,D,u,l,h):p(C,T,D,l,u,h);if(!(k===void 0?C===T||d(C,T,c,p,h):k)){A=!1;break}E||(E=D=="constructor")}if(A&&!E){var B=l.constructor,W=u.constructor;B!=W&&"constructor"in l&&"constructor"in u&&!(typeof B=="function"&&B instanceof B&&typeof W=="function"&&W instanceof W)&&(A=!1)}return h.delete(l),h.delete(u),A}s(i,"equalObjects"),t.exports=i}),Lq=O((e,t)=>{var r=Ro(),n=En(),a=r(n,"DataView");t.exports=a}),$q=O((e,t)=>{var r=Ro(),n=En(),a=r(n,"Promise");t.exports=a}),Uq=O((e,t)=>{var r=Ro(),n=En(),a=r(n,"Set");t.exports=a}),Vq=O((e,t)=>{var r=Ro(),n=En(),a=r(n,"WeakMap");t.exports=a}),Hq=O((e,t)=>{var r=Lq(),n=dh(),a=$q(),o=Uq(),i=Vq(),l=uu(),u=qE(),c="[object Map]",p="[object Object]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",y=u(r),b=u(n),g=u(a),v=u(o),D=u(i),S=l;(r&&S(new r(new ArrayBuffer(1)))!=m||n&&S(new n)!=c||a&&S(a.resolve())!=d||o&&S(new o)!=h||i&&S(new i)!=f)&&(S=s(function(_){var A=l(_),E=A==p?_.constructor:void 0,C=E?u(E):"";if(C)switch(C){case y:return m;case b:return c;case g:return d;case v:return h;case D:return f}return A},"getTag")),t.exports=S}),Jq=O((e,t)=>{var r=lq(),n=LE(),a=gq(),o=Mq(),i=Hq(),l=fh(),u=$E(),c=VE(),p=1,d="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,y=m.hasOwnProperty;function b(g,v,D,S,_,A){var E=l(g),C=l(v),T=E?h:i(g),k=C?h:i(v);T=T==d?f:T,k=k==d?f:k;var B=T==f,W=k==f,z=T==k;if(z&&u(g)){if(!u(v))return!1;E=!0,B=!1}if(z&&!B)return A||(A=new r),E||c(g)?n(g,v,D,S,_,A):a(g,v,T,D,S,_,A);if(!(D&p)){var R=B&&y.call(g,"__wrapped__"),L=W&&y.call(v,"__wrapped__");if(R||L){var j=R?g.value():g,X=L?v.value():v;return A||(A=new r),_(j,X,D,S,A)}}return z?(A||(A=new r),o(g,v,D,S,_,A)):!1}s(b,"baseIsEqualDeep"),t.exports=b}),zq=O((e,t)=>{var r=Jq(),n=du();function a(o,i,l,u,c){return o===i?!0:o==null||i==null||!n(o)&&!n(i)?o!==o&&i!==i:r(o,i,l,u,a,c)}s(a,"baseIsEqual"),t.exports=a}),HE=O((e,t)=>{var r=zq();function n(a,o,i){i=typeof i=="function"?i:void 0;var l=i?i(a,o):void 0;return l===void 0?r(a,o,void 0,i):!!l}s(n,"isEqualWith"),t.exports=n}),JE=O((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=s(function(a){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(a),i=o.length,l=-1,u,c="",p=o.charCodeAt(0);++l<i;){if(u=o.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&p==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+o.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(l);continue}c+="\\"+o.charAt(l)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),zE=O((e,t)=>{var r=s((o=0)=>i=>`\x1B[${38+o};5;${i}m`,"wrapAnsi256"),n=s((o=0)=>(i,l,u)=>`\x1B[${38+o};2;${i};${l};${u}m`,"wrapAnsi16m");function a(){let o=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,p]of Object.entries(u))i[c]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},u[c]=i[c],o.set(p[0],p[1]);Object.defineProperty(i,l,{value:u,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:s((l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:s(l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let p=Number.parseInt(c,16);return[p>>16&255,p>>8&255,p&255]},"value"),enumerable:!1},hexToAnsi256:{value:s(l=>i.rgbToAnsi256(...i.hexToRgb(l)),"value"),enumerable:!1}}),i}s(a,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:a})}),fu=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=s((i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c)}),u},"getKeysOfEnumerableProperties");function r(i,l,u,c,p,d,h=": "){let f="",m=i.next();if(!m.done){f+=l.spacingOuter;let y=u+l.indent;for(;!m.done;){let b=d(m.value[0],l,y,c,p),g=d(m.value[1],l,y,c,p);f+=y+b+h+g,m=i.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}s(r,"printIteratorEntries");function n(i,l,u,c,p,d){let h="",f=i.next();if(!f.done){h+=l.spacingOuter;let m=u+l.indent;for(;!f.done;)h+=m+d(f.value,l,m,c,p),f=i.next(),f.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}s(n,"printIteratorValues");function a(i,l,u,c,p,d){let h="";if(i.length){h+=l.spacingOuter;let f=u+l.indent;for(let m=0;m<i.length;m++)h+=f,m in i&&(h+=d(i[m],l,f,c,p)),m<i.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}s(a,"printListItems");function o(i,l,u,c,p,d){let h="",f=t(i,l.compareKeys);if(f.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<f.length;y++){let b=f[y],g=d(b,l,m,c,p),v=d(i[b],l,m,c,p);h+=m+g+": "+v,y<f.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}s(o,"printObjectProperties")}),Gq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fu(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=s((p,d,h,f,m,y)=>{let b=p.toString();return b==="ArrayContaining"||b==="ArrayNotContaining"?++f>d.maxDepth?"["+b+"]":b+o+"["+(0,t.printListItems)(p.sample,d,h,f,m,y)+"]":b==="ObjectContaining"||b==="ObjectNotContaining"?++f>d.maxDepth?"["+b+"]":b+o+"{"+(0,t.printObjectProperties)(p.sample,d,h,f,m,y)+"}":b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining"?b+o+y(p.sample,d,h,f,m):p.toAsymmetricMatcher()},"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),Wq=O((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),Kq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Wq()),r=n(zE());function n(c){return c&&c.__esModule?c:{default:c}}s(n,"_interopRequireDefault");var a=s(c=>c.replace((0,t.default)(),p=>{switch(p){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),o=s(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=o;var i=s((c,p,d,h,f,m)=>m(a(c),p,d,h,f),"serialize");e.serialize=i;var l={serialize:i,test:o},u=l;e.default=u}),Yq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fu(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=s(d=>n.indexOf(d)!==-1||a.test(d),"testName"),i=s(d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name),"test");e.test=i;var l=s(d=>d.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=s((d,h,f,m,y,b)=>{let g=d.constructor.name;return++m>h.maxDepth?"["+g+"]":(h.min?"":g+r)+(n.indexOf(g)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,D)=>(v[D.name]=D.value,v),{}):{...d},h,f,m,y,b)+"}":"["+(0,t.printListItems)(Array.from(d),h,f,m,y,b)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:i},p=c;e.default=p}),Xq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}s(t,"escapeHTML")}),hh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Xq());function r(c){return c&&c.__esModule?c:{default:c}}s(r,"_interopRequireDefault");var n=s((c,p,d,h,f,m,y)=>{let b=h+d.indent,g=d.colors;return c.map(v=>{let D=p[v],S=y(D,d,b,f,m);return typeof D!="string"&&(S.indexOf(`
|
|
14
|
+
`)!==-1&&(S=d.spacingOuter+b+S+d.spacingOuter+h),S="{"+S+"}"),d.spacingInner+h+g.prop.open+v+g.prop.close+"="+g.value.open+S+g.value.close}).join("")},"printProps");e.printProps=n;var a=s((c,p,d,h,f,m)=>c.map(y=>p.spacingOuter+d+(typeof y=="string"?o(y,p):m(y,p,d,h,f))).join(""),"printChildren");e.printChildren=a;var o=s((c,p)=>{let d=p.colors.content;return d.open+(0,t.default)(c)+d.close},"printText");e.printText=o;var i=s((c,p)=>{let d=p.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close},"printComment");e.printComment=i;var l=s((c,p,d,h,f)=>{let m=h.colors.tag;return m.open+"<"+c+(p&&m.close+p+h.spacingOuter+f+m.open)+(d?">"+m.close+d+h.spacingOuter+f+m.open+"</"+c:(p&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=l;var u=s((c,p)=>{let d=p.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close},"printElementAsLeaf");e.printElementAsLeaf=u}),Qq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=hh(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,l=s(b=>{try{return typeof b.hasAttribute=="function"&&b.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=s(b=>{let g=b.constructor.name,{nodeType:v,tagName:D}=b,S=typeof D=="string"&&D.includes("-")||l(b);return v===r&&(i.test(g)||S)||v===n&&g==="Text"||v===a&&g==="Comment"||v===o&&g==="DocumentFragment"},"testNode"),c=s(b=>{var g;return(b==null||(g=b.constructor)===null||g===void 0?void 0:g.name)&&u(b)},"test");e.test=c;function p(b){return b.nodeType===n}s(p,"nodeIsText");function d(b){return b.nodeType===a}s(d,"nodeIsComment");function h(b){return b.nodeType===o}s(h,"nodeIsFragment");var f=s((b,g,v,D,S,_)=>{if(p(b))return(0,t.printText)(b.data,g);if(d(b))return(0,t.printComment)(b.data,g);let A=h(b)?"DocumentFragment":b.tagName.toLowerCase();return++D>g.maxDepth?(0,t.printElementAsLeaf)(A,g):(0,t.printElement)(A,(0,t.printProps)(h(b)?[]:Array.from(b.attributes).map(E=>E.name).sort(),h(b)?{}:Array.from(b.attributes).reduce((E,C)=>(E[C.name]=C.value,E),{}),g,v+g.indent,D,S,_),(0,t.printChildren)(Array.prototype.slice.call(b.childNodes||b.children),g,v+g.indent,D,S,_),g,v)},"serialize");e.serialize=f;var m={serialize:f,test:c},y=m;e.default=y}),Zq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fu(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",d=s(C=>"Immutable."+C,"getImmutableName"),h=s(C=>"["+C+"]","printAsLeaf"),f=" ",m="…",y=s((C,T,k,B,W,z,R)=>++B>T.maxDepth?h(d(R)):d(R)+f+"{"+(0,t.printIteratorEntries)(C.entries(),T,k,B,W,z)+"}","printImmutableEntries");function b(C){let T=0;return{next(){if(T<C._keys.length){let k=C._keys[T++];return{done:!1,value:[k,C.get(k)]}}return{done:!0,value:void 0}}}}s(b,"getRecordEntries");var g=s((C,T,k,B,W,z)=>{let R=d(C._name||"Record");return++B>T.maxDepth?h(R):R+f+"{"+(0,t.printIteratorEntries)(b(C),T,k,B,W,z)+"}"},"printImmutableRecord"),v=s((C,T,k,B,W,z)=>{let R=d("Seq");return++B>T.maxDepth?h(R):C[a]?R+f+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),T,k,B,W,z):m)+"}":R+f+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),T,k,B,W,z):m)+"]"},"printImmutableSeq"),D=s((C,T,k,B,W,z,R)=>++B>T.maxDepth?h(d(R)):d(R)+f+"["+(0,t.printIteratorValues)(C.values(),T,k,B,W,z)+"]","printImmutableValues"),S=s((C,T,k,B,W,z)=>C[o]?y(C,T,k,B,W,z,C[i]?"OrderedMap":"Map"):C[n]?D(C,T,k,B,W,z,"List"):C[c]?D(C,T,k,B,W,z,C[i]?"OrderedSet":"Set"):C[p]?D(C,T,k,B,W,z,"Stack"):C[u]?v(C,T,k,B,W,z):g(C,T,k,B,W,z),"serialize");e.serialize=S;var _=s(C=>C&&(C[r]===!0||C[l]===!0),"test");e.test=_;var A={serialize:S,test:_},E=A;e.default=E}),eM=O(e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,l=60110,u=60112,c=60113,p=60120,d=60115,h=60116,f=60121,m=60122,y=60117,b=60129,g=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),a=v("react.strict_mode"),o=v("react.profiler"),i=v("react.provider"),l=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),p=v("react.suspense_list"),d=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),y=v("react.fundamental"),b=v("react.debug_trace_mode"),g=v("react.legacy_hidden"));var v;function D(R){if(typeof R=="object"&&R!==null){var L=R.$$typeof;switch(L){case t:switch(R=R.type,R){case n:case o:case a:case c:case p:return R;default:switch(R=R&&R.$$typeof,R){case l:case u:case h:case d:case i:return R;default:return L}}case r:return L}}}s(D,"y");var S=i,_=t,A=u,E=n,C=h,T=d,k=r,B=o,W=a,z=c;e.ContextConsumer=l,e.ContextProvider=S,e.Element=_,e.ForwardRef=A,e.Fragment=E,e.Lazy=C,e.Memo=T,e.Portal=k,e.Profiler=B,e.StrictMode=W,e.Suspense=z,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(R){return D(R)===l},e.isContextProvider=function(R){return D(R)===i},e.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},e.isForwardRef=function(R){return D(R)===u},e.isFragment=function(R){return D(R)===n},e.isLazy=function(R){return D(R)===h},e.isMemo=function(R){return D(R)===d},e.isPortal=function(R){return D(R)===r},e.isProfiler=function(R){return D(R)===o},e.isStrictMode=function(R){return D(R)===a},e.isSuspense=function(R){return D(R)===c},e.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===o||R===b||R===a||R===c||R===p||R===g||typeof R=="object"&&R!==null&&(R.$$typeof===h||R.$$typeof===d||R.$$typeof===i||R.$$typeof===l||R.$$typeof===u||R.$$typeof===y||R.$$typeof===f||R[0]===m)},e.typeOf=D}),tM=O((e,t)=>{t.exports=eM()}),rM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(tM()),r=hh();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=s(function(y){return y?m:f},"_getRequireWildcardCache"))(h)}s(n,"_getRequireWildcardCache");function a(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var y={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in h)if(g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)){var v=b?Object.getOwnPropertyDescriptor(h,g):null;v&&(v.get||v.set)?Object.defineProperty(y,g,v):y[g]=h[g]}return y.default=h,m&&m.set(h,y),y}s(a,"_interopRequireWildcard");var o=s((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{o(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),i=s(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),l=s(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),u=s((h,f,m,y,b,g)=>++y>f.maxDepth?(0,r.printElementAsLeaf)(i(h),f):(0,r.printElement)(i(h),(0,r.printProps)(l(h),h.props,f,m+f.indent,y,b,g),(0,r.printChildren)(o(h.props.children),f,m+f.indent,y,b,g),f,m),"serialize");e.serialize=u;var c=s(h=>h!=null&&t.isElement(h),"test");e.test=c;var p={serialize:u,test:c},d=p;e.default=d}),nM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=hh(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s(p=>{let{props:d}=p;return d?Object.keys(d).filter(h=>d[h]!==void 0).sort():[]},"getPropKeys"),i=s((p,d,h,f,m,y)=>++f>d.maxDepth?(0,t.printElementAsLeaf)(p.type,d):(0,t.printElement)(p.type,p.props?(0,t.printProps)(o(p),p.props,d,h+d.indent,f,m,y):"",p.children?(0,t.printChildren)(p.children,d,h+d.indent,f,m,y):"",d,h),"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),aM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=me,e.plugins=void 0;var t=p(zE()),r=fu(),n=p(Gq()),a=p(Kq()),o=p(Yq()),i=p(Qq()),l=p(Zq()),u=p(rM()),c=p(nM());function p(Z){return Z&&Z.__esModule?Z:{default:Z}}s(p,"_interopRequireDefault");var d=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,y=s(Z=>typeof Z.constructor=="function"&&Z.constructor.name||"Object","getConstructorName"),b=s(Z=>typeof window<"u"&&Z===window,"isWindow"),g=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,D=class extends Error{constructor(ce,ge){super(ce),this.stack=ge,this.name=this.constructor.name}};s(D,"PrettyFormatPluginError");var S=D;function _(Z){return Z==="[object Array]"||Z==="[object ArrayBuffer]"||Z==="[object DataView]"||Z==="[object Float32Array]"||Z==="[object Float64Array]"||Z==="[object Int8Array]"||Z==="[object Int16Array]"||Z==="[object Int32Array]"||Z==="[object Uint8Array]"||Z==="[object Uint8ClampedArray]"||Z==="[object Uint16Array]"||Z==="[object Uint32Array]"}s(_,"isToStringedArrayType");function A(Z){return Object.is(Z,-0)?"-0":String(Z)}s(A,"printNumber");function E(Z){return`${Z}n`}s(E,"printBigInt");function C(Z,ce){return ce?"[Function "+(Z.name||"anonymous")+"]":"[Function]"}s(C,"printFunction");function T(Z){return String(Z).replace(g,"Symbol($1)")}s(T,"printSymbol");function k(Z){return"["+f.call(Z)+"]"}s(k,"printError");function B(Z,ce,ge,be){if(Z===!0||Z===!1)return""+Z;if(Z===void 0)return"undefined";if(Z===null)return"null";let Ee=typeof Z;if(Ee==="number")return A(Z);if(Ee==="bigint")return E(Z);if(Ee==="string")return be?'"'+Z.replace(/"|\\/g,"\\$&")+'"':'"'+Z+'"';if(Ee==="function")return C(Z,ce);if(Ee==="symbol")return T(Z);let xe=d.call(Z);return xe==="[object WeakMap]"?"WeakMap {}":xe==="[object WeakSet]"?"WeakSet {}":xe==="[object Function]"||xe==="[object GeneratorFunction]"?C(Z,ce):xe==="[object Symbol]"?T(Z):xe==="[object Date]"?isNaN(+Z)?"Date { NaN }":h.call(Z):xe==="[object Error]"?k(Z):xe==="[object RegExp]"?ge?m.call(Z).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(Z):Z instanceof Error?k(Z):null}s(B,"printBasicValue");function W(Z,ce,ge,be,Ee,xe){if(Ee.indexOf(Z)!==-1)return"[Circular]";Ee=Ee.slice(),Ee.push(Z);let Se=++be>ce.maxDepth,ze=ce.min;if(ce.callToJSON&&!Se&&Z.toJSON&&typeof Z.toJSON=="function"&&!xe)return j(Z.toJSON(),ce,ge,be,Ee,!0);let st=d.call(Z);return st==="[object Arguments]"?Se?"[Arguments]":(ze?"":"Arguments ")+"["+(0,r.printListItems)(Z,ce,ge,be,Ee,j)+"]":_(st)?Se?"["+Z.constructor.name+"]":(ze||!ce.printBasicPrototype&&Z.constructor.name==="Array"?"":Z.constructor.name+" ")+"["+(0,r.printListItems)(Z,ce,ge,be,Ee,j)+"]":st==="[object Map]"?Se?"[Map]":"Map {"+(0,r.printIteratorEntries)(Z.entries(),ce,ge,be,Ee,j," => ")+"}":st==="[object Set]"?Se?"[Set]":"Set {"+(0,r.printIteratorValues)(Z.values(),ce,ge,be,Ee,j)+"}":Se||b(Z)?"["+y(Z)+"]":(ze||!ce.printBasicPrototype&&y(Z)==="Object"?"":y(Z)+" ")+"{"+(0,r.printObjectProperties)(Z,ce,ge,be,Ee,j)+"}"}s(W,"printComplexValue");function z(Z){return Z.serialize!=null}s(z,"isNewPlugin");function R(Z,ce,ge,be,Ee,xe){let Se;try{Se=z(Z)?Z.serialize(ce,ge,be,Ee,xe,j):Z.print(ce,ze=>j(ze,ge,be,Ee,xe),ze=>{let st=be+ge.indent;return st+ze.replace(v,`
|
|
15
|
+
`+st)},{edgeSpacing:ge.spacingOuter,min:ge.min,spacing:ge.spacingInner},ge.colors)}catch(ze){throw new S(ze.message,ze.stack)}if(typeof Se!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Se}".`);return Se}s(R,"printPlugin");function L(Z,ce){for(let ge=0;ge<Z.length;ge++)try{if(Z[ge].test(ce))return Z[ge]}catch(be){throw new S(be.message,be.stack)}return null}s(L,"findPlugin");function j(Z,ce,ge,be,Ee,xe){let Se=L(ce.plugins,Z);if(Se!==null)return R(Se,Z,ce,ge,be,Ee);let ze=B(Z,ce.printFunctionName,ce.escapeRegex,ce.escapeString);return ze!==null?ze:W(Z,ce,ge,be,Ee,xe)}s(j,"printer");var X={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Q=Object.keys(X),oe={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:X};e.DEFAULT_OPTIONS=oe;function $(Z){if(Object.keys(Z).forEach(ce=>{if(!oe.hasOwnProperty(ce))throw new Error(`pretty-format: Unknown option "${ce}".`)}),Z.min&&Z.indent!==void 0&&Z.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Z.theme!==void 0){if(Z.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Z.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Z.theme}".`)}}s($,"validateOptions");var K=s(Z=>Q.reduce((ce,ge)=>{let be=Z.theme&&Z.theme[ge]!==void 0?Z.theme[ge]:X[ge],Ee=be&&t.default[be];if(Ee&&typeof Ee.close=="string"&&typeof Ee.open=="string")ce[ge]=Ee;else throw new Error(`pretty-format: Option "theme" has a key "${ge}" whose value "${be}" is undefined in ansi-styles.`);return ce},Object.create(null)),"getColorsHighlight"),U=s(()=>Q.reduce((Z,ce)=>(Z[ce]={close:"",open:""},Z),Object.create(null)),"getColorsEmpty"),Y=s(Z=>Z&&Z.printFunctionName!==void 0?Z.printFunctionName:oe.printFunctionName,"getPrintFunctionName"),ee=s(Z=>Z&&Z.escapeRegex!==void 0?Z.escapeRegex:oe.escapeRegex,"getEscapeRegex"),se=s(Z=>Z&&Z.escapeString!==void 0?Z.escapeString:oe.escapeString,"getEscapeString"),te=s(Z=>{var ce;return{callToJSON:Z&&Z.callToJSON!==void 0?Z.callToJSON:oe.callToJSON,colors:Z&&Z.highlight?K(Z):U(),compareKeys:Z&&typeof Z.compareKeys=="function"?Z.compareKeys:oe.compareKeys,escapeRegex:ee(Z),escapeString:se(Z),indent:Z&&Z.min?"":pe(Z&&Z.indent!==void 0?Z.indent:oe.indent),maxDepth:Z&&Z.maxDepth!==void 0?Z.maxDepth:oe.maxDepth,min:Z&&Z.min!==void 0?Z.min:oe.min,plugins:Z&&Z.plugins!==void 0?Z.plugins:oe.plugins,printBasicPrototype:(ce=Z?.printBasicPrototype)!==null&&ce!==void 0?ce:!0,printFunctionName:Y(Z),spacingInner:Z&&Z.min?" ":`
|
|
16
|
+
`,spacingOuter:Z&&Z.min?"":`
|
|
17
|
+
`}},"getConfig");function pe(Z){return new Array(Z+1).join(" ")}s(pe,"createIndent");function me(Z,ce){if(ce&&($(ce),ce.plugins)){let be=L(ce.plugins,Z);if(be!==null)return R(be,Z,te(ce),"",0,[])}let ge=B(Z,Y(ce),ee(ce),se(ce));return ge!==null?ge:W(Z,te(ce),"",0,[])}s(me,"format");var Xe={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=Xe;var ht=me;e.default=ht}),oM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":s(function(){return o},"iterator"),next:s(function(){if(a<n.length){var i=n[a];return a=a+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}s(t,"iteratorProxy");var r=t;e.default=r}),es=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(oM());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),iM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(es());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var b=[],g=!0,v=!1,D,S;try{for(y=y.call(f);!(g=(D=y.next()).done)&&(b.push(D.value),!(m&&b.length===m));g=!0);}catch(_){v=!0,S=_}finally{try{!g&&y.return!=null&&y.return()}finally{if(v)throw S}}return b}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var b=0,g=s(function(){},"F");return{s:g,n:s(function(){return b>=f.length?{done:!0}:{done:!1,value:f[b++]}},"n"),e:s(function(_){throw _},"e"),f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,D=!1,S;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var _=y.next();return v=_.done,_},"n"),e:s(function(_){D=!0,S=_},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(D)throw S}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,b=new Array(m);y<m;y++)b[y]=f[y];return b}s(c,"_arrayLikeToArray");var p=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),b;try{for(y.s();!(b=y.n()).done;){var g=n(b.value,2),v=g[0],D=g[1];f.call(m,D,v,p)}}catch(S){y.e(S)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),sM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(es());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var b=[],g=!0,v=!1,D,S;try{for(y=y.call(f);!(g=(D=y.next()).done)&&(b.push(D.value),!(m&&b.length===m));g=!0);}catch(_){v=!0,S=_}finally{try{!g&&y.return!=null&&y.return()}finally{if(v)throw S}}return b}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var b=0,g=s(function(){},"F");return{s:g,n:s(function(){return b>=f.length?{done:!0}:{done:!1,value:f[b++]}},"n"),e:s(function(_){throw _},"e"),f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,D=!1,S;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var _=y.next();return v=_.done,_},"n"),e:s(function(_){D=!0,S=_},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(D)throw S}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,b=new Array(m);y<m;y++)b[y]=f[y];return b}s(c,"_arrayLikeToArray");var p=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),b;try{for(y.s();!(b=y.n()).done;){var g=n(b.value,2),v=g[0],D=g[1];f.call(m,D,v,p)}}catch(S){y.e(S)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),lM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),uM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),cM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),pM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),dM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),fM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),hM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),mM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),yM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),gM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),bM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),vM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),EM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(lM()),r=f(uM()),n=f(cM()),a=f(pM()),o=f(dM()),i=f(fM()),l=f(hM()),u=f(mM()),c=f(yM()),p=f(gM()),d=f(bM()),h=f(vM());function f(b){return b&&b.__esModule?b:{default:b}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]],y=m;e.default=y}),CM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),wM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),AM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),xM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),SM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),_M=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),TM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),PM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),DM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),OM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),RM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),IM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),NM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),kM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),BM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),jM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),qM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),MM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),LM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),$M=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),UM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),VM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),HM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),JM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),zM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),GM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),WM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),KM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),YM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),XM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),QM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),ZM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),eL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),tL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),rL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),nL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),aL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),oL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),iL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),sL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),lL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),uL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),cL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),pL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),dL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),fL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),hL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),mL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),yL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),gL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),bL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),vL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),EL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),CL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),wL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),AL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),xL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),SL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),_L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),TL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),PL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),DL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),OL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),RL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),FL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),IL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),NL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),kL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),BL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),jL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),qL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),ML=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),LL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),$L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),UL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),VL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),HL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),JL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),zL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),GL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),WL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),KL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),YL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=P(CM()),r=P(wM()),n=P(AM()),a=P(xM()),o=P(SM()),i=P(_M()),l=P(TM()),u=P(PM()),c=P(DM()),p=P(OM()),d=P(RM()),h=P(FM()),f=P(IM()),m=P(NM()),y=P(kM()),b=P(BM()),g=P(jM()),v=P(qM()),D=P(MM()),S=P(LM()),_=P($M()),A=P(UM()),E=P(VM()),C=P(HM()),T=P(JM()),k=P(zM()),B=P(GM()),W=P(WM()),z=P(KM()),R=P(YM()),L=P(XM()),j=P(QM()),X=P(ZM()),Q=P(eL()),oe=P(tL()),$=P(rL()),K=P(nL()),U=P(aL()),Y=P(oL()),ee=P(iL()),se=P(sL()),te=P(lL()),pe=P(uL()),me=P(cL()),Xe=P(pL()),ht=P(dL()),Z=P(fL()),ce=P(hL()),ge=P(mL()),be=P(yL()),Ee=P(gL()),xe=P(bL()),Se=P(vL()),ze=P(EL()),st=P(CL()),Dt=P(wL()),Gt=P(AL()),_t=P(xL()),Vt=P(SL()),Nt=P(_L()),Te=P(TL()),lt=P(PL()),Ae=P(DL()),ut=P(OL()),Qe=P(RL()),Zn=P(FL()),ea=P(IL()),kt=P(NL()),xn=P(kL()),pr=P(BL()),tt=P(jL()),Sn=P(qL()),ta=P(ML()),Ze=P(LL()),wt=P($L()),Ar=P(UL()),Nr=P(VL()),kr=P(HL()),_n=P(JL()),dr=P(zL()),x=P(GL()),N=P(WL()),F=P(KL());function P(le){return le&&le.__esModule?le:{default:le}}s(P,"_interopRequireDefault");var V=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",b.default],["deletion",g.default],["dialog",v.default],["directory",D.default],["document",S.default],["emphasis",_.default],["feed",A.default],["figure",E.default],["form",C.default],["generic",T.default],["grid",k.default],["gridcell",B.default],["group",W.default],["heading",z.default],["img",R.default],["insertion",L.default],["link",j.default],["list",X.default],["listbox",Q.default],["listitem",oe.default],["log",$.default],["main",K.default],["mark",U.default],["marquee",Y.default],["math",ee.default],["menu",se.default],["menubar",te.default],["menuitem",pe.default],["menuitemcheckbox",me.default],["menuitemradio",Xe.default],["meter",ht.default],["navigation",Z.default],["none",ce.default],["note",ge.default],["option",be.default],["paragraph",Ee.default],["presentation",xe.default],["progressbar",Se.default],["radio",ze.default],["radiogroup",st.default],["region",Dt.default],["row",Gt.default],["rowgroup",_t.default],["rowheader",Vt.default],["scrollbar",Nt.default],["search",Te.default],["searchbox",lt.default],["separator",Ae.default],["slider",ut.default],["spinbutton",Qe.default],["status",Zn.default],["strong",ea.default],["subscript",kt.default],["superscript",xn.default],["switch",pr.default],["tab",tt.default],["table",Sn.default],["tablist",ta.default],["tabpanel",Ze.default],["term",wt.default],["textbox",Ar.default],["time",Nr.default],["timer",kr.default],["toolbar",_n.default],["tooltip",dr.default],["tree",x.default],["treegrid",N.default],["treeitem",F.default]],ie=V;e.default=ie}),XL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),QL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),ZL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),e3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),t3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),r3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),n3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),a3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),o3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),i3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),s3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),l3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),u3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),c3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),p3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),d3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),f3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),h3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),m3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),y3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),g3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),b3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),v3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),E3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),C3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),w3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),A3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),x3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),S3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),_3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),T3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),P3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),D3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),O3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),R3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),F3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),I3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),N3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),k3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),B3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(XL()),r=ee(QL()),n=ee(ZL()),a=ee(e3()),o=ee(t3()),i=ee(r3()),l=ee(n3()),u=ee(a3()),c=ee(o3()),p=ee(i3()),d=ee(s3()),h=ee(l3()),f=ee(u3()),m=ee(c3()),y=ee(p3()),b=ee(d3()),g=ee(f3()),v=ee(h3()),D=ee(m3()),S=ee(y3()),_=ee(g3()),A=ee(b3()),E=ee(v3()),C=ee(E3()),T=ee(C3()),k=ee(w3()),B=ee(A3()),W=ee(x3()),z=ee(S3()),R=ee(_3()),L=ee(T3()),j=ee(P3()),X=ee(D3()),Q=ee(O3()),oe=ee(R3()),$=ee(F3()),K=ee(I3()),U=ee(N3()),Y=ee(k3());function ee(pe){return pe&&pe.__esModule?pe:{default:pe}}s(ee,"_interopRequireDefault");var se=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",b.default],["doc-endnotes",g.default],["doc-epigraph",v.default],["doc-epilogue",D.default],["doc-errata",S.default],["doc-example",_.default],["doc-footnote",A.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",T.default],["doc-index",k.default],["doc-introduction",B.default],["doc-noteref",W.default],["doc-notice",z.default],["doc-pagebreak",R.default],["doc-pagelist",L.default],["doc-part",j.default],["doc-preface",X.default],["doc-prologue",Q.default],["doc-pullquote",oe.default],["doc-qna",$.default],["doc-subtitle",K.default],["doc-tip",U.default],["doc-toc",Y.default]],te=se;e.default=te}),j3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),q3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),M3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),L3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(j3()),r=a(q3()),n=a(M3());function a(l){return l&&l.__esModule?l:{default:l}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=o;e.default=i}),mh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(EM()),r=i(YL()),n=i(B3()),a=i(L3()),o=i(es());function i(v){return v&&v.__esModule?v:{default:v}}s(i,"_interopRequireDefault");function l(v,D,S){return D in v?Object.defineProperty(v,D,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[D]=S,v}s(l,"_defineProperty");function u(v,D){var S=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!S){if(Array.isArray(v)||(S=d(v))||D&&v&&typeof v.length=="number"){S&&(v=S);var _=0,A=s(function(){},"F");return{s:A,n:s(function(){return _>=v.length?{done:!0}:{done:!1,value:v[_++]}},"n"),e:s(function(k){throw k},"e"),f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,C=!1,T;return{s:s(function(){S=S.call(v)},"s"),n:s(function(){var k=S.next();return E=k.done,k},"n"),e:s(function(k){C=!0,T=k},"e"),f:s(function(){try{!E&&S.return!=null&&S.return()}finally{if(C)throw T}},"f")}}s(u,"_createForOfIteratorHelper");function c(v,D){return m(v)||f(v,D)||d(v,D)||p()}s(c,"_slicedToArray");function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(p,"_nonIterableRest");function d(v,D){if(v){if(typeof v=="string")return h(v,D);var S=Object.prototype.toString.call(v).slice(8,-1);if(S==="Object"&&v.constructor&&(S=v.constructor.name),S==="Map"||S==="Set")return Array.from(v);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return h(v,D)}}s(d,"_unsupportedIterableToArray");function h(v,D){(D==null||D>v.length)&&(D=v.length);for(var S=0,_=new Array(D);S<D;S++)_[S]=v[S];return _}s(h,"_arrayLikeToArray");function f(v,D){var S=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(S!=null){var _=[],A=!0,E=!1,C,T;try{for(S=S.call(v);!(A=(C=S.next()).done)&&(_.push(C.value),!(D&&_.length===D));A=!0);}catch(k){E=!0,T=k}finally{try{!A&&S.return!=null&&S.return()}finally{if(E)throw T}}return _}}s(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}s(m,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,a.default);y.forEach(function(v){var D=c(v,2),S=D[1],_=u(S.superClass),A;try{for(_.s();!(A=_.n()).done;){var E=A.value,C=u(E),T;try{var k=s(function(){var B=T.value,W=y.find(function(X){var Q=c(X,1),oe=Q[0];return oe===B});if(W)for(var z=W[1],R=0,L=Object.keys(z.props);R<L.length;R++){var j=L[R];Object.prototype.hasOwnProperty.call(S.props,j)||Object.assign(S.props,l({},j,z.props[j]))}},"_loop");for(C.s();!(T=C.n()).done;)k()}catch(B){C.e(B)}finally{C.f()}}}catch(B){_.e(B)}finally{_.f()}});var b={entries:s(function(){return y},"entries"),forEach:s(function(v){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=u(y),_;try{for(S.s();!(_=S.n()).done;){var A=c(_.value,2),E=A[0],C=A[1];v.call(D,C,E,y)}}catch(T){S.e(T)}finally{S.f()}},"forEach"),get:s(function(v){var D=y.find(function(S){return S[0]===v});return D&&D[1]},"get"),has:s(function(v){return!!b.get(v)},"has"),keys:s(function(){return y.map(function(v){var D=c(v,1),S=D[0];return S})},"keys"),values:s(function(){return y.map(function(v){var D=c(v,2),S=D[1];return S})},"values")},g=(0,o.default)(b,b.entries());e.default=g}),GE={};Jt(GE,{dequal:()=>cl});function cl(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&cl(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(zp.call(e,r)&&++n&&!zp.call(t,r)||!(r in t)||!cl(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var zp,$3=kN(()=>{zp=Object.prototype.hasOwnProperty,s(cl,"dequal")}),U3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=($3(),BN(GE)),r=a(es()),n=a(mh());function a(A){return A&&A.__esModule?A:{default:A}}s(a,"_interopRequireDefault");function o(A,E){return u(A)||l(A,E)||p(A,E)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function l(A,E){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var T=[],k=!0,B=!1,W,z;try{for(C=C.call(A);!(k=(W=C.next()).done)&&(T.push(W.value),!(E&&T.length===E));k=!0);}catch(R){B=!0,z=R}finally{try{!k&&C.return!=null&&C.return()}finally{if(B)throw z}}return T}}s(l,"_iterableToArrayLimit");function u(A){if(Array.isArray(A))return A}s(u,"_arrayWithHoles");function c(A,E){var C=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!C){if(Array.isArray(A)||(C=p(A))||E&&A&&typeof A.length=="number"){C&&(A=C);var T=0,k=s(function(){},"F");return{s:k,n:s(function(){return T>=A.length?{done:!0}:{done:!1,value:A[T++]}},"n"),e:s(function(R){throw R},"e"),f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,W=!1,z;return{s:s(function(){C=C.call(A)},"s"),n:s(function(){var R=C.next();return B=R.done,R},"n"),e:s(function(R){W=!0,z=R},"e"),f:s(function(){try{!B&&C.return!=null&&C.return()}finally{if(W)throw z}},"f")}}s(c,"_createForOfIteratorHelper");function p(A,E){if(A){if(typeof A=="string")return d(A,E);var C=Object.prototype.toString.call(A).slice(8,-1);if(C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set")return Array.from(A);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(A,E)}}s(p,"_unsupportedIterableToArray");function d(A,E){(E==null||E>A.length)&&(E=A.length);for(var C=0,T=new Array(E);C<E;C++)T[C]=A[C];return T}s(d,"_arrayLikeToArray");var h=[],f=n.default.keys();for(D=0;D<f.length;D++)if(m=f[D],y=n.default.get(m),y)for(b=[].concat(y.baseConcepts,y.relatedConcepts),v=0;v<b.length;v++)g=b[v],g.module==="HTML"&&(function(){var A=g.concept;if(A){var E=h.find(function(B){return(0,t.dequal)(B,A)}),C;E?C=E[1]:C=[];for(var T=!0,k=0;k<C.length;k++)if(C[k]===m){T=!1;break}T&&C.push(m),h.push([A,C])}})();var m,y,b,g,v,D,S={entries:s(function(){return h},"entries"),forEach:s(function(A){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(h),T;try{for(C.s();!(T=C.n()).done;){var k=o(T.value,2),B=k[0],W=k[1];A.call(E,W,B,h)}}catch(z){C.e(z)}finally{C.f()}},"forEach"),get:s(function(A){var E=h.find(function(C){return A.name===C[0].name&&(0,t.dequal)(A.attributes,C[0].attributes)});return E&&E[1]},"get"),has:s(function(A){return!!S.get(A)},"has"),keys:s(function(){return h.map(function(A){var E=o(A,1),C=E[0];return C})},"keys"),values:s(function(){return h.map(function(A){var E=o(A,2),C=E[1];return C})},"values")},_=(0,r.default)(S,S.entries());e.default=_}),V3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(es()),r=n(mh());function n(E){return E&&E.__esModule?E:{default:E}}s(n,"_interopRequireDefault");function a(E,C){return l(E)||i(E,C)||c(E,C)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(E,C){var T=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(T!=null){var k=[],B=!0,W=!1,z,R;try{for(T=T.call(E);!(B=(z=T.next()).done)&&(k.push(z.value),!(C&&k.length===C));B=!0);}catch(L){W=!0,R=L}finally{try{!B&&T.return!=null&&T.return()}finally{if(W)throw R}}return k}}s(i,"_iterableToArrayLimit");function l(E){if(Array.isArray(E))return E}s(l,"_arrayWithHoles");function u(E,C){var T=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!T){if(Array.isArray(E)||(T=c(E))||C&&E&&typeof E.length=="number"){T&&(E=T);var k=0,B=s(function(){},"F");return{s:B,n:s(function(){return k>=E.length?{done:!0}:{done:!1,value:E[k++]}},"n"),e:s(function(L){throw L},"e"),f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
27
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W=!0,z=!1,R;return{s:s(function(){T=T.call(E)},"s"),n:s(function(){var L=T.next();return W=L.done,L},"n"),e:s(function(L){z=!0,R=L},"e"),f:s(function(){try{!W&&T.return!=null&&T.return()}finally{if(z)throw R}},"f")}}s(u,"_createForOfIteratorHelper");function c(E,C){if(E){if(typeof E=="string")return p(E,C);var T=Object.prototype.toString.call(E).slice(8,-1);if(T==="Object"&&E.constructor&&(T=E.constructor.name),T==="Map"||T==="Set")return Array.from(E);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(E,C)}}s(c,"_unsupportedIterableToArray");function p(E,C){(C==null||C>E.length)&&(C=E.length);for(var T=0,k=new Array(C);T<C;T++)k[T]=E[T];return k}s(p,"_arrayLikeToArray");var d=[],h=r.default.keys();for(S=0;S<h.length;S++)if(f=h[S],m=r.default.get(f),y=[],m){for(b=[].concat(m.baseConcepts,m.relatedConcepts),D=0;D<b.length;D++)g=b[D],g.module==="HTML"&&(v=g.concept,v!=null&&y.push(v));y.length>0&&d.push([f,y])}var f,m,y,b,g,v,D,S,_={entries:s(function(){return d},"entries"),forEach:s(function(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=u(d),k;try{for(T.s();!(k=T.n()).done;){var B=a(k.value,2),W=B[0],z=B[1];E.call(C,z,W,d)}}catch(R){T.e(R)}finally{T.f()}},"forEach"),get:s(function(E){var C=d.find(function(T){return T[0]===E});return C&&C[1]},"get"),has:s(function(E){return!!_.get(E)},"has"),keys:s(function(){return d.map(function(E){var C=a(E,1),T=C[0];return T})},"keys"),values:s(function(){return d.map(function(E){var C=a(E,2),T=C[1];return T})},"values")},A=(0,t.default)(_,_.entries());e.default=A}),H3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(iM()),r=i(sM()),n=i(mh()),a=i(U3()),o=i(V3());function i(h){return h&&h.__esModule?h:{default:h}}s(i,"_interopRequireDefault");var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var p=a.default;e.elementRoles=p;var d=o.default;e.roleElements=d}),J3=O((e,t)=>{var r=(function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,p){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][p]}s(l,"getBaseValue");var u={compressToBase64:s(function(c){if(c==null)return"";var p=u._compress(c,6,function(d){return a.charAt(d)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},"compressToBase64"),decompressFromBase64:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(p){return l(a,c.charAt(p))})},"decompressFromBase64"),compressToUTF16:s(function(c){return c==null?"":u._compress(c,15,function(p){return n(p+32)})+" "},"compressToUTF16"),decompressFromUTF16:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(p){return c.charCodeAt(p)-32})},"decompressFromUTF16"),compressToUint8Array:s(function(c){for(var p=u.compress(c),d=new Uint8Array(p.length*2),h=0,f=p.length;h<f;h++){var m=p.charCodeAt(h);d[h*2]=m>>>8,d[h*2+1]=m%256}return d},"compressToUint8Array"),decompressFromUint8Array:s(function(c){if(c==null)return u.decompress(c);for(var p=new Array(c.length/2),d=0,h=p.length;d<h;d++)p[d]=c[d*2]*256+c[d*2+1];var f=[];return p.forEach(function(m){f.push(n(m))}),u.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:s(function(c){return c==null?"":u._compress(c,6,function(p){return o.charAt(p)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:s(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(p){return l(o,c.charAt(p))}))},"decompressFromEncodedURIComponent"),compress:s(function(c){return u._compress(c,16,function(p){return n(p)})},"compress"),_compress:s(function(c,p,d){if(c==null)return"";var h,f,m={},y={},b="",g="",v="",D=2,S=3,_=2,A=[],E=0,C=0,T;for(T=0;T<c.length;T+=1)if(b=c.charAt(T),Object.prototype.hasOwnProperty.call(m,b)||(m[b]=S++,y[b]=!0),g=v+b,Object.prototype.hasOwnProperty.call(m,g))v=g;else{if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<_;h++)E=E<<1,C==p-1?(C=0,A.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<_;h++)E=E<<1|f,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1}D--,D==0&&(D=Math.pow(2,_),_++),delete y[v]}else for(f=m[v],h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1;D--,D==0&&(D=Math.pow(2,_),_++),m[g]=S++,v=String(b)}if(v!==""){if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<_;h++)E=E<<1,C==p-1?(C=0,A.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<_;h++)E=E<<1|f,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1}D--,D==0&&(D=Math.pow(2,_),_++),delete y[v]}else for(f=m[v],h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1;D--,D==0&&(D=Math.pow(2,_),_++)}for(f=2,h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,A.push(d(E)),E=0):C++,f=f>>1;for(;;)if(E=E<<1,C==p-1){A.push(d(E));break}else C++;return A.join("")},"_compress"),decompress:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(p){return c.charCodeAt(p)})},"decompress"),_decompress:s(function(c,p,d){var h=[],f=4,m=4,y=3,b="",g=[],v,D,S,_,A,E,C,T={val:d(0),position:p,index:1};for(v=0;v<3;v+=1)h[v]=v;for(S=0,A=Math.pow(2,2),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;switch(S){case 0:for(S=0,A=Math.pow(2,8),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;C=n(S);break;case 1:for(S=0,A=Math.pow(2,16),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;C=n(S);break;case 2:return""}for(h[3]=C,D=C,g.push(C);;){if(T.index>c)return"";for(S=0,A=Math.pow(2,y),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;switch(C=S){case 0:for(S=0,A=Math.pow(2,8),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;h[m++]=n(S),C=m-1,f--;break;case 1:for(S=0,A=Math.pow(2,16),E=1;E!=A;)_=T.val&T.position,T.position>>=1,T.position==0&&(T.position=p,T.val=d(T.index++)),S|=(_>0?1:0)*E,E<<=1;h[m++]=n(S),C=m-1,f--;break;case 2:return g.join("")}if(f==0&&(f=Math.pow(2,y),y++),h[C])b=h[C];else if(C===m)b=D+D.charAt(0);else return null;g.push(b),h[m++]=D+b.charAt(0),f--,D=b,f==0&&(f=Math.pow(2,y),y++)}},"_decompress")};return u})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),WE=O((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function i(c,p){if(!a[c]){if(!n[c]){var d=typeof Ps=="function"&&Ps;if(!p&&d)return d(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[c]={exports:{}};n[c][0].call(f.exports,function(m){var y=n[c][1][m];return i(y||m)},f,f.exports,r,n,a,o)}return a[c].exports}s(i,"s");for(var l=typeof Ps=="function"&&Ps,u=0;u<o.length;u++)i(o[u]);return i},"e")({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}s(o,"Similar"),o.prototype.get=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(l=this.indexOf(i),l>=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var u;for(u=0;u<this.size;u++)i.call(l||this,this.list[u].val,this.list[u].key,this)},o.prototype.indexOf=function(i){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,i))return l;return-1},o.prototype.isEqual=function(i,l){return i===l||i!==i&&l!==l},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(c){var p=new o(!1),d=[];return function(h){var f=s(function(){var m=p,y,b,g=arguments.length-1,v=Array(g+1),D=!0,S;if((f.numArgs||f.numArgs===0)&&f.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(S=0;S<g;S++){if(v[S]={cacheItem:m,arg:arguments[S]},m.has(arguments[S])){m=m.get(arguments[S]);continue}D=!1,y=new o(!1),m.set(arguments[S],y),m=y}return D&&(m.has(arguments[g])?b=m.get(arguments[g]):D=!1),D||(b=h.apply(null,arguments),m.set(arguments[g],b)),c>0&&(v[g]={cacheItem:m,arg:arguments[g]},D?i(d,v):d.push(v),d.length>c&&l(d.shift())),f.wasMemoized=D,f.numArgs=g+1,b},"memoizerific");return f.limit=c,f.wasMemoized=!1,f.cache=p,f.lru=d,f}};function i(c,p){var d=c.length,h=p.length,f,m,y;for(m=0;m<d;m++){for(f=!0,y=0;y<h;y++)if(!u(c[m][y].arg,p[y].arg)){f=!1;break}if(f)break}c.push(c.splice(m,1)[0])}s(i,"moveToMostRecentLru");function l(c){var p=c.length,d=c[p-1],h,f;for(d.cacheItem.delete(d.arg),f=p-2;f>=0&&(d=c[f],h=d.cacheItem.get(d.arg),!h||!h.size);f--)d.cacheItem.delete(d.arg)}s(l,"removeCachedResult");function u(c,p){return c===p||c!==c&&p!==p}s(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),KE=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(a,o)=>"%"+((o<16?"0":"")+o.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(a){let o=a.length;if(o===0)return"";let i="",l=0,u=0;e:for(;u<o;u++){let c=a.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(i+=a.slice(l,u)),l=u+1,i+=t[c]),++u===o)break e;c=a.charCodeAt(u)}if(l<u&&(i+=a.slice(l,u)),c<2048){l=u+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=o)throw new Error("URI malformed");let p=a.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|p),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?a:l<o?i+a.slice(l):i}s(n,"encodeString")}),yh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=KE(),r=s(o=>{switch(typeof o){case"string":return(0,t.encodeString)(o);case"bigint":case"boolean":return""+o;case"number":if(Number.isFinite(o))return o<1e21?""+o:(0,t.encodeString)(""+o);break}return o instanceof Date?(0,t.encodeString)(o.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=s(o=>o instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var a=s(o=>o,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}}),YE=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=a,e.stringifyObject=p;var t=yh(),r=KE();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}s(n,"isPrototypeKey");function a(d,h,f,m,y){if(n(h))return d;let b=d[h];return typeof b=="object"&&b!==null?b:!m&&(y||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?d[h]=[]:d[h]={}}s(a,"getDeepObject");var o=20,i="[]",l="[",u="]",c=".";function p(d,h,f=0,m,y){let{nestingSyntax:b=t.defaultOptions.nestingSyntax,arrayRepeat:g=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:D=t.defaultOptions.nesting,delimiter:S=t.defaultOptions.delimiter,valueSerializer:_=t.defaultOptions.valueSerializer,shouldSerializeObject:A=t.defaultOptions.shouldSerializeObject}=h,E=typeof S=="number"?String.fromCharCode(S):S,C=y===!0&&g,T=b==="dot"||b==="js"&&!y;if(f>o)return"";let k="",B=!0,W=!1;for(let z in d){let R=d[z],L;m?(L=m,C?v==="bracket"&&(L+=i):T?(L+=c,L+=z):(L+=l,L+=z,L+=u)):L=z,B||(k+=E),typeof R=="object"&&R!==null&&!A(R)?(W=R.pop!==void 0,(D||g&&W)&&(k+=p(R,h,f+1,L,W))):(k+=(0,r.encodeString)(L),k+="=",k+=_(R,z)),B&&(B=!1)}return k}s(p,"stringifyObject")}),z3=O((e,t)=>{var r=12,n=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(u){var c=u.indexOf("%");if(c===-1)return u;for(var p=u.length,d="",h=0,f=0,m=c,y=r;c>-1&&c<p;){var b=l(u[c+1],4),g=l(u[c+2],0),v=b|g,D=a[v];if(y=a[256+y+D],f=f<<6|v&a[364+D],y===r)d+=u.slice(h,m),d+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=c+3,c=m=u.indexOf("%",h);else{if(y===n)return null;if(c+=3,c<p&&u.charCodeAt(c)===37)continue;return null}}return d+u.slice(h)}s(o,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var p=i[u];return p===void 0?255:p<<c}s(l,"hexCodeToInt"),t.exports=o}),G3=O(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=YE(),n=yh(),a=t(z3()),o=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberKeyDeserializer");e.numberKeyDeserializer=o;var i=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberValueDeserializer");e.numberValueDeserializer=i;var l=/\+/g,u=s(function(){},"Empty");u.prototype=Object.create(null);function c(d,h,f,m,y){let b=d.substring(h,f);return m&&(b=b.replace(l," ")),y&&(b=(0,a.default)(b)||b),b}s(c,"computeKeySlice");function p(d,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:b=n.defaultOptions.nesting,arrayRepeat:g=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:D=n.defaultOptions.delimiter}=h??{},S=typeof D=="string"?D.charCodeAt(0):D,_=v==="js",A=new u;if(typeof d!="string")return A;let E=d.length,C="",T=-1,k=-1,B=-1,W=A,z,R="",L="",j=!1,X=!1,Q=!1,oe=!1,$=!1,K=!1,U=!1,Y=0,ee=-1,se=-1,te=-1;for(let pe=0;pe<E+1;pe++){if(Y=pe!==E?d.charCodeAt(pe):S,Y===S){if(U=k>T,U||(k=pe),B!==k-1&&(L=c(d,B+1,ee>-1?ee:k,Q,j),R=m(L),z!==void 0&&(W=(0,r.getDeepObject)(W,z,R,_&&$,_&&K))),U||R!==""){U&&(C=d.slice(k+1,pe),oe&&(C=C.replace(l," ")),X&&(C=(0,a.default)(C)||C));let me=f(C,R);if(g){let Xe=W[R];Xe===void 0?ee>-1?W[R]=[me]:W[R]=me:Xe.pop?Xe.push(me):W[R]=[Xe,me]}else W[R]=me}C="",T=pe,k=pe,j=!1,X=!1,Q=!1,oe=!1,$=!1,K=!1,ee=-1,B=pe,W=A,z=void 0,R=""}else Y===93?(g&&y==="bracket"&&te===91&&(ee=se),b&&(v==="index"||_)&&k<=T&&(B!==se&&(L=c(d,B+1,pe,Q,j),R=m(L),z!==void 0&&(W=(0,r.getDeepObject)(W,z,R,void 0,_)),z=R,Q=!1,j=!1),B=pe,K=!0,$=!1)):Y===46?b&&(v==="dot"||_)&&k<=T&&(B!==se&&(L=c(d,B+1,pe,Q,j),R=m(L),z!==void 0&&(W=(0,r.getDeepObject)(W,z,R,_)),z=R,Q=!1,j=!1),$=!0,K=!1,B=pe):Y===91?b&&(v==="index"||_)&&k<=T&&(B!==se&&(L=c(d,B+1,pe,Q,j),R=m(L),_&&z!==void 0&&(W=(0,r.getDeepObject)(W,z,R,_)),z=R,Q=!1,j=!1,$=!1,K=!0),B=pe):Y===61?k<=T?k=pe:X=!0:Y===43?k>T?oe=!0:Q=!0:Y===37&&(k>T?X=!0:j=!0);se=pe,te=Y}return A}s(p,"parse")}),W3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=YE();function r(n,a){if(n===null||typeof n!="object")return"";let o=a??{};return(0,t.stringifyObject)(n,o)}s(r,"stringify")}),gh=O(e=>{var t=e&&e.__createBinding||(Object.create?function(o,i,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(i,l);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:s(function(){return i[l]},"get")}),Object.defineProperty(o,u,c)}:function(o,i,l,u){u===void 0&&(u=l),o[u]=i[l]}),r=e&&e.__exportStar||function(o,i){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(i,l)&&t(i,o,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=G3();Object.defineProperty(e,"parse",{enumerable:!0,get:s(function(){return n.parse},"get")});var a=W3();Object.defineProperty(e,"stringify",{enumerable:!0,get:s(function(){return a.stringify},"get")}),r(yh(),e)}),XE=O((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
28
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),K3=O((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),QE=O((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),Y3=O((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),X3=O(e=>{var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Y3()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}s(a,"decodeCodePoint"),e.default=a}),ev=O(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(XE()),n=t(K3()),a=t(QE()),o=t(X3()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(a.default),e.decodeHTMLStrict=l(r.default);function l(p){var d=c(p);return function(h){return String(h).replace(i,d)}}s(l,"getStrictDecoder");var u=s(function(p,d){return p<d?1:-1},"sorter");e.decodeHTML=(function(){for(var p=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),h=0,f=0;h<d.length;h++)p[f]===d[h]?(d[h]+=";?",f++):d[h]+=";";var m=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=c(r.default);function b(g){return g.substr(-1)!==";"&&(g+=";"),y(g)}return s(b,"replacer"),function(g){return String(g).replace(m,b)}})();function c(p){return s(function(d){if(d.charAt(1)==="#"){var h=d.charAt(2);return h==="X"||h==="x"?o.default(parseInt(d.substr(3),16)):o.default(parseInt(d.substr(2),10))}return p[d.slice(1,-1)]||d},"replace")}s(c,"getReplacer")}),tv=O(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(QE()),n=u(r.default),a=c(n);e.encodeXML=g(n);var o=t(XE()),i=u(o.default),l=c(i);e.encodeHTML=f(i,l),e.encodeNonAsciiHTML=g(i);function u(v){return Object.keys(v).sort().reduce(function(D,S){return D[v[S]]="&"+S+";",D},{})}s(u,"getInverseObj");function c(v){for(var D=[],S=[],_=0,A=Object.keys(v);_<A.length;_++){var E=A[_];E.length===1?D.push("\\"+E):S.push(E)}D.sort();for(var C=0;C<D.length-1;C++){for(var T=C;T<D.length-1&&D[T].charCodeAt(1)+1===D[T+1].charCodeAt(1);)T+=1;var k=1+T-C;k<3||D.splice(C,k,D[C]+"-"+D[T])}return S.unshift("["+D.join("")+"]"),new RegExp(S.join("|"),"g")}s(c,"getInverseReplacer");var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(v){return v.codePointAt(0)}):(function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536});function h(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}s(h,"singleCharReplacer");function f(v,D){return function(S){return S.replace(D,function(_){return v[_]}).replace(p,h)}}s(f,"getInverse");var m=new RegExp(a.source+"|"+p.source,"g");function y(v){return v.replace(m,h)}s(y,"escape"),e.escape=y;function b(v){return v.replace(a,h)}s(b,"escapeUTF8"),e.escapeUTF8=b;function g(v){return function(D){return D.replace(m,function(S){return v[S]||h(S)})}}s(g,"getASCIIEncoder")}),Q3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=ev(),r=tv();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}s(n,"decode"),e.decode=n;function a(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}s(a,"decodeStrict"),e.decodeStrict=a;function o(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}s(o,"encode"),e.encode=o;var i=tv();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:s(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:s(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:s(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:s(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")});var l=ev();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:s(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:s(function(){return l.decodeXML},"get")})}),Z3=O((e,t)=>{function r(R,L){if(!(R instanceof L))throw new TypeError("Cannot call a class as a function")}s(r,"_classCallCheck");function n(R,L){for(var j=0;j<L.length;j++){var X=L[j];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(R,X.key,X)}}s(n,"_defineProperties");function a(R,L,j){return L&&n(R.prototype,L),j&&n(R,j),R}s(a,"_createClass");function o(R,L){var j=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!j){if(Array.isArray(R)||(j=i(R))||L&&R&&typeof R.length=="number"){j&&(R=j);var X=0,Q=s(function(){},"F");return{s:Q,n:s(function(){return X>=R.length?{done:!0}:{done:!1,value:R[X++]}},"n"),e:s(function(U){throw U},"e"),f:Q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe=!0,$=!1,K;return{s:s(function(){j=j.call(R)},"s"),n:s(function(){var U=j.next();return oe=U.done,U},"n"),e:s(function(U){$=!0,K=U},"e"),f:s(function(){try{!oe&&j.return!=null&&j.return()}finally{if($)throw K}},"f")}}s(o,"_createForOfIteratorHelper");function i(R,L){if(R){if(typeof R=="string")return l(R,L);var j=Object.prototype.toString.call(R).slice(8,-1);if(j==="Object"&&R.constructor&&(j=R.constructor.name),j==="Map"||j==="Set")return Array.from(R);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return l(R,L)}}s(i,"_unsupportedIterableToArray");function l(R,L){(L==null||L>R.length)&&(L=R.length);for(var j=0,X=new Array(L);j<L;j++)X[j]=R[j];return X}s(l,"_arrayLikeToArray");var u=Q3(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var R={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(L){v(0,5).forEach(function(j){v(0,5).forEach(function(X){return d(L,j,X,R)})})}),v(0,23).forEach(function(L){var j=L+232,X=h(L*10+8);R[j]="#"+X+X+X}),R}s(p,"getDefaultColors");function d(R,L,j,X){var Q=16+R*36+L*6+j,oe=R>0?R*40+55:0,$=L>0?L*40+55:0,K=j>0?j*40+55:0;X[Q]=f([oe,$,K])}s(d,"setStyleColor");function h(R){for(var L=R.toString(16);L.length<2;)L="0"+L;return L}s(h,"toHexString");function f(R){var L=[],j=o(R),X;try{for(j.s();!(X=j.n()).done;){var Q=X.value;L.push(h(Q))}}catch(oe){j.e(oe)}finally{j.f()}return"#"+L.join("")}s(f,"toColorHexString");function m(R,L,j,X){var Q;return L==="text"?Q=_(j,X):L==="display"?Q=b(R,j,X):L==="xterm256Foreground"?Q=C(R,X.colors[j]):L==="xterm256Background"?Q=T(R,X.colors[j]):L==="rgb"&&(Q=y(R,j)),Q}s(m,"generateOutput");function y(R,L){L=L.substring(2).slice(0,-1);var j=+L.substr(0,2),X=L.substring(5).split(";"),Q=X.map(function(oe){return("0"+Number(oe).toString(16)).substr(-2)}).join("");return E(R,(j===38?"color:#":"background-color:#")+Q)}s(y,"handleRgb");function b(R,L,j){L=parseInt(L,10);var X={"-1":s(function(){return"<br/>"},"_"),0:s(function(){return R.length&&g(R)},"_"),1:s(function(){return A(R,"b")},"_"),3:s(function(){return A(R,"i")},"_"),4:s(function(){return A(R,"u")},"_"),8:s(function(){return E(R,"display:none")},"_"),9:s(function(){return A(R,"strike")},"_"),22:s(function(){return E(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:s(function(){return k(R,"i")},"_"),24:s(function(){return k(R,"u")},"_"),39:s(function(){return C(R,j.fg)},"_"),49:s(function(){return T(R,j.bg)},"_"),53:s(function(){return E(R,"text-decoration:overline")},"_")},Q;return X[L]?Q=X[L]():4<L&&L<7?Q=A(R,"blink"):29<L&&L<38?Q=C(R,j.colors[L-30]):39<L&&L<48?Q=T(R,j.colors[L-40]):89<L&&L<98?Q=C(R,j.colors[8+(L-90)]):99<L&&L<108&&(Q=T(R,j.colors[8+(L-100)])),Q}s(b,"handleDisplay");function g(R){var L=R.slice(0);return R.length=0,L.reverse().map(function(j){return"</"+j+">"}).join("")}s(g,"resetStyles");function v(R,L){for(var j=[],X=R;X<=L;X++)j.push(X);return j}s(v,"range");function D(R){return function(L){return(R===null||L.category!==R)&&R!=="all"}}s(D,"notCategory");function S(R){R=parseInt(R,10);var L=null;return R===0?L="all":R===1?L="bold":2<R&&R<5?L="underline":4<R&&R<7?L="blink":R===8?L="hide":R===9?L="strike":29<R&&R<38||R===39||89<R&&R<98?L="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(L="background-color"),L}s(S,"categoryForCode");function _(R,L){return L.escapeXML?u.encodeXML(R):R}s(_,"pushText");function A(R,L,j){return j||(j=""),R.push(L),"<".concat(L).concat(j?' style="'.concat(j,'"'):"",">")}s(A,"pushTag");function E(R,L){return A(R,"span",L)}s(E,"pushStyle");function C(R,L){return A(R,"span","color:"+L)}s(C,"pushForegroundColor");function T(R,L){return A(R,"span","background-color:"+L)}s(T,"pushBackgroundColor");function k(R,L){var j;if(R.slice(-1)[0]===L&&(j=R.pop()),j)return"</"+L+">"}s(k,"closeTag");function B(R,L,j){var X=!1,Q=3;function oe(){return""}s(oe,"remove");function $(Ee,xe){return j("xterm256Foreground",xe),""}s($,"removeXterm256Foreground");function K(Ee,xe){return j("xterm256Background",xe),""}s(K,"removeXterm256Background");function U(Ee){return L.newline?j("display",-1):j("text",Ee),""}s(U,"newline");function Y(Ee,xe){X=!0,xe.trim().length===0&&(xe="0"),xe=xe.trimRight(";").split(";");var Se=o(xe),ze;try{for(Se.s();!(ze=Se.n()).done;){var st=ze.value;j("display",st)}}catch(Dt){Se.e(Dt)}finally{Se.f()}return""}s(Y,"ansiMess");function ee(Ee){return j("text",Ee),""}s(ee,"realText");function se(Ee){return j("rgb",Ee),""}s(se,"rgb");var te=[{pattern:/^\x08+/,sub:oe},{pattern:/^\x1b\[[012]?K/,sub:oe},{pattern:/^\x1b\[\(B/,sub:oe},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:$},{pattern:/^\x1b\[48;5;(\d+)m/,sub:K},{pattern:/^\n/,sub:U},{pattern:/^\r+\n/,sub:U},{pattern:/^\r/,sub:U},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Y},{pattern:/^\x1b\[\d?J/,sub:oe},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:oe},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:oe},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ee}];function pe(Ee,xe){xe>Q&&X||(X=!1,R=R.replace(Ee.pattern,Ee.sub))}s(pe,"process");var me=[],Xe=R,ht=Xe.length;e:for(;ht>0;){for(var Z=0,ce=0,ge=te.length;ce<ge;Z=++ce){var be=te[Z];if(pe(be,Z),R.length!==ht){ht=R.length;continue e}}if(R.length===ht)break;me.push(0),ht=R.length}return me}s(B,"tokenize");function W(R,L,j){return L!=="text"&&(R=R.filter(D(S(j))),R.push({token:L,data:j,category:S(j)})),R}s(W,"updateStickyStack");var z=(function(){function R(L){r(this,R),L=L||{},L.colors&&(L.colors=Object.assign({},c.colors,L.colors)),this.options=Object.assign({},c,L),this.stack=[],this.stickyStack=[]}return s(R,"Filter"),a(R,[{key:"toHtml",value:s(function(L){var j=this;L=typeof L=="string"?[L]:L;var X=this.stack,Q=this.options,oe=[];return this.stickyStack.forEach(function($){var K=m(X,$.token,$.data,Q);K&&oe.push(K)}),B(L.join(""),Q,function($,K){var U=m(X,$,K,Q);U&&oe.push(U),Q.stream&&(j.stickyStack=W(j.stickyStack,$,K))}),X.length&&oe.push(g(X)),oe.join("")},"toHtml")}]),R})();t.exports=z}),e5=O((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,c){for(var p=0;p<c.length;p++){var d=c[p];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,(h=d.key,f=void 0,typeof(f=(function(m,y){if(typeof m!="object"||m===null)return m;var b=m[Symbol.toPrimitive];if(b!==void 0){var g=b.call(m,y);if(typeof g!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)})(h,"string"))=="symbol"?f:String(f)),d)}var h,f}s(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},a={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},o=s(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(c);return p?p[0]:null},"n"),i=s(function(){return typeof window<"u"?window.navigator:null},"i"),l=(function(){function u(h){var f;(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((f=i())===null||f===void 0?void 0:f.userAgent)||null}s(u,"t");var c,p,d;return c=u,p=[{key:"parseUserAgent",value:s(function(h){var f,m,y,b={},g=h||this.userAgent||"",v=g.toLowerCase().replace(/\s\s+/g," "),D=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],S=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],_=D[5]||D[3]||D[1]||null,A=S[0]||null,E=D[4]||D[2]||null,C=i();_==="chrome"&&typeof(C==null||(f=C.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(_="brave"),_&&(b[_]=!0),A&&(b[A]=!0);var T=!!(b.tablet||b.android||b.androidTablet),k=!!(b.ipad||b.tablet||b.androidTablet),B=!!(b.android||b.androidTablet||b.tablet||b.ipad||b.ipod||b.iphone||b["windows phone"]),W=!!(b.cros||b.mac||b.linux||b.win),z=!!(b.brave||b.chrome||b.crios||b.opr||b.safari||b.edg||b.electron),R=!!(b.msie||b.rv);return{name:(m=n[_])!==null&&m!==void 0?m:null,platform:(y=a[A])!==null&&y!==void 0?y:null,userAgent:g,version:E,shortVersion:E?o(parseFloat(E),2):null,isAndroid:T,isTablet:k,isMobile:B,isDesktop:W,isWebkit:z,isIE:R}},"value")},{key:"getBrowserInfo",value:s(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],d=[{key:"VERSION",get:s(function(){return"3.4.0"},"get")}],p&&r(c.prototype,p),d&&r(c,d),Object.defineProperty(c,"prototype",{writable:!1}),u})();return l})}),bh={};Jt(bh,{ARGTYPES_INFO_REQUEST:()=>bC,ARGTYPES_INFO_RESPONSE:()=>Yp,CHANNEL_CREATED:()=>r5,CHANNEL_WS_DISCONNECT:()=>ZE,CONFIG_ERROR:()=>eC,CREATE_NEW_STORYFILE_REQUEST:()=>n5,CREATE_NEW_STORYFILE_RESPONSE:()=>a5,CURRENT_STORY_WAS_SET:()=>Gp,DOCS_PREPARED:()=>tC,DOCS_RENDERED:()=>Eh,FILE_COMPONENT_SEARCH_REQUEST:()=>o5,FILE_COMPONENT_SEARCH_RESPONSE:()=>i5,FORCE_REMOUNT:()=>pl,FORCE_RE_RENDER:()=>Ch,GLOBALS_UPDATED:()=>Ti,NAVIGATE_URL:()=>s5,PLAY_FUNCTION_THREW_EXCEPTION:()=>rC,PRELOAD_ENTRIES:()=>aC,PREVIEW_BUILDER_PROGRESS:()=>l5,PREVIEW_KEYDOWN:()=>oC,REGISTER_SUBSCRIPTION:()=>u5,REQUEST_WHATS_NEW_DATA:()=>v5,RESET_STORY_ARGS:()=>wh,RESULT_WHATS_NEW_DATA:()=>E5,SAVE_STORY_REQUEST:()=>A5,SAVE_STORY_RESPONSE:()=>x5,SELECT_STORY:()=>c5,SET_CONFIG:()=>p5,SET_CURRENT_STORY:()=>Ah,SET_FILTER:()=>d5,SET_GLOBALS:()=>iC,SET_INDEX:()=>f5,SET_STORIES:()=>h5,SET_WHATS_NEW_CACHE:()=>C5,SHARED_STATE_CHANGED:()=>m5,SHARED_STATE_SET:()=>y5,STORIES_COLLAPSE_ALL:()=>g5,STORIES_EXPAND_ALL:()=>b5,STORY_ARGS_UPDATED:()=>sC,STORY_CHANGED:()=>lC,STORY_ERRORED:()=>uC,STORY_FINISHED:()=>Kp,STORY_HOT_UPDATED:()=>mC,STORY_INDEX_INVALIDATED:()=>cC,STORY_MISSING:()=>Wp,STORY_PREPARED:()=>pC,STORY_RENDERED:()=>dl,STORY_RENDER_PHASE_CHANGED:()=>va,STORY_SPECIFIED:()=>dC,STORY_THREW_EXCEPTION:()=>fC,STORY_UNCHANGED:()=>hC,TELEMETRY_ERROR:()=>gC,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>w5,UNHANDLED_ERRORS_WHILE_PLAYING:()=>nC,UPDATE_GLOBALS:()=>xh,UPDATE_QUERY_PARAMS:()=>yC,UPDATE_STORY_ARGS:()=>Sh,default:()=>t5});var vh=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(vh||{}),t5=vh,{CHANNEL_WS_DISCONNECT:ZE,CHANNEL_CREATED:r5,CONFIG_ERROR:eC,CREATE_NEW_STORYFILE_REQUEST:n5,CREATE_NEW_STORYFILE_RESPONSE:a5,CURRENT_STORY_WAS_SET:Gp,DOCS_PREPARED:tC,DOCS_RENDERED:Eh,FILE_COMPONENT_SEARCH_REQUEST:o5,FILE_COMPONENT_SEARCH_RESPONSE:i5,FORCE_RE_RENDER:Ch,FORCE_REMOUNT:pl,GLOBALS_UPDATED:Ti,NAVIGATE_URL:s5,PLAY_FUNCTION_THREW_EXCEPTION:rC,UNHANDLED_ERRORS_WHILE_PLAYING:nC,PRELOAD_ENTRIES:aC,PREVIEW_BUILDER_PROGRESS:l5,PREVIEW_KEYDOWN:oC,REGISTER_SUBSCRIPTION:u5,RESET_STORY_ARGS:wh,SELECT_STORY:c5,SET_CONFIG:p5,SET_CURRENT_STORY:Ah,SET_FILTER:d5,SET_GLOBALS:iC,SET_INDEX:f5,SET_STORIES:h5,SHARED_STATE_CHANGED:m5,SHARED_STATE_SET:y5,STORIES_COLLAPSE_ALL:g5,STORIES_EXPAND_ALL:b5,STORY_ARGS_UPDATED:sC,STORY_CHANGED:lC,STORY_ERRORED:uC,STORY_INDEX_INVALIDATED:cC,STORY_MISSING:Wp,STORY_PREPARED:pC,STORY_RENDER_PHASE_CHANGED:va,STORY_RENDERED:dl,STORY_FINISHED:Kp,STORY_SPECIFIED:dC,STORY_THREW_EXCEPTION:fC,STORY_UNCHANGED:hC,STORY_HOT_UPDATED:mC,UPDATE_GLOBALS:xh,UPDATE_QUERY_PARAMS:yC,UPDATE_STORY_ARGS:Sh,REQUEST_WHATS_NEW_DATA:v5,RESULT_WHATS_NEW_DATA:E5,SET_WHATS_NEW_CACHE:C5,TOGGLE_WHATS_NEW_NOTIFICATIONS:w5,TELEMETRY_ERROR:gC,SAVE_STORY_REQUEST:A5,SAVE_STORY_RESPONSE:x5,ARGTYPES_INFO_REQUEST:bC,ARGTYPES_INFO_RESPONSE:Yp}=vh,vC={};Jt(vC,{global:()=>he});var he=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),EC={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},S5=Object.keys(EC),CC={};Jt(CC,{Channel:()=>hu,HEARTBEAT_INTERVAL:()=>F1,HEARTBEAT_MAX_LATENCY:()=>I1,PostMessageTransport:()=>R1,WebsocketTransport:()=>k1,createBrowserChannel:()=>B1,default:()=>X6});function qe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
|
|
30
|
+
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
|
|
31
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
32
|
+
`)&&(d=String(l).split(`
|
|
33
|
+
`).map(function(h,f){return f===0?h:""+p+h}).join(`
|
|
34
|
+
`)),i+=d+n[u+1]}),i}s(qe,"dedent");var _5=qe,rv=new Map,T5="UNIVERSAL_STORE:",fr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Pn=class De{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=s(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=s((n,a)=>{let o=typeof n=="function",i=o?"*":n,l=o?n:a;if(this.debug("subscribe",{eventType:i,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(l),()=>{this.debug("unsubscribe",{eventType:i,listener:l}),this.listeners.has(i)&&(this.listeners.get(i).delete(l),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=s(n=>{if(this.debug("send",{event:n}),this.status!==De.Status.READY)throw new TypeError(qe`Cannot send event before store is ready. You can get the current status with store.status,
|
|
35
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
36
|
+
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!De.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(De.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?De.ActorType.LEADER:De.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${T5}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===De.ActorType.LEADER)this.syncing={state:fr.RESOLVED,promise:Promise.resolve()};else{let n,a,o=new Promise((i,l)=>{n=s(()=>{this.syncing.state===fr.PENDING&&(this.syncing.state=fr.RESOLVED,i())},"syncingResolve"),a=s(u=>{this.syncing.state===fr.PENDING&&(this.syncing.state=fr.REJECTED,l(u))},"syncingReject")});this.syncing={state:fr.PENDING,promise:o,resolve:n,reject:a}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??De.preparation.channel,this.environment=r?.environment??De.preparation.environment,this.channel&&this.environment?(De.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):De.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((a,o)=>{t=s(i=>{a(i)},"resolveRef"),r=s((...i)=>{o(i)},"rejectRef")});De.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??De.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return De.Status.UNPREPARED;switch(this.syncing?.state){case fr.PENDING:case void 0:return De.Status.SYNCING;case fr.REJECTED:return De.Status.ERROR;case fr.RESOLVED:default:return De.Status.READY}}untilReady(){return Promise.all([De.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(qe`[UniversalStore]
|
|
37
|
+
create`,{options:t});let r=rv.get(t.id);if(r)return console.warn(qe`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
38
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;De.isInternalConstructing=!0;let n=new De(t);return rv.set(t.id,n),n}static __prepare(t,r){De.preparation.channel=t,De.preparation.environment=r,De.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==De.Status.READY)throw new TypeError(qe`Cannot set state before store is ready. You can get the current status with store.status,
|
|
39
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
40
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let a={type:De.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(De.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===De.ActorType.LEADER?this.emitToChannel({type:De.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:De.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:De.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:a}),[...n??[],...a??[]].forEach(o=>o(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===fr.PENDING&&r.type!==De.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===De.ActorType.LEADER){let a=!0;switch(r.type){case De.InternalEventType.EXISTING_STATE_REQUEST:a=!1;let o={type:De.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:o}),this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor});break;case De.InternalEventType.LEADER_CREATED:a=!1,this.syncing.state=fr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(qe`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
41
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
42
|
+
Leaders detected:
|
|
43
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
44
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}a&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===De.ActorType.FOLLOWER)switch(r.type){case De.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==fr.PENDING)break;this.syncing.resolve?.();let a={type:De.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(a,n);break}switch(r.type){case De.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(qe`[UniversalStore::${this.id}::${this.environment??De.Environment.UNKNOWN}]
|
|
45
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){De.preparation.reject(new Error("reset")),De.setupPreparationPromise(),De.isInternalConstructing=!1}};s(Pn,"UniversalStore"),Pn.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Pn.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Pn.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Pn.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Pn.isInternalConstructing=!1,Pn.setupPreparationPromise();var Qc=Pn,P5=s(e=>e.transports!==void 0,"isMulti"),D5=s(()=>Math.random().toString(16).slice(2),"generateRandomId"),wC=class{constructor(t={}){this.sender=D5(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,P5(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let o=s(()=>{this.transports.forEach(i=>{i.send(n,a)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(o):o()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(a=>a!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=s((...a)=>(this.removeListener(t,n),r(...a)),"onceListener");return n}};s(wC,"Channel");var hu=wC,AC={};Jt(AC,{deprecate:()=>_h,logger:()=>it,once:()=>vt,pretty:()=>lr});var{LOGLEVEL:O5}=he,Fn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},R5=O5,Ma=Fn[R5]||Fn.info,it={trace:s((e,...t)=>{Ma<=Fn.trace&&console.trace(e,...t)},"trace"),debug:s((e,...t)=>{Ma<=Fn.debug&&console.debug(e,...t)},"debug"),info:s((e,...t)=>{Ma<=Fn.info&&console.info(e,...t)},"info"),warn:s((e,...t)=>{Ma<=Fn.warn&&console.warn(e,...t)},"warn"),error:s((e,...t)=>{Ma<=Fn.error&&console.error(e,...t)},"error"),log:s((e,...t)=>{Ma<Fn.silent&&console.log(e,...t)},"log")},Xp=new Set,vt=s(e=>(t,...r)=>{if(!Xp.has(t))return Xp.add(t),it[e](t,...r)},"once");vt.clear=()=>Xp.clear();vt.trace=vt("trace");vt.debug=vt("debug");vt.info=vt("info");vt.warn=vt("warn");vt.error=vt("error");vt.log=vt("log");var _h=vt("warn"),lr=s(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,a=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(a,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}it[e].apply(it,r)},"pretty");lr.trace=lr("trace");lr.debug=lr("debug");lr.info=lr("info");lr.warn=lr("warn");lr.error=lr("error");var F5=Object.create,xC=Object.defineProperty,I5=Object.getOwnPropertyDescriptor,SC=Object.getOwnPropertyNames,N5=Object.getPrototypeOf,k5=Object.prototype.hasOwnProperty,ke=s((e,t)=>s(function(){return t||(0,e[SC(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),B5=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of SC(t))!k5.call(e,a)&&a!==r&&xC(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=I5(t,a))||n.enumerable});return e},"__copyProps"),Th=s((e,t,r)=>(r=e!=null?F5(N5(e)):{},B5(t||!e||!e.__esModule?xC(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),j5=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],q5=["detail"];function _C(e){let t=j5.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of q5.filter(n=>e[n]!==void 0))t[r]=e[r];return t}s(_C,"extractEventHiddenProperties");var TC=ke({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),M5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),L5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),$5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),U5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),V5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Ph=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),H5=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),J5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),z5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),G5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),W5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),K5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),Y5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),X5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||s(function(r){return r!==r},"isNaN2")}}),Q5=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=X5();t.exports=s(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),Z5=ke({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Dh=ke({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=Z5();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),e$=ke({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),PC=ke({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var i in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),DC=ke({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=PC();t.exports=s(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),OC=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),RC=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=TC();t.exports=r.getPrototypeOf||null}}),t$=ke({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,a=Math.max,o="[object Function]",i=s(function(c,p){for(var d=[],h=0;h<c.length;h+=1)d[h]=c[h];for(var f=0;f<p.length;f+=1)d[f+c.length]=p[f];return d},"concatty2"),l=s(function(c,p){for(var d=[],h=p||0,f=0;h<c.length;h+=1,f+=1)d[f]=c[h];return d},"slicy2"),u=s(function(c,p){for(var d="",h=0;h<c.length;h+=1)d+=c[h],h+1<c.length&&(d+=p);return d},"joiny");t.exports=s(function(c){var p=this;if(typeof p!="function"||n.apply(p)!==o)throw new TypeError(r+p);for(var d=l(arguments,1),h,f=s(function(){if(this instanceof h){var v=p.apply(this,i(d,arguments));return Object(v)===v?v:this}return p.apply(c,i(d,arguments))},"binder"),m=a(0,p.length-d.length),y=[],b=0;b<m;b++)y[b]="$"+b;if(h=Function("binder","return function ("+u(y,",")+"){ return binder.apply(this,arguments); }")(f),p.prototype){var g=s(function(){},"Empty2");g.prototype=p.prototype,h.prototype=new g,g.prototype=null}return h},"bind")}}),mu=ke({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=t$();t.exports=Function.prototype.bind||r}}),Oh=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),FC=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),r$=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),n$=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=mu(),n=FC(),a=Oh(),o=r$();t.exports=o||r.call(a,n)}}),IC=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=mu(),n=Ph(),a=Oh(),o=n$();t.exports=s(function(i){if(i.length<1||typeof i[0]!="function")throw new n("a function is required");return o(r,a,i)},"callBindBasic")}}),a$=ke({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=IC(),n=Dh(),a;try{a=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var o=!!a&&n&&n(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof l=="function"?s(function(u){return l(u==null?u:i(u))},"getDunder"):!1}}),o$=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=OC(),n=RC(),a=a$();t.exports=r?s(function(o){return r(o)},"getProto"):n?s(function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)},"getProto"):a?s(function(o){return a(o)},"getProto"):null}}),NC=ke({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,a=mu();t.exports=a.call(r,n)}}),i$=ke({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=TC(),a=M5(),o=L5(),i=$5(),l=U5(),u=V5(),c=Ph(),p=H5(),d=J5(),h=z5(),f=G5(),m=W5(),y=K5(),b=Y5(),g=Q5(),v=Function,D=s(function(Z){try{return v('"use strict"; return ('+Z+").constructor;")()}catch{}},"getEvalledConstructor"),S=Dh(),_=e$(),A=s(function(){throw new c},"throwTypeError"),E=S?(function(){try{return arguments.callee,A}catch{try{return S(arguments,"callee").get}catch{return A}}})():A,C=DC()(),T=o$(),k=RC(),B=OC(),W=FC(),z=Oh(),R={},L=typeof Uint8Array>"u"||!T?r:T(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":C&&T?T([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&T?T(T([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!T?r:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!T?r:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&T?T(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":L,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":z,"%Function.prototype.apply%":W,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":k,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":b,"%Math.sign%":g,"%Reflect.getPrototypeOf%":B};if(T)try{null.error}catch(Z){X=T(T(Z)),j["%Error.prototype%"]=X}var X,Q=s(function Z(ce){var ge;if(ce==="%AsyncFunction%")ge=D("async function () {}");else if(ce==="%GeneratorFunction%")ge=D("function* () {}");else if(ce==="%AsyncGeneratorFunction%")ge=D("async function* () {}");else if(ce==="%AsyncGenerator%"){var be=Z("%AsyncGeneratorFunction%");be&&(ge=be.prototype)}else if(ce==="%AsyncIteratorPrototype%"){var Ee=Z("%AsyncGenerator%");Ee&&T&&(ge=T(Ee.prototype))}return j[ce]=ge,ge},"doEval2"),oe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=mu(),K=NC(),U=$.call(z,Array.prototype.concat),Y=$.call(W,Array.prototype.splice),ee=$.call(z,String.prototype.replace),se=$.call(z,String.prototype.slice),te=$.call(z,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,Xe=s(function(Z){var ce=se(Z,0,1),ge=se(Z,-1);if(ce==="%"&&ge!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&ce!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var be=[];return ee(Z,pe,function(Ee,xe,Se,ze){be[be.length]=Se?ee(ze,me,"$1"):xe||Ee}),be},"stringToPath3"),ht=s(function(Z,ce){var ge=Z,be;if(K(oe,ge)&&(be=oe[ge],ge="%"+be[0]+"%"),K(j,ge)){var Ee=j[ge];if(Ee===R&&(Ee=Q(ge)),typeof Ee>"u"&&!ce)throw new c("intrinsic "+Z+" exists, but is not available. Please file an issue!");return{alias:be,name:ge,value:Ee}}throw new u("intrinsic "+Z+" does not exist!")},"getBaseIntrinsic2");t.exports=s(function(Z,ce){if(typeof Z!="string"||Z.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ce!="boolean")throw new c('"allowMissing" argument must be a boolean');if(te(/^%?[^%]*%?$/,Z)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ge=Xe(Z),be=ge.length>0?ge[0]:"",Ee=ht("%"+be+"%",ce),xe=Ee.name,Se=Ee.value,ze=!1,st=Ee.alias;st&&(be=st[0],Y(ge,U([0,1],st)));for(var Dt=1,Gt=!0;Dt<ge.length;Dt+=1){var _t=ge[Dt],Vt=se(_t,0,1),Nt=se(_t,-1);if((Vt==='"'||Vt==="'"||Vt==="`"||Nt==='"'||Nt==="'"||Nt==="`")&&Vt!==Nt)throw new u("property names with quotes must have matching quotes");if((_t==="constructor"||!Gt)&&(ze=!0),be+="."+_t,xe="%"+be+"%",K(j,xe))Se=j[xe];else if(Se!=null){if(!(_t in Se)){if(!ce)throw new c("base intrinsic for "+Z+" exists, but the property is not available.");return}if(S&&Dt+1>=ge.length){var Te=S(Se,_t);Gt=!!Te,Gt&&"get"in Te&&!("originalValue"in Te.get)?Se=Te.get:Se=Se[_t]}else Gt=K(Se,_t),Se=Se[_t];Gt&&!ze&&(j[xe]=Se)}}return Se},"GetIntrinsic")}}),Rh=ke({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=i$(),n=IC(),a=n([r("%String.prototype.indexOf%")]);t.exports=s(function(o,i){var l=r(o,!!i);return typeof l=="function"&&a(o,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),s$=ke({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=PC();t.exports=s(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),kC=ke({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Rh(),n=s$()(),a=NC(),o=Dh(),i;n?(l=r("RegExp.prototype.exec"),u={},c=s(function(){throw u},"throwRegexMarker"),p={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=c),i=s(function(f){if(!f||typeof f!="object")return!1;var m=o(f,"lastIndex"),y=m&&a(m,"value");if(!y)return!1;try{l(f,p)}catch(b){return b===u}},"isRegex")):(d=r("Object.prototype.toString"),h="[object RegExp]",i=s(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h},"isRegex"));var l,u,c,p,d,h;t.exports=i}}),l$=ke({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}s(n,"isFunction3")}}),u$=ke({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Rh(),n=kC(),a=r("RegExp.prototype.exec"),o=Ph();t.exports=s(function(i){if(!n(i))throw new o("`regex` must be a RegExp");return s(function(l){return a(i,l)!==null},"test")},"regexTester")}}),c$=ke({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Rh(),n=r("Object.prototype.toString"),a=DC()(),o=u$();a?(i=r("Symbol.prototype.toString"),l=o(/^Symbol\(.*\)$/),u=s(function(c){return typeof c.valueOf()!="symbol"?!1:l(i(c))},"isRealSymbolObject"),t.exports=s(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=s(function(c){return!1},"isSymbol3");var i,l,u}}),p$=Th(kC()),d$=Th(l$()),f$=Th(c$());function BC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}s(BC,"isObject");var h$=typeof global=="object"&&global&&global.Object===Object&&global,m$=h$,y$=typeof self=="object"&&self&&self.Object===Object&&self,g$=m$||y$||Function("return this")(),Fh=g$,b$=Fh.Symbol,uo=b$,jC=Object.prototype,v$=jC.hasOwnProperty,E$=jC.toString,Wo=uo?uo.toStringTag:void 0;function qC(e){var t=v$.call(e,Wo),r=e[Wo];try{e[Wo]=void 0;var n=!0}catch{}var a=E$.call(e);return n&&(t?e[Wo]=r:delete e[Wo]),a}s(qC,"getRawTag");var C$=qC,w$=Object.prototype,A$=w$.toString;function MC(e){return A$.call(e)}s(MC,"objectToString");var x$=MC,S$="[object Null]",_$="[object Undefined]",nv=uo?uo.toStringTag:void 0;function LC(e){return e==null?e===void 0?_$:S$:nv&&nv in Object(e)?C$(e):x$(e)}s(LC,"baseGetTag");var $C=LC;function UC(e){return e!=null&&typeof e=="object"}s(UC,"isObjectLike");var T$=UC,P$="[object Symbol]";function VC(e){return typeof e=="symbol"||T$(e)&&$C(e)==P$}s(VC,"isSymbol");var Ih=VC;function HC(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}s(HC,"arrayMap");var D$=HC,O$=Array.isArray,Nh=O$,av=uo?uo.prototype:void 0,ov=av?av.toString:void 0;function kh(e){if(typeof e=="string")return e;if(Nh(e))return D$(e,kh)+"";if(Ih(e))return ov?ov.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(kh,"baseToString");var R$=kh;function JC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}s(JC,"isObject2");var zC=JC,F$="[object AsyncFunction]",I$="[object Function]",N$="[object GeneratorFunction]",k$="[object Proxy]";function GC(e){if(!zC(e))return!1;var t=$C(e);return t==I$||t==N$||t==F$||t==k$}s(GC,"isFunction");var B$=GC,j$=Fh["__core-js_shared__"],Zc=j$,iv=(function(){var e=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function WC(e){return!!iv&&iv in e}s(WC,"isMasked");var q$=WC,M$=Function.prototype,L$=M$.toString;function KC(e){if(e!=null){try{return L$.call(e)}catch{}try{return e+""}catch{}}return""}s(KC,"toSource");var $$=KC,U$=/[\\^$.*+?()[\]{}|]/g,V$=/^\[object .+?Constructor\]$/,H$=Function.prototype,J$=Object.prototype,z$=H$.toString,G$=J$.hasOwnProperty,W$=RegExp("^"+z$.call(G$).replace(U$,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function YC(e){if(!zC(e)||q$(e))return!1;var t=B$(e)?W$:V$;return t.test($$(e))}s(YC,"baseIsNative");var K$=YC;function XC(e,t){return e?.[t]}s(XC,"getValue");var Y$=XC;function QC(e,t){var r=Y$(e,t);return K$(r)?r:void 0}s(QC,"getNative");var ZC=QC;function e1(e,t){return e===t||e!==e&&t!==t}s(e1,"eq");var X$=e1,Q$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z$=/^\w*$/;function t1(e,t){if(Nh(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ih(e)?!0:Z$.test(e)||!Q$.test(e)||t!=null&&e in Object(t)}s(t1,"isKey");var e6=t1,t6=ZC(Object,"create"),Pi=t6;function r1(){this.__data__=Pi?Pi(null):{},this.size=0}s(r1,"hashClear");var r6=r1;function n1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}s(n1,"hashDelete");var n6=n1,a6="__lodash_hash_undefined__",o6=Object.prototype,i6=o6.hasOwnProperty;function a1(e){var t=this.__data__;if(Pi){var r=t[e];return r===a6?void 0:r}return i6.call(t,e)?t[e]:void 0}s(a1,"hashGet");var s6=a1,l6=Object.prototype,u6=l6.hasOwnProperty;function o1(e){var t=this.__data__;return Pi?t[e]!==void 0:u6.call(t,e)}s(o1,"hashHas");var c6=o1,p6="__lodash_hash_undefined__";function i1(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Pi&&t===void 0?p6:t,this}s(i1,"hashSet");var d6=i1;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Oa,"Hash");Oa.prototype.clear=r6;Oa.prototype.delete=n6;Oa.prototype.get=s6;Oa.prototype.has=c6;Oa.prototype.set=d6;var sv=Oa;function s1(){this.__data__=[],this.size=0}s(s1,"listCacheClear");var f6=s1;function l1(e,t){for(var r=e.length;r--;)if(X$(e[r][0],t))return r;return-1}s(l1,"assocIndexOf");var yu=l1,h6=Array.prototype,m6=h6.splice;function u1(e){var t=this.__data__,r=yu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():m6.call(t,r,1),--this.size,!0}s(u1,"listCacheDelete");var y6=u1;function c1(e){var t=this.__data__,r=yu(t,e);return r<0?void 0:t[r][1]}s(c1,"listCacheGet");var g6=c1;function p1(e){return yu(this.__data__,e)>-1}s(p1,"listCacheHas");var b6=p1;function d1(e,t){var r=this.__data__,n=yu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}s(d1,"listCacheSet");var v6=d1;function Ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Ra,"ListCache");Ra.prototype.clear=f6;Ra.prototype.delete=y6;Ra.prototype.get=g6;Ra.prototype.has=b6;Ra.prototype.set=v6;var E6=Ra,C6=ZC(Fh,"Map"),w6=C6;function f1(){this.size=0,this.__data__={hash:new sv,map:new(w6||E6),string:new sv}}s(f1,"mapCacheClear");var A6=f1;function h1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}s(h1,"isKeyable");var x6=h1;function m1(e,t){var r=e.__data__;return x6(t)?r[typeof t=="string"?"string":"hash"]:r.map}s(m1,"getMapData");var gu=m1;function y1(e){var t=gu(this,e).delete(e);return this.size-=t?1:0,t}s(y1,"mapCacheDelete");var S6=y1;function g1(e){return gu(this,e).get(e)}s(g1,"mapCacheGet");var _6=g1;function b1(e){return gu(this,e).has(e)}s(b1,"mapCacheHas");var T6=b1;function v1(e,t){var r=gu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}s(v1,"mapCacheSet");var P6=v1;function Fa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Fa,"MapCache");Fa.prototype.clear=A6;Fa.prototype.delete=S6;Fa.prototype.get=_6;Fa.prototype.has=T6;Fa.prototype.set=P6;var E1=Fa,D6="Expected a function";function bu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(D6);var r=s(function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i},"memoized");return r.cache=new(bu.Cache||E1),r}s(bu,"memoize");bu.Cache=E1;var O6=bu,R6=500;function C1(e){var t=O6(e,function(n){return r.size===R6&&r.clear(),n}),r=t.cache;return t}s(C1,"memoizeCapped");var F6=C1,I6=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N6=/\\(\\)?/g,k6=F6(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(I6,function(r,n,a,o){t.push(a?o.replace(N6,"$1"):n||r)}),t}),B6=k6;function w1(e){return e==null?"":R$(e)}s(w1,"toString");var j6=w1;function A1(e,t){return Nh(e)?e:e6(e,t)?[e]:B6(j6(e))}s(A1,"castPath");var q6=A1;function x1(e){if(typeof e=="string"||Ih(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(x1,"toKey");var M6=x1;function S1(e,t){t=q6(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[M6(t[r++])];return r&&r==n?e:void 0}s(S1,"baseGet");var L6=S1;function _1(e,t,r){var n=e==null?void 0:L6(e,t);return n===void 0?r:n}s(_1,"get");var $6=_1,Bh=BC,U6=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,jh=s(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function qh(e){if(!Bh(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=_C(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}s(qh,"convertUnconventionalData");var V6=s(function(e){let t,r,n,a;return s(function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===Number.NEGATIVE_INFINITY?"_-Infinity_":i===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return U6.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,p$.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,d$.default)(i))return;if((0,f$.default)(i)){if(!e.allowSymbol)return;let c=Symbol.keyFor(i);return c!==void 0?`_gsymbol_${c}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i?.constructor?.name&&i.constructor.name!=="Object"&&!Array.isArray(i)){let c=t.get(i);if(!c){let p={__isClassInstance__:!0,__className__:i.constructor.name,...Object.getOwnPropertyNames(i).reduce((d,h)=>{try{d[h]=i[h]}catch{}return d},{})};return a.push(o),n.unshift(p),t.set(i,JSON.stringify(a)),i!==p&&r.set(i,p),p}return`_duplicate_${c}`}let u=t.get(i);if(!u){let c=Array.isArray(i)?i:qh(i);return a.push(o),n.unshift(c),t.set(i,JSON.stringify(a)),i!==c&&r.set(i,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),H6=s(function(e){let t=[],r;return s(function(n,a){if(n===""&&(r=a,t.forEach(({target:o,container:i,replacement:l})=>{let u=jh(l)?JSON.parse(l):l.split(".");u.length===0?i[o]=r:i[o]=$6(r,u)})),n==="_constructor-name_")return a;if(Bh(a)&&a.__isConvertedError__){let{message:o,...i}=a.errorProperties,l=new Error(o);return Object.assign(l,i),l}if(typeof a=="string"&&a.startsWith("_regexp_")&&e.allowRegExp){let[,o,i]=a.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(i,o)}return typeof a=="string"&&a.startsWith("_date_")&&e.allowDate?new Date(a.replace("_date_","")):typeof a=="string"&&a.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:a.replace(/^_duplicate_/,"")}),null):typeof a=="string"&&a.startsWith("_symbol_")&&e.allowSymbol?Symbol(a.replace("_symbol_","")):typeof a=="string"&&a.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(a.replace("_gsymbol_","")):typeof a=="string"&&a==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof a=="string"&&a==="_Infinity_"?Number.POSITIVE_INFINITY:typeof a=="string"&&a==="_NaN_"?Number.NaN:typeof a=="string"&&a.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(a.replace("_bigint_","")):a},"revive")},"reviver2"),T1={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},P1=s((e,t={})=>{let r={...T1,...t};return JSON.stringify(qh(e),V6(r),t.space)},"stringify"),J6=s(()=>{let e=new Map;return s(function t(r){Bh(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),D1=s((e,t={})=>{let r={...T1,...t},n=JSON.parse(e,H6(r));return J6()(n),n},"parse"),z6="Invariant failed";function Wr(e,t){if(!e)throw new Error(z6)}s(Wr,"invariant");var G6=s(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(o=>{try{return o.contentWindow?.location.origin===e.source.location.origin&&o.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return o.contentWindow===e.source}catch{}let i=o.getAttribute("src"),l;try{if(!i)return!1;({origin:l}=new URL(i,document.location.toString()))}catch{return!1}return l===e.origin}),a=r?.getAttribute("src");if(a&&n.length===0){let{protocol:o,host:i,pathname:l}=new URL(a,document.location.toString());return`${o}//${i}${l}`}return n.length>0&&it.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:ep,location:tp}=he,lv="storybook-channel",W6={maxDepth:25},O1=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof he?.addEventListener=="function"&&he.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}=r||{},d=Object.fromEntries(Object.entries({allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}).filter(([b,g])=>typeof g<"u")),h={...W6,...he.CHANNEL_OPTIONS||{},...d},f=this.getFrames(n),m=new URLSearchParams(tp?.search||""),y=P1({key:lv,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(b=>{try{b.postMessage(y,"*")}catch{it.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((b,g)=>{this.buffer.push({event:t,resolve:b,reject:g})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(ep.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return he&&he.parent&&he.parent!==he.self?[he.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(ep.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(ep.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:a,refId:o}=typeof r=="string"&&jh(r)?D1(r,he.CHANNEL_OPTIONS||{}):r;if(n===lv){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(bh).includes(a.type)?`<span style="color: #FF4785">${a.type}</span>`:`<span style="color: #FFAE00">${a.type}</span>`;if(o&&(a.refId=o),a.source=this.config.page==="preview"?t.origin:G6(t),!a.source){lr.error(`${i} received ${l} but was unable to determine the source of the event`);return}let u=`${i} received ${l} (${r.length})`;lr.debug(tp.origin!==a.source?u:`${u} <span style="color: gray">(on ${tp.origin} from ${a.source})</span>`,...a.args),Wr(this.handler,"ChannelHandler should be set"),this.handler(a)}}catch(r){it.error(r)}}};s(O1,"PostMessageTransport");var R1=O1,{WebSocket:K6}=he,F1=15e3,I1=5e3,N1=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new K6(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:a})=>{let o=typeof a=="string"&&jh(a)?D1(a):a;Wr(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=a=>{Wr(this.handler),this.handler({type:ZE,args:[{reason:a.reason,code:a.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},F1+I1)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=P1(t,{maxDepth:15,...he.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};s(N1,"WebsocketTransport");var k1=N1,{CONFIG_TYPE:Y6}=he,X6=hu;function B1({page:e,extraTransports:t=[]}){let r=[new R1({page:e}),...t];if(Y6==="DEVELOPMENT"){let a=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,l=`${a}://${o}:${i}/storybook-server-channel`;r.push(new k1({url:l,onError:s(()=>{},"onError"),page:e}))}let n=new hu({transports:r});return Qc.__prepare(n,e==="manager"?Qc.Environment.MANAGER:Qc.Environment.PREVIEW),n}s(B1,"createBrowserChannel");var j1={};Jt(j1,{CalledExtractOnStoreError:()=>z1,CalledPreviewMethodBeforeInitializationError:()=>or,Category:()=>L1,ElementA11yParameterError:()=>n8,EmptyIndexError:()=>tw,ImplicitActionsDuringRendering:()=>H1,MdxFileWithNoCsfReferencesError:()=>Z1,MissingRenderToCanvasError:()=>W1,MissingStoryAfterHmrError:()=>U1,MissingStoryFromCsfFileError:()=>ow,MountMustBeDestructuredError:()=>Mh,NextJsSharpError:()=>Z6,NextjsRouterMocksNotAvailable:()=>e8,NoRenderFunctionError:()=>cw,NoStoryMatchError:()=>nw,NoStoryMountedError:()=>dw,StatusTypeIdMismatchError:()=>Q6,StoryIndexFetchError:()=>X1,StoryStoreAccessedBeforeInitializationError:()=>sw,UnknownArgTypesError:()=>t8,UnsupportedViewportDimensionError:()=>r8});function Qp({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}s(Qp,"parseErrorCode");function Zp(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}s(Zp,"appendErrorRef");var q1=class M1 extends Error{constructor(t){super(M1.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Qp({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:a}){let o;return t===!0?o=`https://storybook.js.org/error/${Qp({code:r,category:n})}?ref=error`:typeof t=="string"?o=Zp(t):Array.isArray(t)&&(o=`
|
|
46
|
+
${t.map(i=>` - ${Zp(i)}`).join(`
|
|
47
|
+
`)}`),`${a}${o!=null?`
|
|
48
|
+
|
|
49
|
+
More info: ${o}
|
|
50
|
+
`:""}`}};s(q1,"StorybookError");var Ct=q1,L1=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(L1||{}),$1=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:1,message:qe`
|
|
51
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
52
|
+
- Did you just rename a story?
|
|
53
|
+
- Did you remove it from your CSF file?
|
|
54
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
55
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
56
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};s($1,"MissingStoryAfterHmrError");var U1=$1,V1=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:qe`
|
|
57
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
58
|
+
${t.deprecated?`
|
|
59
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
60
|
+
`:""}
|
|
61
|
+
Please provide an explicit spy to your args like this:
|
|
62
|
+
import { fn } from 'storybook/test';
|
|
63
|
+
...
|
|
64
|
+
args: {
|
|
65
|
+
${t.name}: fn()
|
|
66
|
+
}`}),this.data=t}};s(V1,"ImplicitActionsDuringRendering");var H1=V1,J1=class extends Ct{constructor(){super({category:"PREVIEW_API",code:3,message:qe`
|
|
67
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
68
|
+
|
|
69
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};s(J1,"CalledExtractOnStoreError");var z1=J1,G1=class extends Ct{constructor(){super({category:"PREVIEW_API",code:4,message:qe`
|
|
70
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
71
|
+
|
|
72
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};s(G1,"MissingRenderToCanvasError");var W1=G1,K1=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:5,message:qe`
|
|
73
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
74
|
+
|
|
75
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
76
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
77
|
+
|
|
78
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
79
|
+
do the above.`}),this.data=t}};s(K1,"CalledPreviewMethodBeforeInitializationError");var or=K1,Y1=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:6,message:qe`
|
|
80
|
+
Error fetching \`/index.json\`:
|
|
81
|
+
|
|
82
|
+
${t.text}
|
|
83
|
+
|
|
84
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
85
|
+
check the terminal for errors.
|
|
86
|
+
|
|
87
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
88
|
+
build.`}),this.data=t}};s(Y1,"StoryIndexFetchError");var X1=Y1,Q1=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:7,message:qe`
|
|
89
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
90
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
91
|
+
|
|
92
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
93
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};s(Q1,"MdxFileWithNoCsfReferencesError");var Z1=Q1,ew=class extends Ct{constructor(){super({category:"PREVIEW_API",code:8,message:qe`
|
|
94
|
+
Couldn't find any stories in your Storybook.
|
|
95
|
+
|
|
96
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
97
|
+
- Also check the browser console and terminal for error messages.`})}};s(ew,"EmptyIndexError");var tw=ew,rw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:9,message:qe`
|
|
98
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
99
|
+
|
|
100
|
+
- Are you sure a story with that id exists?
|
|
101
|
+
- Please check your stories field of your main.js config.
|
|
102
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};s(rw,"NoStoryMatchError");var nw=rw,aw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:10,message:qe`
|
|
103
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
104
|
+
|
|
105
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
106
|
+
we didn't find the story. Possible reasons:
|
|
107
|
+
- You are using a custom story indexer that is misbehaving.
|
|
108
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
109
|
+
|
|
110
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};s(aw,"MissingStoryFromCsfFileError");var ow=aw,iw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:11,message:qe`
|
|
111
|
+
Cannot access the Story Store until the index is ready.
|
|
112
|
+
|
|
113
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
114
|
+
remove access to the store entirely`})}};s(iw,"StoryStoreAccessedBeforeInitializationError");var sw=iw,lw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:12,message:qe`
|
|
115
|
+
Incorrect use of mount in the play function.
|
|
116
|
+
|
|
117
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
118
|
+
|
|
119
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
120
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
121
|
+
|
|
122
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
123
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
124
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
125
|
+
|
|
126
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
127
|
+
|
|
128
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
|
|
129
|
+
|
|
130
|
+
Received the following play function:
|
|
131
|
+
${t.playFunction}`}),this.data=t}};s(lw,"MountMustBeDestructuredError");var Mh=lw,uw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:14,message:qe`
|
|
132
|
+
No render function available for storyId '${t.id}'
|
|
133
|
+
`}),this.data=t}};s(uw,"NoRenderFunctionError");var cw=uw,pw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:15,message:qe`
|
|
134
|
+
No component is mounted in your story.
|
|
135
|
+
|
|
136
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
137
|
+
|
|
138
|
+
For example:
|
|
139
|
+
|
|
140
|
+
async play({ mount, canvasElement }) {
|
|
141
|
+
// 👈 mount should be called: await mount();
|
|
142
|
+
const canvas = within(canvasElement);
|
|
143
|
+
const button = await canvas.findByRole('button');
|
|
144
|
+
await userEvent.click(button);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
Make sure to either remove it or call mount in your play function.
|
|
148
|
+
`})}};s(pw,"NoStoryMountedError");var dw=pw,fw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};s(fw,"StatusTypeIdMismatchError");var Q6=fw,hw=class extends Ct{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:qe`
|
|
149
|
+
You are importing avif images, but you don't have sharp installed.
|
|
150
|
+
|
|
151
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
152
|
+
`})}};s(hw,"NextJsSharpError");var Z6=hw,mw=class extends Ct{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:qe`
|
|
153
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
154
|
+
`}),this.data=t}};s(mw,"NextjsRouterMocksNotAvailable");var e8=mw,yw=class extends Ct{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:qe`
|
|
155
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
156
|
+
${JSON.stringify(t.type,null,2)}
|
|
157
|
+
|
|
158
|
+
Storybook will fall back to use a generic type description instead.
|
|
159
|
+
|
|
160
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
161
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
162
|
+
`}),this.data=t}};s(yw,"UnknownArgTypesError");var t8=yw,gw=class extends Ct{constructor(t){super({category:"ADDON_VITEST",code:1,message:qe`
|
|
163
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
164
|
+
|
|
165
|
+
The Storybook plugin only supports values in the following units:
|
|
166
|
+
- px, vh, vw, em, rem and %.
|
|
167
|
+
|
|
168
|
+
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
169
|
+
`}),this.data=t}};s(gw,"UnsupportedViewportDimensionError");var r8=gw,bw=class extends Ct{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};s(bw,"ElementA11yParameterError");var n8=bw,vw={};Jt(vw,{Addon_TypesEnum:()=>Ew});var Ew=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(Ew||{}),Cw={};Jt(Cw,{ADDON_ID:()=>vu,CLEAR_ID:()=>i8,CYCLIC_KEY:()=>s8,EVENT_ID:()=>ww,PANEL_ID:()=>o8,PARAM_KEY:()=>a8,action:()=>Vo,actions:()=>FJ,config:()=>Ki,configureActions:()=>DJ});var a8="actions",vu="storybook/actions",o8=`${vu}/panel`,ww=`${vu}/action-event`,i8=`${vu}/action-clear`,s8="$___storybook.isCyclic",ed={};Jt(ed,{DocsContext:()=>Cb,HooksContext:()=>$h,Preview:()=>nI,PreviewWeb:()=>xJ,PreviewWithSelection:()=>fI,ReporterAPI:()=>bb,StoryStore:()=>QF,UrlStore:()=>EI,WebView:()=>AI,addons:()=>Er,applyHooks:()=>_w,combineArgs:()=>eu,combineParameters:()=>Pa,composeConfigs:()=>Da,composeStepRunners:()=>mb,composeStories:()=>WF,composeStory:()=>Eb,createPlaywrightTest:()=>KF,decorateStory:()=>lb,defaultDecorateStory:()=>cb,emitTransformCode:()=>TI,filterArgTypes:()=>UF,getCsfFactoryAnnotations:()=>vb,inferControls:()=>hb,makeDecorator:()=>p8,mockChannel:()=>Lh,normalizeArrays:()=>et,normalizeProjectAnnotations:()=>Wi,normalizeStory:()=>Gi,pauseAnimations:()=>Bc,prepareMeta:()=>pb,prepareStory:()=>kc,sanitizeStoryContextUpdate:()=>ub,setDefaultProjectAnnotations:()=>JF,setProjectAnnotations:()=>GF,simulateDOMContentLoaded:()=>au,simulatePageLoad:()=>_I,sortStoriesV7:()=>pJ,useArgs:()=>Nw,useCallback:()=>co,useChannel:()=>Fw,useEffect:()=>Vn,useGlobals:()=>kw,useMemo:()=>Hh,useParameter:()=>Iw,useReducer:()=>Rw,useRef:()=>Pw,useState:()=>Ow,useStoryContext:()=>rs,userOrAutoTitle:()=>lJ,userOrAutoTitleFromSpecifier:()=>eI,waitForAnimations:()=>jc});function Lh(){let e={setHandler:s(()=>{},"setHandler"),send:s(()=>{},"send")};return new hu({transport:e})}s(Lh,"mockChannel");var Aw=class{constructor(){this.getChannel=s(()=>{if(!this.channel){let t=Lh();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=s(()=>this.promise,"ready"),this.hasChannel=s(()=>!!this.channel,"hasChannel"),this.setChannel=s(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};s(Aw,"AddonStore");var l8=Aw,rp="__STORYBOOK_ADDONS_PREVIEW";function xw(){return he[rp]||(he[rp]=new l8),he[rp]}s(xw,"getAddonsStore");var Er=xw(),Sw=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=s(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Er.getChannel().on(dl,this.renderListener)}removeRenderListeners(){Er.getChannel().removeListener(dl,this.renderListener)}};s(Sw,"HooksContext");var $h=Sw;function td(e){let t=s((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],a=n.currentPhase,o=n.currentHooks,i=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=he.STORYBOOK_HOOKS_CONTEXT;he.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(he.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=a,n.currentHooks=o,n.nextHookIndex=i,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}s(td,"hookify");var np=0,u8=25,_w=s(e=>(t,r)=>{let n=e(td(t),r.map(a=>td(a)));return a=>{let{hooks:o}=a;o.prevMountedDecorators??=new Set,o.mountedDecorators=new Set([t,...r]),o.currentContext=a,o.hasUpdates=!1;let i=n(a);for(np=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],i=n(a),np+=1,np>u8)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),i}},"applyHooks"),c8=s((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Uh=s(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Vh(){return he.STORYBOOK_HOOKS_CONTEXT||null}s(Vh,"getHooksContextOrNull");function Eu(){let e=Vh();if(e==null)throw Uh();return e}s(Eu,"getHooksContextOrThrow");function Tw(e,t,r){let n=Eu();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&it.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:e,deps:r};return n.currentHooks.push(a),t(a),a}if(n.currentPhase==="UPDATE"){let a=n.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==e&&it.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&a.deps==null&&it.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&a.deps!=null&&r.length!==a.deps.length&&it.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
170
|
+
Previous: ${a.deps}
|
|
171
|
+
Incoming: ${r}`),(r==null||a.deps==null||!c8(r,a.deps))&&(t(a),a.deps=r),a}throw Uh()}s(Tw,"useHook");function ts(e,t,r){let{memoizedState:n}=Tw(e,a=>{a.memoizedState=t()},r);return n}s(ts,"useMemoLike");function Hh(e,t){return ts("useMemo",e,t)}s(Hh,"useMemo");function co(e,t){return ts("useCallback",()=>e,t)}s(co,"useCallback");function Jh(e,t){return ts(e,()=>({current:t}),[])}s(Jh,"useRefLike");function Pw(e){return Jh("useRef",e)}s(Pw,"useRef");function Dw(){let e=Vh();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Er.getChannel().emit(Ch)}catch{it.warn("State updates of Storybook preview hooks work only in browser")}}s(Dw,"triggerUpdate");function zh(e,t){let r=Jh(e,typeof t=="function"?t():t),n=s(a=>{r.current=typeof a=="function"?a(r.current):a,Dw()},"setState");return[r.current,n]}s(zh,"useStateLike");function Ow(e){return zh("useState",e)}s(Ow,"useState");function Rw(e,t,r){let n=r!=null?()=>r(t):t,[a,o]=zh("useReducer",n);return[a,s(i=>o(l=>e(l,i)),"dispatch")]}s(Rw,"useReducer");function Vn(e,t){let r=Eu(),n=ts("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}s(Vn,"useEffect");function Fw(e,t=[]){let r=Er.getChannel();return Vn(()=>(Object.entries(e).forEach(([n,a])=>r.on(n,a)),()=>{Object.entries(e).forEach(([n,a])=>r.removeListener(n,a))}),[...Object.keys(e),...t]),co(r.emit.bind(r),[r])}s(Fw,"useChannel");function rs(){let{currentContext:e}=Eu();if(e==null)throw Uh();return e}s(rs,"useStoryContext");function Iw(e,t){let{parameters:r}=rs();if(e)return r[e]??t}s(Iw,"useParameter");function Nw(){let e=Er.getChannel(),{id:t,args:r}=rs(),n=co(o=>e.emit(Sh,{storyId:t,updatedArgs:o}),[e,t]),a=co(o=>e.emit(wh,{storyId:t,argNames:o}),[e,t]);return[r,n,a]}s(Nw,"useArgs");function kw(){let e=Er.getChannel(),{globals:t}=rs(),r=co(n=>e.emit(xh,{globals:n}),[e]);return[t,r]}s(kw,"useGlobals");var p8=s(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let a=s(o=>(i,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!o&&!u?i(l):r(i,l,{options:o,parameters:u})},"decorator");return(...o)=>typeof o[0]=="function"?a()(...o):(...i)=>{if(i.length>1)return o.length>1?a(o)(...i):a(...o)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
172
|
+
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function Bw(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,a)=>`${r} ${n}${a}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}s(Bw,"toStartCaseStr");var uv=Et(jN(),1),jw=s(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),d8=s((e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(jw([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,uv.isEqual)(t,n);if(typeof a<"u")return!(0,uv.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},"testValue"),f8=s((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(jw([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return d8(e.if,o)},"includeConditionalArg"),qw={};Jt(qw,{argsEnhancers:()=>y8});var Mw=s((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),h8=s(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:a}}=e;if(!a||a.disable||!a.argTypesRegex||!r)return{};let o=new RegExp(a.argTypesRegex);return Object.entries(r).filter(([i])=>!!o.test(i)).reduce((i,[l,u])=>(Mw(l,t)&&(i[l]=Vo(l,{implicit:!0,id:n})),i),{})},"inferActionsFromArgTypesRegex"),m8=s(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([a,o])=>!!o.action).reduce((a,[o,i])=>(Mw(o,t)&&(a[o]=Vo(typeof i.action=="string"?i.action:o)),a),{})},"addActionsFromArgTypes"),y8=[m8,h8],Lw={};Jt(Lw,{loaders:()=>PV});var $w={};Jt($w,{buildQueries:()=>s7,clearAllMocks:()=>rg,configure:()=>l7,createEvent:()=>u7,expect:()=>SV,findAllByAltText:()=>p7,findAllByDisplayValue:()=>d7,findAllByLabelText:()=>f7,findAllByPlaceholderText:()=>h7,findAllByRole:()=>m7,findAllByTestId:()=>y7,findAllByText:()=>g7,findAllByTitle:()=>b7,findByAltText:()=>v7,findByDisplayValue:()=>E7,findByLabelText:()=>C7,findByPlaceholderText:()=>w7,findByRole:()=>A7,findByTestId:()=>x7,findByText:()=>S7,findByTitle:()=>_7,fireEvent:()=>c7,fn:()=>eg,getAllByAltText:()=>T7,getAllByDisplayValue:()=>P7,getAllByLabelText:()=>D7,getAllByPlaceholderText:()=>O7,getAllByRole:()=>R7,getAllByTestId:()=>F7,getAllByText:()=>I7,getAllByTitle:()=>N7,getByAltText:()=>k7,getByDisplayValue:()=>B7,getByLabelText:()=>j7,getByPlaceholderText:()=>q7,getByRole:()=>M7,getByTestId:()=>L7,getByText:()=>$7,getByTitle:()=>U7,getConfig:()=>V7,getDefaultNormalizer:()=>H7,getElementError:()=>J7,getNodeText:()=>z7,getQueriesForElement:()=>G7,getRoles:()=>W7,getSuggestedQuery:()=>K7,isInaccessible:()=>Y7,isMockFunction:()=>ma,logDOM:()=>X7,logRoles:()=>Q7,mocked:()=>uT,mocks:()=>ys,onMockCall:()=>Zy,prettyDOM:()=>Z7,prettyFormat:()=>AV,queries:()=>eV,queryAllByAltText:()=>tV,queryAllByAttribute:()=>rV,queryAllByDisplayValue:()=>nV,queryAllByLabelText:()=>aV,queryAllByPlaceholderText:()=>oV,queryAllByRole:()=>iV,queryAllByTestId:()=>sV,queryAllByText:()=>lV,queryAllByTitle:()=>uV,queryByAltText:()=>cV,queryByAttribute:()=>pV,queryByDisplayValue:()=>dV,queryByLabelText:()=>fV,queryByPlaceholderText:()=>hV,queryByRole:()=>mV,queryByTestId:()=>yV,queryByText:()=>gV,queryByTitle:()=>bV,queryHelpers:()=>vV,resetAllMocks:()=>ng,restoreAllMocks:()=>ag,sb:()=>_V,screen:()=>EV,spyOn:()=>eU,uninstrumentedUserEvent:()=>tF,userEvent:()=>xV,waitFor:()=>CV,waitForElementToBeRemoved:()=>wV,within:()=>eF});var g8={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},b8=Object.entries(g8);function Cu(e){return String(e)}s(Cu,"a");Cu.open="";Cu.close="";function Uw(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}s(Uw,"C");function Vw(e=!1){let t=Uw(e),r=s((i,l,u,c)=>{let p="",d=0;do p+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return p+i.substring(d)},"i"),n=s((i,l,u=i)=>{let c=s(p=>{let d=String(p),h=d.indexOf(l,i.length);return~h?i+r(d,l,u,h)+l:i+d+l},"o");return c.open=i,c.close=l,c},"g"),a={isColorSupported:t},o=s(i=>`\x1B[${i}m`,"d");for(let[i,l]of b8)a[i]=t?n(o(l[0]),o(l[1]),l[2]):Cu;return a}s(Vw,"p");var bt=Vw();function Gh(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(Gh,"_mergeNamespaces");function Hw(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}s(Hw,"getKeysOfEnumerableProperties");function Fo(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,p,n,a),h=o(c.value[1],t,p,n,a);l+=d+i+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(Fo,"printIteratorEntries");function wu(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}s(wu,"printIteratorValues");function Di(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<u;p++){if(i+=c,p===t.maxWidth){i+="…";break}(l(e)||p in e)&&(i+=o(l(e)?e.getInt8(p):e[p],t,c,n,a)),p<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(Di,"printListItems");function Au(e,t,r,n,a,o){let i="",l=Hw(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],d=o(p,t,u,n,a),h=o(e[p],t,u,n,a);i+=`${u+d}: ${h}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(Au,"printObjectProperties");var v8=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ap=" ",E8=s((e,t,r,n,a,o)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ap}[${Di(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ap}{${Au(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+ap+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),C8=s(e=>e&&e.$$typeof===v8,"test$5"),w8={serialize:E8,test:C8},A8=" ",Jw=new Set(["DOMStringMap","NamedNodeMap"]),x8=/^(?:HTML\w*Collection|NodeList)$/;function zw(e){return Jw.has(e)||x8.test(e)}s(zw,"testName");var S8=s(e=>e&&e.constructor&&!!e.constructor.name&&zw(e.constructor.name),"test$4");function Gw(e){return e.constructor.name==="NamedNodeMap"}s(Gw,"isNamedNodeMap");var _8=s((e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+A8)+(Jw.has(i)?`{${Au(Gw(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${Di([...e],t,r,n,a,o)}]`)},"serialize$4"),T8={serialize:_8,test:S8};function Wh(e){return e.replaceAll("<","<").replaceAll(">",">")}s(Wh,"escapeHTML");function xu(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.includes(`
|
|
173
|
+
`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}s(xu,"printProps");function Su(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Kh(i,t):o(i,t,r,n,a))).join("")}s(Su,"printChildren");function Kh(e,t){let r=t.colors.content;return r.open+Wh(e)+r.close}s(Kh,"printText");function Ww(e,t){let r=t.colors.comment;return`${r.open}<!--${Wh(e)}-->${r.close}`}s(Ww,"printComment");function _u(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}s(_u,"printElement");function Tu(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(Tu,"printElementAsLeaf");var P8=1,Kw=3,Yw=8,Xw=11,D8=/^(?:(?:HTML|SVG)\w*)?Element$/;function Qw(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(Qw,"testHasAttribute");function Zw(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Qw(e);return r===P8&&(D8.test(t)||a)||r===Kw&&t==="Text"||r===Yw&&t==="Comment"||r===Xw&&t==="DocumentFragment"}s(Zw,"testNode");var O8=s(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Zw(e)},"test$3");function eA(e){return e.nodeType===Kw}s(eA,"nodeIsText");function tA(e){return e.nodeType===Yw}s(tA,"nodeIsComment");function Hs(e){return e.nodeType===Xw}s(Hs,"nodeIsFragment");var R8=s((e,t,r,n,a,o)=>{if(eA(e))return Kh(e.data,t);if(tA(e))return Ww(e.data,t);let i=Hs(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Tu(i,t):_u(i,xu(Hs(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Hs(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),Su(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},"serialize$3"),F8={serialize:R8,test:O8},I8="@@__IMMUTABLE_ITERABLE__@@",N8="@@__IMMUTABLE_LIST__@@",k8="@@__IMMUTABLE_KEYED__@@",B8="@@__IMMUTABLE_MAP__@@",cv="@@__IMMUTABLE_ORDERED__@@",j8="@@__IMMUTABLE_RECORD__@@",q8="@@__IMMUTABLE_SEQ__@@",M8="@@__IMMUTABLE_SET__@@",L8="@@__IMMUTABLE_STACK__@@",po=s(e=>`Immutable.${e}`,"getImmutableName"),Pu=s(e=>`[${e}]`,"printAsLeaf"),Oi=" ",pv="…";function rA(e,t,r,n,a,o,i){return++n>t.maxDepth?Pu(po(i)):`${po(i)+Oi}{${Fo(e.entries(),t,r,n,a,o)}}`}s(rA,"printImmutableEntries");function nA(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}s(nA,"getRecordEntries");function aA(e,t,r,n,a,o){let i=po(e._name||"Record");return++n>t.maxDepth?Pu(i):`${i+Oi}{${Fo(nA(e),t,r,n,a,o)}}`}s(aA,"printImmutableRecord");function oA(e,t,r,n,a,o){let i=po("Seq");return++n>t.maxDepth?Pu(i):e[k8]?`${i+Oi}{${e._iter||e._object?Fo(e.entries(),t,r,n,a,o):pv}}`:`${i+Oi}[${e._iter||e._array||e._collection||e._iterable?wu(e.values(),t,r,n,a,o):pv}]`}s(oA,"printImmutableSeq");function Js(e,t,r,n,a,o,i){return++n>t.maxDepth?Pu(po(i)):`${po(i)+Oi}[${wu(e.values(),t,r,n,a,o)}]`}s(Js,"printImmutableValues");var $8=s((e,t,r,n,a,o)=>e[B8]?rA(e,t,r,n,a,o,e[cv]?"OrderedMap":"Map"):e[N8]?Js(e,t,r,n,a,o,"List"):e[M8]?Js(e,t,r,n,a,o,e[cv]?"OrderedSet":"Set"):e[L8]?Js(e,t,r,n,a,o,"Stack"):e[q8]?oA(e,t,r,n,a,o):aA(e,t,r,n,a,o),"serialize$2"),U8=s(e=>e&&(e[I8]===!0||e[j8]===!0),"test$2"),V8={serialize:$8,test:U8};function Yh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Yh,"getDefaultExportFromCjs");var dv={exports:{}},Ye={},fv;function iA(){if(fv)return Ye;fv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case a:case n:case u:case c:case h:return y;default:switch(y=y&&y.$$typeof,y){case i:case l:case d:case p:return y;case o:return y;default:return b}}case t:return b}}}return s(m,"typeOf"),Ye.ContextConsumer=o,Ye.ContextProvider=i,Ye.Element=e,Ye.ForwardRef=l,Ye.Fragment=r,Ye.Lazy=d,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=a,Ye.StrictMode=n,Ye.Suspense=u,Ye.SuspenseList=c,Ye.isContextConsumer=function(y){return m(y)===o},Ye.isContextProvider=function(y){return m(y)===i},Ye.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ye.isForwardRef=function(y){return m(y)===l},Ye.isFragment=function(y){return m(y)===r},Ye.isLazy=function(y){return m(y)===d},Ye.isMemo=function(y){return m(y)===p},Ye.isPortal=function(y){return m(y)===t},Ye.isProfiler=function(y){return m(y)===a},Ye.isStrictMode=function(y){return m(y)===n},Ye.isSuspense=function(y){return m(y)===u},Ye.isSuspenseList=function(y){return m(y)===c},Ye.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===a||y===n||y===u||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===p||y.$$typeof===i||y.$$typeof===o||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},Ye.typeOf=m,Ye}s(iA,"requireReactIs_production");var hv;function sA(){return hv||(hv=1,dv.exports=iA()),dv.exports}s(sA,"requireReactIs$1");var lA=sA(),H8=Yh(lA),J8=Gh({__proto__:null,default:H8},[lA]),mv={exports:{}},We={},yv;function uA(){if(yv)return We;yv=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(b){if(typeof b=="object"&&b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case r:case a:case n:case c:case p:return b;default:switch(b=b&&b.$$typeof,b){case l:case i:case u:case h:case d:case o:return b;default:return g}}case t:return g}}}return s(y,"v"),We.ContextConsumer=i,We.ContextProvider=o,We.Element=e,We.ForwardRef=u,We.Fragment=r,We.Lazy=h,We.Memo=d,We.Portal=t,We.Profiler=a,We.StrictMode=n,We.Suspense=c,We.SuspenseList=p,We.isAsyncMode=function(){return!1},We.isConcurrentMode=function(){return!1},We.isContextConsumer=function(b){return y(b)===i},We.isContextProvider=function(b){return y(b)===o},We.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},We.isForwardRef=function(b){return y(b)===u},We.isFragment=function(b){return y(b)===r},We.isLazy=function(b){return y(b)===h},We.isMemo=function(b){return y(b)===d},We.isPortal=function(b){return y(b)===t},We.isProfiler=function(b){return y(b)===a},We.isStrictMode=function(b){return y(b)===n},We.isSuspense=function(b){return y(b)===c},We.isSuspenseList=function(b){return y(b)===p},We.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===a||b===n||b===c||b===p||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===d||b.$$typeof===o||b.$$typeof===i||b.$$typeof===u||b.$$typeof===m||b.getModuleId!==void 0)},We.typeOf=y,We}s(uA,"requireReactIs_production_min");var gv;function cA(){return gv||(gv=1,mv.exports=uA()),mv.exports}s(cA,"requireReactIs");var pA=cA(),z8=Yh(pA),G8=Gh({__proto__:null,default:z8},[pA]),W8=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],aa=Object.fromEntries(W8.map(e=>[e,t=>G8[e](t)||J8[e](t)]));function Xh(e,t=[]){if(Array.isArray(e))for(let r of e)Xh(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(Xh,"getChildren");function rd(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(aa.isFragment(e))return"React.Fragment";if(aa.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(aa.isContextProvider(e))return"Context.Provider";if(aa.isContextConsumer(e))return"Context.Consumer";if(aa.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(aa.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(rd,"getType");function dA(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(dA,"getPropKeys$1");var K8=s((e,t,r,n,a,o)=>++n>t.maxDepth?Tu(rd(e),t):_u(rd(e),xu(dA(e),e.props,t,r+t.indent,n,a,o),Su(Xh(e.props.children),t,r+t.indent,n,a,o),t,r),"serialize$1"),Y8=s(e=>e!=null&&aa.isElement(e),"test$1"),X8={serialize:K8,test:Y8},Q8=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function fA(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(fA,"getPropKeys");var Z8=s((e,t,r,n,a,o)=>++n>t.maxDepth?Tu(e.type,t):_u(e.type,e.props?xu(fA(e),e.props,t,r+t.indent,n,a,o):"",e.children?Su(e.children,t,r+t.indent,n,a,o):"",t,r),"serialize"),e9=s(e=>e&&e.$$typeof===Q8,"test"),t9={serialize:Z8,test:e9},hA=Object.prototype.toString,r9=Date.prototype.toISOString,n9=Error.prototype.toString,bv=RegExp.prototype.toString;function fi(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(fi,"getConstructorName");function mA(e){return typeof window<"u"&&e===window}s(mA,"isWindow");var a9=/^Symbol\((.*)\)(.*)$/,o9=/\n/g,yA=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(yA,"PrettyFormatPluginError");var gA=yA;function bA(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}s(bA,"isToStringedArrayType");function vA(e){return Object.is(e,-0)?"-0":String(e)}s(vA,"printNumber");function EA(e){return`${e}n`}s(EA,"printBigInt");function nd(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(nd,"printFunction");function ad(e){return String(e).replace(a9,"Symbol($1)")}s(ad,"printSymbol");function od(e){return`[${n9.call(e)}]`}s(od,"printError");function Qh(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return vA(e);if(a==="bigint")return EA(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return nd(e,t);if(a==="symbol")return ad(e);let o=hA.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?nd(e,t):o==="[object Symbol]"?ad(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":r9.call(e):o==="[object Error]"?od(e):o==="[object RegExp]"?r?bv.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):bv.call(e):e instanceof Error?od(e):null}s(Qh,"printBasicValue");function Zh(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return pn(e.toJSON(),t,r,n,a,!0);let u=hA.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Di(e,t,r,n,a,pn)}]`:bA(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Di(e,t,r,n,a,pn)}]`:u==="[object Map]"?i?"[Map]":`Map {${Fo(e.entries(),t,r,n,a,pn," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${wu(e.values(),t,r,n,a,pn)}}`:i||mA(e)?`[${fi(e)}]`:`${l||!t.printBasicPrototype&&fi(e)==="Object"?"":`${fi(e)} `}{${Au(e,t,r,n,a,pn)}}`}s(Zh,"printComplexValue");var i9={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a,e];let i=++n>t.maxDepth,{message:l,cause:u,...c}=e,p={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:fi(e);return i?`[${d}]`:`${d} {${Fo(Object.entries(p).values(),t,r,n,a,o)}}`}};function CA(e){return e.serialize!=null}s(CA,"isNewPlugin");function em(e,t,r,n,a,o){let i;try{i=CA(e)?e.serialize(t,r,n,a,o,pn):e.print(t,l=>pn(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(o9,`
|
|
174
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new gA(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}s(em,"printPlugin");function tm(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new gA(n.message,n.stack)}return null}s(tm,"findPlugin");function pn(e,t,r,n,a,o){let i=tm(t.plugins,e);if(i!==null)return em(i,e,t,r,n,a);let l=Qh(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Zh(e,t,r,n,a,o)}s(pn,"printer");var rm={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},wA=Object.keys(rm),_r={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:rm};function AA(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(_r,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}s(AA,"validateOptions");function xA(){return wA.reduce((e,t)=>{let r=rm[t],n=r&&bt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}s(xA,"getColorsHighlight");function SA(){return wA.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(SA,"getColorsEmpty");function nm(e){return e?.printFunctionName??_r.printFunctionName}s(nm,"getPrintFunctionName");function am(e){return e?.escapeRegex??_r.escapeRegex}s(am,"getEscapeRegex");function om(e){return e?.escapeString??_r.escapeString}s(om,"getEscapeString");function id(e){return{callToJSON:e?.callToJSON??_r.callToJSON,colors:e?.highlight?xA():SA(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:_r.compareKeys,escapeRegex:am(e),escapeString:om(e),indent:e?.min?"":_A(e?.indent??_r.indent),maxDepth:e?.maxDepth??_r.maxDepth,maxWidth:e?.maxWidth??_r.maxWidth,min:e?.min??_r.min,plugins:e?.plugins??_r.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:nm(e),spacingInner:e?.min?" ":`
|
|
175
|
+
`,spacingOuter:e?.min?"":`
|
|
176
|
+
`}}s(id,"getConfig");function _A(e){return Array.from({length:e+1}).join(" ")}s(_A,"createIndent");function Pr(e,t){if(t&&(AA(t),t.plugins)){let n=tm(t.plugins,e);if(n!==null)return em(n,e,id(t),"",0,[])}let r=Qh(e,nm(t),am(t),om(t));return r!==null?r:Zh(e,id(t),"",0,[])}s(Pr,"format");var im={AsymmetricMatcher:w8,DOMCollection:T8,DOMElement:F8,Immutable:V8,ReactElement:X8,ReactTestComponent:t9,Error:i9},vv={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},s9={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},fo="…";function TA(e,t){let r=vv[s9[t]]||vv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(TA,"colorise");function PA({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=TA),d}s(PA,"normaliseOptions");function DA(e){return e>="\uD800"&&e<="\uDBFF"}s(DA,"isHighSurrogate");function Cn(e,t,r=fo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&DA(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(Cn,"truncate");function Cr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${fo}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${fo}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(Cr,"inspectList");function OA(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(OA,"quoteComplexKey");function ho([e,t],r){return r.truncate-=2,typeof e=="string"?e=OA(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(ho,"inspectProperty");function RA(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Cr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Cr(r.map(o=>[o,e[o]]),t,ho)),`[ ${n}${a?`, ${a}`:""} ]`}s(RA,"inspectArray");var l9=s(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Lr(e,t){let r=l9(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(Cn(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${fo}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=Cr(n.map(i=>[i,e[i]]),t,ho)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Lr,"inspectTypedArray");function FA(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Cn(n[1],t.truncate-a.length-1)}`,"date")}s(FA,"inspectDate");function sd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Cn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(sd,"inspectFunction");function IA([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(IA,"inspectMapEntry");function NA(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(NA,"mapToEntries");function kA(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Cr(NA(e),t,IA)} }`)}s(kA,"inspectMap");var u9=Number.isNaN||(e=>e!==e);function ld(e,t){return u9(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Cn(String(e),t.truncate),"number")}s(ld,"inspectNumber");function ud(e,t){let r=Cn(e.toString(),t.truncate-1);return r!==fo&&(r+="n"),t.stylize(r,"bigint")}s(ud,"inspectBigInt");function BA(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Cn(a,n)}/${r}`,"regexp")}s(BA,"inspectRegExp");function jA(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(jA,"arrayFromSet");function qA(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Cr(jA(e),t)} }`)}s(qA,"inspectSet");var Ev=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),c9={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},p9=16;function MA(e){return c9[e]||`\\u${`0000${e.charCodeAt(0).toString(p9)}`.slice(-4)}`}s(MA,"escape");function cd(e,t){return Ev.test(e)&&(e=e.replace(Ev,MA)),t.stylize(`'${Cn(e,t.truncate-2)}'`,"string")}s(cd,"inspectString");function pd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(pd,"inspectSymbol");var LA=s(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(LA=s((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var d9=LA;function hi(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Cr(r.map(l=>[l,e[l]]),t,ho),o=Cr(n.map(l=>[l,e[l]]),t,ho);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(hi,"inspectObject");var op=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function $A(e,t){let r="";return op&&op in e&&(r=e[op]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${hi(e,t)}`}s($A,"inspectClass");function UA(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Cr(e,t)} ]`)}s(UA,"inspectArguments");var f9=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function VA(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>f9.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Cn(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Cr(r.map(i=>[i,e[i]]),t,ho);return`${n}${a}${o?` { ${o} }`:""}`}s(VA,"inspectObject");function HA([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(HA,"inspectAttribute");function fl(e,t){return Cr(e,t,JA,`
|
|
177
|
+
`)}s(fl,"inspectNodeCollection");function JA(e,t){switch(e.nodeType){case 1:return sm(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}s(JA,"inspectNode");function sm(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Cr(r.map(p=>[p,e.getAttribute(p)]),t,HA," ")),t.truncate-=l.length;let u=t.truncate,c=fl(e.children,t);return c&&c.length>u&&(c=`${fo}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(sm,"inspectHTML");var h9=typeof Symbol=="function"&&typeof Symbol.for=="function",ip=h9?Symbol.for("chai/inspect"):"@@chai/inspect",sp=Symbol.for("nodejs.util.inspect.custom"),Cv=new WeakMap,wv={},Av={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:ld,Number:ld,bigint:ud,BigInt:ud,string:cd,String:cd,function:sd,Function:sd,symbol:pd,Symbol:pd,Array:RA,Date:FA,Map:kA,Set:qA,RegExp:BA,Promise:d9,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:UA,Int8Array:Lr,Uint8Array:Lr,Uint8ClampedArray:Lr,Int16Array:Lr,Uint16Array:Lr,Int32Array:Lr,Uint32Array:Lr,Float32Array:Lr,Float64Array:Lr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:VA,HTMLCollection:fl,NodeList:fl},m9=s((e,t,r)=>ip in e&&typeof e[ip]=="function"?e[ip](t):sp in e&&typeof e[sp]=="function"?e[sp](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Cv.has(e.constructor)?Cv.get(e.constructor)(e,t):wv[r]?wv[r](e,t):"","inspectCustom"),y9=Object.prototype.toString;function hl(e,t={}){let r=PA(t,hl),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=y9.call(e).slice(8,-1)),a in Av)return Av[a](e,r);if(n&&e){let i=m9(e,r,a);if(i)return typeof i=="string"?i:hl(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?hi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?sm(e,r):"constructor"in e?e.constructor!==Object?$A(e,r):hi(e,r):e===Object(e)?hi(e,r):r.stylize(String(e),a)}s(hl,"inspect");var{AsymmetricMatcher:g9,DOMCollection:b9,DOMElement:v9,Immutable:E9,ReactElement:C9,ReactTestComponent:w9}=im,xv=[w9,C9,v9,b9,E9,g9];function Yt(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=Pr(e,{maxDepth:t,escapeString:!1,plugins:xv,...n})}catch{o=Pr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:xv,...n})}return o.length>=a&&t>1?Yt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}s(Yt,"stringify");var A9=/%[sdjifoOc%]/g;function zA(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i<e.length;i++)o.push(Va(e[i],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(A9,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():Va(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Va(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Va(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?a+=` ${o}`:a+=` ${Va(o)}`;return a}s(zA,"format");function Va(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),hl(e,t)}s(Va,"inspect");function GA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(GA,"getDefaultExportFromCjs");function $r(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}s($r,"assertTypes");function mi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(mi,"isObject");function WA(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(WA,"isFinalObj");function Ri(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(Ri,"getType");function KA(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(KA,"collectOwnProperties");function lm(e){let t=new Set;return WA(e)?[]:(KA(e,t),Array.from(t))}s(lm,"getOwnProperties");var YA={forceWritable:!1};function dd(e,t=YA){return ml(e,new WeakMap,t)}s(dd,"deepClone");function ml(e,t,r=YA){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=ml(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=lm(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=ml(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}s(ml,"clone");function XA(){}s(XA,"noop");var $t=-1,Ot=1,gt=0,QA=class{0;1;constructor(t,r){this[0]=t,this[1]=r}};s(QA,"Diff");var ft=QA;function ZA(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(o,a)===t.substring(o,a)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(ZA,"diff_commonPrefix");function um(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(e.length-a,e.length-o)===t.substring(t.length-a,t.length-o)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(um,"diff_commonSuffix");function fd(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let o=0,i=1;for(;;){let l=e.substring(a-i),u=t.indexOf(l);if(u===-1)return o;i+=u,(u===0||e.substring(a-i)===t.substring(0,i))&&(o=i,i++)}}s(fd,"diff_commonOverlap_");function ex(e){let t=!1,r=[],n=0,a=null,o=0,i=0,l=0,u=0,c=0;for(;o<e.length;)e[o][0]===gt?(r[n++]=o,i=u,l=c,u=0,c=0,a=e[o][1]):(e[o][0]===Ot?u+=e[o][1].length:c+=e[o][1].length,a&&a.length<=Math.max(i,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new ft($t,a)),e[r[n-1]+1][0]=Ot,n--,n--,o=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&cm(e),tx(e),o=1;o<e.length;){if(e[o-1][0]===$t&&e[o][0]===Ot){let p=e[o-1][1],d=e[o][1],h=fd(p,d),f=fd(d,p);h>=f?(h>=p.length/2||h>=d.length/2)&&(e.splice(o,0,new ft(gt,d.substring(0,h))),e[o-1][1]=p.substring(0,p.length-h),e[o+1][1]=d.substring(h),o++):(f>=p.length/2||f>=d.length/2)&&(e.splice(o,0,new ft(gt,p.substring(0,f))),e[o-1][0]=Ot,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=$t,e[o+1][1]=p.substring(f),o++),o++}o++}}s(ex,"diff_cleanupSemantic");var Sv=/[^a-z0-9]/i,_v=/\s/,Tv=/[\r\n]/,x9=/\n\r?\n$/,S9=/^\r?\n\r?\n/;function tx(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===gt&&e[t+1][0]===gt){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],o=um(r,n);if(o){let p=n.substring(n.length-o);r=r.substring(0,r.length-o),n=p+n.substring(0,n.length-o),a=p+a}let i=r,l=n,u=a,c=ti(r,n)+ti(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let p=ti(r,n)+ti(n,a);p>=c&&(c=p,i=r,l=n,u=a)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(tx,"diff_cleanupSemanticLossless");function cm(e){e.push(new ft(gt,""));let t=0,r=0,n=0,a="",o="",i;for(;t<e.length;)switch(e[t][0]){case Ot:n++,o+=e[t][1],t++;break;case $t:r++,a+=e[t][1],t++;break;case gt:r+n>1?(r!==0&&n!==0&&(i=ZA(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===gt?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new ft(gt,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=um(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new ft($t,a)),t++),o.length&&(e.splice(t,0,new ft(Ot,o)),t++),t++):t!==0&&e[t-1][0]===gt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===gt&&e[t+1][0]===gt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&cm(e)}s(cm,"diff_cleanupMerge");function ti(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(Sv),o=n.match(Sv),i=a&&r.match(_v),l=o&&n.match(_v),u=i&&r.match(Tv),c=l&&n.match(Tv),p=u&&e.match(x9),d=c&&t.match(S9);return p||d?5:u||c?4:a&&!i&&l?3:i||l?2:a||o?1:0}s(ti,"diff_cleanupSemanticScore_");var rx="Compared values have no visual difference.",_9="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ds={},Pv;function nx(){if(Pv)return Ds;Pv=1,Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=h;let e="diff-sequences",t=0,r=s((f,m,y,b,g)=>{let v=0;for(;f<m&&y<b&&g(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,b,g)=>{let v=0;for(;f<=m&&y<=b&&g(m,b);)m-=1,b-=1,v+=1;return v},"countCommonItemsR"),a=s((f,m,y,b,g,v,D)=>{let S=0,_=-f,A=v[S],E=A;v[S]+=r(A+1,m,b+A-_+1,y,g);let C=f<D?f:D;for(S+=1,_+=2;S<=C;S+=1,_+=2){if(S!==f&&E<v[S])A=v[S];else if(A=E+1,m<=A)return S-1;E=v[S],v[S]=A+r(A+1,m,b+A-_+1,y,g)}return D},"extendPathsF"),o=s((f,m,y,b,g,v,D)=>{let S=0,_=f,A=v[S],E=A;v[S]-=n(m,A-1,y,b+A-_-1,g);let C=f<D?f:D;for(S+=1,_-=2;S<=C;S+=1,_-=2){if(S!==f&&v[S]<E)A=v[S];else if(A=E-1,A<m)return S-1;E=v[S],v[S]=A-n(m,A-1,y,b+A-_-1,g)}return D},"extendPathsR"),i=s((f,m,y,b,g,v,D,S,_,A,E)=>{let C=b-m,T=y-m,k=g-b-T,B=-k-(f-1),W=-k+(f-1),z=t,R=f<S?f:S;for(let L=0,j=-f;L<=R;L+=1,j+=2){let X=L===0||L!==f&&z<D[L],Q=X?D[L]:z,oe=X?Q:Q+1,$=C+oe-j,K=r(oe+1,y,$+1,g,v),U=oe+K;if(z=D[L],D[L]=U,B<=j&&j<=W){let Y=(f-1-(j+k))/2;if(Y<=A&&_[Y]-1<=U){let ee=C+Q-(X?j+1:j-1),se=n(m,Q,b,ee,v),te=Q-se,pe=ee-se,me=te+1,Xe=pe+1;E.nChangePreceding=f-1,f-1===me+Xe-m-b?(E.aEndPreceding=m,E.bEndPreceding=b):(E.aEndPreceding=me,E.bEndPreceding=Xe),E.nCommonPreceding=se,se!==0&&(E.aCommonPreceding=me,E.bCommonPreceding=Xe),E.nCommonFollowing=K,K!==0&&(E.aCommonFollowing=oe+1,E.bCommonFollowing=$+1);let ht=U+1,Z=$+K+1;return E.nChangeFollowing=f-1,f-1===y+g-ht-Z?(E.aStartFollowing=y,E.bStartFollowing=g):(E.aStartFollowing=ht,E.bStartFollowing=Z),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,b,g,v,D,S,_,A,E)=>{let C=g-y,T=y-m,k=g-b-T,B=k-f,W=k+f,z=t,R=f<A?f:A;for(let L=0,j=f;L<=R;L+=1,j-=2){let X=L===0||L!==f&&_[L]<z,Q=X?_[L]:z,oe=X?Q:Q-1,$=C+oe-j,K=n(m,oe-1,b,$-1,v),U=oe-K;if(z=_[L],_[L]=U,B<=j&&j<=W){let Y=(f+(j-k))/2;if(Y<=S&&U-1<=D[Y]){let ee=$-K;if(E.nChangePreceding=f,f===U+ee-m-b?(E.aEndPreceding=m,E.bEndPreceding=b):(E.aEndPreceding=U,E.bEndPreceding=ee),E.nCommonPreceding=K,K!==0&&(E.aCommonPreceding=U,E.bCommonPreceding=ee),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=g;else{let se=C+Q-(X?j-1:j+1),te=r(Q,y,se,g,v);E.nCommonFollowing=te,te!==0&&(E.aCommonFollowing=Q,E.bCommonFollowing=se);let pe=Q+te,me=se+te;f-1===y+g-pe-me?(E.aStartFollowing=y,E.bStartFollowing=g):(E.aStartFollowing=pe,E.bStartFollowing=me)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,b,g,v,D,S,_)=>{let A=b-m,E=g-y,C=y-m,T=g-b,k=T-C,B=C,W=C;if(D[0]=m-1,S[0]=y,k%2===0){let z=(f||k)/2,R=(C+T)/2;for(let L=1;L<=R;L+=1)if(B=a(L,y,g,A,v,D,B),L<z)W=o(L,m,b,E,v,S,W);else if(l(L,m,y,b,g,v,D,B,S,W,_))return}else{let z=((f||k)+1)/2,R=(C+T+1)/2,L=1;for(B=a(L,y,g,A,v,D,B),L+=1;L<=R;L+=1)if(W=o(L-1,m,b,E,v,S,W),L<z)B=a(L,y,g,A,v,D,B);else if(i(L,m,y,b,g,v,D,B,S,W,_))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${b} bEnd=${g}`)},"divide"),c=s((f,m,y,b,g,v,D,S,_,A)=>{if(g-b<y-m){if(v=!v,v&&D.length===1){let{foundSubsequence:Y,isCommon:ee}=D[0];D[1]={foundSubsequence:s((se,te,pe)=>{Y(se,pe,te)},"foundSubsequence"),isCommon:s((se,te)=>ee(te,se),"isCommon")}}let K=m,U=y;m=b,y=g,b=K,g=U}let{foundSubsequence:E,isCommon:C}=D[v?1:0];u(f,m,y,b,g,C,S,_,A);let{nChangePreceding:T,aEndPreceding:k,bEndPreceding:B,nCommonPreceding:W,aCommonPreceding:z,bCommonPreceding:R,nCommonFollowing:L,aCommonFollowing:j,bCommonFollowing:X,nChangeFollowing:Q,aStartFollowing:oe,bStartFollowing:$}=A;m<k&&b<B&&c(T,m,k,b,B,v,D,S,_,A),W!==0&&E(W,z,R),L!==0&&E(L,j,X),oe<y&&$<g&&c(Q,oe,y,$,g,v,D,S,_,A)},"findSubsequences"),p=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),d=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,b){p("aLength",f),p("bLength",m),d("isCommon",y),d("foundSubsequence",b);let g=r(0,f,0,m,y);if(g!==0&&b(g,0,0),f!==g||m!==g){let v=g,D=g,S=n(v,f-1,D,m-1,y),_=f-S,A=m-S,E=g+S;f!==E&&m!==E&&c(0,v,_,D,A,!1,[{foundSubsequence:b,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),S!==0&&b(S,_,A)}}return s(h,"diffSequence"),Ds}s(nx,"requireBuild");var T9=nx(),ax=GA(T9);function ox(e,t){return e.replace(/\s+$/,r=>t(r))}s(ox,"formatTrailingSpaces");function Du(e,t,r,n,a,o){return e.length!==0?r(`${n} ${ox(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}s(Du,"printDiffLine");function pm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Du(e,t,r,n,a,o)}s(pm,"printDeleteLine");function dm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Du(e,t,r,n,a,o)}s(dm,"printInsertLine");function fm(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Du(e,t,r,n,a,o)}s(fm,"printCommonLine");function hd(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(hd,"createPatchMark");function ix(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let S=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(S!==u)if(S===0)u>n&&(o-=u-n,i=!0);else if(u===r){let _=u-S;_>n&&(o-=_-n,i=!0)}else{let _=u-S;_>a&&(o-=_-a,l+=1)}for(;u!==r&&e[u][0]!==gt;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let p=o-1,d=[],h=0;c&&d.push("");let f=0,m=0,y=0,b=0,g=s(S=>{let _=d.length;d.push(fm(S,_===0||_===p,t)),y+=1,b+=1},"pushCommonLine"),v=s(S=>{let _=d.length;d.push(pm(S,_===0||_===p,t)),y+=1},"pushDeleteLine"),D=s(S=>{let _=d.length;d.push(dm(S,_===0||_===p,t)),b+=1},"pushInsertLine");for(u=0;u!==r;){let S=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(S!==u)if(S===0){u>n&&(S=u-n,f=S,m=S,y=f,b=m);for(let _=S;_!==u;_+=1)g(e[_][1])}else if(u===r){let _=u-S>n?S+n:u;for(let A=S;A!==_;A+=1)g(e[A][1])}else{let _=u-S;if(_>a){let A=S+n;for(let C=S;C!==A;C+=1)g(e[C][1]);d[h]=hd(f,y,m,b,t),h=d.length,d.push("");let E=_-a;f=y+E,m=b+E,y=f,b=m;for(let C=u-n;C!==u;C+=1)g(e[C][1])}else for(let A=S;A!==u;A+=1)g(e[A][1])}for(;u!==r&&e[u][0]===$t;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ot;)D(e[u][1]),u+=1}return c&&(d[h]=hd(f,y,m,b,t)),d.join(`
|
|
178
|
+
`)}s(ix,"joinAlignedDiffsNoExpand");function sx(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case $t:return pm(o,i,t);case Ot:return dm(o,i,t);default:return fm(o,i,t)}}).join(`
|
|
179
|
+
`)}s(sx,"joinAlignedDiffsExpand");var lp=s(e=>e,"noColor"),lx=5,P9=0;function ux(){return{aAnnotation:"Expected",aColor:bt.green,aIndicator:"-",bAnnotation:"Received",bColor:bt.red,bIndicator:"+",changeColor:bt.inverse,changeLineTrailingSpaceColor:lp,commonColor:bt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:lp,compareKeys:void 0,contextLines:lx,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:bt.yellow,printBasicPrototype:!1,truncateThreshold:P9,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:lp}}s(ux,"getDefaultOptions");function cx(e){return e&&typeof e=="function"?e:void 0}s(cx,"getCompareKeys");function px(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:lx}s(px,"getContextLines");function Kn(e={}){return{...ux(),...e,compareKeys:cx(e.compareKeys),contextLines:px(e.contextLines)}}s(Kn,"normalizeDiffOptions");function sa(e){return e.length===1&&e[0].length===0}s(sa,"isEmptyString");function dx(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case $t:t+=1;break;case Ot:r+=1;break}}),{a:t,b:r}}s(dx,"countChanges");function fx({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",p="";if(i){let f=String(u.a),m=String(u.b),y=n.length-e.length,b=" ".repeat(Math.max(0,y)),g=" ".repeat(Math.max(0,-y)),v=m.length-f.length,D=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${b} ${r} ${D}${f}`,p=`${g} ${o} ${S}${m}`}let d=`${r} ${e}${c}`,h=`${o} ${n}${p}`;return`${t(d)}
|
|
180
|
+
${a(h)}
|
|
181
|
+
|
|
182
|
+
`}s(fx,"printAnnotation");function Ou(e,t,r){return fx(r,dx(e))+(r.expand?sx(e,r):ix(e,r))+(t?r.truncateAnnotationColor(`
|
|
183
|
+
${r.truncateAnnotation}`):"")}s(Ou,"printDiffLines");function ns(e,t,r){let n=Kn(r),[a,o]=hm(sa(e)?[]:e,sa(t)?[]:t,n);return Ou(a,o,n)}s(ns,"diffLinesUnified");function hx(e,t,r,n,a){if(sa(e)&&sa(r)&&(e=[],r=[]),sa(t)&&sa(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ns(e,t,a);let[o,i]=hm(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case $t:c[1]=e[l],l+=1;break;case Ot:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Ou(o,i,Kn(a))}s(hx,"diffLinesUnified2");function hm(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=[],p=0,d=0;for(ax(o,i,u,s((h,f,m)=>{for(;p!==f;p+=1)c.push(new ft($t,e[p]));for(;d!==m;d+=1)c.push(new ft(Ot,t[d]));for(;h!==0;h-=1,p+=1,d+=1)c.push(new ft(gt,t[d]))},"foundSubsequence"));p!==o;p+=1)c.push(new ft($t,e[p]));for(;d!==i;d+=1)c.push(new ft(Ot,t[d]));return[c,l]}s(hm,"diffLinesRaw");function md(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}s(md,"getType");function yd(e){return e.includes(`\r
|
|
184
|
+
`)?`\r
|
|
185
|
+
`:`
|
|
186
|
+
`}s(yd,"getNewLineSymbol");function mx(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),o=e.length,i=t.length;if(n){let h=e.includes(`
|
|
187
|
+
`),f=t.includes(`
|
|
188
|
+
`),m=yd(e),y=yd(t),b=h?`${e.split(m,a).join(m)}
|
|
189
|
+
`:e,g=f?`${t.split(y,a).join(y)}
|
|
190
|
+
`:t;o=b.length,i=g.length}let l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,p=0,d=[];return ax(o,i,u,s((h,f,m)=>{c!==f&&d.push(new ft($t,e.slice(c,f))),p!==m&&d.push(new ft(Ot,t.slice(p,m))),c=f+h,p=m+h,d.push(new ft(gt,t.slice(m,p)))},"foundSubsequence")),c!==o&&d.push(new ft($t,e.slice(c))),p!==i&&d.push(new ft(Ot,t.slice(p))),[d,l]}s(mx,"diffStrings");function yx(e,t,r){return t.reduce((n,a)=>n+(a[0]===gt?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}s(yx,"concatenateRelevantDiffs");var gx=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ft(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ft(this.op,yx(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ft(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
191
|
+
`)){let n=r.split(`
|
|
192
|
+
`),a=n.length-1;n.forEach((o,i)=>{i<a?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};s(gx,"ChangeBuffer");var Dv=gx,bx=class{deleteBuffer;insertBuffer;lines;constructor(t,r){this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
193
|
+
`)){let a=n.split(`
|
|
194
|
+
`),o=a.length-1;a.forEach((i,l)=>{if(l===0){let u=new ft(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<o?this.pushDiffCommonLine(new ft(r,i)):i.length!==0&&this.pushDiffChangeLines(new ft(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(bx,"CommonBuffer");var D9=bx;function vx(e,t){let r=new Dv($t,t),n=new Dv(Ot,t),a=new D9(r,n);return e.forEach(o=>{switch(o[0]){case $t:r.align(o);break;case Ot:n.align(o);break;default:a.align(o)}}),a.getLines()}s(vx,"getAlignedDiffs");function Ex(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===gt&&(a!==r||n[1]!==`
|
|
195
|
+
`))}return e.some(r=>r[0]===gt)}s(Ex,"hasCommonDiff");function Cx(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
196
|
+
`)||t.includes(`
|
|
197
|
+
`),[a,o]=mm(n?`${e}
|
|
198
|
+
`:e,n?`${t}
|
|
199
|
+
`:t,!0,r);if(Ex(a,n)){let i=Kn(r),l=vx(a,i.changeColor);return Ou(l,o,i)}}return ns(e.split(`
|
|
200
|
+
`),t.split(`
|
|
201
|
+
`),r)}s(Cx,"diffStringsUnified");function mm(e,t,r,n){let[a,o]=mx(e,t,n);return r&&ex(a),[a,o]}s(mm,"diffStringsRaw");function yl(e,t){let{commonColor:r}=Kn(t);return r(e)}s(yl,"getCommonMessage");var{AsymmetricMatcher:O9,DOMCollection:R9,DOMElement:F9,Immutable:I9,ReactElement:N9,ReactTestComponent:k9}=im,wx=[k9,N9,F9,R9,I9,O9,im.Error],gd={maxDepth:20,plugins:wx},Ax={callToJSON:!1,maxDepth:8,plugins:wx};function Ia(e,t,r){if(Object.is(e,t))return"";let n=md(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==md(t)){let i=function(D){return D.length<=b?D:`${D.slice(0,b)}...`};s(i,"truncate");let{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:p,bColor:d,bIndicator:h}=Kn(r),f=gl(Ax,r),m=Pr(e,f),y=Pr(t,f),b=1e5;m=i(m),y=i(y);let g=`${u(`${c} ${l}:`)}
|
|
202
|
+
${m}`,v=`${d(`${h} ${p}:`)}
|
|
203
|
+
${y}`;return`${g}
|
|
204
|
+
|
|
205
|
+
${v}`}if(!o)switch(n){case"string":return ns(e.split(`
|
|
206
|
+
`),t.split(`
|
|
207
|
+
`),r);case"boolean":case"number":return xx(e,t,r);case"map":return zs(bd(e),bd(t),r);case"set":return zs(vd(e),vd(t),r);default:return zs(e,t,r)}}s(Ia,"diff");function xx(e,t,r){let n=Pr(e,gd),a=Pr(t,gd);return n===a?"":ns(n.split(`
|
|
208
|
+
`),a.split(`
|
|
209
|
+
`),r)}s(xx,"comparePrimitive");function bd(e){return new Map(Array.from(e.entries()).sort())}s(bd,"sortMap");function vd(e){return new Set(Array.from(e.values()).sort())}s(vd,"sortSet");function zs(e,t,r){let n,a=!1;try{let i=gl(gd,r);n=Ed(e,t,i,r)}catch{a=!0}let o=yl(rx,r);if(n===void 0||n===o){let i=gl(Ax,r);n=Ed(e,t,i,r),n!==o&&!a&&(n=`${yl(_9,r)}
|
|
210
|
+
|
|
211
|
+
${n}`)}return n}s(zs,"compareObjects");function gl(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:a}=Kn(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:a??e.maxDepth}}s(gl,"getFormatOptions");function Ed(e,t,r,n){let a={...r,indent:0},o=Pr(e,a),i=Pr(t,a);if(o===i)return yl(rx,n);{let l=Pr(e,r),u=Pr(t,r);return hx(l.split(`
|
|
212
|
+
`),u.split(`
|
|
213
|
+
`),o.split(`
|
|
214
|
+
`),i.split(`
|
|
215
|
+
`),n)}}s(Ed,"getObjectsDifference");var Ov=2e4;function Cd(e){return Ri(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(Cd,"isAsymmetricMatcher");function wd(e,t){let r=Ri(e),n=Ri(t);return r===n&&(r==="Object"||r==="Array")}s(wd,"isReplaceable");function ym(e,t,r){let{aAnnotation:n,bAnnotation:a}=Kn(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Ov&&e.length<=Ov&&t!==e){if(t.includes(`
|
|
216
|
+
`)||e.includes(`
|
|
217
|
+
`))return Cx(t,e,r);let[c]=mm(t,e,!0),p=c.some(m=>m[0]===gt),d=Sx(n,a),h=d(n)+Tx(Ad(c,$t,p)),f=d(a)+_x(Ad(c,Ot,p));return`${h}
|
|
218
|
+
${f}`}let o=dd(t,{forceWritable:!0}),i=dd(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=gm(i,o);return Ia(l,u,r)}s(ym,"printDiffOrStringify");function gm(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):wd(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),lm(t).forEach(a=>{let o=t[a],i=e[a];if(Cd(o))o.asymmetricMatch(i)&&(e[a]=o);else if(Cd(i))i.asymmetricMatch(o)&&(t[a]=i);else if(wd(i,o)){let l=gm(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(gm,"replaceAsymmetricMatcher");function Sx(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(Sx,"getLabelPrinter");var B9="·";function bm(e){return e.replace(/\s+$/gm,t=>B9.repeat(t.length))}s(bm,"replaceTrailingSpaces");function _x(e){return bt.red(bm(Yt(e)))}s(_x,"printReceived");function Tx(e){return bt.green(bm(Yt(e)))}s(Tx,"printExpected");function Ad(e,t,r){return e.reduce((n,a)=>n+(a[0]===gt?a[1]:a[0]===t?r?bt.inverse(a[1]):a[1]:""),"")}s(Ad,"getCommonAndChangedSubstrings");var j9="@@__IMMUTABLE_RECORD__@@",q9="@@__IMMUTABLE_ITERABLE__@@";function Px(e){return e&&(e[q9]||e[j9])}s(Px,"isImmutable");var M9=Object.getPrototypeOf({});function xd(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(xd,"getUnserializableMessage");function dn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&ri(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&ri(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&ri(()=>r.name??(r.name=e.name)),e.cause!=null&&ri(()=>r.cause??(r.cause=dn(e.cause,t)))),dn(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(Px(e))return dn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${zA(e.sample)}`;if(typeof e.toJSON=="function")return dn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=dn(n,t)}catch(o){r[a]=xd(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==M9;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=dn(e[a],t)}catch(o){delete r[a],r[a]=xd(o)}}),n=Object.getPrototypeOf(n);return r}}s(dn,"serializeValue");function ri(e){try{return e()}catch{}}s(ri,"safe");function Dx(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(Dx,"normalizeErrorMessage");function Ru(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=ym(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Yt(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Yt(n.actual,10));try{typeof n.message=="string"&&(n.message=Dx(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ru(n.cause,t,r))}catch{}try{return dn(n)}catch(a){return dn(new Error(`Failed to fully serialize error: ${a?.message}
|
|
219
|
+
Inner error message: ${n?.message}`))}}s(Ru,"processError");var rn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},up=globalThis.__STORYBOOK_ADDONS_PREVIEW,L9=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Rv=s(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),$9=s(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),U9=s(e=>{if(!Rv(e)&&!$9(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Rv(t)},"isInstrumentable"),V9=s(e=>{try{return new e.constructor}catch{return{}}},"construct"),cp=s(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),Fv=s((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),Ox=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=s(()=>{try{this.state=he.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=s(()=>{try{he.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=s(({storyId:u,renderPhase:c,isPlaying:p=!0,isDebugging:d=!1})=>{let h=this.getState(u);this.setState(u,{...cp(),...Fv(h,d),renderPhase:c||h.renderPhase,shadowCalls:d?h.shadowCalls:[],chainedCallIds:d?h.chainedCallIds:new Set,playUntil:d?h.playUntil:void 0,isPlaying:p,isDebugging:d}),this.sync(u)},"resetState"),r=s(u=>({storyId:c,playUntil:p})=>{this.getState(c).isDebugging||this.setState(c,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:h})=>{if(p||!d.length)return{playUntil:p};let f=h.findIndex(m=>m.id===d[0].callId);return{playUntil:h.slice(0,f).filter(m=>m.interceptable&&!m.ancestors?.length).slice(-1)[0]?.id}}),u.emit(pl,{storyId:c,isDebugging:!0})},"start"),n=s(u=>({storyId:c})=>{let p=this.getLog(c).filter(h=>!h.ancestors?.length),d=p.reduceRight((h,f,m)=>h>=0||f.status==="waiting"?h:m,-1);r(u)({storyId:c,playUntil:p[d-1]?.callId})},"back"),a=s(u=>({storyId:c,callId:p})=>{let{calls:d,shadowCalls:h,resolvers:f}=this.getState(c),m=d.find(({id:b})=>b===p),y=h.find(({id:b})=>b===p);if(!m&&y&&Object.values(f).length>0){let b=this.getLog(c).find(g=>g.status==="waiting")?.callId;y.id!==b&&this.setState(c,{playUntil:y.id}),Object.values(f).forEach(g=>g())}else r(u)({storyId:c,playUntil:p})},"goto"),o=s(u=>({storyId:c})=>{let{resolvers:p}=this.getState(c);if(Object.values(p).length>0)Object.values(p).forEach(d=>d());else{let d=this.getLog(c).find(h=>h.status==="waiting")?.callId;d?r(u)({storyId:c,playUntil:d}):i({storyId:c})}},"next"),i=s(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(c=>c())},"end"),l=s(({storyId:u,newPhase:c})=>{let{isDebugging:p}=this.getState(u);if(c==="preparing"&&p)return t({storyId:u,renderPhase:c});if(c==="playing")return t({storyId:u,renderPhase:c,isDebugging:p});c==="played"?this.setState(u,{renderPhase:c,isLocked:!1,isPlaying:!1,isDebugging:!1}):c==="errored"?this.setState(u,{renderPhase:c,isLocked:!1,isPlaying:!1}):c==="aborted"?this.setState(u,{renderPhase:c,isLocked:!0,isPlaying:!1}):this.setState(u,{renderPhase:c}),this.sync(u)},"renderPhaseChanged");up&&up.ready().then(()=>{this.channel=up.getChannel(),this.channel.on(pl,t),this.channel.on(va,l),this.channel.on(Ah,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(rn.START,r(this.channel)),this.channel.on(rn.BACK,n(this.channel)),this.channel.on(rn.GOTO,a(this.channel)),this.channel.on(rn.NEXT,o(this.channel)),this.channel.on(rn.END,i)})}getState(t){return this.state[t]||cp()}setState(t,r){if(t){let n=this.getState(t),a=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...a}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((r,[n,a])=>{let o=Fv(a);return o&&(r[n]=Object.assign(cp(),o)),r},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(rn.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),a=[...n];r.forEach((i,l)=>{a[l]=i});let o=new Set;return a.reduceRight((i,l)=>(l.args.forEach(u=>{u?.__callId__&&o.add(u.__callId__)}),l.path.forEach(u=>{u.__callId__&&o.add(u.__callId__)}),(l.interceptable||l.exception)&&!o.has(l.id)&&(i.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),o.add(l.id)),i),[])}instrument(t,r,n=0){if(!U9(t))return t;let{mutate:a=!1,path:o=[]}=r,i=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,i.reduce((l,u)=>{let c=Rx(t,u);if(typeof c?.get=="function"){if(c.configurable){let d=s(()=>c?.get?.bind(t)?.(),"getter");Object.defineProperty(l,u,{get:s(()=>this.instrument(d(),{...r,path:o.concat(u)},n),"get")})}return l}let p=t[u];return typeof p!="function"?(l[u]=this.instrument(p,{...r,path:o.concat(u)},n),l):"__originalFn__"in p&&typeof p.__originalFn__=="function"?(l[u]=p,l):(l[u]=(...d)=>this.track(u,p,t,d,r),l[u].__originalFn__=p,Object.defineProperty(l[u],"name",{value:u,writable:!1}),Object.keys(p).length>0&&Object.assign(l[u],this.instrument({...p},{...r,path:o.concat(u)},n)),l)},a?t:V9(t))}track(t,r,n,a,o){let i=a?.[0]?.__storyId__||he.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:l,ancestors:u}=this.getState(i);this.setState(i,{cursor:l+1});let c=`${u.slice(-1)[0]||i} [${l}] ${t}`,{path:p=[],intercept:d=!1,retain:h=!1}=o,f=typeof d=="function"?d(t,p):d,m={id:c,cursor:l,storyId:i,ancestors:u,path:p,method:t,args:a,interceptable:f,retain:h},y=(f&&!u.length?this.intercept:this.invoke).call(this,r,n,m,o);return this.instrument(y,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,a){let{chainedCallIds:o,isDebugging:i,playUntil:l}=this.getState(n.storyId),u=o.has(n.id);return!i||u||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,a)):new Promise(c=>{this.setState(n.storyId,({resolvers:p})=>({isLocked:!1,resolvers:{...p,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:p,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(t,r,n,a)))}invoke(t,r,n,a){let{callRefsByResult:o,renderPhase:i}=this.getState(n.storyId),l=25,u=s((d,h,f)=>{if(f.includes(d))return"[Circular]";if(f=[...f,d],h>l)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(m=>u(m,++h,f));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:m,message:y,stack:b}=d;return{__error__:{name:m,message:y,stack:b}}}if(d instanceof RegExp){let{flags:m,source:y}=d;return{__regexp__:{flags:m,source:y}}}if(d instanceof he.window?.HTMLElement){let{prefix:m,localName:y,id:b,classList:g,innerText:v}=d,D=Array.from(g);return{__element__:{prefix:m,localName:y,id:b,classNames:D,innerText:v}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&d?.constructor?.name&&d?.constructor?.name!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([m,y])=>[m,u(y,++h,f)])):d},"serializeValues"),c={...n,args:n.args.map(d=>u(d,0,[]))};n.path.forEach(d=>{d?.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(d.__callId__))}))});let p=s(d=>{if(d instanceof Error){let{name:h,message:f,stack:m,callId:y=n.id}=d,{showDiff:b=void 0,diff:g=void 0,actual:v=void 0,expected:D=void 0}=d.name==="AssertionError"?Ru(d):d,S={name:h,message:f,stack:m,callId:y,showDiff:b,diff:g,actual:v,expected:D};if(this.update({...c,status:"error",exception:S}),this.setState(n.storyId,_=>({callRefsByResult:new Map([...Array.from(_.callRefsByResult.entries()),[d,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:n.id}),d}throw d},"handleException");try{if(i==="played"&&!n.retain)throw L9;let d=(a.getArgs?a.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||Fx(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:b}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...b,n.id]});let g=s(()=>this.setState(n.storyId,{cursor:y,ancestors:b}),"restore"),v=!1;try{let D=f(...m);return D instanceof Promise?(v=!0,D.finally(g)):D}finally{v||g()}}),h=t.apply(r,d);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...c,status:"done"}),f),p):h}catch(d){return p(d)}}update(t){this.channel?.emit(rn.CALL,t),this.setState(t.storyId,({calls:r})=>{let n=r.concat(t).reduce((a,o)=>Object.assign(a,{[o.id]:o}),{});return{calls:Object.values(n).sort((a,o)=>a.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=s(()=>{let{isLocked:n,isPlaying:a}=this.getState(t),o=this.getLog(t),i=o.filter(({ancestors:p})=>!p.length).find(p=>p.status==="waiting")?.callId,l=o.some(p=>p.status==="active");if(this.detached||n||l||o.length===0){let p={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};this.channel?.emit(rn.SYNC,p);return}let u=o.some(p=>p.status==="done"||p.status==="error"),c={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:a,end:a},logItems:o,pausedAt:i};this.channel?.emit(rn.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};s(Ox,"Instrumenter");var H9=Ox;function Io(e,t={}){try{let r=!1,n=!1;return he.window?.location?.search?.includes("instrument=true")?r=!0:he.window?.location?.search?.includes("instrument=false")&&(n=!0),he.window?.parent===he.window&&!r||n?e:(he.window&&!he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new H9),(he.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return vt.warn(r),e}}s(Io,"instrument");function Rx(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}s(Rx,"getPropertyDescriptor");function Fx(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}s(Fx,"isClass");var Ix=Object.defineProperty,J9=Object.getOwnPropertyNames,ne=s((e,t)=>Ix(e,"name",{value:t,configurable:!0}),"__name"),z9=s((e,t)=>s(function(){return t||(0,e[J9(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),vm=s((e,t)=>{for(var r in t)Ix(e,r,{get:t[r],enumerable:!0})},"__export"),G9=z9({"(disabled):util"(){}}),Jr={};vm(Jr,{addChainableMethod:s(()=>Vu,"addChainableMethod"),addLengthGuard:s(()=>Bo,"addLengthGuard"),addMethod:s(()=>Lu,"addMethod"),addProperty:s(()=>Mu,"addProperty"),checkError:s(()=>ar,"checkError"),compareByInspect:s(()=>ki,"compareByInspect"),eql:s(()=>Bx,"eql"),expectTypes:s(()=>_m,"expectTypes"),flag:s(()=>Oe,"flag"),getActual:s(()=>os,"getActual"),getMessage:s(()=>Nu,"getMessage"),getName:s(()=>ss,"getName"),getOperator:s(()=>Gu,"getOperator"),getOwnEnumerableProperties:s(()=>zu,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:s(()=>Ju,"getOwnEnumerablePropertySymbols"),getPathInfo:s(()=>qu,"getPathInfo"),hasProperty:s(()=>is,"hasProperty"),inspect:s(()=>Ue,"inspect"),isNaN:s(()=>Fl,"isNaN"),isNumeric:s(()=>St,"isNumeric"),isProxyEnabled:s(()=>ko,"isProxyEnabled"),isRegExp:s(()=>Bi,"isRegExp"),objDisplay:s(()=>Bn,"objDisplay"),overwriteChainableMethod:s(()=>Hu,"overwriteChainableMethod"),overwriteMethod:s(()=>Uu,"overwriteMethod"),overwriteProperty:s(()=>$u,"overwriteProperty"),proxify:s(()=>Na,"proxify"),test:s(()=>Fu,"test"),transferFlags:s(()=>wr,"transferFlags"),type:s(()=>Ke,"type")});var ar={};vm(ar,{compatibleConstructor:s(()=>wm,"compatibleConstructor"),compatibleInstance:s(()=>Cm,"compatibleInstance"),compatibleMessage:s(()=>Am,"compatibleMessage"),getConstructorName:s(()=>xm,"getConstructorName"),getMessage:s(()=>Sm,"getMessage")});function as(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}s(as,"isErrorInstance");ne(as,"isErrorInstance");function Em(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(Em,"isRegExp");ne(Em,"isRegExp");function Cm(e,t){return as(t)&&e===t}s(Cm,"compatibleInstance");ne(Cm,"compatibleInstance");function wm(e,t){return as(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}s(wm,"compatibleConstructor");ne(wm,"compatibleConstructor");function Am(e,t){let r=typeof e=="string"?e:e.message;return Em(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}s(Am,"compatibleMessage");ne(Am,"compatibleMessage");function xm(e){let t=e;return as(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}s(xm,"getConstructorName");ne(xm,"getConstructorName");function Sm(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}s(Sm,"getMessage");ne(Sm,"getMessage");function Oe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}s(Oe,"flag");ne(Oe,"flag");function Fu(e,t){var r=Oe(e,"negate"),n=t[0];return r?!n:n}s(Fu,"test");ne(Fu,"test");function Ke(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Ke,"type");ne(Ke,"type");var W9="captureStackTrace"in Error,Ko,Je=(Ko=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,W9&&Error.captureStackTrace(this,r||Ko);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},s(Ko,"_AssertionError"),ne(Ko,"AssertionError"),Ko);function _m(e,t){var r=Oe(e,"message"),n=Oe(e,"ssfi");r=r?r+": ":"",e=Oe(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var a=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),o=Ke(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new Je(r+"object tested must be "+a+", but "+o+" given",void 0,n)}s(_m,"expectTypes");ne(_m,"expectTypes");function os(e,t){return t.length>4?t[4]:e._obj}s(os,"getActual");ne(os,"getActual");var Iv={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},K9={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mo="…";function Tm(e,t){let r=Iv[K9[t]]||Iv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(Tm,"colorise");ne(Tm,"colorise");function Pm({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=Tm),d}s(Pm,"normaliseOptions");ne(Pm,"normaliseOptions");function Dm(e){return e>="\uD800"&&e<="\uDBFF"}s(Dm,"isHighSurrogate");ne(Dm,"isHighSurrogate");function Xr(e,t,r=mo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Dm(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(Xr,"truncate");ne(Xr,"truncate");function ur(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${mo}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${mo}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(ur,"inspectList");ne(ur,"inspectList");function Om(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(Om,"quoteComplexKey");ne(Om,"quoteComplexKey");function Ea([e,t],r){return r.truncate-=2,typeof e=="string"?e=Om(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(Ea,"inspectProperty");ne(Ea,"inspectProperty");function Rm(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=ur(e,t);t.truncate-=n.length;let a="";return r.length&&(a=ur(r.map(o=>[o,e[o]]),t,Ea)),`[ ${n}${a?`, ${a}`:""} ]`}s(Rm,"inspectArray");ne(Rm,"inspectArray");var Y9=ne(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Sr(e,t){let r=Y9(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(Xr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${mo}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=ur(n.map(i=>[i,e[i]]),t,Ea)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Sr,"inspectTypedArray");ne(Sr,"inspectTypedArray");function Fm(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Xr(n[1],t.truncate-a.length-1)}`,"date")}s(Fm,"inspectDate");ne(Fm,"inspectDate");function bl(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Xr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(bl,"inspectFunction");ne(bl,"inspectFunction");function Im([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(Im,"inspectMapEntry");ne(Im,"inspectMapEntry");function Nm(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(Nm,"mapToEntries");ne(Nm,"mapToEntries");function km(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ur(Nm(e),t,Im)} }`)}s(km,"inspectMap");ne(km,"inspectMap");var X9=Number.isNaN||(e=>e!==e);function vl(e,t){return X9(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Xr(String(e),t.truncate),"number")}s(vl,"inspectNumber");ne(vl,"inspectNumber");function El(e,t){let r=Xr(e.toString(),t.truncate-1);return r!==mo&&(r+="n"),t.stylize(r,"bigint")}s(El,"inspectBigInt");ne(El,"inspectBigInt");function Bm(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Xr(a,n)}/${r}`,"regexp")}s(Bm,"inspectRegExp");ne(Bm,"inspectRegExp");function jm(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(jm,"arrayFromSet");ne(jm,"arrayFromSet");function qm(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ur(jm(e),t)} }`)}s(qm,"inspectSet");ne(qm,"inspectSet");var Nv=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Q9={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Z9=16;function Mm(e){return Q9[e]||`\\u${`0000${e.charCodeAt(0).toString(Z9)}`.slice(-4)}`}s(Mm,"escape");ne(Mm,"escape");function Cl(e,t){return Nv.test(e)&&(e=e.replace(Nv,Mm)),t.stylize(`'${Xr(e,t.truncate-2)}'`,"string")}s(Cl,"inspectString");ne(Cl,"inspectString");function wl(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(wl,"inspectSymbol");ne(wl,"inspectSymbol");var Nx=ne(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Nx=ne((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var e4=Nx;function no(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=ur(r.map(l=>[l,e[l]]),t,Ea),o=ur(n.map(l=>[l,e[l]]),t,Ea);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(no,"inspectObject");ne(no,"inspectObject");var pp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Lm(e,t){let r="";return pp&&pp in e&&(r=e[pp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${no(e,t)}`}s(Lm,"inspectClass");ne(Lm,"inspectClass");function $m(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ur(e,t)} ]`)}s($m,"inspectArguments");ne($m,"inspectArguments");var t4=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Um(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>t4.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Xr(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=ur(r.map(i=>[i,e[i]]),t,Ea);return`${n}${a}${o?` { ${o} }`:""}`}s(Um,"inspectObject2");ne(Um,"inspectObject");function Vm([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(Vm,"inspectAttribute");ne(Vm,"inspectAttribute");function Fi(e,t){return ur(e,t,Iu,`
|
|
220
|
+
`)}s(Fi,"inspectHTMLCollection");ne(Fi,"inspectHTMLCollection");function Iu(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=ur(r.map(p=>[p,e.getAttribute(p)]),t,Vm," ")),t.truncate-=l.length;let u=t.truncate,c=Fi(e.children,t);return c&&c.length>u&&(c=`${mo}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(Iu,"inspectHTML");ne(Iu,"inspectHTML");var r4=typeof Symbol=="function"&&typeof Symbol.for=="function",dp=r4?Symbol.for("chai/inspect"):"@@chai/inspect",Ya=!1;try{let e=G9();Ya=e.inspect?e.inspect.custom:!1}catch{Ya=!1}var kv=new WeakMap,Bv={},jv={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:vl,Number:vl,bigint:El,BigInt:El,string:Cl,String:Cl,function:bl,Function:bl,symbol:wl,Symbol:wl,Array:Rm,Date:Fm,Map:km,Set:qm,RegExp:Bm,Promise:e4,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:$m,Int8Array:Sr,Uint8Array:Sr,Uint8ClampedArray:Sr,Int16Array:Sr,Uint16Array:Sr,Int32Array:Sr,Uint32Array:Sr,Float32Array:Sr,Float64Array:Sr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:Um,HTMLCollection:Fi,NodeList:Fi},n4=ne((e,t,r)=>dp in e&&typeof e[dp]=="function"?e[dp](t):Ya&&Ya in e&&typeof e[Ya]=="function"?e[Ya](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&kv.has(e.constructor)?kv.get(e.constructor)(e,t):Bv[r]?Bv[r](e,t):"","inspectCustom"),a4=Object.prototype.toString;function Ii(e,t={}){let r=Pm(t,Ii),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=a4.call(e).slice(8,-1)),a in jv)return jv[a](e,r);if(n&&e){let i=n4(e,r,a);if(i)return typeof i=="string"?i:Ii(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?no(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Iu(e,r):"constructor"in e?e.constructor!==Object?Lm(e,r):no(e,r):e===Object(e)?no(e,r):r.stylize(String(e),a)}s(Ii,"inspect");ne(Ii,"inspect");var Ht={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ue(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ht.truncateThreshold?Ht.truncateThreshold:1/0};return Ii(e,a)}s(Ue,"inspect2");ne(Ue,"inspect");function Bn(e){var t=Ue(e),r=Object.prototype.toString.call(e);if(Ht.truncateThreshold&&t.length>=Ht.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}s(Bn,"objDisplay");ne(Bn,"objDisplay");function Nu(e,t){var r=Oe(e,"negate"),n=Oe(e,"object"),a=t[3],o=os(e,t),i=r?t[2]:t[1],l=Oe(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Bn(n)}).replace(/#\{act\}/g,function(){return Bn(o)}).replace(/#\{exp\}/g,function(){return Bn(a)}),l?l+": "+i:i}s(Nu,"getMessage2");ne(Nu,"getMessage");function wr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}s(wr,"transferFlags");ne(wr,"transferFlags");function Al(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Al,"type2");ne(Al,"type");function ku(){this._key="chai/deep-eql__"+Math.random()+Date.now()}s(ku,"FakeMap");ne(ku,"FakeMap");ku.prototype={get:ne(s(function(e){return e[this._key]},"get"),"get"),set:ne(s(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var kx=typeof WeakMap=="function"?WeakMap:ku;function xl(e,t,r){if(!r||Hn(e)||Hn(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}s(xl,"memoizeCompare");ne(xl,"memoizeCompare");function Xa(e,t,r,n){if(!(!r||Hn(e)||Hn(t))){var a=r.get(e);a?a.set(t,n):(a=new kx,a.set(t,n),r.set(e,a))}}s(Xa,"memoizeSet");ne(Xa,"memoizeSet");var Bx=No;function No(e,t,r){if(r&&r.comparator)return Sl(e,t,r);var n=Bu(e,t);return n!==null?n:Sl(e,t,r)}s(No,"deepEqual");ne(No,"deepEqual");function Bu(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Hn(e)||Hn(t)?!1:null}s(Bu,"simpleEqual");ne(Bu,"simpleEqual");function Sl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new kx;var n=r&&r.comparator,a=xl(e,t,r.memoize);if(a!==null)return a;var o=xl(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return Xa(e,t,r.memoize,i),i;var l=Bu(e,t);if(l!==null)return l}var u=Al(e);if(u!==Al(t))return Xa(e,t,r.memoize,!1),!1;Xa(e,t,r.memoize,!0);var c=Hm(e,t,u,r);return Xa(e,t,r.memoize,c),c}s(Sl,"extensiveDeepEqual");ne(Sl,"extensiveDeepEqual");function Hm(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return No(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return ju(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return gn(e,t,n);case"RegExp":return Jm(e,t);case"Generator":return zm(e,t,n);case"DataView":return gn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return gn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return _l(e,t,n);case"Map":return _l(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Wm(e,t,n)}}s(Hm,"extensiveDeepEqualByType");ne(Hm,"extensiveDeepEqualByType");function Jm(e,t){return e.toString()===t.toString()}s(Jm,"regexpEqual");ne(Jm,"regexpEqual");function _l(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(ne(s(function(o,i){n.push([o,i])},"gatherEntries"),"gatherEntries")),t.forEach(ne(s(function(o,i){a.push([o,i])},"gatherEntries"),"gatherEntries")),gn(n.sort(),a.sort(),r)}s(_l,"entriesEqual");ne(_l,"entriesEqual");function gn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(No(e[a],t[a],r)===!1)return!1;return!0}s(gn,"iterableEqual");ne(gn,"iterableEqual");function zm(e,t,r){return gn(Ni(e),Ni(t),r)}s(zm,"generatorEqual");ne(zm,"generatorEqual");function Gm(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}s(Gm,"hasIteratorFunction");ne(Gm,"hasIteratorFunction");function Tl(e){if(Gm(e))try{return Ni(e[Symbol.iterator]())}catch{return[]}return[]}s(Tl,"getIteratorEntries");ne(Tl,"getIteratorEntries");function Ni(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}s(Ni,"getGeneratorEntries");ne(Ni,"getGeneratorEntries");function Pl(e){var t=[];for(var r in e)t.push(r);return t}s(Pl,"getEnumerableKeys");ne(Pl,"getEnumerableKeys");function Dl(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}s(Dl,"getEnumerableSymbols");ne(Dl,"getEnumerableSymbols");function ju(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(No(e[r[o]],t[r[o]],n)===!1)return!1;return!0}s(ju,"keysEqual");ne(ju,"keysEqual");function Wm(e,t,r){var n=Pl(e),a=Pl(t),o=Dl(e),i=Dl(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return gn(Ol(n).sort(),Ol(a).sort())===!1?!1:ju(e,t,n,r);var l=Tl(e),u=Tl(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),gn(l,u,r)):n.length===0&&l.length===0&&a.length===0&&u.length===0}s(Wm,"objectEqual");ne(Wm,"objectEqual");function Hn(e){return e===null||typeof e!="object"}s(Hn,"isPrimitive");ne(Hn,"isPrimitive");function Ol(e){return e.map(ne(s(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}s(Ol,"mapSymbols");ne(Ol,"mapSymbols");function is(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}s(is,"hasProperty");ne(is,"hasProperty");function Km(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}s(Km,"parsePath");ne(Km,"parsePath");function Rl(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}s(Rl,"internalGetPathValue");ne(Rl,"internalGetPathValue");function qu(e,t){let r=Km(t),n=r[r.length-1],a={parent:r.length>1?Rl(e,r,r.length-1):e,name:n.p||n.i,value:Rl(e,r)};return a.exists=is(a.parent,a.name),a}s(qu,"getPathInfo");ne(qu,"getPathInfo");function J(e,t,r,n){return Oe(this,"ssfi",r||J),Oe(this,"lockSsfi",n),Oe(this,"object",e),Oe(this,"message",t),Oe(this,"eql",Ht.deepEqual||Bx),Na(this)}s(J,"Assertion");ne(J,"Assertion");Object.defineProperty(J,"includeStack",{get:s(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ht.includeStack},"get"),set:s(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ht.includeStack=e},"set")});Object.defineProperty(J,"showDiff",{get:s(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ht.showDiff},"get"),set:s(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ht.showDiff=e},"set")});J.addProperty=function(e,t){Mu(this.prototype,e,t)};J.addMethod=function(e,t){Lu(this.prototype,e,t)};J.addChainableMethod=function(e,t,r){Vu(this.prototype,e,t,r)};J.overwriteProperty=function(e,t){$u(this.prototype,e,t)};J.overwriteMethod=function(e,t){Uu(this.prototype,e,t)};J.overwriteChainableMethod=function(e,t,r){Hu(this.prototype,e,t,r)};J.prototype.assert=function(e,t,r,n,a,o){var i=Fu(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Ht.showDiff!==!0&&(o=!1),!i){t=Nu(this,arguments);var l=os(this,arguments),u={actual:l,expected:n,showDiff:o},c=Gu(this,arguments);throw c&&(u.operator=c),new Je(t,u,Ht.includeStack?this.assert:Oe(this,"ssfi"))}};Object.defineProperty(J.prototype,"_obj",{get:s(function(){return Oe(this,"object")},"get"),set:s(function(e){Oe(this,"object",e)},"set")});function ko(){return Ht.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}s(ko,"isProxyEnabled");ne(ko,"isProxyEnabled");function Mu(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:ne(s(function n(){!ko()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var o=new J;return wr(this,o),o},"propertyGetter"),"propertyGetter"),configurable:!0})}s(Mu,"addProperty");ne(Mu,"addProperty");var o4=Object.getOwnPropertyDescriptor(function(){},"length");function Bo(e,t,r){return o4.configurable&&Object.defineProperty(e,"length",{get:s(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}s(Bo,"addLengthGuard");ne(Bo,"addLengthGuard");function Ym(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}s(r,"addProperty2"),ne(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}s(Ym,"getProperties");ne(Ym,"getProperties");var qv=["__flags","__methods","_obj","assert"];function Na(e,t){return ko()?new Proxy(e,{get:ne(s(function r(n,a){if(typeof a=="string"&&Ht.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,i=4;throw Ym(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&qv.indexOf(l)===-1){var u=Xm(a,l,i);u<i&&(o=l,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return qv.indexOf(a)===-1&&!Oe(n,"lockSsfi")&&Oe(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter"),"proxyGetter")}):e}s(Na,"proxify");ne(Na,"proxify");function Xm(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){var a=e.charCodeAt(o-1);for(let i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(a===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}s(Xm,"stringDistanceCapped");ne(Xm,"stringDistanceCapped");function Lu(e,t,r){var n=ne(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new J;return wr(this,o),o},"methodWrapper");Bo(n,t,!1),e[t]=Na(n,t)}s(Lu,"addMethod");ne(Lu,"addMethod");function $u(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=ne(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:ne(s(function o(){!ko()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).call(this);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new J;return wr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}s($u,"overwriteProperty");ne($u,"overwriteProperty");function Uu(e,t,r){var n=e[t],a=ne(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=ne(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new J;return wr(this,u),u},"overwritingMethodWrapper");Bo(o,t,!1),e[t]=Na(o,t)}s(Uu,"overwriteMethod");ne(Uu,"overwriteMethod");var i4=typeof Object.setPrototypeOf=="function",Mv=ne(function(){},"testFn"),s4=Object.getOwnPropertyNames(Mv).filter(function(e){var t=Object.getOwnPropertyDescriptor(Mv,e);return typeof t!="object"?!0:!t.configurable}),l4=Function.prototype.call,u4=Function.prototype.apply;function Vu(e,t,r,n){typeof n!="function"&&(n=ne(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:ne(s(function(){a.chainingBehavior.call(this);var o=ne(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new J;return wr(this,c),c},"chainableMethodWrapper");if(Bo(o,t,!0),i4){var i=Object.create(this);i.call=l4,i.apply=u4,Object.setPrototypeOf(o,i)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(s4.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return wr(this,o),Na(o)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}s(Vu,"addChainableMethod");ne(Vu,"addChainableMethod");function Hu(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=ne(s(function(){var l=n(o).call(this);if(l!==void 0)return l;var u=new J;return wr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var i=a.method;a.method=ne(s(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new J;return wr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}s(Hu,"overwriteChainableMethod");ne(Hu,"overwriteChainableMethod");function ki(e,t){return Ue(e)<Ue(t)?-1:1}s(ki,"compareByInspect");ne(ki,"compareByInspect");function Ju(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}s(Ju,"getOwnEnumerablePropertySymbols");ne(Ju,"getOwnEnumerablePropertySymbols");function zu(e){return Object.keys(e).concat(Ju(e))}s(zu,"getOwnEnumerableProperties");ne(zu,"getOwnEnumerableProperties");var Fl=Number.isNaN;function Qm(e){var t=Ke(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}s(Qm,"isObjectType");ne(Qm,"isObjectType");function Gu(e,t){var r=Oe(e,"operator"),n=Oe(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!!o&&!/\shave\s/.test(o)){var i=Qm(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}s(Gu,"getOperator");ne(Gu,"getOperator");function ss(e){return e.name}s(ss,"getName");ne(ss,"getName");function Bi(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(Bi,"isRegExp2");ne(Bi,"isRegExp");function St(e){return["Number","BigInt"].includes(Ke(e))}s(St,"isNumeric");ne(St,"isNumeric");var{flag:re}=Jr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){J.addProperty(e)});J.addProperty("not",function(){re(this,"negate",!0)});J.addProperty("deep",function(){re(this,"deep",!0)});J.addProperty("nested",function(){re(this,"nested",!0)});J.addProperty("own",function(){re(this,"own",!0)});J.addProperty("ordered",function(){re(this,"ordered",!0)});J.addProperty("any",function(){re(this,"any",!0),re(this,"all",!1)});J.addProperty("all",function(){re(this,"all",!0),re(this,"any",!1)});var Lv={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Wu(e,t){t&&re(this,"message",t),e=e.toLowerCase();var r=re(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let a=Ke(r).toLowerCase();Lv.function.includes(e)?this.assert(Lv[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}s(Wu,"an");ne(Wu,"an");J.addChainableMethod("an",Wu);J.addChainableMethod("a",Wu);function Zm(e,t){return Fl(e)&&Fl(t)||e===t}s(Zm,"SameValueZero");ne(Zm,"SameValueZero");function jo(){re(this,"contains",!0)}s(jo,"includeChainingBehavior");ne(jo,"includeChainingBehavior");function qo(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=Ke(r).toLowerCase(),a=re(this,"message"),o=re(this,"negate"),i=re(this,"ssfi"),l=re(this,"deep"),u=l?"deep ":"",c=l?re(this,"eql"):Zm;a=a?a+": ":"";var p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new Je(a+"unable to use .deep.include with WeakSet",void 0,i);p=r.has(e);break;case"map":r.forEach(function(m){p=p||c(m,e)});break;case"set":l?r.forEach(function(m){p=p||c(m,e)}):p=r.has(e);break;case"array":l?p=r.some(function(m){return c(m,e)}):p=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Je(a+"the given combination of arguments ("+n+" and "+Ke(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Ke(e).toLowerCase(),void 0,i);var d=Object.keys(e),h=null,f=0;if(d.forEach(function(m){var y=new J(r);if(wr(this,y,!0),re(y,"lockSsfi",!0),!o||d.length===1){y.property(m,e[m]);return}try{y.property(m,e[m])}catch(b){if(!ar.compatibleConstructor(b,Je))throw b;h===null&&(h=b),f++}},this),o&&d.length>1&&f===d.length)throw h;return}this.assert(p,"expected #{this} to "+u+"include "+Ue(e),"expected #{this} to not "+u+"include "+Ue(e))}s(qo,"include");ne(qo,"include");J.addChainableMethod("include",qo,jo);J.addChainableMethod("contain",qo,jo);J.addChainableMethod("contains",qo,jo);J.addChainableMethod("includes",qo,jo);J.addProperty("ok",function(){this.assert(re(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});J.addProperty("true",function(){this.assert(re(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!re(this,"negate"))});J.addProperty("numeric",function(){let e=re(this,"object");this.assert(["Number","BigInt"].includes(Ke(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!re(this,"negate"))});J.addProperty("callable",function(){let e=re(this,"object"),t=re(this,"ssfi"),r=re(this,"message"),n=r?`${r}: `:"",a=re(this,"negate"),o=a?`${n}expected ${Ue(e)} not to be a callable function`:`${n}expected ${Ue(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Ke(e));if(i&&a||!i&&!a)throw new Je(o,void 0,t)});J.addProperty("false",function(){this.assert(re(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!re(this,"negate"))});J.addProperty("null",function(){this.assert(re(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});J.addProperty("undefined",function(){this.assert(re(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});J.addProperty("NaN",function(){this.assert(Fl(re(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ku(){var e=re(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}s(Ku,"assertExist");ne(Ku,"assertExist");J.addProperty("exist",Ku);J.addProperty("exists",Ku);J.addProperty("empty",function(){var e=re(this,"object"),t=re(this,"ssfi"),r=re(this,"message"),n;switch(r=r?r+": ":"",Ke(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Je(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+ss(e);throw new Je(a.trim(),void 0,t);default:if(e!==Object(e))throw new Je(r+".empty was passed non-string primitive "+Ue(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Yu(){var e=re(this,"object"),t=Ke(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}s(Yu,"checkArguments");ne(Yu,"checkArguments");J.addProperty("arguments",Yu);J.addProperty("Arguments",Yu);function ls(e,t){t&&re(this,"message",t);var r=re(this,"object");if(re(this,"deep")){var n=re(this,"lockSsfi");re(this,"lockSsfi",!0),this.eql(e),re(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}s(ls,"assertEqual");ne(ls,"assertEqual");J.addMethod("equal",ls);J.addMethod("equals",ls);J.addMethod("eq",ls);function Xu(e,t){t&&re(this,"message",t);var r=re(this,"eql");this.assert(r(e,re(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}s(Xu,"assertEql");ne(Xu,"assertEql");J.addMethod("eql",Xu);J.addMethod("eqls",Xu);function us(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new J(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new Je(o+"the argument to above must be a date",void 0,i);if(!St(e)&&(n||St(r)))throw new Je(o+"the argument to above must be a number",void 0,i);if(!n&&l!=="date"&&!St(r)){var c=l==="string"?"'"+r+"'":r;throw new Je(o+"expected "+c+" to be a number or a date",void 0,i)}if(n){var p="length",d;l==="map"||l==="set"?(p="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}s(us,"assertAbove");ne(us,"assertAbove");J.addMethod("above",us);J.addMethod("gt",us);J.addMethod("greaterThan",us);function cs(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new J(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to least must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Je(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}s(cs,"assertLeast");ne(cs,"assertLeast");J.addMethod("least",cs);J.addMethod("gte",cs);J.addMethod("greaterThanOrEqual",cs);function ps(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new J(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to below must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Je(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}s(ps,"assertBelow");ne(ps,"assertBelow");J.addMethod("below",ps);J.addMethod("lt",ps);J.addMethod("lessThan",ps);function ds(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new J(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to most must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to most must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Je(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}s(ds,"assertMost");ne(ds,"assertMost");J.addMethod("most",ds);J.addMethod("lte",ds);J.addMethod("lessThanOrEqual",ds);J.addMethod("within",function(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"doLength"),o=re(this,"message"),i=o?o+": ":"",l=re(this,"ssfi"),u=Ke(n).toLowerCase(),c=Ke(e).toLowerCase(),p=Ke(t).toLowerCase(),d,h=!0,f=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new J(n,o,l,!0).to.have.property("length"),!a&&u==="date"&&(c!=="date"||p!=="date"))d=i+"the arguments to within must be dates";else if((!St(e)||!St(t))&&(a||St(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!St(n)){var m=u==="string"?"'"+n+"'":n;d=i+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new Je(d,void 0,l);if(a){var y="length",b;u==="map"||u==="set"?(y="size",b=n.size):b=n.length,this.assert(b>=e&&b<=t,"expected #{this} to have a "+y+" within "+f,"expected #{this} to not have a "+y+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function Qu(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"ssfi"),a=re(this,"message");try{var o=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new Je(a+"The instanceof assertion needs a constructor but "+Ke(e)+" was given.",void 0,n)):l}var i=ss(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}s(Qu,"assertInstanceOf");ne(Qu,"assertInstanceOf");J.addMethod("instanceof",Qu);J.addMethod("instanceOf",Qu);function Zu(e,t,r){r&&re(this,"message",r);var n=re(this,"nested"),a=re(this,"own"),o=re(this,"message"),i=re(this,"object"),l=re(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new Je(o+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new Je(o+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new Je(o+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new Je(o+"Target cannot be null or undefined.",void 0,l);var c=re(this,"deep"),p=re(this,"negate"),d=n?qu(i,e):null,h=n?d.value:i[e],f=c?re(this,"eql"):(b,g)=>b===g,m="";c&&(m+="deep "),a&&(m+="own "),n&&(m+="nested "),m+="property ";var y;a?y=Object.prototype.hasOwnProperty.call(i,e):n?y=d.exists:y=is(i,e),(!p||arguments.length===1)&&this.assert(y,"expected #{this} to have "+m+Ue(e),"expected #{this} to not have "+m+Ue(e)),arguments.length>1&&this.assert(y&&f(t,h),"expected #{this} to have "+m+Ue(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ue(e)+" of #{act}",t,h),re(this,"object",h)}s(Zu,"assertProperty");ne(Zu,"assertProperty");J.addMethod("property",Zu);function ec(e,t,r){re(this,"own",!0),Zu.apply(this,arguments)}s(ec,"assertOwnProperty");ne(ec,"assertOwnProperty");J.addMethod("ownProperty",ec);J.addMethod("haveOwnProperty",ec);function tc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&re(this,"message",r);var n=re(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=re(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+Ue(e)+" on #{this} to match "+Ue(t)+", got "+Ue(a),"expected the own property descriptor for "+Ue(e)+" on #{this} to not match "+Ue(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+Ue(e),"expected #{this} to not have an own property descriptor for "+Ue(e)),re(this,"object",a)}s(tc,"assertOwnPropertyDescriptor");ne(tc,"assertOwnPropertyDescriptor");J.addMethod("ownPropertyDescriptor",tc);J.addMethod("haveOwnPropertyDescriptor",tc);function rc(){re(this,"doLength",!0)}s(rc,"assertLengthChain");ne(rc,"assertLengthChain");function nc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=Ke(r).toLowerCase(),a=re(this,"message"),o=re(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new J(r,a,o,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l)}s(nc,"assertLength");ne(nc,"assertLength");J.addChainableMethod("length",nc,rc);J.addChainableMethod("lengthOf",nc,rc);function ac(e,t){t&&re(this,"message",t);var r=re(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}s(ac,"assertMatch");ne(ac,"assertMatch");J.addMethod("match",ac);J.addMethod("matches",ac);J.addMethod("string",function(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi");new J(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ue(e),"expected #{this} to not contain "+Ue(e))});function oc(e){var t=re(this,"object"),r=Ke(t),n=Ke(e),a=re(this,"ssfi"),o=re(this,"deep"),i,l="",u,c=!0,p=re(this,"message");p=p?p+": ":"";var d=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=o?"deeply ":"",u=[],t.forEach(function(v,D){u.push(D)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=zu(t),n){case"Array":if(arguments.length>1)throw new Je(d,void 0,a);break;case"Object":if(arguments.length>1)throw new Je(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Je(p+"keys required",void 0,a);var h=e.length,f=re(this,"any"),m=re(this,"all"),y=e,b=o?re(this,"eql"):(v,D)=>v===D;if(!f&&!m&&(m=!0),f&&(c=y.some(function(v){return u.some(function(D){return b(v,D)})})),m&&(c=y.every(function(v){return u.some(function(D){return b(v,D)})}),re(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(v){return Ue(v)});var g=e.pop();m&&(i=e.join(", ")+", and "+g),f&&(i=e.join(", ")+", or "+g)}else i=Ue(e[0]);i=(h>1?"keys ":"key ")+i,i=(re(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,y.slice(0).sort(ki),u.sort(ki),!0)}s(oc,"assertKeys");ne(oc,"assertKeys");J.addMethod("keys",oc);J.addMethod("key",oc);function fs(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"ssfi"),o=re(this,"message"),i=re(this,"negate")||!1;new J(n,o,a,!0).is.a("function"),(Bi(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(v){u=!0,l=v}var c=e===void 0&&t===void 0,p=!!(e&&t),d=!1,h=!1;if(c||!c&&!i){var f="an error";e instanceof Error?f="#{exp}":e&&(f=ar.getConstructorName(e));let v=l;if(l instanceof Error)v=l.toString();else if(typeof l=="string")v=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{v=ar.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&l){if(e instanceof Error){var m=ar.compatibleInstance(l,e);m===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()))}var y=ar.compatibleConstructor(l,e);y===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ar.getConstructorName(e),l instanceof Error?l.toString():l&&ar.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var b="including";Bi(t)&&(b="matching");var g=ar.compatibleMessage(l,t);g===i&&(p&&i?h=!0:this.assert(i,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,ar.getMessage(l)))}d&&h&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ar.getConstructorName(e),l instanceof Error?l.toString():l&&ar.getConstructorName(l)),re(this,"object",l)}s(fs,"assertThrows");ne(fs,"assertThrows");J.addMethod("throw",fs);J.addMethod("throws",fs);J.addMethod("Throw",fs);function ic(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+Ue(e),"expected #{this} to not respond to "+Ue(e))}s(ic,"respondTo");ne(ic,"respondTo");J.addMethod("respondTo",ic);J.addMethod("respondsTo",ic);J.addProperty("itself",function(){re(this,"itself",!0)});function sc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Bn(e),"expected #{this} to not satisfy"+Bn(e),!re(this,"negate"),n)}s(sc,"satisfy");ne(sc,"satisfy");J.addMethod("satisfy",sc);J.addMethod("satisfies",sc);function lc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new J(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new Je(a?`${a}: ${i}`:i,void 0,o);if(new J(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new Je(a?`${a}: ${i}`:i,void 0,o);new J(e,a,o,!0).is.numeric;let l=ne(c=>c<0n?-c:c,"abs"),u=ne(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}s(lc,"closeTo");ne(lc,"closeTo");J.addMethod("closeTo",lc);J.addMethod("approximately",lc);function ey(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(l,u){if(a)return r?r(l,o[u]):l===o[u];if(!r){var c=o.indexOf(l);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(p,d){return r(l,p)?(n||o.splice(d,1),!0):!1})})}s(ey,"isSubsetOf");ne(ey,"isSubsetOf");J.addMethod("members",function(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi");new J(r,n,a,!0).to.be.iterable,new J(e,n,a,!0).to.be.iterable;var o=re(this,"contains"),i=re(this,"ordered"),l,u,c;o?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var p=re(this,"deep")?re(this,"eql"):void 0;this.assert(ey(e,r,p,o,i),u,c,e,r,!0)});J.addProperty("iterable",function(e){e&&re(this,"message",e);var t=re(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function ty(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi"),o=re(this,"contains"),i=re(this,"deep"),l=re(this,"eql");new J(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}s(ty,"oneOf");ne(ty,"oneOf");J.addMethod("oneOf",ty);function uc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new J(n,a,o,!0).is.a("function");var i;t?(new J(e,a,o,!0).to.have.property(t),i=e[t]):(new J(e,a,o,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","change"),re(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change")}s(uc,"assertChanges");ne(uc,"assertChanges");J.addMethod("change",uc);J.addMethod("changes",uc);function cc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new J(n,a,o,!0).is.a("function");var i;t?(new J(e,a,o,!0).to.have.property(t),i=e[t]):(new J(e,a,o,!0).is.a("function"),i=e()),new J(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","increase"),re(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}s(cc,"assertIncreases");ne(cc,"assertIncreases");J.addMethod("increase",cc);J.addMethod("increases",cc);function pc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new J(n,a,o,!0).is.a("function");var i;t?(new J(e,a,o,!0).to.have.property(t),i=e[t]):(new J(e,a,o,!0).is.a("function"),i=e()),new J(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","decrease"),re(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}s(pc,"assertDecreases");ne(pc,"assertDecreases");J.addMethod("decrease",pc);J.addMethod("decreases",pc);function ry(e,t){t&&re(this,"message",t);var r=re(this,"deltaMsgObj"),n=re(this,"initialDeltaValue"),a=re(this,"finalDeltaValue"),o=re(this,"deltaBehavior"),i=re(this,"realDelta"),l;o==="change"?l=Math.abs(a-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}s(ry,"assertDelta");ne(ry,"assertDelta");J.addMethod("by",ry);J.addProperty("extensible",function(){var e=re(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});J.addProperty("sealed",function(){var e=re(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});J.addProperty("frozen",function(){var e=re(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});J.addProperty("finite",function(e){var t=re(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function ji(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return ji(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?ji(n,a):typeof n=="function"?n(a):a===n}):!1}s(ji,"compareSubset");ne(ji,"compareSubset");J.addMethod("containSubset",function(e){let t=Oe(this,"object"),r=Ht.showDiff;this.assert(ji(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function jn(e,t){return new J(e,t)}s(jn,"expect");ne(jn,"expect");jn.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Je(r,{actual:e,expected:t,operator:n},jn.fail)};var jx={};vm(jx,{Should:s(()=>p4,"Should"),should:s(()=>c4,"should")});function dc(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new J(this.valueOf(),null,e):new J(this,null,e)}s(e,"shouldGetter"),ne(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}s(t,"shouldSetter"),ne(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new Je(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new J(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new J(n,i).to.Throw(a,o)},r.exist=function(n,a){new J(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new J(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new J(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new J(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}s(dc,"loadShould");ne(dc,"loadShould");var c4=dc,p4=dc;function H(e,t){var r=new J(null,null,H,!0);r.assert(e,t,"[ negation message unavailable ]")}s(H,"assert");ne(H,"assert");H.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Je(r,{actual:e,expected:t,operator:n},H.fail)};H.isOk=function(e,t){new J(e,t,H.isOk,!0).is.ok};H.isNotOk=function(e,t){new J(e,t,H.isNotOk,!0).is.not.ok};H.equal=function(e,t,r){var n=new J(e,r,H.equal,!0);n.assert(t==Oe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};H.notEqual=function(e,t,r){var n=new J(e,r,H.notEqual,!0);n.assert(t!=Oe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};H.strictEqual=function(e,t,r){new J(e,r,H.strictEqual,!0).to.equal(t)};H.notStrictEqual=function(e,t,r){new J(e,r,H.notStrictEqual,!0).to.not.equal(t)};H.deepEqual=H.deepStrictEqual=function(e,t,r){new J(e,r,H.deepEqual,!0).to.eql(t)};H.notDeepEqual=function(e,t,r){new J(e,r,H.notDeepEqual,!0).to.not.eql(t)};H.isAbove=function(e,t,r){new J(e,r,H.isAbove,!0).to.be.above(t)};H.isAtLeast=function(e,t,r){new J(e,r,H.isAtLeast,!0).to.be.least(t)};H.isBelow=function(e,t,r){new J(e,r,H.isBelow,!0).to.be.below(t)};H.isAtMost=function(e,t,r){new J(e,r,H.isAtMost,!0).to.be.most(t)};H.isTrue=function(e,t){new J(e,t,H.isTrue,!0).is.true};H.isNotTrue=function(e,t){new J(e,t,H.isNotTrue,!0).to.not.equal(!0)};H.isFalse=function(e,t){new J(e,t,H.isFalse,!0).is.false};H.isNotFalse=function(e,t){new J(e,t,H.isNotFalse,!0).to.not.equal(!1)};H.isNull=function(e,t){new J(e,t,H.isNull,!0).to.equal(null)};H.isNotNull=function(e,t){new J(e,t,H.isNotNull,!0).to.not.equal(null)};H.isNaN=function(e,t){new J(e,t,H.isNaN,!0).to.be.NaN};H.isNotNaN=function(e,t){new J(e,t,H.isNotNaN,!0).not.to.be.NaN};H.exists=function(e,t){new J(e,t,H.exists,!0).to.exist};H.notExists=function(e,t){new J(e,t,H.notExists,!0).to.not.exist};H.isUndefined=function(e,t){new J(e,t,H.isUndefined,!0).to.equal(void 0)};H.isDefined=function(e,t){new J(e,t,H.isDefined,!0).to.not.equal(void 0)};H.isCallable=function(e,t){new J(e,t,H.isCallable,!0).is.callable};H.isNotCallable=function(e,t){new J(e,t,H.isNotCallable,!0).is.not.callable};H.isObject=function(e,t){new J(e,t,H.isObject,!0).to.be.a("object")};H.isNotObject=function(e,t){new J(e,t,H.isNotObject,!0).to.not.be.a("object")};H.isArray=function(e,t){new J(e,t,H.isArray,!0).to.be.an("array")};H.isNotArray=function(e,t){new J(e,t,H.isNotArray,!0).to.not.be.an("array")};H.isString=function(e,t){new J(e,t,H.isString,!0).to.be.a("string")};H.isNotString=function(e,t){new J(e,t,H.isNotString,!0).to.not.be.a("string")};H.isNumber=function(e,t){new J(e,t,H.isNumber,!0).to.be.a("number")};H.isNotNumber=function(e,t){new J(e,t,H.isNotNumber,!0).to.not.be.a("number")};H.isNumeric=function(e,t){new J(e,t,H.isNumeric,!0).is.numeric};H.isNotNumeric=function(e,t){new J(e,t,H.isNotNumeric,!0).is.not.numeric};H.isFinite=function(e,t){new J(e,t,H.isFinite,!0).to.be.finite};H.isBoolean=function(e,t){new J(e,t,H.isBoolean,!0).to.be.a("boolean")};H.isNotBoolean=function(e,t){new J(e,t,H.isNotBoolean,!0).to.not.be.a("boolean")};H.typeOf=function(e,t,r){new J(e,r,H.typeOf,!0).to.be.a(t)};H.notTypeOf=function(e,t,r){new J(e,r,H.notTypeOf,!0).to.not.be.a(t)};H.instanceOf=function(e,t,r){new J(e,r,H.instanceOf,!0).to.be.instanceOf(t)};H.notInstanceOf=function(e,t,r){new J(e,r,H.notInstanceOf,!0).to.not.be.instanceOf(t)};H.include=function(e,t,r){new J(e,r,H.include,!0).include(t)};H.notInclude=function(e,t,r){new J(e,r,H.notInclude,!0).not.include(t)};H.deepInclude=function(e,t,r){new J(e,r,H.deepInclude,!0).deep.include(t)};H.notDeepInclude=function(e,t,r){new J(e,r,H.notDeepInclude,!0).not.deep.include(t)};H.nestedInclude=function(e,t,r){new J(e,r,H.nestedInclude,!0).nested.include(t)};H.notNestedInclude=function(e,t,r){new J(e,r,H.notNestedInclude,!0).not.nested.include(t)};H.deepNestedInclude=function(e,t,r){new J(e,r,H.deepNestedInclude,!0).deep.nested.include(t)};H.notDeepNestedInclude=function(e,t,r){new J(e,r,H.notDeepNestedInclude,!0).not.deep.nested.include(t)};H.ownInclude=function(e,t,r){new J(e,r,H.ownInclude,!0).own.include(t)};H.notOwnInclude=function(e,t,r){new J(e,r,H.notOwnInclude,!0).not.own.include(t)};H.deepOwnInclude=function(e,t,r){new J(e,r,H.deepOwnInclude,!0).deep.own.include(t)};H.notDeepOwnInclude=function(e,t,r){new J(e,r,H.notDeepOwnInclude,!0).not.deep.own.include(t)};H.match=function(e,t,r){new J(e,r,H.match,!0).to.match(t)};H.notMatch=function(e,t,r){new J(e,r,H.notMatch,!0).to.not.match(t)};H.property=function(e,t,r){new J(e,r,H.property,!0).to.have.property(t)};H.notProperty=function(e,t,r){new J(e,r,H.notProperty,!0).to.not.have.property(t)};H.propertyVal=function(e,t,r,n){new J(e,n,H.propertyVal,!0).to.have.property(t,r)};H.notPropertyVal=function(e,t,r,n){new J(e,n,H.notPropertyVal,!0).to.not.have.property(t,r)};H.deepPropertyVal=function(e,t,r,n){new J(e,n,H.deepPropertyVal,!0).to.have.deep.property(t,r)};H.notDeepPropertyVal=function(e,t,r,n){new J(e,n,H.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};H.ownProperty=function(e,t,r){new J(e,r,H.ownProperty,!0).to.have.own.property(t)};H.notOwnProperty=function(e,t,r){new J(e,r,H.notOwnProperty,!0).to.not.have.own.property(t)};H.ownPropertyVal=function(e,t,r,n){new J(e,n,H.ownPropertyVal,!0).to.have.own.property(t,r)};H.notOwnPropertyVal=function(e,t,r,n){new J(e,n,H.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};H.deepOwnPropertyVal=function(e,t,r,n){new J(e,n,H.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};H.notDeepOwnPropertyVal=function(e,t,r,n){new J(e,n,H.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};H.nestedProperty=function(e,t,r){new J(e,r,H.nestedProperty,!0).to.have.nested.property(t)};H.notNestedProperty=function(e,t,r){new J(e,r,H.notNestedProperty,!0).to.not.have.nested.property(t)};H.nestedPropertyVal=function(e,t,r,n){new J(e,n,H.nestedPropertyVal,!0).to.have.nested.property(t,r)};H.notNestedPropertyVal=function(e,t,r,n){new J(e,n,H.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};H.deepNestedPropertyVal=function(e,t,r,n){new J(e,n,H.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};H.notDeepNestedPropertyVal=function(e,t,r,n){new J(e,n,H.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};H.lengthOf=function(e,t,r){new J(e,r,H.lengthOf,!0).to.have.lengthOf(t)};H.hasAnyKeys=function(e,t,r){new J(e,r,H.hasAnyKeys,!0).to.have.any.keys(t)};H.hasAllKeys=function(e,t,r){new J(e,r,H.hasAllKeys,!0).to.have.all.keys(t)};H.containsAllKeys=function(e,t,r){new J(e,r,H.containsAllKeys,!0).to.contain.all.keys(t)};H.doesNotHaveAnyKeys=function(e,t,r){new J(e,r,H.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};H.doesNotHaveAllKeys=function(e,t,r){new J(e,r,H.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};H.hasAnyDeepKeys=function(e,t,r){new J(e,r,H.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};H.hasAllDeepKeys=function(e,t,r){new J(e,r,H.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};H.containsAllDeepKeys=function(e,t,r){new J(e,r,H.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};H.doesNotHaveAnyDeepKeys=function(e,t,r){new J(e,r,H.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};H.doesNotHaveAllDeepKeys=function(e,t,r){new J(e,r,H.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};H.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new J(e,n,H.throws,!0).to.throw(t,r);return Oe(a,"object")};H.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new J(e,n,H.doesNotThrow,!0).to.not.throw(t,r)};H.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new Je(n+'Invalid operator "'+t+'"',void 0,H.operator)}var o=new J(a,n,H.operator,!0);o.assert(Oe(o,"object")===!0,"expected "+Ue(e)+" to be "+t+" "+Ue(r),"expected "+Ue(e)+" to not be "+t+" "+Ue(r))};H.closeTo=function(e,t,r,n){new J(e,n,H.closeTo,!0).to.be.closeTo(t,r)};H.approximately=function(e,t,r,n){new J(e,n,H.approximately,!0).to.be.approximately(t,r)};H.sameMembers=function(e,t,r){new J(e,r,H.sameMembers,!0).to.have.same.members(t)};H.notSameMembers=function(e,t,r){new J(e,r,H.notSameMembers,!0).to.not.have.same.members(t)};H.sameDeepMembers=function(e,t,r){new J(e,r,H.sameDeepMembers,!0).to.have.same.deep.members(t)};H.notSameDeepMembers=function(e,t,r){new J(e,r,H.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};H.sameOrderedMembers=function(e,t,r){new J(e,r,H.sameOrderedMembers,!0).to.have.same.ordered.members(t)};H.notSameOrderedMembers=function(e,t,r){new J(e,r,H.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};H.sameDeepOrderedMembers=function(e,t,r){new J(e,r,H.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};H.notSameDeepOrderedMembers=function(e,t,r){new J(e,r,H.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};H.includeMembers=function(e,t,r){new J(e,r,H.includeMembers,!0).to.include.members(t)};H.notIncludeMembers=function(e,t,r){new J(e,r,H.notIncludeMembers,!0).to.not.include.members(t)};H.includeDeepMembers=function(e,t,r){new J(e,r,H.includeDeepMembers,!0).to.include.deep.members(t)};H.notIncludeDeepMembers=function(e,t,r){new J(e,r,H.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};H.includeOrderedMembers=function(e,t,r){new J(e,r,H.includeOrderedMembers,!0).to.include.ordered.members(t)};H.notIncludeOrderedMembers=function(e,t,r){new J(e,r,H.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};H.includeDeepOrderedMembers=function(e,t,r){new J(e,r,H.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};H.notIncludeDeepOrderedMembers=function(e,t,r){new J(e,r,H.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};H.oneOf=function(e,t,r){new J(e,r,H.oneOf,!0).to.be.oneOf(t)};H.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ue(e)} to be an iterable`:`expected ${Ue(e)} to be an iterable`,new Je(t,void 0,H.isIterable)};H.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.changes,!0).to.change(t,r)};H.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.changesBy,!0).to.change(t,r).by(n)};H.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.doesNotChange,!0).to.not.change(t,r)};H.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.changesButNotBy,!0).to.change(t,r).but.not.by(n)};H.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.increases,!0).to.increase(t,r)};H.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.increasesBy,!0).to.increase(t,r).by(n)};H.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.doesNotIncrease,!0).to.not.increase(t,r)};H.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};H.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.decreases,!0).to.decrease(t,r)};H.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.decreasesBy,!0).to.decrease(t,r).by(n)};H.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new J(e,n,H.doesNotDecrease,!0).to.not.decrease(t,r)};H.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new J(e,a,H.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};H.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new J(e,a,H.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};H.ifError=function(e){if(e)throw e};H.isExtensible=function(e,t){new J(e,t,H.isExtensible,!0).to.be.extensible};H.isNotExtensible=function(e,t){new J(e,t,H.isNotExtensible,!0).to.not.be.extensible};H.isSealed=function(e,t){new J(e,t,H.isSealed,!0).to.be.sealed};H.isNotSealed=function(e,t){new J(e,t,H.isNotSealed,!0).to.not.be.sealed};H.isFrozen=function(e,t){new J(e,t,H.isFrozen,!0).to.be.frozen};H.isNotFrozen=function(e,t){new J(e,t,H.isNotFrozen,!0).to.not.be.frozen};H.isEmpty=function(e,t){new J(e,t,H.isEmpty,!0).to.be.empty};H.isNotEmpty=function(e,t){new J(e,t,H.isNotEmpty,!0).to.not.be.empty};H.containsSubset=function(e,t,r){new J(e,r).to.containSubset(t)};H.doesNotContainSubset=function(e,t,r){new J(e,r).to.not.containSubset(t)};var d4=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of d4)H[t]=H[e];var $v=[];function fa(e){let t={use:fa,AssertionError:Je,util:Jr,config:Ht,expect:jn,assert:H,Assertion:J,...jx};return~$v.indexOf(e)||(e(t,Jr),$v.push(e)),t}s(fa,"use");ne(fa,"use");var qx={};Jt(qx,{toBeChecked:()=>My,toBeDisabled:()=>Ry,toBeEmpty:()=>yy,toBeEmptyDOMElement:()=>gy,toBeEnabled:()=>Fy,toBeInTheDOM:()=>Nl,toBeInTheDocument:()=>my,toBeInvalid:()=>ky,toBePartiallyChecked:()=>$y,toBeRequired:()=>Iy,toBeValid:()=>By,toBeVisible:()=>_y,toContainElement:()=>kl,toContainHTML:()=>by,toHaveAccessibleDescription:()=>Bl,toHaveAccessibleErrorMessage:()=>Ey,toHaveAccessibleName:()=>ql,toHaveAttribute:()=>Cy,toHaveClass:()=>wy,toHaveDescription:()=>Uy,toHaveDisplayValue:()=>qy,toHaveErrorMessage:()=>Vy,toHaveFocus:()=>Ay,toHaveFormValues:()=>xy,toHaveRole:()=>jl,toHaveSelection:()=>Hy,toHaveStyle:()=>Ml,toHaveTextContent:()=>vy,toHaveValue:()=>jy});var Uv=Et(OE(),1);function ny(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}s(ny,"$parcel$defineInteropFlag");function fc(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}s(fc,"$parcel$export");var Mx={};ny(Mx);fc(Mx,"default",()=>$x);var Lx=class extends Error{constructor(t,r,n,a,o){super(t+":"+n+":"+a+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=a,this.source=o}};s(Lx,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var $x=Lx,Ux={};ny(Ux);fc(Ux,"default",()=>Hx);var Vx=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};s(Vx,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var Hx=Vx,f4={};fc(f4,"CssTypes",()=>Tt);var Tt=(function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e})({}),fp=/\/\*[^]*?(?:\*\/|$)/g,h4=s((e,t)=>{t=t||{};let r=1,n=1;function a(U){let Y=U.match(/\n/g);Y&&(r+=Y.length);let ee=U.lastIndexOf(`
|
|
221
|
+
`);n=~ee?U.length-ee:n+U.length}s(a,"updatePosition");function o(){let U={line:r,column:n};return function(Y){return Y.position=new Hx(U,{line:r,column:n},t?.source||""),f(),Y}}s(o,"position");let i=[];function l(U){let Y=new $x(t?.source||"",U,r,n,e);if(t?.silent)i.push(Y);else throw Y}s(l,"error");function u(){let U=d();return{type:Tt.stylesheet,stylesheet:{source:t?.source,rules:U,parsingErrors:i}}}s(u,"stylesheet");function c(){return h(/^{\s*/)}s(c,"open");function p(){return h(/^}/)}s(p,"close");function d(){let U,Y=[];for(f(),m(Y);e.length&&e.charAt(0)!=="}"&&(U=$()||K());)U&&(Y.push(U),m(Y));return Y}s(d,"rules");function h(U){let Y=U.exec(e);if(!Y)return;let ee=Y[0];return a(ee),e=e.slice(ee.length),Y}s(h,"match");function f(){h(/^\s*/)}s(f,"whitespace");function m(U){let Y;for(U=U||[];Y=y();)Y&&U.push(Y);return U}s(m,"comments");function y(){let U=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let Y=h(/^\/\*[^]*?\*\//);return Y?U({type:Tt.comment,comment:Y[0].slice(2,-2)}):l("End of comment missing")}s(y,"comment");function b(U,Y,ee){let se=Y+1,te=!1,pe=U.indexOf(")",se);for(;!te&&pe!==-1;){let me=U.indexOf("(",se);me!==-1&&me<pe?(se=b(U,me+1)+1,pe=U.indexOf(")",se)):te=!0}return te&&pe!==-1?pe:-1}s(b,"findClosingParenthese");function g(){let U=h(/^([^{]+)/);if(!U)return;let Y=tr(U[0]).replace(fp,"");if(Y.indexOf(",")===-1)return[Y];let ee=0,se=Y.indexOf("(",ee);for(;se!==-1;){let te=b(Y,se);if(te===-1)break;ee=te+1,Y=Y.substring(0,se)+Y.substring(se,te).replace(/,/g,"")+Y.substring(te),se=Y.indexOf("(",ee)}return Y=Y.replace(/("|')(?:\\\1|.)*?\1/g,te=>te.replace(/,/g,"")),Y.split(",").map(te=>tr(te.replace(/\u200C/g,",")))}s(g,"selector");function v(){let U=o(),Y=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!Y)return;let ee=tr(Y[0]);if(!h(/^:\s*/))return l("property missing ':'");let se=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),te=U({type:Tt.declaration,property:ee.replace(fp,""),value:se?tr(se[0]).replace(fp,""):""});return h(/^[;\s]*/),te}s(v,"declaration");function D(){let U=[];if(!c())return l("missing '{'");m(U);let Y;for(;Y=v();)Y&&(U.push(Y),m(U));return p()?U:l("missing '}'")}s(D,"declarations");function S(){let U,Y=[],ee=o();for(;U=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)Y.push(U[1]),h(/^,\s*/);if(Y.length)return ee({type:Tt.keyframe,values:Y,declarations:D()||[]})}s(S,"keyframe");function _(){let U=o(),Y=h(/^@([-\w]+)?keyframes\s*/);if(!Y)return;let ee=Y[1],se=h(/^([-\w]+)\s*/);if(!se)return l("@keyframes missing name");let te=se[1];if(!c())return l("@keyframes missing '{'");let pe,me=m();for(;pe=S();)me.push(pe),me=me.concat(m());return p()?U({type:Tt.keyframes,name:te,vendor:ee,keyframes:me}):l("@keyframes missing '}'")}s(_,"atkeyframes");function A(){let U=o(),Y=h(/^@supports *([^{]+)/);if(!Y)return;let ee=tr(Y[1]);if(!c())return l("@supports missing '{'");let se=m().concat(d());return p()?U({type:Tt.supports,supports:ee,rules:se}):l("@supports missing '}'")}s(A,"atsupports");function E(){let U=o();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let Y=m().concat(d());return p()?U({type:Tt.host,rules:Y}):l("@host missing '}'")}s(E,"athost");function C(){let U=o(),Y=h(/^@container *([^{]+)/);if(!Y)return;let ee=tr(Y[1]);if(!c())return l("@container missing '{'");let se=m().concat(d());return p()?U({type:Tt.container,container:ee,rules:se}):l("@container missing '}'")}s(C,"atcontainer");function T(){let U=o(),Y=h(/^@layer *([^{;@]+)/);if(!Y)return;let ee=tr(Y[1]);if(!c())return h(/^[;\s]*/),U({type:Tt.layer,layer:ee});let se=m().concat(d());return p()?U({type:Tt.layer,layer:ee,rules:se}):l("@layer missing '}'")}s(T,"atlayer");function k(){let U=o(),Y=h(/^@media *([^{]+)/);if(!Y)return;let ee=tr(Y[1]);if(!c())return l("@media missing '{'");let se=m().concat(d());return p()?U({type:Tt.media,media:ee,rules:se}):l("@media missing '}'")}s(k,"atmedia");function B(){let U=o(),Y=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(Y)return U({type:Tt.customMedia,name:tr(Y[1]),media:tr(Y[2])})}s(B,"atcustommedia");function W(){let U=o();if(!h(/^@page */))return;let Y=g()||[];if(!c())return l("@page missing '{'");let ee=m(),se;for(;se=v();)ee.push(se),ee=ee.concat(m());return p()?U({type:Tt.page,selectors:Y,declarations:ee}):l("@page missing '}'")}s(W,"atpage");function z(){let U=o(),Y=h(/^@([-\w]+)?document *([^{]+)/);if(!Y)return;let ee=tr(Y[1]),se=tr(Y[2]);if(!c())return l("@document missing '{'");let te=m().concat(d());return p()?U({type:Tt.document,document:se,vendor:ee,rules:te}):l("@document missing '}'")}s(z,"atdocument");function R(){let U=o();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let Y=m(),ee;for(;ee=v();)Y.push(ee),Y=Y.concat(m());return p()?U({type:Tt.fontFace,declarations:Y}):l("@font-face missing '}'")}s(R,"atfontface");function L(){let U=o();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let Y=m().concat(d());return p()?U({type:Tt.startingStyle,rules:Y}):l("@starting-style missing '}'")}s(L,"atstartingstyle");let j=oe("import"),X=oe("charset"),Q=oe("namespace");function oe(U){let Y=new RegExp("^@"+U+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let ee=o(),se=h(Y);if(!se)return;let te={type:U};return te[U]=se[1].trim(),ee(te)}}s(oe,"_compileAtrule");function $(){if(e[0]==="@")return _()||k()||B()||A()||j()||X()||Q()||z()||W()||E()||R()||C()||L()||T()}s($,"atrule");function K(){let U=o(),Y=g();return Y?(m(),U({type:Tt.rule,selectors:Y,declarations:D()||[]})):l("selector missing")}return s(K,"rule"),Il(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function tr(e){return e?e.trim():""}s(tr,"$d708735ed1303b43$var$trim");function Il(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(i=>{Il(i,n)}):o&&typeof o=="object"&&Il(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}s(Il,"$d708735ed1303b43$var$addParent");var m4=h4,y4=m4,g4=Object.prototype.toString;function Sd(e){return typeof e=="function"||g4.call(e)==="[object Function]"}s(Sd,"isCallable");function Jx(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(Jx,"toInteger");var b4=Math.pow(2,53)-1;function zx(e){var t=Jx(e);return Math.min(Math.max(t,0),b4)}s(zx,"toLength");function yr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Sd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=zx(n.length),o=Sd(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(yr,"arrayFrom");function yo(e){"@babel/helpers - typeof";return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yo(e)}s(yo,"_typeof");function Gx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(Gx,"_classCallCheck");function _d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ay(n.key),n)}}s(_d,"_defineProperties");function Wx(e,t,r){return t&&_d(e.prototype,t),r&&_d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(Wx,"_createClass");function Kx(e,t,r){return t=ay(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Kx,"_defineProperty");function ay(e){var t=Yx(e,"string");return yo(t)==="symbol"?t:String(t)}s(ay,"_toPropertyKey");function Yx(e,t){if(yo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(Yx,"_toPrimitive");var v4=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Gx(this,e),Kx(this,"items",void 0),this.items=t}return s(e,"SetLike"),Wx(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e})(),E4=typeof Set>"u"?Set:v4;function Rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Rt,"getLocalName");var C4={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},w4={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Xx(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=w4[t])!==null&&n!==void 0&&n.has(r))})}s(Xx,"hasGlobalAriaAttributes");function oy(e,t){return Xx(e,t)}s(oy,"ignorePresentationalRole");function Qx(e){var t=eS(e);if(t===null||Td.indexOf(t)!==-1){var r=Zx(e);if(Td.indexOf(t||"")===-1||oy(e,r||""))return r}return t}s(Qx,"getRole");function Zx(e){var t=C4[Rt(e)];if(t!==void 0)return t;switch(Rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!oy(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(Zx,"getImplicitRole");function eS(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(eS,"getExplicitRole");var Td=["presentation","none"];function at(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(at,"isElement");function iy(e){return at(e)&&Rt(e)==="caption"}s(iy,"isHTMLTableCaptionElement");function yi(e){return at(e)&&Rt(e)==="input"}s(yi,"isHTMLInputElement");function tS(e){return at(e)&&Rt(e)==="optgroup"}s(tS,"isHTMLOptGroupElement");function rS(e){return at(e)&&Rt(e)==="select"}s(rS,"isHTMLSelectElement");function nS(e){return at(e)&&Rt(e)==="table"}s(nS,"isHTMLTableElement");function aS(e){return at(e)&&Rt(e)==="textarea"}s(aS,"isHTMLTextAreaElement");function oS(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(oS,"safeWindow");function iS(e){return at(e)&&Rt(e)==="fieldset"}s(iS,"isHTMLFieldSetElement");function sS(e){return at(e)&&Rt(e)==="legend"}s(sS,"isHTMLLegendElement");function lS(e){return at(e)&&Rt(e)==="slot"}s(lS,"isHTMLSlotElement");function uS(e){return at(e)&&e.ownerSVGElement!==void 0}s(uS,"isSVGElement");function cS(e){return at(e)&&Rt(e)==="svg"}s(cS,"isSVGSVGElement");function pS(e){return uS(e)&&Rt(e)==="title"}s(pS,"isSVGTitleElement");function qi(e,t){if(at(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(qi,"queryIdRefs");function zr(e,t){return at(e)?t.indexOf(Qx(e))!==-1:!1}s(zr,"hasAnyConcreteRoles");function dS(e){return e.trim().replace(/\s\s+/g," ")}s(dS,"asFlatString");function fS(e,t){if(!at(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(fS,"isHidden");function hS(e){return zr(e,["button","combobox","listbox","textbox"])||sy(e,"range")}s(hS,"isControl");function sy(e,t){if(!at(e))return!1;switch(t){case"range":return zr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(sy,"hasAbstractRole");function Pd(e,t){var r=yr(e.querySelectorAll(t));return qi(e,"aria-owns").forEach(function(n){r.push.apply(r,yr(n.querySelectorAll(t)))}),r}s(Pd,"querySelectorAllSubtree");function mS(e){return rS(e)?e.selectedOptions||Pd(e,"[selected]"):Pd(e,'[aria-selected="true"]')}s(mS,"querySelectedOptions");function yS(e){return zr(e,Td)}s(yS,"isMarkedPresentational");function gS(e){return iy(e)}s(gS,"isNativeHostLanguageTextAlternativeElement");function bS(e){return zr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(bS,"allowsNameFromContent");function vS(e){return!1}s(vS,"isDescendantOfNativeHostLanguageTextAlternativeElement");function ES(e){return yi(e)||aS(e)?e.value:e.textContent||""}s(ES,"getValueOfTextbox");function Dd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(Dd,"getTextualContent");function ly(e){var t=Rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(ly,"isLabelableElement");function uy(e){if(ly(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&at(r)){var n=uy(r);n!==null&&(t=n)}}),t}s(uy,"findLabelableElement");function CS(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):uy(e)}s(CS,"getControlOfLabel");function wS(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return yr(t);if(!ly(e))return null;var r=e.ownerDocument;return yr(r.querySelectorAll("label")).filter(function(n){return CS(n)===e})}s(wS,"getLabels");function AS(e){var t=e.assignedNodes();return t.length===0?yr(e.childNodes):t}s(AS,"getSlotContents");function cy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new E4,n=oS(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(g,v){var D="";if(at(g)&&l){var S=c(g,"::before"),_=Dd(S);D="".concat(_," ").concat(D)}var A=lS(g)?AS(g):yr(g.childNodes).concat(qi(g,"aria-owns"));if(A.forEach(function(T){var k=b(T,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=at(T)?c(T).getPropertyValue("display"):"inline",W=B!=="inline"?" ":"";D+="".concat(W).concat(k).concat(W)}),at(g)&&l){var E=c(g,"::after"),C=Dd(E);D="".concat(D," ").concat(C)}return D.trim()}s(h,"computeMiscTextAlternative");function f(g,v){var D=g.getAttributeNode(v);return D!==null&&!r.has(D)&&D.value.trim()!==""?(r.add(D),D.value):null}s(f,"useAttribute");function m(g){return at(g)?f(g,"title"):null}s(m,"computeTooltipAttributeValue");function y(g){if(!at(g))return null;if(iS(g)){r.add(g);for(var v=yr(g.childNodes),D=0;D<v.length;D+=1){var S=v[D];if(sS(S))return b(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nS(g)){r.add(g);for(var _=yr(g.childNodes),A=0;A<_.length;A+=1){var E=_[A];if(iy(E))return b(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(cS(g)){r.add(g);for(var C=yr(g.childNodes),T=0;T<C.length;T+=1){var k=C[T];if(pS(k))return k.textContent}return null}else if(Rt(g)==="img"||Rt(g)==="area"){var B=f(g,"alt");if(B!==null)return B}else if(tS(g)){var W=f(g,"label");if(W!==null)return W}if(yi(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var z=f(g,"value");if(z!==null)return z;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var R=wS(g);if(R!==null&&R.length!==0)return r.add(g),yr(R).map(function(Q){return b(Q,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Q){return Q.length>0}).join(" ");if(yi(g)&&g.type==="image"){var L=f(g,"alt");if(L!==null)return L;var j=f(g,"title");return j!==null?j:"Submit Query"}if(zr(g,["button"])){var X=h(g,{isEmbeddedInLabel:!1});if(X!=="")return X}return null}s(y,"computeElementTextAlternative");function b(g,v){if(r.has(g))return"";if(!d&&fS(g,c)&&!v.isReferenced)return r.add(g),"";var D=at(g)?g.getAttributeNode("aria-labelledby"):null,S=D!==null&&!r.has(D)?qi(g,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&S.length>0)return r.add(D),S.map(function(B){return b(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var _=v.recursion&&hS(g)&&o==="name";if(!_){var A=(at(g)&&g.getAttribute("aria-label")||"").trim();if(A!==""&&o==="name")return r.add(g),A;if(!yS(g)){var E=y(g);if(E!==null)return r.add(g),E}}if(zr(g,["menu"]))return r.add(g),"";if(_||v.isEmbeddedInLabel||v.isReferenced){if(zr(g,["combobox","listbox"])){r.add(g);var C=mS(g);return C.length===0?yi(g)?g.value:"":yr(C).map(function(B){return b(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sy(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(zr(g,["textbox"]))return r.add(g),ES(g)}if(bS(g)||at(g)&&v.isReferenced||gS(g)||vS()){var T=h(g,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(T!=="")return r.add(g),T}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(v.recursion)return r.add(g),h(g,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(g);return k!==null?(r.add(g),k):(r.add(g),"")}return s(b,"computeTextAlternative"),dS(b(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(cy,"computeTextAlternative");function go(e){"@babel/helpers - typeof";return go=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},go(e)}s(go,"_typeof");function Od(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(Od,"ownKeys");function Rd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Od(Object(r),!0).forEach(function(n){xS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Od(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(Rd,"_objectSpread");function xS(e,t,r){return t=SS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(xS,"_defineProperty");function SS(e){var t=_S(e,"string");return go(t)==="symbol"?t:String(t)}s(SS,"_toPropertyKey");function _S(e,t){if(go(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(go(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(_S,"_toPrimitive");function TS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=qi(e,"aria-describedby").map(function(o){return cy(o,Rd(Rd({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}s(TS,"computeAccessibleDescription");function PS(e){return zr(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}s(PS,"prohibitsNaming");function DS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return PS(e)?"":cy(e,t)}s(DS,"computeAccessibleName");var py=Et(RE(),1),A4=Et(IE(),1),dy=Et(HE(),1),x4=Et(JE(),1),OS=class extends Error{constructor(t,r,n,a){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let o="";try{o=a.utils.printWithType("Received",r,a.utils.printReceived)}catch{}this.message=[a.utils.matcherHint(`${a.isNot?".not":""}.${n.name}`,"received",""),"",`${a.utils.RECEIVED_COLOR("received")} value must ${t}.`,o].join(`
|
|
222
|
+
`)}};s(OS,"GenericTypeError");var RS=OS,FS=class extends RS{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};s(FS,"HtmlElementTypeError");var Vv=FS,IS=class extends RS{constructor(...t){super("be a Node",...t)}};s(IS,"NodeTypeError");var Hv=IS;function fy(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}s(fy,"checkHasWindow");function NS(e,...t){fy(e,Hv,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Hv(e,...t)}s(NS,"checkNode");function Ge(e,...t){fy(e,Vv,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Vv(e,...t)}s(Ge,"checkHtmlElement");var kS=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
223
|
+
`)}};s(kS,"InvalidCSSError");var S4=kS;function BS(e,...t){let r=y4(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new S4({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:o})=>Object.assign(n,{[a]:o}),{})}s(BS,"parseCSS");function Fd(e,t){return typeof t=="string"?t:e.utils.stringify(t)}s(Fd,"display");function Pt(e,t,r,n,a,o){return[`${t}
|
|
224
|
+
`,`${r}:
|
|
225
|
+
${e.utils.EXPECTED_COLOR((0,Uv.default)(Fd(e,n),2))}`,`${a}:
|
|
226
|
+
${e.utils.RECEIVED_COLOR((0,Uv.default)(Fd(e,o),2))}`].join(`
|
|
227
|
+
`)}s(Pt,"getMessage");function jS(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}s(jS,"matches");function hs(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}s(hs,"deprecate");function ms(e){return e.replace(/\s+/g," ").trim()}s(ms,"normalize");function bn(e){return e.tagName&&e.tagName.toLowerCase()}s(bn,"getTag");function qS({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}s(qS,"getSelectValue");function MS(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}s(MS,"getInputValue");var _4=["meter","progressbar","slider","spinbutton"];function LS(e){if(_4.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}s(LS,"getAccessibleValue");function hy(e){if(e)switch(e.tagName.toLowerCase()){case"input":return MS(e);case"select":return qS(e);default:return e.value??LS(e)}}s(hy,"getSingleElementValue");function $S(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}s($S,"toSentence");function hc(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}s(hc,"compareArraysAsSet");function Nl(e,t){return hs("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ge(e,Nl,this),t&&Ge(t,Nl,this),{pass:t?t.contains(e):!!e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
228
|
+
`),"message")}}s(Nl,"toBeInTheDOM");function my(e){(e!==null||!this.isNot)&&Ge(e,my,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=s(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=s(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
229
|
+
`),"message")}}s(my,"toBeInTheDocument");function yy(e){return hs("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ge(e,yy,this),{pass:e.innerHTML==="",message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
+
`),"message")}}s(yy,"toBeEmpty");function gy(e){return Ge(e,gy,this),{pass:US(e),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
231
|
+
`),"message")}}s(gy,"toBeEmptyDOMElement");function US(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}s(US,"isEmptyElement");function kl(e,t){return Ge(e,kl,this),t!==null&&Ge(t,kl,this),{pass:e.contains(t),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
232
|
+
`)].join(`
|
|
233
|
+
`),"message")}}s(kl,"toContainElement");function VS(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}s(VS,"getNormalizedHtml");function by(e,t){if(Ge(e,by,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(VS(e,t)),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
234
|
+
`),"message")}}s(by,"toContainHTML");function vy(e,t,r={normalizeWhitespace:!0}){NS(e,vy,this);let n=r.normalizeWhitespace?ms(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&jS(n,t),message:s(()=>{let o=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)},"message")}}s(vy,"toHaveTextContent");function Bl(e,t){Ge(e,Bl,this);let r=TS(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Bl.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)},"message")}}s(Bl,"toHaveAccessibleDescription");var Yo="aria-invalid",T4=["false"];function Ey(e,t){Ge(e,Ey,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:s(()=>Pt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`),"message")};let o=e.getAttribute(Yo);if(!e.hasAttribute(Yo)||T4.includes(o))return{pass:!1,message:s(()=>Pt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Yo}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Yo}="${e.getAttribute(Yo)}`:null),"message")};let i=ms(e.ownerDocument.getElementById(a)?.textContent??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:s(()=>Pt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i),"message")}}s(Ey,"toHaveAccessibleErrorMessage");var P4=zS(py.elementRoles);function jl(e,t){Ge(e,jl,this);let r=HS(e);return{pass:r.some(n=>n===t),message:s(()=>{let n=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${jl.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}s(jl,"toHaveRole");function HS(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):JS(e)}s(HS,"getExplicitOrImplicitRoles");function JS(e){for(let{match:t,roles:r}of P4)if(t(e))return[...r];return[]}s(JS,"getImplicitAriaRoles");function zS(e){function t({name:i,attributes:l}){return`${i}${l.map(({name:u,value:c,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}s(t,"makeElementSelector");function r({attributes:i=[]}){return i.length}s(r,"getSelectorSpecificity");function n({specificity:i},{specificity:l}){return l-i}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(zS,"buildElementRoleList");function ql(e,t){Ge(e,ql,this);let r=DS(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ql.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)},"message")}}s(ql,"toHaveAccessibleName");function Id(e,t,r){return r===void 0?t:`${t}=${e(r)}`}s(Id,"printAttribute");function GS(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}s(GS,"getAttributeComment");function Cy(e,t,r){Ge(e,Cy,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:s(()=>{let i=this.isNot?"not to":"to",l=a?Id(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:GS(this.utils.stringify,t,r)});return Pt(this,u,`Expected the element ${i} have attribute`,Id(this.utils.stringify,t,r),"Received",l)},"message")}}s(Cy,"toHaveAttribute");function WS(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}s(WS,"getExpectedClassNamesAndOptions");function Nd(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}s(Nd,"splitClassNames");function kd(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}s(kd,"isSubset$1");function wy(e,...t){Ge(e,wy,this);let{expectedClassNames:r,options:n}=WS(t),a=Nd(e.getAttribute("class")),o=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?Nd(u):u),[]),i=o.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:kd(o,a)&&o.length===a.length,message:s(()=>{let l=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))},"message")}:o.length>0?{pass:kd(o,a),message:s(()=>{let l=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have class`,o.join(" "),"Received",a.join(" "))},"message")}:{pass:this.isNot?a.length>0:!1,message:s(()=>this.isNot?Pt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
235
|
+
`),"message")}}s(wy,"toHaveClass");function KS(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}s(KS,"getStyleDeclaration");function YS(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}s(YS,"isSubset");function Bd(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
236
|
+
`)}s(Bd,"printoutStyles");function XS(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(Bd(t),Bd(n)).replace(`${A4.default.red("+ Received")}
|
|
237
|
+
`,"")}s(XS,"expectedDiff");function Ml(e,t){Ge(e,Ml,this);let r=typeof t=="object"?t:BS(t,Ml,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=KS(e.ownerDocument,r),o=n(e);return{pass:YS(a,o),message:s(()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),XS(this.utils.diff,a,o)].join(`
|
|
238
|
+
|
|
239
|
+
`)},"message")}}s(Ml,"toHaveStyle");function Ay(e){return Ge(e,Ay,this),{pass:e.ownerDocument.activeElement===e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
240
|
+
`),"message")}}s(Ay,"toHaveFocus");function QS(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}s(QS,"getMultiElementValue");function ZS(e,t){let r=[...e.querySelectorAll(`[name="${(0,x4.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return hy(r[0]);default:return QS(r)}}s(ZS,"getFormValue");function e_(e){return/\[\]$/.test(e)?e.slice(0,-2):e}s(e_,"getPureName");function t_(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[e_(r)]:ZS(e,r)}),{})}s(t_,"getAllFormValues");function xy(e,t){if(Ge(e,xy,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=t_(e);return{pass:Object.entries(t).every(([n,a])=>(0,dy.default)(r[n],a,hc)),message:s(()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
|
|
241
|
+
|
|
242
|
+
`)},"message")}}s(xy,"toHaveFormValues");function r_(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}s(r_,"isStyleVisible");function n_(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}s(n_,"isAttributeVisible");function Sy(e,t){return r_(e)&&n_(e,t)&&(!e.parentElement||Sy(e.parentElement,e))}s(Sy,"isElementVisible");function _y(e){Ge(e,_y,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Sy(e);return{pass:r,message:s(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
243
|
+
`)},"message")}}s(_y,"toBeVisible");var D4=["fieldset","input","select","optgroup","option","button","textarea"];function a_(e,t){return bn(e)==="legend"&&bn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>bn(r)==="legend"))}s(a_,"isFirstLegendChildOfFieldset");function o_(e,t){return Py(t)&&!a_(e,t)}s(o_,"isElementDisabledByParent");function i_(e){return e.includes("-")}s(i_,"isCustomElement");function Ty(e){let t=bn(e);return D4.includes(t)||i_(t)}s(Ty,"canElementBeDisabled");function Py(e){return Ty(e)&&e.hasAttribute("disabled")}s(Py,"isElementDisabled");function Dy(e){let t=e.parentElement;return!!t&&(o_(e,t)||Dy(t))}s(Dy,"isAncestorDisabled");function Oy(e){return Ty(e)&&(Py(e)||Dy(e))}s(Oy,"isElementOrAncestorDisabled");function Ry(e){Ge(e,Ry,this);let t=Oy(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
244
|
+
`)},"message")}}s(Ry,"toBeDisabled");function Fy(e){Ge(e,Fy,this);let t=!Oy(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
245
|
+
`)},"message")}}s(Fy,"toBeEnabled");var O4=["select","textarea"],R4=["input","select","textarea"],F4=["color","hidden","range","submit","image","reset"],I4=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function s_(e){return O4.includes(bn(e))&&e.hasAttribute("required")}s(s_,"isRequiredOnFormTagsExceptInput");function l_(e){return bn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!F4.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}s(l_,"isRequiredOnSupportedInput");function u_(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(R4.includes(bn(e))||e.hasAttribute("role")&&I4.includes(e.getAttribute("role")))}s(u_,"isElementRequiredByARIA");function Iy(e){Ge(e,Iy,this);let t=s_(e)||l_(e)||u_(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
246
|
+
`)},"message")}}s(Iy,"toBeRequired");var N4=["form","input","select","textarea"];function c_(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}s(c_,"isElementHavingAriaInvalid");function p_(e){return N4.includes(bn(e))}s(p_,"isSupportsValidityMethod");function Ny(e){let t=c_(e);return p_(e)?t||!e.checkValidity():t}s(Ny,"isElementInvalid");function ky(e){Ge(e,ky,this);let t=Ny(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
247
|
+
`)},"message")}}s(ky,"toBeInvalid");function By(e){Ge(e,By,this);let t=!Ny(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
248
|
+
`)},"message")}}s(By,"toBeValid");function jy(e,t){if(Ge(e,jy,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=hy(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,dy.default)(r,t,hc):!!r,message:s(()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Pt(this,l,`Expected the element ${i} have value`,n?a:"(any)","Received",o)},"message")}}s(jy,"toHaveValue");function qy(e,t){Ge(e,qy,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=d_(r,e),a=f_(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=o===n.length,l=o===a.length;return{pass:i&&l,message:s(()=>Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}s(qy,"toHaveDisplayValue");function d_(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}s(d_,"getValues");function f_(e){return e instanceof Array?e:[e]}s(f_,"getExpectedValues");function My(e){Ge(e,My,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=s(()=>Ly(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>`only inputs with type="checkbox" or type="radio" or elements with ${h_()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=s(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
249
|
+
`)},"message")}}s(My,"toBeChecked");function h_(){return $S(m_().map(e=>`role="${e}"`),{lastWordConnector:" or "})}s(h_,"supportedRolesSentence");function m_(){return py.roles.keys().filter(Ly)}s(m_,"supportedRoles");function Ly(e){return py.roles.get(e)?.props["aria-checked"]!==void 0}s(Ly,"roleSupportsChecked");function $y(e){Ge(e,$y,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=s(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=s(()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a},"isPartiallyChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
250
|
+
`)},"message")}}s($y,"toBePartiallyChecked");function Uy(e,t){hs("toHaveDescription","Please use toHaveAccessibleDescription."),Ge(e,Uy,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=ms(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Uy,"toHaveDescription");function Vy(e,t){if(hs("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ge(e,Vy,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:s(()=>Pt(this,this.utils.matcherHint(`${o}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=ms(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Pt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Vy,"toHaveErrorMessage");function y_(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let o=e===r.startContainer||e.contains(r.startContainer),i=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||i)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),i&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let a=t.toString();return t.removeAllRanges(),t.addRange(r),a}s(y_,"getSelection");function Hy(e,t){Ge(e,Hy,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=y_(e);return{pass:r?(0,dy.default)(n,t,hc):!!n,message:s(()=>{let a=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Pt(this,o,`Expected the element ${a} have selection`,r?t:"(any)","Received",n)},"message")}}s(Hy,"toHaveSelection");Et(OE(),1);Et(RE(),1);Et(IE(),1);Et(HE(),1);Et(JE(),1);var hp,Jv;function g_(){if(Jv)return hp;Jv=1;var e,t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,b,g,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,a=/[^<>{}]+/y,g=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,i=/^(?:return|throw|yield)$/,c=RegExp(l.source),hp=s(function*(D,{jsx:S=!1}={}){var _,A,E,C,T,k,B,W,z,R,L,j,X,Q;for({length:k}=D,C=0,T="",Q=[{tag:"JS"}],_=[],L=0,j=!1;C<k;){switch(W=Q[Q.length-1],W.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(D[C]==="/"&&(g.test(T)||o.test(T))&&(h.lastIndex=C,B=h.exec(D))){C=h.lastIndex,T=B[0],j=!0,yield{type:"RegularExpressionLiteral",value:B[0],closed:B[1]!==void 0&&B[1]!=="\\"};continue}if(d.lastIndex=C,B=d.exec(D)){switch(X=B[0],z=d.lastIndex,R=X,X){case"(":T==="?NonExpressionParenKeyword"&&Q.push({tag:"JSNonExpressionParen",nesting:L}),L++,j=!1;break;case")":L--,j=!0,W.tag==="JSNonExpressionParen"&&L===W.nesting&&(Q.pop(),R="?NonExpressionParenEnd",j=!1);break;case"{":d.lastIndex=0,E=!b.test(T)&&(g.test(T)||o.test(T)),_.push(E),j=!1;break;case"}":switch(W.tag){case"InterpolationInTemplate":if(_.length===W.nesting){y.lastIndex=C,B=y.exec(D),C=y.lastIndex,T=B[0],B[1]==="${"?(T="?InterpolationInTemplate",j=!1,yield{type:"TemplateMiddle",value:B[0]}):(Q.pop(),j=!0,yield{type:"TemplateTail",value:B[0],closed:B[1]==="`"});continue}break;case"InterpolationInJSX":if(_.length===W.nesting){Q.pop(),C+=1,T="}",yield{type:"JSXPunctuator",value:"}"};continue}}j=_.pop(),R=j?"?ExpressionBraceEnd":"}";break;case"]":j=!0;break;case"++":case"--":R=j?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(S&&(g.test(T)||o.test(T))){Q.push({tag:"JSXTag"}),C+=1,T="<",yield{type:"JSXPunctuator",value:X};continue}j=!1;break;default:j=!1}C=z,T=R,yield{type:"Punctuator",value:X};continue}if(e.lastIndex=C,B=e.exec(D)){switch(C=e.lastIndex,R=B[0],B[0]){case"for":case"if":case"while":case"with":T!=="."&&T!=="?."&&(R="?NonExpressionParenKeyword")}T=R,j=!o.test(B[0]),yield{type:B[1]==="#"?"PrivateIdentifier":"IdentifierName",value:B[0]};continue}if(m.lastIndex=C,B=m.exec(D)){C=m.lastIndex,T=B[0],j=!0,yield{type:"StringLiteral",value:B[0],closed:B[2]!==void 0};continue}if(p.lastIndex=C,B=p.exec(D)){C=p.lastIndex,T=B[0],j=!0,yield{type:"NumericLiteral",value:B[0]};continue}if(y.lastIndex=C,B=y.exec(D)){C=y.lastIndex,T=B[0],B[1]==="${"?(T="?InterpolationInTemplate",Q.push({tag:"InterpolationInTemplate",nesting:_.length}),j=!1,yield{type:"TemplateHead",value:B[0]}):(j=!0,yield{type:"NoSubstitutionTemplate",value:B[0],closed:B[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=C,B=r.exec(D)){switch(C=r.lastIndex,R=B[0],B[0]){case"<":Q.push({tag:"JSXTag"});break;case">":Q.pop(),T==="/"||W.tag==="JSXTagEnd"?(R="?JSX",j=!0):Q.push({tag:"JSXChildren"});break;case"{":Q.push({tag:"InterpolationInJSX",nesting:_.length}),R="?InterpolationInJSX",j=!1;break;case"/":T==="<"&&(Q.pop(),Q[Q.length-1].tag==="JSXChildren"&&Q.pop(),Q.push({tag:"JSXTagEnd"}))}T=R,yield{type:"JSXPunctuator",value:B[0]};continue}if(t.lastIndex=C,B=t.exec(D)){C=t.lastIndex,T=B[0],yield{type:"JSXIdentifier",value:B[0]};continue}if(n.lastIndex=C,B=n.exec(D)){C=n.lastIndex,T=B[0],yield{type:"JSXString",value:B[0],closed:B[2]!==void 0};continue}break;case"JSXChildren":if(a.lastIndex=C,B=a.exec(D)){C=a.lastIndex,T=B[0],yield{type:"JSXText",value:B[0]};continue}switch(D[C]){case"<":Q.push({tag:"JSXTag"}),C++,T="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":Q.push({tag:"InterpolationInJSX",nesting:_.length}),C++,T="?InterpolationInJSX",j=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=C,B=v.exec(D)){C=v.lastIndex,yield{type:"WhiteSpace",value:B[0]};continue}if(l.lastIndex=C,B=l.exec(D)){C=l.lastIndex,j=!1,i.test(T)&&(T="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:B[0]};continue}if(u.lastIndex=C,B=u.exec(D)){C=u.lastIndex,c.test(B[0])&&(j=!1,i.test(T)&&(T="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:B[0],closed:B[1]!==void 0};continue}if(f.lastIndex=C,B=f.exec(D)){C=f.lastIndex,j=!1,yield{type:"SingleLineComment",value:B[0]};continue}A=String.fromCodePoint(D.codePointAt(C)),C+=A.length,T=A,j=!1,yield{type:W.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:A}}},"jsTokens_1"),hp}s(g_,"requireJsTokens");g_();var b_={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(b_.keyword);new Set(b_.strict);function gi(e,t){if(!e)throw new Error(t)}s(gi,"assert");function la(e,t){return typeof t===e}s(la,"isType");function v_(e){return e instanceof Promise}s(v_,"isPromise");function bo(e,t,r){Object.defineProperty(e,t,r)}s(bo,"define");function ha(e,t,r){bo(e,t,{value:r,configurable:!0,writable:!0})}s(ha,"defineValue");var qn=Symbol.for("tinyspy:spy"),k4=new Set,B4=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),j4=s(e=>(bo(e,qn,{value:{reset:s(()=>B4(e[qn]),"reset")}}),e[qn]),"defineState"),jd=s(e=>e[qn]||j4(e),"getInternalState");function E_(e){gi(la("function",e)||la("undefined",e),"cannot spy on a non-function value");let t=s(function(...n){let a=jd(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[p,d]=o;if(p==="ok")return d;throw d}let i,l="ok",u=a.results.length;if(a.impl)try{new.target?i=Reflect.construct(a.impl,n,new.target):i=a.impl.apply(this,n),l="ok"}catch(p){throw i=p,l="error",a.results.push([l,p]),p}let c=[l,i];return v_(i)&&i.then(p=>a.resolves[u]=["ok",p],p=>a.resolves[u]=["error",p]),a.results.push(c),i},"fn");ha(t,"_isMockFunction",!0),ha(t,"length",e?e.length:0),ha(t,"name",e&&e.name||"spy");let r=jd(t);return r.reset(),r.impl=e,t}s(E_,"createInternalSpy");function C_(e){return!!e&&e._isMockFunction===!0}s(C_,"isMockFunction");var w_=s((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let a=Object.getOwnPropertyDescriptor(n,t);if(a)return[n,a];n=Object.getPrototypeOf(n)}},"getDescriptor"),zv=s((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function Jy(e,t,r){gi(!la("undefined",e),"spyOn could not find an object to spy upon"),gi(la("object",e)||la("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!la("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[o,i]=w_(e,n)||[];gi(i||n in e,`${String(n)} does not exist`);let l=!1;a==="value"&&i&&!i.value&&i.get&&(a="get",l=!0,r=i.get());let u;i?u=i[a]:a!=="value"?u=s(()=>e[n],"original"):u=e[n],u&&S_(u)&&(u=u[qn].getOriginal());let c=s(f=>{let{value:m,...y}=i||{configurable:!0,writable:!0};a!=="value"&&delete y.writable,y[a]=f,bo(e,n,y)},"reassign"),p=s(()=>{o!==e?Reflect.deleteProperty(e,n):i&&!u?bo(e,n,i):c(u)},"restore");r||(r=u);let d=x_(E_(r),r);a==="value"&&zv(d,u);let h=d[qn];return ha(h,"restore",p),ha(h,"getOriginal",()=>l?u():u),ha(h,"willCall",f=>(h.impl=f,d)),c(l?()=>(zv(d,r),d):d),k4.add(d),d}s(Jy,"internalSpyOn");var q4=new Set(["length","name","prototype"]);function A_(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let a of n)r[a]||q4.has(a)||(t.add(a),r[a]=Object.getOwnPropertyDescriptor(e,a));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}s(A_,"getAllProperties");function x_(e,t){if(!t||qn in t)return e;let{properties:r,descriptors:n}=A_(t);for(let a of r){let o=n[a];w_(e,a)||bo(e,a,o)}return e}s(x_,"wrap");function S_(e){return C_(e)&&"getOriginal"in e[qn]}s(S_,"isSpyFunction");var ys=new Set;function ma(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}s(ma,"isMockFunction");function __(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,a,o=T_(e,t),i=o&&o[r||"value"];ma(i)&&(a=i.mock._state());try{let l=Jy(e,n),u=zy(l);return a&&u.mock._state(a),u}catch(l){throw l instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(l.message.includes("Cannot redefine property")||l.message.includes("Cannot replace module namespace")||l.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:l}):l}}s(__,"spyOn");var M4=0;function zy(e){let t=e,r,n=[],a=!1,o=[],i=[],l=[],u=jd(e),c={get calls(){return u.calls},get contexts(){return i},get instances(){return o},get invocationCallOrder(){return l},get results(){return u.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return u.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return u.calls[u.calls.length-1]},_state(f){return f&&(r=f.implementation,n=f.onceImplementations,a=f.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:a}}};function p(...f){return o.push(this),i.push(this),l.push(++M4),(a?r:n.shift()||r||u.getOriginal()||(()=>{})).apply(this,f)}s(p,"mockCall");let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(u.reset(),o=[],i=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>a?r:n.at(0)||r,t.mockImplementation=f=>(r=f,u.willCall(p),t),t.mockImplementationOnce=f=>(n.push(f),t);function h(f,m){let y=r;r=f,u.willCall(p),a=!0;let b=s(()=>{r=y,a=!1},"reset"),g=m();return typeof g=="object"&&g&&typeof g.then=="function"?g.then(()=>(b(),t)):(b(),t)}return s(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:s(()=>c,"get")}),u.willCall(p),ys.add(t),t}s(zy,"enhanceSpy");function qd(e){let t=zy(Jy({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}s(qd,"fn");function T_(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}s(T_,"getDescriptor");var Mi=Symbol.for("matchers-object"),Li=Symbol.for("$$jest-matchers-object-storybook"),Gy=Symbol.for("expect-global"),Md=Symbol.for("asymmetric-matchers-object"),L4={toSatisfy(e,t,r){let{printReceived:n,printExpected:a,matcherHint:o}=this.utils,i=t(e);return{pass:i,message:s(()=>i?`${o(".not.toSatisfy","received","")}
|
|
251
|
+
|
|
252
|
+
Expected value to not satisfy:
|
|
253
|
+
${r||a(t)}
|
|
254
|
+
Received:
|
|
255
|
+
${n(e)}`:`${o(".toSatisfy","received","")}
|
|
256
|
+
|
|
257
|
+
Expected value to satisfy:
|
|
258
|
+
${r||a(t)}
|
|
259
|
+
|
|
260
|
+
Received:
|
|
261
|
+
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:a,printExpected:o,matcherHint:i}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${i(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(u=>r(u,e,n));return{pass:l,message:s(()=>l?`${i(".not.toBeOneOf","received","")}
|
|
262
|
+
|
|
263
|
+
Expected value to not be one of:
|
|
264
|
+
${o(t)}
|
|
265
|
+
Received:
|
|
266
|
+
${a(e)}`:`${i(".toBeOneOf","received","")}
|
|
267
|
+
|
|
268
|
+
Expected value to be one of:
|
|
269
|
+
${o(t)}
|
|
270
|
+
|
|
271
|
+
Received:
|
|
272
|
+
${a(e)}`,"message")}}},Ll=bt.green,Wy=bt.red,$4=bt.inverse,U4=bt.bold,Dn=bt.dim;function P_(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=Ll,receivedColor:p=Wy,secondArgumentColor:d=Ll}=n,h="",f="expect";return!o&&t!==""&&(h+=Dn(`${f}(`)+p(t),f=")"),l!==""&&(h+=Dn(`${f}.`)+l,f=""),i&&(h+=`${Dn(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=Dn(`${f}.`)+e,f=""),r===""?f+="()":(h+=Dn(`${f}(`)+c(r),u&&(h+=Dn(", ")+d(u)),f=")"),a!==""&&(f+=` // ${a}`),f!==""&&(h+=Dn(f)),h}s(P_,"matcherHint");var V4="·";function Ky(e){return e.replace(/\s+$/gm,t=>V4.repeat(t.length))}s(Ky,"replaceTrailingSpaces");function D_(e){return Wy(Ky(Yt(e)))}s(D_,"printReceived");function O_(e){return Ll(Ky(Yt(e)))}s(O_,"printExpected");function Yy(){return{EXPECTED_COLOR:Ll,RECEIVED_COLOR:Wy,INVERTED_COLOR:$4,BOLD_WEIGHT:U4,DIM_COLOR:Dn,diff:Ia,matcherHint:P_,printReceived:D_,printExpected:O_,printDiffOrStringify:ym,printWithType:R_}}s(Yy,"getMatcherUtils");function R_(e,t,r){let n=Ri(t),a=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
|
|
273
|
+
`:"",o=`${e} has value: ${r(t)}`;return a+o}s(R_,"printWithType");function mc(){return globalThis[Li].customEqualityTesters}s(mc,"getCustomEqualityTesters");function He(e,t,r,n){return r=r||[],ao(e,t,[],[],r,n?Xy:N_)}s(He,"equals");function Ld(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&vr("Function",e.asymmetricMatch)}s(Ld,"isAsymmetric");function F_(e,t){let r=Ld(e),n=Ld(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}s(F_,"asymmetricMatch");function ao(e,t,r,n,a,o){let i=!0,l=F_(e,t);if(l!==void 0)return l;let u={equals:He};for(let m=0;m<a.length;m++){let y=a[m].call(u,e,t,a);if(y!==void 0)return y}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,y=+t;return m===y||Number.isNaN(m)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(Ud(e)&&Ud(t))return e.isEqualNode(t);let p=r.length;for(;p--;){if(r[p]===e)return n[p]===t;if(n[p]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return I_(e,t,r,n,a,o)}finally{r.pop(),n.pop()}let d=$d(e,o),h,f=d.length;if($d(t,o).length!==f)return!1;for(;f--;)if(h=d[f],i=o(t,h)&&ao(e[h],t[h],r,n,a,o),!i)return!1;return r.pop(),n.pop(),i}s(ao,"eq");function I_(e,t,r,n,a,o){let i=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&i&&(i=ao(e.cause,t.cause,r,n,a,o)),e instanceof AggregateError&&t instanceof AggregateError&&i&&(i=ao(e.errors,t.errors,r,n,a,o)),i&&(i=ao({...e},{...t},r,n,a,o)),i}s(I_,"isErrorEqual");function $d(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}s($d,"keys");function N_(e,t){return Xy(e,t)&&e[t]!==void 0}s(N_,"hasDefinedKey");function Xy(e,t){return Object.prototype.hasOwnProperty.call(e,t)}s(Xy,"hasKey");function vr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}s(vr,"isA");function Ud(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}s(Ud,"isDomNode");var k_="@@__IMMUTABLE_KEYED__@@",B_="@@__IMMUTABLE_SET__@@",H4="@@__IMMUTABLE_LIST__@@",yc="@@__IMMUTABLE_ORDERED__@@",J4="@@__IMMUTABLE_RECORD__@@";function j_(e){return!!(e&&e[k_]&&!e[yc])}s(j_,"isImmutableUnorderedKeyed");function q_(e){return!!(e&&e[B_]&&!e[yc])}s(q_,"isImmutableUnorderedSet");function gs(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(gs,"isObjectLiteral");function M_(e){return!!(e&&gs(e)&&e[H4])}s(M_,"isImmutableList");function L_(e){return!!(e&&gs(e)&&e[k_]&&e[yc])}s(L_,"isImmutableOrderedKeyed");function $_(e){return!!(e&&gs(e)&&e[B_]&&e[yc])}s($_,"isImmutableOrderedSet");function U_(e){return!!(e&&gs(e)&&e[J4])}s(U_,"isImmutableRecord");var V_=Symbol.iterator;function Vd(e){return!!(e!=null&&e[V_])}s(Vd,"hasIterator");function sr(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Vd(e)||!Vd(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let i=[...r.filter(c=>c!==sr),l];function l(c,p){return sr(c,p,[...r],[...n],[...a])}if(s(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(vr("Set",e)||q_(e)){let c=!0;for(let p of e)if(!t.has(p)){let d=!1;for(let h of t)He(p,h,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(vr("Map",e)||j_(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!He(p[1],t.get(p[0]),i)){let d=!1;for(let h of t){let f=He(p[0],h[0],i),m=!1;f===!0&&(m=He(p[1],h[1],i)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[V_]();for(let c of e){let p=u.next();if(p.done||!He(c,p.value,i))return!1}if(!u.next().done)return!1;if(!M_(e)&&!L_(e)&&!$_(e)&&!U_(e)){let c=Object.entries(e),p=Object.entries(t);if(!He(c,p,i))return!1}return n.pop(),a.pop(),!0}s(sr,"iterableEquality");function gc(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||gc(Object.getPrototypeOf(e),t)}s(gc,"hasPropertyInObject");function H_(e){return mi(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}s(H_,"isObjectWithKeys");function Mo(e,t,r=[]){let n=r.filter(o=>o!==Mo),a=s((o=new WeakMap)=>(i,l)=>{if(H_(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(o.has(l[u]))return He(i[u],l[u],n);o.set(l[u],!0)}let c=i!=null&&gc(i,u)&&He(i[u],l[u],[...n,a(o)]);return o.delete(l[u]),c})},"subsetEqualityWithContext");return a()(e,t)}s(Mo,"subsetEquality");function Hd(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}s(Hd,"typeEquality");function Jd(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;a<r.byteLength;a++)if(r.getUint8(a)!==n.getUint8(a))return!1;return!0}s(Jd,"arrayBufferEquality");function $l(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),a=Object.keys(t),o=r.filter(i=>i!==$l);return He(e,t,o,!0)&&He(n,a)}s($l,"sparseArrayEquality");function J_(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
274
|
+
|
|
275
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
276
|
+
|
|
277
|
+
Expected: ${t}
|
|
278
|
+
Received: serializes to the same string
|
|
279
|
+
`:n}s(J_,"generateToBeMessage");function z_(e,t){return`${t} ${e}${t===1?"":"s"}`}s(z_,"pluralize");function Gs(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}s(Gs,"getObjectKeys");function G_(e,t,r){let n=0,a=s((o=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>a(o)(i[c],u))}else{if(i instanceof Date)return i;if(mi(i)&&mi(l)){if(He(i,l,[...r,sr,Mo]))return l;let u={};o.set(i,u),typeof i.constructor=="function"&&typeof i.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:i.constructor});for(let c of Gs(i))gc(l,c)?u[c]=o.has(i[c])?o.get(i[c]):a(o)(i[c],l[c]):o.has(i[c])||(n+=1,mi(i[c])&&(n+=Gs(i[c]).length),a(o)(i[c],l[c]));if(Gs(u).length>0)return u}}return i},"getObjectSubsetWithContext");return{subset:a()(e,t),stripped:n}}s(G_,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Mi)){let e=new WeakMap;Object.defineProperty(globalThis,Mi,{get:s(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Li)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Li,{configurable:!0,get:s(()=>({state:globalThis[Mi].get(globalThis[Gy]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Md)){let e=Object.create(null);Object.defineProperty(globalThis,Md,{get:s(()=>e,"get")})}function $i(e){return globalThis[Mi].get(e)}s($i,"getState");function Ws(e,t){let r=globalThis[Mi],n=r.get(t)||{},a=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,a)}s(Ws,"setState");var W_=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(t,r=!1){this.sample=t,this.inverse=r}getMatcherContext(t){return{...$i(t||globalThis[Gy]),equals:He,isNot:this.inverse,customTesters:mc(),utils:{...Yy(),diff:Ia,stringify:Yt,iterableEquality:sr,subsetEquality:Mo}}}};s(W_,"AsymmetricMatcher");var wn=W_;wn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Yt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var K_=class extends wn{constructor(t,r=!1){if(!vr("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=vr("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};s(K_,"StringContaining");var Gv=K_,Y_=class extends wn{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};s(Y_,"Anything");var z4=Y_,X_=class extends wn{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let a in this.sample)if(!this.hasProperty(t,a)||!He(this.sample[a],t[a],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};s(X_,"ObjectContaining");var Wv=X_,Q_=class extends wn{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(a=>t.some(o=>He(a,o,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};s(Q_,"ArrayContaining");var Kv=Q_,Z_=class extends wn{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};s(Z_,"Any");var G4=Z_,eT=class extends wn{constructor(t,r=!1){if(!vr("String",t)&&!vr("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=vr("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};s(eT,"StringMatching");var Yv=eT,tT=class extends wn{precision;constructor(t,r=2,n=!1){if(!vr("Number",t))throw new Error("Expected is not a Number");if(!vr("Number",r))throw new Error("Precision is not a Number");super(t),this.inverse=n,this.precision=r}asymmetricMatch(t){if(!vr("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${z_("digit",this.precision)})`].join(" ")}};s(tT,"CloseTo");var Xv=tT,W4=s((e,t)=>{t.addMethod(e.expect,"anything",()=>new z4),t.addMethod(e.expect,"any",r=>new G4(r)),t.addMethod(e.expect,"stringContaining",r=>new Gv(r)),t.addMethod(e.expect,"objectContaining",r=>new Wv(r)),t.addMethod(e.expect,"arrayContaining",r=>new Kv(r)),t.addMethod(e.expect,"stringMatching",r=>new Yv(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Xv(r,n)),e.expect.not={stringContaining:s(r=>new Gv(r,!0),"stringContaining"),objectContaining:s(r=>new Wv(r,!0),"objectContaining"),arrayContaining:s(r=>new Kv(r,!0),"arrayContaining"),stringMatching:s(r=>new Yv(r,!0),"stringMatching"),closeTo:s((r,n)=>new Xv(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function zd(e,t,r){let n=e.flag(t,"negate")?"not.":"",a=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${a}`}s(zd,"createAssertionMessage");function Gd(e,t,r,n){let a=e;if(a&&t instanceof Promise){t=t.finally(()=>{if(!a.promises)return;let i=a.promises.indexOf(t);i!==-1&&a.promises.splice(i,1)}),a.promises||(a.promises=[]),a.promises.push(t);let o=!1;return a.onFinished??(a.onFinished=[]),a.onFinished.push(()=>{if(!o){var i;let l=(((i=globalThis.__vitest_worker__)===null||i===void 0?void 0:i.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
280
|
+
`,l].join(""))}}),{then(i,l){return o=!0,t.then(i,l)},catch(i){return t.catch(i)},finally(i){return t.finally(i)},[Symbol.toStringTag]:"Promise"}}return t}s(Gd,"recordAsyncExpect");function Wd(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Ru(t))}s(Wd,"handleTestError");function Qy(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{let o=r.apply(this,n);return o&&typeof o=="object"&&typeof o.then=="function"?o.then(XA,i=>{Wd(a,i)}):o}catch(o){Wd(a,o)}}}s(Qy,"wrapAssertion");var K4=s((e,t)=>{let{AssertionError:r}=e,n=mc();function a(c,p){let d=s(h=>{let f=Qy(t,h,p);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[Li].matchers,h,f)},"addMethod");Array.isArray(c)?c.forEach(h=>d(h)):d(c)}s(a,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...d){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}p.apply(this,d)})}),a("withTest",function(c){return t.flag(this,"vitest-test",c),this}),a("toEqual",function(c){let p=t.flag(this,"object"),d=He(p,c,[...n,sr]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),a("toStrictEqual",function(c){let p=t.flag(this,"object"),d=He(p,c,[...n,sr,Hd,$l,Jd],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),a("toBe",function(c){let p=this._obj,d=Object.is(p,c),h="";return d||(He(p,c,[...n,sr,Hd,$l,Jd],!0)?h="toStrictEqual":He(p,c,[...n,sr])&&(h="toEqual")),this.assert(d,J_(h),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),a("toMatchObject",function(c){let p=this._obj,d=He(p,c,[...n,sr,Mo]),h=t.flag(this,"negate"),{subset:f,stripped:m}=G_(p,c,n);if(d&&h||!d&&!h){let y=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f,!1]),b=m===0?y:`${y}
|
|
281
|
+
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:c,actual:f})}}),a("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),a("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){$r(c,"class name",["string"]);let d=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,d,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),a("toContainEqual",function(c){let p=t.flag(this,"object"),d=Array.from(p).findIndex(h=>He(h,c,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),a("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),a("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),a("toBeGreaterThan",function(c){let p=this._obj;return $r(p,"actual",["number","bigint"]),$r(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,c,p,!1)}),a("toBeGreaterThanOrEqual",function(c){let p=this._obj;return $r(p,"actual",["number","bigint"]),$r(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,c,p,!1)}),a("toBeLessThan",function(c){let p=this._obj;return $r(p,"actual",["number","bigint"]),$r(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,c,p,!1)}),a("toBeLessThanOrEqual",function(c){let p=this._obj;return $r(p,"actual",["number","bigint"]),$r(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,c,p,!1)}),a("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),a("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),a("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),a("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),a("toBeTypeOf",function(c){let p=typeof this._obj,d=c===p;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),a("toBeInstanceOf",function(c){return this.instanceOf(c)}),a("toHaveLength",function(c){return this.have.length(c)}),a("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[d,h]=c,f=s(()=>Object.prototype.hasOwnProperty.call(p,d)?{value:p[d],exists:!0}:t.getPathInfo(p,d),"getValue"),{value:m,exists:y}=f(),b=y&&(c.length===1||He(h,m,n)),g=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(b,`expected #{this} to have property "${d}"${g}`,`expected #{this} to not have property "${d}"${g}`,h,y?m:void 0)}),a("toBeCloseTo",function(c,p=2){let d=this._obj,h=!1,f=0,m=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?h=!0:(f=10**-p/2,m=Math.abs(d-c),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,c,d,!1)});function o(c){if(!ma(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}s(o,"assertIsMock");function i(c){return o(c),c._obj}s(i,"getSpy"),a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length;return this.assert(h===c,`expected "${d}" to be called #{exp} times, but got ${h} times`,`expected "${d}" to not be called #{exp} times`,c,h,!1)}),a("toHaveBeenCalledOnce",function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${p}" to be called once, but got ${d} times`,`expected "${p}" to not be called once`,1,d,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length,h=d>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${d} times`,!0,h]);if(h&&f&&(m=Ks(c,m)),h&&f||!h&&!f)throw new r(m)});function l(c,p){return c.length===p.length&&c.every((d,h)=>He(d,p[h],[...n,sr]))}s(l,"equalsArgumentArray"),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.some(y=>l(y,c)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(h&&f||!h&&!f)throw new r(Ks(p,m,c))}),a("toHaveBeenCalledExactlyOnceWith",function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length,f=p.mock.calls.some(b=>l(b,c))&&h===1,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,c]);if(f&&m||!f&&!m)throw new r(Ks(p,y,c))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let d=i(this),h=d.getMockName(),f=d.mock.calls[c-1],m=d.mock.calls.length,y=c<=m;this.assert(f&&l(f,p),`expected ${oo(c)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${m} times`}`,`expected ${oo(c)} "${h}" call to not have been called with #{exp}`,p,f,y)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls[p.mock.calls.length-1];this.assert(h&&l(h,c),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,h)});function u(c,p,d){let h=c.mock.invocationCallOrder,f=p.mock.invocationCallOrder;return h.length===0?!d:f.length===0?!1:h[0]<f[0]}s(u,"isSpyCalledBeforeAnotherSpy"),a(["toHaveBeenCalledBefore"],function(c,p=!0){let d=i(this);if(!ma(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(d,c,p),`expected "${d.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${c.getMockName()}"`,c,d)}),a(["toHaveBeenCalledAfter"],function(c,p=!0){let d=i(this);if(!ma(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,d,p),`expected "${d.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${c.getMockName()}"`,c,d)}),a(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let p=this._obj,d=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(d==="rejects")f=p;else if(d==="resolves"&&typeof p!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(m,y,t.flag(this,"ssfi"))}}else{let m=!1;try{p()}catch(y){m=!0,f=y}if(!m&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(f&&f instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,f)}if(c instanceof Error){let m=He(f,c,[...n,sr]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,f)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:s(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s(c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(){let h=i(this),f=h.getMockName(),m=p(h);this.assert(m,`expected "${f}" to be successfully ${d} at least once`,`expected "${f}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:s((c,p)=>c.mock.settledResults.reduce((d,{type:h})=>h==="fulfilled"?++d:d,0)===p,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:s((c,p)=>c.mock.results.reduce((d,{type:h})=>h==="throw"?d:++d,0)===p,"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=f.getMockName(),y=p(f,h);this.assert(y,`expected "${m}" to be successfully ${d} ${h} times`,`expected "${m}" to not be successfully ${d} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:s((c,p)=>c.mock.settledResults.some(({type:d,value:h})=>d==="fulfilled"&&He(p,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:s((c,p)=>c.mock.results.some(({type:d,value:h})=>d==="return"&&He(p,h)),"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=p(f,h),y=t.flag(this,"negate");if(m&&y||!m&&!y){let b=f.getMockName(),g=t.getMessage(this,[m,`expected "${b}" to ${d} with: #{exp} at least once`,`expected "${b}" to not ${d} with: #{exp}`,h]),v=d==="return"?f.mock.results:f.mock.settledResults;throw new r(rT(f,v,g,h))}})}),[{name:"toHaveLastResolvedWith",condition:s((c,p)=>{let d=c.mock.settledResults[c.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&He(d.value,p)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:s((c,p)=>{let d=c.mock.results[c.mock.results.length-1];return d&&d.type==="return"&&He(d.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=d==="return"?f.mock.results:f.mock.settledResults,y=m[m.length-1],b=f.getMockName();this.assert(p(f,h),`expected last "${b}" call to ${d} #{exp}`,`expected last "${b}" call to not ${d} #{exp}`,h,y?.value)})}),[{name:"toHaveNthResolvedWith",condition:s((c,p,d)=>{let h=c.mock.settledResults[p-1];return h&&h.type==="fulfilled"&&He(h.value,d)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:s((c,p,d)=>{let h=c.mock.results[p-1];return h&&h.type==="return"&&He(h.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h,f){let m=i(this),y=m.getMockName(),b=(d==="return"?m.mock.results:m.mock.settledResults)[h-1],g=`${oo(h)} call`;this.assert(p(m,h,f),`expected ${g} "${y}" call to ${d} #{exp}`,`expected ${g} "${y}" call to not ${d} #{exp}`,f,b?.value)})}),a("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",s(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof d?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let h=new Proxy(this,{get:s((f,m,y)=>{let b=Reflect.get(f,m,y);return typeof b!="function"?b instanceof e.Assertion?h:b:(...g)=>{t.flag(this,"_name",m);let v=d.then(D=>(t.flag(this,"object",D),b.call(this,...g)),D=>{let S=new r(`promise rejected "${t.inspect(D)}" instead of resolving`,{showDiff:!1});throw S.cause=D,S.stack=c.stack.replace(c.message,S.message),S});return Gd(p,v,zd(t,this,!!g.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",s(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object"),h=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:s((m,y,b)=>{let g=Reflect.get(m,y,b);return typeof g!="function"?g instanceof e.Assertion?f:g:(...v)=>{t.flag(this,"_name",y);let D=h.then(S=>{let _=new r(`promise resolved "${t.inspect(S)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:S});throw _.stack=c.stack.replace(c.message,_.message),_},S=>(t.flag(this,"object",S),g.call(this,...v)));return Gd(p,D,zd(t,this,!!v.length),c)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function oo(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}s(oo,"ordinalOf");function Ks(e,t,r){return e.mock.calls.length&&(t+=bt.gray(`
|
|
282
|
+
|
|
283
|
+
Received:
|
|
284
|
+
|
|
285
|
+
${e.mock.calls.map((n,a)=>{let o=bt.bold(` ${oo(a+1)} ${e.getMockName()} call:
|
|
286
|
+
|
|
287
|
+
`);return r?o+=Ia(r,n,{omitAnnotationLines:!0}):o+=Yt(n).split(`
|
|
288
|
+
`).map(i=>` ${i}`).join(`
|
|
289
|
+
`),o+=`
|
|
290
|
+
`,o}).join(`
|
|
291
|
+
`)}`)),t+=bt.gray(`
|
|
292
|
+
|
|
293
|
+
Number of calls: ${bt.bold(e.mock.calls.length)}
|
|
294
|
+
`),t}s(Ks,"formatCalls");function rT(e,t,r,n){return t.length&&(r+=bt.gray(`
|
|
295
|
+
|
|
296
|
+
Received:
|
|
297
|
+
|
|
298
|
+
${t.map((a,o)=>{let i=bt.bold(` ${oo(o+1)} ${e.getMockName()} call return:
|
|
299
|
+
|
|
300
|
+
`);return n?i+=Ia(n,a.value,{omitAnnotationLines:!0}):i+=Yt(a).split(`
|
|
301
|
+
`).map(l=>` ${l}`).join(`
|
|
302
|
+
`),i+=`
|
|
303
|
+
`,i}).join(`
|
|
304
|
+
`)}`)),r+=bt.gray(`
|
|
305
|
+
|
|
306
|
+
Number of calls: ${bt.bold(e.mock.calls.length)}
|
|
307
|
+
`),r}s(rT,"formatReturns");function nT(e,t){let r=e._obj,n=Jr.flag(e,"negate"),a=Jr.flag(e,"promise")||"",o={...Yy(),diff:Ia,stringify:Yt,iterableEquality:sr,subsetEquality:Mo};return{state:{...$i(t),customTesters:mc(),isNot:n,utils:o,promise:a,equals:He,suppressedErrors:[],soft:Jr.flag(e,"soft"),poll:Jr.flag(e,"poll")},isNot:n,obj:r}}s(nT,"getMatcherState");var aT=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};s(aT,"JestExtendError");var Qv=aT;function oT(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,i])=>{function l(...h){let{state:f,isNot:m,obj:y}=nT(this,t),b=i.call(f,y,...h);if(b&&typeof b=="object"&&typeof b.then=="function")return b.then(({pass:_,message:A,actual:E,expected:C})=>{if(_&&m||!_&&!m)throw new Qv(A(),E,C)});let{pass:g,message:v,actual:D,expected:S}=b;if(g&&m||!g&&!m)throw new Qv(v(),D,S)}s(l,"expectWrapper");let u=Qy(a,o,l);a.addMethod(globalThis[Li].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);let c=class extends wn{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=i.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Yt(f)).join(", ")}>`}};s(c,"CustomMatcher");let p=c,d=s((...h)=>new p(!1,...h),"customMatcher");Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:s((...h)=>new p(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Md],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}s(oT,"JestExtendPlugin");var Y4=s((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{fa(oT(e,r,n))})},"JestExtend");function iT(){fa(Y4),fa(K4),fa(W4);let e=s((n,a)=>{let{assertionCalls:o}=$i(e);return Ws({assertionCalls:o+1,soft:!1},e),jn(n,a)},"expect");Object.assign(e,jn),e.getState=()=>$i(e),e.setState=n=>Ws(n,e),e.extend=n=>jn.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.extend(L4),e.unreachable=n=>{H.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=s(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}s(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return s(r,"hasAssertions"),Ws({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Jr.addMethod(e,"assertions",t),Jr.addMethod(e,"hasAssertions",r),e.extend(qx),e}s(iT,"createExpect");var sT=iT();Object.defineProperty(globalThis,Gy,{value:sT,writable:!0,configurable:!0});function lT(e,t,r){Object.defineProperty(e,t,r)}s(lT,"f");var Ys=Symbol.for("tinyspy:spy"),X4=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),Q4=s(e=>(lT(e,Ys,{value:{reset:s(()=>X4(e[Ys]),"reset")}}),e[Ys]),"K"),Z4=s(e=>e[Ys]||Q4(e),"T"),Kd=new Set;function Zy(e){return Kd.add(e),()=>void Kd.delete(e)}s(Zy,"onMockCall");var eU=s((...e)=>{let t=__(...e);return tg(t)},"spyOn");function eg(e){let t=e?qd(e):qd();return tg(t)}s(eg,"fn");function tg(e){let t=Yd(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Yd(r(n)),t}s(tg,"reactiveMock");function Yd(e){let t=Z4(e),r=t.impl;return t.willCall(function(...n){return Kd.forEach(a=>a(e,n)),r?.apply(this,n)}),e}s(Yd,"listenWhenCalled");function rg(){ys.forEach(e=>e.mockClear())}s(rg,"clearAllMocks");function ng(){ys.forEach(e=>e.mockReset())}s(ng,"resetAllMocks");function ag(){ys.forEach(e=>e.mockRestore())}s(ag,"restoreAllMocks");function uT(e,t={}){return e}s(uT,"mocked");var cT={};Jt(cT,{buildQueries:()=>Zr,configure:()=>lP,createEvent:()=>vi,findAllByAltText:()=>rD,findAllByDisplayValue:()=>YP,findAllByLabelText:()=>DP,findAllByPlaceholderText:()=>qP,findAllByRole:()=>yD,findAllByTestId:()=>wD,findAllByText:()=>HP,findAllByTitle:()=>lD,findByAltText:()=>nD,findByDisplayValue:()=>XP,findByLabelText:()=>OP,findByPlaceholderText:()=>MP,findByRole:()=>gD,findByTestId:()=>AD,findByText:()=>JP,findByTitle:()=>uD,fireEvent:()=>wo,getAllByAltText:()=>eD,getAllByDisplayValue:()=>WP,getAllByLabelText:()=>RP,getAllByPlaceholderText:()=>BP,getAllByRole:()=>hD,getAllByTestId:()=>ED,getAllByText:()=>UP,getAllByTitle:()=>iD,getByAltText:()=>tD,getByDisplayValue:()=>KP,getByLabelText:()=>FP,getByPlaceholderText:()=>jP,getByRole:()=>mD,getByTestId:()=>CD,getByText:()=>VP,getByTitle:()=>sD,getConfig:()=>Le,getDefaultNormalizer:()=>Ec,getElementError:()=>vs,getMultipleElementsFoundError:()=>Es,getNodeText:()=>Lo,getQueriesForElement:()=>Hl,getRoles:()=>xg,getSuggestedQuery:()=>Vi,isInaccessible:()=>bs,logDOM:()=>nf,logRoles:()=>AU,makeFindQuery:()=>wa,makeGetAllQuery:()=>Ac,makeSingleQuery:()=>Ca,prettyDOM:()=>Co,prettyFormat:()=>og,queries:()=>Vl,queryAllByAltText:()=>QP,queryAllByAttribute:()=>Xn,queryAllByDisplayValue:()=>zP,queryAllByLabelText:()=>IP,queryAllByPlaceholderText:()=>NP,queryAllByRole:()=>dD,queryAllByTestId:()=>bD,queryAllByText:()=>LP,queryAllByTitle:()=>aD,queryByAltText:()=>ZP,queryByAttribute:()=>_g,queryByDisplayValue:()=>GP,queryByLabelText:()=>TP,queryByPlaceholderText:()=>kP,queryByRole:()=>fD,queryByTestId:()=>vD,queryByText:()=>$P,queryByTitle:()=>oD,queryHelpers:()=>xU,screen:()=>HU,waitFor:()=>wc,waitForElementToBeRemoved:()=>SD,within:()=>Hl,wrapAllByQueryWithSuggestion:()=>Xt,wrapSingleQueryWithSuggestion:()=>Mn});var og=Et(aM()),tU=Object.prototype.toString;function Xd(e){return typeof e=="function"||tU.call(e)==="[object Function]"}s(Xd,"isCallable");function pT(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(pT,"toInteger");var rU=Math.pow(2,53)-1;function dT(e){var t=pT(e);return Math.min(Math.max(t,0),rU)}s(dT,"toLength");function gr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Xd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=dT(n.length),o=Xd(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(gr,"arrayFrom");function vo(e){"@babel/helpers - typeof";return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vo(e)}s(vo,"_typeof");function fT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(fT,"_classCallCheck");function Qd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ig(n.key),n)}}s(Qd,"_defineProperties");function hT(e,t,r){return t&&Qd(e.prototype,t),r&&Qd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(hT,"_createClass");function mT(e,t,r){return t=ig(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(mT,"_defineProperty");function ig(e){var t=yT(e,"string");return vo(t)==="symbol"?t:String(t)}s(ig,"_toPropertyKey");function yT(e,t){if(vo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(vo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(yT,"_toPrimitive");var nU=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fT(this,e),mT(this,"items",void 0),this.items=t}return s(e,"SetLike"),hT(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e})(),aU=typeof Set>"u"?Set:nU;function Ft(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Ft,"getLocalName");var oU={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},iU={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function gT(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=iU[t])!==null&&n!==void 0&&n.has(r))})}s(gT,"hasGlobalAriaAttributes");function sg(e,t){return gT(e,t)}s(sg,"ignorePresentationalRole");function bT(e){var t=ET(e);if(t===null||t==="presentation"){var r=vT(e);if(t!=="presentation"||sg(e,r||""))return r}return t}s(bT,"getRole");function vT(e){var t=oU[Ft(e)];if(t!==void 0)return t;switch(Ft(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!sg(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(vT,"getImplicitRole");function ET(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(ET,"getExplicitRole");function ot(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(ot,"isElement");function lg(e){return ot(e)&&Ft(e)==="caption"}s(lg,"isHTMLTableCaptionElement");function bi(e){return ot(e)&&Ft(e)==="input"}s(bi,"isHTMLInputElement");function CT(e){return ot(e)&&Ft(e)==="optgroup"}s(CT,"isHTMLOptGroupElement");function wT(e){return ot(e)&&Ft(e)==="select"}s(wT,"isHTMLSelectElement");function AT(e){return ot(e)&&Ft(e)==="table"}s(AT,"isHTMLTableElement");function xT(e){return ot(e)&&Ft(e)==="textarea"}s(xT,"isHTMLTextAreaElement");function ST(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(ST,"safeWindow");function _T(e){return ot(e)&&Ft(e)==="fieldset"}s(_T,"isHTMLFieldSetElement");function TT(e){return ot(e)&&Ft(e)==="legend"}s(TT,"isHTMLLegendElement");function PT(e){return ot(e)&&Ft(e)==="slot"}s(PT,"isHTMLSlotElement");function DT(e){return ot(e)&&e.ownerSVGElement!==void 0}s(DT,"isSVGElement");function OT(e){return ot(e)&&Ft(e)==="svg"}s(OT,"isSVGSVGElement");function RT(e){return DT(e)&&Ft(e)==="title"}s(RT,"isSVGTitleElement");function Ui(e,t){if(ot(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(Ui,"queryIdRefs");function Gr(e,t){return ot(e)?t.indexOf(bT(e))!==-1:!1}s(Gr,"hasAnyConcreteRoles");function FT(e){return e.trim().replace(/\s\s+/g," ")}s(FT,"asFlatString");function IT(e,t){if(!ot(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(IT,"isHidden");function NT(e){return Gr(e,["button","combobox","listbox","textbox"])||ug(e,"range")}s(NT,"isControl");function ug(e,t){if(!ot(e))return!1;switch(t){case"range":return Gr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(ug,"hasAbstractRole");function Zd(e,t){var r=gr(e.querySelectorAll(t));return Ui(e,"aria-owns").forEach(function(n){r.push.apply(r,gr(n.querySelectorAll(t)))}),r}s(Zd,"querySelectorAllSubtree");function kT(e){return wT(e)?e.selectedOptions||Zd(e,"[selected]"):Zd(e,'[aria-selected="true"]')}s(kT,"querySelectedOptions");function BT(e){return Gr(e,["none","presentation"])}s(BT,"isMarkedPresentational");function jT(e){return lg(e)}s(jT,"isNativeHostLanguageTextAlternativeElement");function qT(e){return Gr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(qT,"allowsNameFromContent");function MT(e){return!1}s(MT,"isDescendantOfNativeHostLanguageTextAlternativeElement");function LT(e){return bi(e)||xT(e)?e.value:e.textContent||""}s(LT,"getValueOfTextbox");function ef(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(ef,"getTextualContent");function cg(e){var t=Ft(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(cg,"isLabelableElement");function pg(e){if(cg(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ot(r)){var n=pg(r);n!==null&&(t=n)}}),t}s(pg,"findLabelableElement");function $T(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):pg(e)}s($T,"getControlOfLabel");function UT(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return gr(t);if(!cg(e))return null;var r=e.ownerDocument;return gr(r.querySelectorAll("label")).filter(function(n){return $T(n)===e})}s(UT,"getLabels");function VT(e){var t=e.assignedNodes();return t.length===0?gr(e.childNodes):t}s(VT,"getSlotContents");function dg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new aU,n=ST(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(g,v){var D="";if(ot(g)&&l){var S=c(g,"::before"),_=ef(S);D="".concat(_," ").concat(D)}var A=PT(g)?VT(g):gr(g.childNodes).concat(Ui(g,"aria-owns"));if(A.forEach(function(T){var k=b(T,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=ot(T)?c(T).getPropertyValue("display"):"inline",W=B!=="inline"?" ":"";D+="".concat(W).concat(k).concat(W)}),ot(g)&&l){var E=c(g,"::after"),C=ef(E);D="".concat(D," ").concat(C)}return D.trim()}s(h,"computeMiscTextAlternative");function f(g,v){var D=g.getAttributeNode(v);return D!==null&&!r.has(D)&&D.value.trim()!==""?(r.add(D),D.value):null}s(f,"useAttribute");function m(g){return ot(g)?f(g,"title"):null}s(m,"computeTooltipAttributeValue");function y(g){if(!ot(g))return null;if(_T(g)){r.add(g);for(var v=gr(g.childNodes),D=0;D<v.length;D+=1){var S=v[D];if(TT(S))return b(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(AT(g)){r.add(g);for(var _=gr(g.childNodes),A=0;A<_.length;A+=1){var E=_[A];if(lg(E))return b(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(OT(g)){r.add(g);for(var C=gr(g.childNodes),T=0;T<C.length;T+=1){var k=C[T];if(RT(k))return k.textContent}return null}else if(Ft(g)==="img"||Ft(g)==="area"){var B=f(g,"alt");if(B!==null)return B}else if(CT(g)){var W=f(g,"label");if(W!==null)return W}if(bi(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var z=f(g,"value");if(z!==null)return z;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var R=UT(g);if(R!==null&&R.length!==0)return r.add(g),gr(R).map(function(Q){return b(Q,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Q){return Q.length>0}).join(" ");if(bi(g)&&g.type==="image"){var L=f(g,"alt");if(L!==null)return L;var j=f(g,"title");return j!==null?j:"Submit Query"}if(Gr(g,["button"])){var X=h(g,{isEmbeddedInLabel:!1});if(X!=="")return X}return null}s(y,"computeElementTextAlternative");function b(g,v){if(r.has(g))return"";if(!d&&IT(g,c)&&!v.isReferenced)return r.add(g),"";var D=ot(g)?g.getAttributeNode("aria-labelledby"):null,S=D!==null&&!r.has(D)?Ui(g,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&S.length>0)return r.add(D),S.map(function(B){return b(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var _=v.recursion&&NT(g)&&o==="name";if(!_){var A=(ot(g)&&g.getAttribute("aria-label")||"").trim();if(A!==""&&o==="name")return r.add(g),A;if(!BT(g)){var E=y(g);if(E!==null)return r.add(g),E}}if(Gr(g,["menu"]))return r.add(g),"";if(_||v.isEmbeddedInLabel||v.isReferenced){if(Gr(g,["combobox","listbox"])){r.add(g);var C=kT(g);return C.length===0?bi(g)?g.value:"":gr(C).map(function(B){return b(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ug(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Gr(g,["textbox"]))return r.add(g),LT(g)}if(qT(g)||ot(g)&&v.isReferenced||jT(g)||MT()){var T=h(g,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(T!=="")return r.add(g),T}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(v.recursion)return r.add(g),h(g,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(g);return k!==null?(r.add(g),k):(r.add(g),"")}return s(b,"computeTextAlternative"),FT(b(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(dg,"computeTextAlternative");function Eo(e){"@babel/helpers - typeof";return Eo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eo(e)}s(Eo,"_typeof");function tf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(tf,"ownKeys");function rf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tf(Object(r),!0).forEach(function(n){HT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(rf,"_objectSpread");function HT(e,t,r){return t=JT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(HT,"_defineProperty");function JT(e){var t=zT(e,"string");return Eo(t)==="symbol"?t:String(t)}s(JT,"_toPropertyKey");function zT(e,t){if(Eo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Eo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(zT,"_toPrimitive");function fg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ui(e,"aria-describedby").map(function(a){return dg(a,rf(rf({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}s(fg,"computeAccessibleDescription");function GT(e){return Gr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}s(GT,"prohibitsNaming");function bc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GT(e)?"":dg(e,t)}s(bc,"computeAccessibleName");var mr=Et(H3()),sU=Et(J3());function hg(e){return e.replace(/</g,"<").replace(/>/g,">")}s(hg,"escapeHTML");var lU=s((e,t,r,n,a,o,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.indexOf(`
|
|
308
|
+
`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},"printProps"),uU=3,cU=s((e,t,r,n,a,o)=>e.map(i=>{let l=typeof i=="string"?WT(i,t):o(i,t,r,n,a);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==uU?"":t.spacingOuter+r+l}).join(""),"printChildren"),WT=s((e,t)=>{let r=t.colors.content;return r.open+hg(e)+r.close},"printText"),pU=s((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+hg(e)+"-->"+r.close},"printComment"),dU=s((e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},"printElement"),fU=s((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),hU=1,KT=3,YT=8,XT=11,mU=/^((HTML|SVG)\w*)?Element$/,QT=s(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),yU=s(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===hU&&(mU.test(t)||QT(e))||r===KT&&t==="Text"||r===YT&&t==="Comment"||r===XT&&t==="DocumentFragment"},"testNode");function ZT(e){return e.nodeType===KT}s(ZT,"nodeIsText");function eP(e){return e.nodeType===YT}s(eP,"nodeIsComment");function Xs(e){return e.nodeType===XT}s(Xs,"nodeIsFragment");function tP(e){return{test:s(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||QT(t))&&yU(t)},"test"),serialize:s((t,r,n,a,o,i)=>{if(ZT(t))return WT(t.data,r);if(eP(t))return pU(t.data,r);let l=Xs(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?fU(l,r):dU(l,lU(Xs(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Xs(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,i),cU(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)},"serialize")}}s(tP,"createDOMElementFilter");var rP=null,mg=null,yg=null;try{let e=module&&module.require;mg=e.call(module,"fs").readFileSync,yg=e.call(module,"@babel/code-frame").codeFrameColumns,rP=e.call(module,"chalk")}catch{}function nP(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=mg(o,"utf-8")}catch{return""}let c=yg(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return rP.dim(n)+`
|
|
309
|
+
`+c+`
|
|
310
|
+
`}s(nP,"getCodeFrame");function aP(){if(!mg||!yg)return"";let e=new Error().stack.split(`
|
|
311
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return nP(e)}s(aP,"getUserCodeFrame");var oP=3;function Qs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}s(Qs,"jestFakeTimersAreEnabled");function vc(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}s(vc,"getDocument");function gg(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}s(gg,"getWindowFromNode");function Qr(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}s(t,"getTypeName")}s(Qr,"checkContainerType");var gU=s(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Jp)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:bU}=og.plugins,vU=1,EU=8;function iP(e){return e.nodeType!==EU&&(e.nodeType!==vU||!e.matches(Le().defaultIgnore))}s(iP,"filterCommentsAndDefaultIgnoreTagsTags");function Co(e,t,r){if(r===void 0&&(r={}),e||(e=vc().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Jp<"u"&&Jp.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=iP,...o}=r,i=og.format(e,{plugins:[tP(a),bU],printFunctionName:!1,highlight:gU(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}s(Co,"prettyDOM");var nf=s(function(){let e=aP();console.log(e?Co(...arguments)+`
|
|
312
|
+
|
|
313
|
+
`+e:Co(...arguments))},"logDOM"),ya={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:s(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:s(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:s(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Co(t),n=new Error([e,"Ignored nodes: comments, "+ya.defaultIgnore+`
|
|
314
|
+
`+r].filter(Boolean).join(`
|
|
315
|
+
|
|
316
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function sP(e){try{return ya._disableExpensiveErrorDiagnostics=!0,e()}finally{ya._disableExpensiveErrorDiagnostics=!1}}s(sP,"runWithExpensiveErrorDiagnosticsDisabled");function lP(e){typeof e=="function"&&(e=e(ya)),ya={...ya,...e}}s(lP,"configure");function Le(){return ya}s(Le,"getConfig");var CU=["button","meter","output","progress","select","textarea","input"];function bg(e){return CU.includes(e.nodeName.toLowerCase())?"":e.nodeType===oP?e.textContent:Array.from(e.childNodes).map(t=>bg(t)).join("")}s(bg,"getTextContent");function Ul(e){let t;return e.tagName.toLowerCase()==="label"?t=bg(e):t=e.value||e.textContent,t}s(Ul,"getLabelContent");function vg(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!uP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}s(vg,"getRealLabels");function uP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}s(uP,"isLabelable");function Eg(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:Ul(l),formControl:null}:{content:"",formControl:null}}):Array.from(vg(t)).map(i=>{let l=Ul(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}s(Eg,"getLabels");function Cg(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}s(Cg,"assertNotNullOrUndefined");function ka(e,t,r,n){if(typeof e!="string")return!1;Cg(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):wg(r,a)}s(ka,"fuzzyMatches");function Kr(e,t,r,n){if(typeof e!="string")return!1;Cg(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?wg(r,a):a===String(r)}s(Kr,"matches");function Ec(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}s(Ec,"getDefaultNormalizer");function Yn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Ec({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}s(Yn,"makeNormalizer");function wg(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}s(wg,"matchRegExp");function Lo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===oP&&!!t.textContent).map(t=>t.textContent).join("")}s(Lo,"getNodeText");var wU=cP(mr.elementRoles);function Ag(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}s(Ag,"isSubtreeInaccessible");function bs(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Ag}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}s(bs,"isInaccessible");function Cc(e){for(let{match:t,roles:r}of wU)if(t(e))return[...r];return[]}s(Cc,"getImplicitAriaRoles");function cP(e){function t(i){let{name:l,attributes:u}=i;return""+l+u.map(c=>{let{name:p,value:d,constraints:h=[]}=c,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof d<"u"?"["+p+'="'+d+'"]':f?":not(["+p+"])":m?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}s(t,"makeElementSelector");function r(i){let{attributes:l=[]}=i;return l.length}s(r,"getSelectorSpecificity");function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(cP,"buildElementRoleList");function xg(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return s(n,"flattenDOM"),n(e).filter(a=>r===!1?bs(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=Cc(o),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],o]}:{...l,[u]:[o]},a)},{})}s(xg,"getRoles");function Sg(e,t){let{hidden:r,includeDescription:n}=t,a=xg(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,l]=o,u="-".repeat(50),c=l.map(p=>{let d='Name "'+bc(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
317
|
+
`,h=Co(p.cloneNode(!1));if(n){let f='Description "'+fg(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
318
|
+
`;return""+d+f+h}return""+d+h}).join(`
|
|
319
|
+
|
|
320
|
+
`);return i+`:
|
|
321
|
+
|
|
322
|
+
`+c+`
|
|
323
|
+
|
|
324
|
+
`+u}).join(`
|
|
325
|
+
`)}s(Sg,"prettyRoles");var AU=s(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Sg(e,{hidden:r}))},"logRoles");function pP(e){return e.tagName==="OPTION"?e.selected:$o(e,"aria-selected")}s(pP,"computeAriaSelected");function dP(e){return e.getAttribute("aria-busy")==="true"}s(dP,"computeAriaBusy");function fP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:$o(e,"aria-checked")}s(fP,"computeAriaChecked");function hP(e){return $o(e,"aria-pressed")}s(hP,"computeAriaPressed");function mP(e){var t,r;return(t=(r=$o(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}s(mP,"computeAriaCurrent");function yP(e){return $o(e,"aria-expanded")}s(yP,"computeAriaExpanded");function $o(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}s($o,"checkBooleanAttribute");function gP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}s(gP,"computeHeadingLevel");function bP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}s(bP,"computeAriaValueNow");function vP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}s(vP,"computeAriaValueMax");function EP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}s(EP,"computeAriaValueMin");function CP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}s(CP,"computeAriaValueText");var Zv=Ec();function wP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}s(wP,"escapeRegExp");function af(e){return new RegExp(wP(e.toLowerCase()),"i")}s(af,"getRegExpMatcher");function on(e,t,r,n){let{variant:a,name:o}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:af(r)];o&&(l.name=af(o)),e==="Role"&&bs(t)&&(l.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
326
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
327
|
+
`),Object.keys(l).length>0&&u.push(l);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[p,d]=u;return p=typeof p=="string"?"'"+p+"'":p,d=d?", { "+Object.entries(d).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",c+"("+p+d+")"}}}s(on,"makeSuggestion");function sn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}s(sn,"canSuggest");function Vi(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=Cc(e))==null?void 0:a[0];if(o!=="generic"&&sn("Role",r,o))return on("Role",e,o,{variant:t,name:bc(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});let i=Eg(document,e).map(h=>h.content).join(" ");if(sn("LabelText",r,i))return on("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(sn("PlaceholderText",r,l))return on("PlaceholderText",e,l,{variant:t});let u=Zv(Lo(e));if(sn("Text",r,u))return on("Text",e,u,{variant:t});if(sn("DisplayValue",r,e.value))return on("DisplayValue",e,Zv(e.value),{variant:t});let c=e.getAttribute("alt");if(sn("AltText",r,c))return on("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(sn("Title",r,p))return on("Title",e,p,{variant:t});let d=e.getAttribute(Le().testIdAttribute);if(sn("TestId",r,d))return on("TestId",e,d,{variant:t})}s(Vi,"getSuggestedQuery");function ni(e,t){e.stack=t.stack.replace(t.message,e.message)}s(ni,"copyStackTrace");function AP(e,t){let{container:r=vc(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:a=Le().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:l=s(c=>(Object.defineProperty(c,"message",{value:Le().getElementError(c.message,r).message}),c),"onTimeout"),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,p)=>{let d,h,f,m=!1,y="idle",b=setTimeout(_,n),g=Qs();if(g){let{unstable_advanceTimersWrapper:A}=Le();for(S();!m;){if(!Qs()){let E=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||ni(E,o),p(E);return}if(await A(async()=>{jest.advanceTimersByTime(i)}),m)break;S()}}else{try{Qr(r)}catch(E){p(E);return}h=setInterval(D,i);let{MutationObserver:A}=gg(r);f=new A(D),f.observe(r,u),S()}function v(A,E){m=!0,clearTimeout(b),g||(clearInterval(h),f.disconnect()),A?p(A):c(E)}s(v,"onDone");function D(){if(Qs()){let A=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||ni(A,o),p(A)}else return S()}s(D,"checkRealTimersCallback");function S(){if(y!=="pending")try{let A=sP(e);typeof A?.then=="function"?(y="pending",A.then(E=>{y="resolved",v(null,E)},E=>{y="rejected",d=E})):v(null,A)}catch(A){d=A}}s(S,"checkCallback");function _(){let A;d?(A=d,!a&&A.name==="TestingLibraryElementError"&&ni(A,o)):(A=new Error("Timed out in waitFor."),a||ni(A,o)),v(l(A),null)}s(_,"handleTimeout")})}s(AP,"waitFor");function wc(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>AP(e,{stackTraceError:r,...t}))}s(wc,"waitForWrapper");function vs(e,t){return Le().getElementError(e,t)}s(vs,"getElementError");function Es(e,t){return vs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}s(Es,"getMultipleElementsFoundError");function Xn(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=n===void 0?{}:n,u=a?Kr:ka,c=Yn({collapseWhitespace:o,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>u(p.getAttribute(e),p,r,c))}s(Xn,"queryAllByAttribute");function _g(e,t,r,n){let a=Xn(e,t,r,n);if(a.length>1)throw Es("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}s(_g,"queryByAttribute");function Ca(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(i.length>1){let l=i.map(u=>vs(null,u).message).join(`
|
|
328
|
+
|
|
329
|
+
`);throw Es(t(r,...a)+`
|
|
330
|
+
|
|
331
|
+
Here are the matching elements:
|
|
332
|
+
|
|
333
|
+
`+l,r)}return i[0]||null}}s(Ca,"makeSingleQuery");function Tg(e,t){return Le().getElementError(`A better query is available, try this:
|
|
334
|
+
`+e.toString()+`
|
|
335
|
+
`,t)}s(Tg,"getSuggestionError");function Ac(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(!i.length)throw Le().getElementError(t(r,...a),r);return i}}s(Ac,"makeGetAllQuery");function wa(e){return(t,r,n,a)=>wc(()=>e(t,r,n),{container:t,...a})}s(wa,"makeFindQuery");var Mn=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l&&u){let c=Vi(l,r);if(c&&!t.endsWith(c.queryName))throw Tg(c.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),Xt=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l.length&&u){let c=[...new Set(l.map(p=>{var d;return(d=Vi(p,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Vi(l[0],r).queryName))throw Tg(c[0],n)}return l},"wrapAllByQueryWithSuggestion");function Zr(e,t,r){let n=Mn(Ca(e,t),e.name,"query"),a=Ac(e,r),o=Ca(a,t),i=Mn(o,e.name,"get"),l=Xt(a,e.name.replace("query","get"),"getAll"),u=wa(Xt(a,e.name,"findAll")),c=wa(Mn(o,e.name,"find"));return[n,l,i,u,c]}s(Zr,"buildQueries");var xU=Object.freeze({__proto__:null,getElementError:vs,wrapAllByQueryWithSuggestion:Xt,wrapSingleQueryWithSuggestion:Mn,getMultipleElementsFoundError:Es,queryAllByAttribute:Xn,queryByAttribute:_g,makeSingleQuery:Ca,makeGetAllQuery:Ac,makeFindQuery:wa,buildQueries:Zr});function xP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ul(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}s(xP,"queryAllLabels");var SU=s(function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r,l=n?Kr:ka,u=Yn({collapseWhitespace:o,trim:a,normalizer:i});return xP(e).filter(c=>{let{node:p,textToMatch:d}=c;return l(d,p,t,u)}).map(c=>{let{node:p}=c;return p})},"queryAllLabelsByText"),Hi=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=r===void 0?{}:r;Qr(e);let u=a?Kr:ka,c=Yn({collapseWhitespace:o,trim:i,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(d=>vg(d).length||d.hasAttribute("aria-labelledby")).reduce((d,h)=>{let f=Eg(e,h,{selector:n});f.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,c)&&y.formControl&&d.push(y.formControl)});let m=f.filter(y=>!!y.content).map(y=>y.content);return u(m.join(" "),h,t,c)&&d.push(h),m.length>1&&m.forEach((y,b)=>{u(y,h,t,c)&&d.push(h);let g=[...m];g.splice(b,1),g.length>1&&u(g.join(" "),h,t,c)&&d.push(h)}),d},[]).concat(Xn("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(p)).filter(d=>d.matches(n))},"queryAllByLabelText"),Aa=s(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];let o=Hi(e,t,...n);if(!o.length){let i=SU(e,t,...n);if(i.length){let l=i.map(u=>SP(e,u)).filter(u=>!!u);throw l.length?Le().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
336
|
+
|
|
337
|
+
`),e):Le().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Le().getElementError("Unable to find a label with the text of: "+t,e)}return o},"getAllByLabelText");function SP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}s(SP,"getTagNameOfElementAssociatedWithLabelViaFor");var _P=s((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),TP=Mn(Ca(Hi,_P),Hi.name,"query"),PP=Ca(Aa,_P),DP=wa(Xt(Aa,Aa.name,"findAll")),OP=wa(Mn(PP,Aa.name,"find")),RP=Xt(Aa,Aa.name,"getAll"),FP=Mn(PP,Aa.name,"get"),IP=Xt(Hi,Hi.name,"queryAll"),of=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Qr(t[0]),Xn("placeholder",...t)},"queryAllByPlaceholderText"),_U=s((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),TU=s((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),NP=Xt(of,of.name,"queryAll"),[kP,BP,jP,qP,MP]=Zr(of,_U,TU),sf=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:l=Le().defaultIgnore,normalizer:u}=r===void 0?{}:r;Qr(e);let c=a?Kr:ka,p=Yn({collapseWhitespace:o,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Lo(h),h,t,p))},"queryAllByText"),PU=s((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),DU=s(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,l=Yn({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},"getMissingError$5"),LP=Xt(sf,sf.name,"queryAll"),[$P,UP,VP,HP,JP]=Zr(sf,PU,DU),lf=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Qr(e);let l=n?Kr:ka,u=Yn({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(Lo(p),p,t,u)):l(c.value,c,t,u))},"queryAllByDisplayValue"),OU=s((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),RU=s((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),zP=Xt(lf,lf.name,"queryAll"),[GP,WP,KP,YP,XP]=Zr(lf,OU,RU),FU=/^(img|input|area|.+-.+)$/i,uf=s(function(e,t,r){return r===void 0&&(r={}),Qr(e),Xn("alt",e,t,r).filter(n=>FU.test(n.tagName))},"queryAllByAltText"),IU=s((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),NU=s((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),QP=Xt(uf,uf.name,"queryAll"),[ZP,eD,tD,rD,nD]=Zr(uf,IU,NU),kU=s(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),cf=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Qr(e);let l=n?Kr:ka,u=Yn({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||kU(c)&&l(Lo(c),c,t,u))},"queryAllByTitle"),BU=s((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),jU=s((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),aD=Xt(cf,cf.name,"queryAll"),[oD,iD,sD,lD,uD]=Zr(cf,BU,jU),pf=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:p,current:d,level:h,expanded:f,value:{now:m,min:y,max:b,text:g}={}}=r===void 0?{}:r;if(Qr(e),l!==void 0){var v;if(((v=mr.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var D;if(((D=mr.roles.get(t))==null?void 0:D.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=mr.roles.get(t))==null?void 0:S.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var _;if(((_=mr.roles.get(t))==null?void 0:_.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var A;if(((A=mr.roles.get(t))==null?void 0:A.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var E;if(((E=mr.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=mr.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var T;if(((T=mr.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var k;if(((k=mr.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var B;if(((B=mr.roles.get(t))==null?void 0:B.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let W=new WeakMap;function z(R){return W.has(R)||W.set(R,Ag(R)),W.get(R)}return s(z,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(cD(t))).filter(R=>{if(R.hasAttribute("role")){let L=R.getAttribute("role");if(i)return L.split(" ").filter(Boolean).some(X=>X===t);let[j]=L.split(" ");return j===t}return Cc(R).some(L=>L===t)}).filter(R=>{if(l!==void 0)return l===pP(R);if(u!==void 0)return u===dP(R);if(c!==void 0)return c===fP(R);if(p!==void 0)return p===hP(R);if(d!==void 0)return d===mP(R);if(f!==void 0)return f===yP(R);if(h!==void 0)return h===gP(R);if(m!==void 0||b!==void 0||y!==void 0||g!==void 0){let j=!0;if(m!==void 0&&j&&(j=m===bP(R)),b!==void 0&&j&&(j=b===vP(R)),y!==void 0&&j&&(j=y===EP(R)),g!==void 0){var L;j&&(j=Kr((L=CP(R))!=null?L:null,R,g,X=>X))}return j}return!0}).filter(R=>a===void 0?!0:Kr(bc(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,a,L=>L)).filter(R=>o===void 0?!0:Kr(fg(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,o,L=>L)).filter(R=>n===!1?bs(R,{isSubtreeInaccessible:z})===!1:!0)},"queryAllByRole");function cD(e){var t;let r='*[role~="'+e+'"]',n=(t=mr.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}s(cD,"makeRoleSelector");var pD=s(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),qU=s(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+pD(n)},"getMultipleError$1"),MU=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+pD(a);let i="";Array.from(e.children).forEach(p=>{i+=Sg(p,{hidden:n,includeDescription:o!==void 0})});let l;i.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
338
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
339
|
+
|
|
340
|
+
`+i.replace(/\n/g,`
|
|
341
|
+
`).replace(/\n\s\s\n/g,`
|
|
342
|
+
|
|
343
|
+
`)+`
|
|
344
|
+
`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(`
|
|
345
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
346
|
+
|
|
347
|
+
`+l).trim()},"getMissingError$1"),dD=Xt(pf,pf.name,"queryAll"),[fD,hD,mD,yD,gD]=Zr(pf,qU,MU),Pg=s(()=>Le().testIdAttribute,"getTestIdAttribute"),df=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Qr(t[0]),Xn(Pg(),...t)},"queryAllByTestId"),LU=s((e,t)=>"Found multiple elements by: ["+Pg()+'="'+t+'"]',"getMultipleError"),$U=s((e,t)=>"Unable to find an element by: ["+Pg()+'="'+t+'"]',"getMissingError"),bD=Xt(df,df.name,"queryAll"),[vD,ED,CD,wD,AD]=Zr(df,LU,$U),Vl=Object.freeze({__proto__:null,queryAllByLabelText:IP,queryByLabelText:TP,getAllByLabelText:RP,getByLabelText:FP,findAllByLabelText:DP,findByLabelText:OP,queryByPlaceholderText:kP,queryAllByPlaceholderText:NP,getByPlaceholderText:jP,getAllByPlaceholderText:BP,findAllByPlaceholderText:qP,findByPlaceholderText:MP,queryByText:$P,queryAllByText:LP,getByText:VP,getAllByText:UP,findAllByText:HP,findByText:JP,queryByDisplayValue:GP,queryAllByDisplayValue:zP,getByDisplayValue:KP,getAllByDisplayValue:WP,findAllByDisplayValue:YP,findByDisplayValue:XP,queryByAltText:ZP,queryAllByAltText:QP,getByAltText:tD,getAllByAltText:eD,findAllByAltText:rD,findByAltText:nD,queryByTitle:oD,queryAllByTitle:aD,getByTitle:sD,getAllByTitle:iD,findAllByTitle:lD,findByTitle:uD,queryByRole:fD,queryAllByRole:dD,getAllByRole:hD,getByRole:mD,findAllByRole:yD,findByRole:gD,queryByTestId:vD,queryAllByTestId:bD,getByTestId:CD,getAllByTestId:ED,findAllByTestId:wD,findByTestId:AD});function Hl(e,t,r){return t===void 0&&(t=Vl),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}s(Hl,"getQueriesForElement");var xD=s(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function ff(e){if(xD(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}s(ff,"initialCheck");async function SD(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){ff(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=s(()=>n.map(a=>a()).filter(Boolean),"callback")}return ff(e()),wc(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!xD(n))throw r},t)}s(SD,"waitForElementToBeRemoved");var e0={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},t0={doubleClick:"dblClick"};function wo(e,t){return Le().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}s(wo,"fireEvent");function vi(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...o,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&_D(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=gg(t),d=p[a]||p.Event,h;if(typeof d=="function")h=new d(e,i);else{h=p.document.createEvent(a);let{bubbles:f,cancelable:m,detail:y,...b}=i;h.initEvent(e,f,m,y),Object.keys(b).forEach(g=>{h[g]=b[g]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=i[f];typeof m=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((y,b)=>(Object.defineProperty(y,b,{value:m[b]}),y),new p.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}s(vi,"createEvent");Object.keys(e0).forEach(e=>{let{EventType:t,defaultInit:r}=e0[e],n=e.toLowerCase();vi[e]=(a,o)=>vi(n,a,o,{EventType:t,defaultInit:r}),wo[e]=(a,o)=>wo(a,vi[e](a,o))});function _D(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}s(_D,"setNativeValue");Object.keys(t0).forEach(e=>{let t=t0[e];wo[e]=function(){return wo[t](...arguments)}});function TD(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
348
|
+
`)}s(TD,"unindent");function PD(e){return sU.default.compressToEncodedURIComponent(TD(e))}s(PD,"encode");function DD(e){return"https://testing-playground.com/#markup="+PD(e)}s(DD,"getPlaygroundUrl");var UU=s((e,t,r)=>Array.isArray(e)?e.forEach(n=>nf(n,t,r)):nf(e,t,r),"debug"),VU=s(function(e){if(e===void 0&&(e=vc().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=DD(e.innerHTML);return console.log(`Open this URL in your browser
|
|
349
|
+
|
|
350
|
+
`+t),t},"logTestingPlaygroundURL"),r0={debug:UU,logTestingPlaygroundURL:VU},HU=typeof document<"u"&&document.body?Hl(document.body,Vl,r0):Object.keys(Vl).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),r0);function Ne(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}s(Ne,"isElementType");function cr(e){var t;if(OD(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${RD(e)}`)}s(cr,"getWindow");function OD(e){return e.nodeType===9}s(OD,"isDocument");function RD(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}s(RD,"describe");function Dg(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}s(Dg,"readBlobText");function xc(e,t){let r={...t,length:t.length,item:s(n=>r[n],"item"),[Symbol.iterator]:s(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}s(xc,"createFileList");function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(fn,"_define_property");var FD=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){fn(this,"kind",void 0),fn(this,"type",void 0),fn(this,"file",null),fn(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};s(FD,"DataTransferItemStub");var ID=FD,ND=class extends Array{add(...t){let r=new ID(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};s(ND,"DataTransferItemListStub");var JU=ND;function ai(e,t){let[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}s(ai,"getTypeMatcher");function kD(e){var t;return new(t=class{getData(r){var n;let a=(n=this.items.find(ai(r,!0)))!==null&&n!==void 0?n:this.items.find(ai(r,!1)),o="";return a?.getAsString(i=>{o=i}),o}setData(r,n){let a=this.items.findIndex(ai(r,!0)),o=new ID(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){let n=this.items.findIndex(ai(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){fn(this,"dropEffect","none"),fn(this,"effectAllowed","uninitialized"),fn(this,"items",new JU),fn(this,"files",xc(e,[]))}},s(t,"DataTransferStub"),t)}s(kD,"createDataTransferStub");function Sc(e,t=[]){let r=typeof e.DataTransfer>"u"?kD(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:s(()=>xc(e,t),"get")}),r}s(Sc,"createDataTransfer");async function BD(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}s(BD,"getBlobFromDataTransferItem");function Og(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Og,"_define_property");function Rg(e,...t){var r;let n=Object.fromEntries(t.map(a=>[typeof a=="string"?"text/plain":a.type,Promise.resolve(a)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(a){let o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Og(this,"data",void 0),this.data=a}},s(r,"ClipboardItem"),r)(n)}s(Rg,"createClipboardItem");var Ao=Symbol("Manage ClipboardSub");function hf(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let a of this.items){let o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Dg(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Rg(e,n)]}constructor(...n){super(...n),Og(this,"items",[])}},s(r,"Clipboard"),r),{[Ao]:t})}s(hf,"createClipboardStub");function _c(e){return!!e?.[Ao]}s(_c,"isClipboardStub");function jD(e){if(_c(e.navigator.clipboard))return e.navigator.clipboard[Ao];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:s(()=>{r=hf(e,n)},"resetClipboardStub"),detachClipboardStub:s(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=hf(e,n),Object.defineProperty(e.navigator,"clipboard",{get:s(()=>r,"get"),configurable:!0}),r[Ao]}s(jD,"attachClipboardStubToView");function qD(e){_c(e.navigator.clipboard)&&e.navigator.clipboard[Ao].resetClipboardStub()}s(qD,"resetClipboardStubOnView");function MD(e){_c(e.navigator.clipboard)&&e.navigator.clipboard[Ao].detachClipboardStub()}s(MD,"detachClipboardStubFromView");async function LD(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=Sc(t);for(let o of n)for(let i of o.types)a.setData(i,await o.getType(i).then(l=>Dg(l,t.FileReader)));return a}s(LD,"readDataTransferFromClipboard");async function Fg(e,t){let r=cr(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){let i=t.items[o],l=await BD(r,i);a.push(Rg(r,l))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}s(Fg,"writeDataTransferToClipboard");var Jl=globalThis;typeof Jl.afterEach=="function"&&Jl.afterEach(()=>{typeof globalThis.window<"u"&&qD(globalThis.window)});typeof Jl.afterAll=="function"&&Jl.afterAll(()=>{typeof globalThis.window<"u"&&MD(globalThis.window)});var $D=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Tc(e){return e.matches($D)}s(Tc,"isFocusable");function UD(e){return new e.constructor(e.type,e)}s(UD,"cloneEvent");function Yr(e){for(let r=e;r;r=r.parentElement)if(Ne(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Ne(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}s(Yr,"isDisabled");function Uo(e){let t=e.activeElement;return t?.shadowRoot?Uo(t.shadowRoot):Yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}s(Uo,"getActiveElement");function Zs(e){var t;return(t=Uo(e))!==null&&t!==void 0?t:e.body}s(Zs,"getActiveElementOrBody");function VD(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}s(VD,"findClosest");function Jn(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}s(Jn,"isContentEditable");function xo(e){let t=HD(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}s(xo,"getContentEditable");function HD(e){return e.nodeType===1?e:e.parentElement}s(HD,"getElement");var JD=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(JD||{});function Ig(e){return Ne(e,"button")||Ne(e,"input")&&e.type in JD}s(Ig,"isClickableInput");function xa(e){return Ng(e)&&!e.readOnly||Jn(e)}s(xa,"isEditable");var zD=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(zD||{});function Ng(e){return Ne(e,"textarea")||Ne(e,"input")&&e.type in zD}s(Ng,"isEditableInputOrTextArea");function Or(e){return kg(e)&&Ng(e)}s(Or,"hasOwnSelection");function GD(e){return kg(e)&&Ig(e)}s(GD,"hasNoSelection");function kg(e){return e.nodeType===1}s(kg,"isElement");function WD(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&Or(e)){let n=xo(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}s(WD,"updateSelectionOnFocus");function Sa(e,t){return Le().eventWrapper(e)}s(Sa,"wrapEvent");function vn(e){let t=VD(e,Tc),r=Uo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Sa(t?()=>t.focus():()=>r?.blur()),WD(t??e.ownerDocument.body))}s(vn,"focusElement");function KD(e){!Tc(e)||Uo(e.ownerDocument)!==e||Sa(()=>e.blur())}s(KD,"blurElement");var zn={};zn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&Ne(n,"label")&&n.control;if(a&&a!==t)return()=>{Tc(a)&&(vn(a),r.dispatchEvent(a,UD(e)))};if(Ne(t,"input",{type:"file"}))return()=>{KD(t),t.dispatchEvent(new(cr(t)).Event("fileDialog")),vn(t)}};var So=Symbol("Displayed value in UI"),hn=Symbol("Displayed selection in UI"),zl=Symbol("Initial value to compare on blur");function YD(e){return typeof e=="object"&&So in e}s(YD,"isUIValue");function XD(e){return!!e&&typeof e=="object"&&hn in e}s(XD,"isUISelectionStart");function QD(e,t){e[zl]===void 0&&(e[zl]=e.value),e[So]=t,e.value=Object.assign(new String(t),{[So]:!0})}s(QD,"setUIValue");function Rr(e){return e[So]===void 0?e.value:String(e[So])}s(Rr,"getUIValue");function Pc(e){e[So]=void 0}s(Pc,"setUIValueClean");function Bg(e){e[zl]=void 0}s(Bg,"clearInitialValue");function ZD(e){return e[zl]}s(ZD,"getInitialValue");function eO(e,t){e[hn]=t}s(eO,"setUISelectionRaw");function Ba(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=Rr(e).length,o=s(d=>Math.max(0,Math.min(a,d)),"sanitizeOffset"),i=n==="replace"||e[hn]===void 0?o(r):e[hn].anchorOffset,l=o(t),u=Math.min(i,l),c=Math.max(i,l);if(e[hn]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let p=Object.assign(new Number(u),{[hn]:!0});try{e.setSelectionRange(p,c)}catch{}}s(Ba,"setUISelection");function _o(e){var t,r,n;let a=(n=e[hn])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}s(_o,"getUISelection");function tO(e){return!!e[hn]}s(tO,"hasUISelection");function Ei(e){e[hn]=void 0}s(Ei,"setUISelectionClean");var Gl=globalThis.parseInt;function rO(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Gl(t[0],10),n=Gl(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,mf(t,a)}return e.length===2?e:mf(t,2)}s(rO,"buildTimeValue");function mf(e,t){let r=e.slice(0,t),n=Math.min(Gl(r,10),23),a=e.slice(t),o=Gl(a,10),i=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}s(mf,"build");function jg(e,t){let r=e.cloneNode();return r.value=t,r.value===t}s(jg,"isValidDateOrTimeValue");var nO=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(nO||{});function aO(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}s(aO,"getMaxLength");function oO(e){return Ne(e,"textarea")||Ne(e,"input")&&e.type in nO}s(oO,"supportsMaxLength");function qg(e,t,r,n){if(Ci(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=yf(e,t,r);if(a){if(Ci(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(Ne(a,"br")){let o=yf(a,void 0,r);return o?Ci(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Ne(o,"br")?{node:a.parentNode,offset:oi(a)}:{node:o.parentNode,offset:oi(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:oi(a)}:void 0}else return{node:a.parentNode,offset:oi(a)+(r>0?1:0)}}}s(qg,"getNextCursorPosition");function yf(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Dc(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),sO(e,r===1?"next":"previous",iO)}s(yf,"getNextCharacterContentNode");function iO(e){if(Ci(e))return!0;if(Dc(e)){if(Ne(e,["input","textarea"]))return e.type!=="hidden";if(Ne(e,"br"))return!0}return!1}s(iO,"isTreatedAsCharacterContent");function oi(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}s(oi,"getOffset");function Dc(e){return e.nodeType===1}s(Dc,"isElement");function Ci(e){return e.nodeType===3}s(Ci,"isTextNode");function sO(e,t,r){for(;;){var n;let a=e[`${t}Sibling`];if(a){if(e=lO(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Dc(e.parentNode)||!Jn(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}s(sO,"walkNodes");function lO(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}s(lO,"getDescendant");var Ji=Symbol("Track programmatic changes for React workaround");function uO(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&cr(e).REACT_VERSION===17}s(uO,"isReact17Element");function cO(e){uO(e)&&(e[Ji]={previousValue:String(e.value),tracked:[]})}s(cO,"startTrackValue");function pO(e,t){var r,n;(n=e[Ji])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Ji]||(Pc(e),Ba(e,{focusOffset:t.length}))}s(pO,"trackOrSetValue");function dO(e,t){var r;let n=e[Ji];if(e[Ji]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Pc(e),tO(e)&&Ba(e,{focusOffset:a?t:e.value.length})}s(dO,"commitValueAfterInput");function Mg(e){let t=fO(e);if(t&&Or(t))return{type:"input",selection:_o(t)};let r=t?.ownerDocument.getSelection();return{type:xo(e)&&r?.anchorNode&&xo(r.anchorNode)?"contenteditable":"default",selection:r}}s(Mg,"getTargetTypeAndSelection");function fO(e){return e.nodeType===1?e:e.parentElement}s(fO,"getElement");function hO(e){let t=Mg(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}s(hO,"getInputRange");function Gn({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(Mg(e).type==="input")return Ba(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}s(Gn,"setSelection");function Lg(e){return Ne(e,"input")&&["date","time"].includes(e.type)}s(Lg,"isDateOrTime");function _a(e,t,r,n="insertText"){let a=hO(t);a&&(!Lg(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?mO(e,t,a,r,n):yO(e,t,a,r,n)))}s(_a,"input");function mO(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let i=qg(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}s(mO,"editContenteditable");function yO(e,t,r,n,a){let o=n;if(oO(t)){let c=aO(t);if(c!==void 0&&n.length>0){let p=c-t.value.length;if(p>0)o=n.substring(0,p);else return}}let{newValue:i,newOffset:l,oldValue:u}=gO(o,t,r,a);i===u&&l===r.startOffset&&l===r.endOffset||Ne(t,"input",{type:"number"})&&!bO(i)||(QD(t,i),Gn({focusNode:t,anchorOffset:l,focusOffset:l}),Lg(t)?jg(t,i)&&(gf(e,t,l,{}),e.dispatchUIEvent(t,"change"),Bg(t)):gf(e,t,l,{data:n,inputType:a}))}s(yO,"editInputElement");function gO(e,t,{startOffset:r,endOffset:n},a){let o=Rr(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),p=`${l}${e}${c}`,d=i+e.length;if(Ne(t,"input",{type:"time"})){let h=rO(p);h!==""&&jg(t,h)&&(p=h,d=h.length)}return{oldValue:o,newValue:p,newOffset:d}}s(gO,"calculateNewValue");function gf(e,t,r,n){e.dispatchUIEvent(t,"input",n),dO(t,r)}s(gf,"commitInput");function bO(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}s(bO,"isValidNumberInput");zn.cut=(e,t,r)=>()=>{xa(t)&&_a(r,t,"","deleteByCut")};function vO(e){return e?Jn(e)?e.textContent:Rr(e):null}s(vO,"getValueOrTextContent");function EO(e){let t=cr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}s(EO,"isVisible");function CO(e,t){let r=e.ownerDocument,n=r.querySelectorAll($D),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Yr(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let p=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return p===d?0:p===0?1:d===0?-1:p-d});let o={},i=[r.body],l=Ne(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(Ne(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(p=>!Ne(p,"input",{type:"radio",name:c.name})),i.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}i.push(c)});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||EO(i[u]))return i[u]}s(CO,"getTabDestination");function bf(e,t){if(Or(e)){let r=_o(e);Gn({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=qg(r.focusNode,r.focusOffset,t);n&&Gn({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}s(bf,"moveSelection");function $g(e){if(Or(e))return Gn({focusNode:e,anchorOffset:0,focusOffset:Rr(e).length});var t;let r=(t=xo(e))!==null&&t!==void 0?t:e.ownerDocument.body;Gn({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}s($g,"selectAll");function wO(e){if(Or(e))return _o(e).startOffset===0&&_o(e).endOffset===Rr(e).length;var t;let r=(t=xo(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}s(wO,"isAllSelected");function Qa(e,t,r){var n;if(Or(e))return Gn({focusNode:e,anchorOffset:t,focusOffset:r});if(Jn(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Gn({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}s(Qa,"setSelectionRange");function ii(e,t,r){let n=cr(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Yr(a[o])){vn(a[o]),e.dispatchUIEvent(a[o],"click");return}}}s(ii,"walkRadio");zn.keydown=(e,t,r)=>{var n,a;return(a=(n=n0[e.key])===null||n===void 0?void 0:n.call(n0,e,t,r))!==null&&a!==void 0?a:zU(e,t,r)};var n0={ArrowDown:s((e,t,r)=>{if(Ne(t,"input",{type:"radio"}))return()=>ii(r,t,1)},"ArrowDown"),ArrowLeft:s((e,t,r)=>Ne(t,"input",{type:"radio"})?()=>ii(r,t,-1):()=>bf(t,-1),"ArrowLeft"),ArrowRight:s((e,t,r)=>Ne(t,"input",{type:"radio"})?()=>ii(r,t,1):()=>bf(t,1),"ArrowRight"),ArrowUp:s((e,t,r)=>{if(Ne(t,"input",{type:"radio"}))return()=>ii(r,t,-1)},"ArrowUp"),Backspace:s((e,t,r)=>{if(xa(t))return()=>{_a(r,t,"","deleteContentBackward")}},"Backspace"),Delete:s((e,t,r)=>{if(xa(t))return()=>{_a(r,t,"","deleteContentForward")}},"Delete"),End:s((e,t)=>{if(Ne(t,["input","textarea"])||Jn(t))return()=>{var r,n;let a=(n=(r=vO(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Qa(t,a,a)}},"End"),Home:s((e,t)=>{if(Ne(t,["input","textarea"])||Jn(t))return()=>{Qa(t,0,0)}},"Home"),PageDown:s((e,t)=>{if(Ne(t,["input"]))return()=>{let r=Rr(t).length;Qa(t,r,r)}},"PageDown"),PageUp:s((e,t)=>{if(Ne(t,["input"]))return()=>{Qa(t,0,0)}},"PageUp"),Tab:s((e,t,r)=>()=>{let n=CO(t,r.system.keyboard.modifiers.Shift);vn(n),Or(n)&&Ba(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},zU=s((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>$g(t)},"combinationBehavior");zn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Ne(t,"button")||Ne(t,"input")&&GU.includes(t.type)||Ne(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Ne(t,"input")){let n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&WU.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(xa(t)){let n=e.key==="Enter"?Jn(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
|
|
351
|
+
`:e.key;return()=>_a(r,t,a,n)}};var GU=["button","color","file","image","reset","submit"],WU=["email","month","password","search","tel","text","url","week"];zn.keyup=(e,t,r)=>{var n;return(n=a0[e.key])===null||n===void 0?void 0:n.call(a0,e,t,r)};var a0={" ":s((e,t,r)=>{if(Ig(t))return()=>r.dispatchUIEvent(t,"click")}," ")};zn.paste=(e,t,r)=>{if(xa(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&_a(r,t,a,"insertFromPaste")}};var AO={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Ug(e){return AO[e].EventType}s(Ug,"getEventClass");var KU=["MouseEvent","PointerEvent"];function xO(e){return KU.includes(Ug(e))}s(xO,"isMouseEvent");function SO(e){return Ug(e)==="KeyboardEvent"}s(SO,"isKeyboardEvent");var YU={ClipboardEvent:[TO],Event:[],FocusEvent:[Ha,PO],InputEvent:[Ha,DO],MouseEvent:[Ha,el,vf],PointerEvent:[Ha,el,vf,RO],KeyboardEvent:[Ha,el,OO]};function Vg(e,t,r){let n=cr(t),{EventType:a,defaultInit:o}=AO[e],i=new(_O(n))[a](e,o);return YU[a].forEach(l=>l(i,r??{})),i}s(Vg,"createEvent");function _O(e){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,b;let g=(b=e.Event)!==null&&b!==void 0?b:(t=class{},s(t,"Event"),t);var v;let D=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends g{},s(r,"AnimationEvent"),r);var S;let _=(S=e.ClipboardEvent)!==null&&S!==void 0?S:(n=class extends g{},s(n,"ClipboardEvent"),n);var A;let E=(A=e.PopStateEvent)!==null&&A!==void 0?A:(a=class extends g{},s(a,"PopStateEvent"),a);var C;let T=(C=e.ProgressEvent)!==null&&C!==void 0?C:(o=class extends g{},s(o,"ProgressEvent"),o);var k;let B=(k=e.TransitionEvent)!==null&&k!==void 0?k:(i=class extends g{},s(i,"TransitionEvent"),i);var W;let z=(W=e.UIEvent)!==null&&W!==void 0?W:(l=class extends g{},s(l,"UIEvent"),l);var R;let L=(R=e.CompositionEvent)!==null&&R!==void 0?R:(u=class extends z{},s(u,"CompositionEvent"),u);var j;let X=(j=e.FocusEvent)!==null&&j!==void 0?j:(c=class extends z{},s(c,"FocusEvent"),c);var Q;let oe=(Q=e.InputEvent)!==null&&Q!==void 0?Q:(p=class extends z{},s(p,"InputEvent"),p);var $;let K=($=e.KeyboardEvent)!==null&&$!==void 0?$:(d=class extends z{},s(d,"KeyboardEvent"),d);var U;let Y=(U=e.MouseEvent)!==null&&U!==void 0?U:(h=class extends z{},s(h,"MouseEvent"),h);var ee;let se=(ee=e.DragEvent)!==null&&ee!==void 0?ee:(f=class extends Y{},s(f,"DragEvent"),f);var te;let pe=(te=e.PointerEvent)!==null&&te!==void 0?te:(m=class extends Y{},s(m,"PointerEvent"),m);var me;let Xe=(me=e.TouchEvent)!==null&&me!==void 0?me:(y=class extends z{},s(y,"TouchEvent"),y);return{Event:g,AnimationEvent:D,ClipboardEvent:_,PopStateEvent:E,ProgressEvent:T,TransitionEvent:B,UIEvent:z,CompositionEvent:L,FocusEvent:X,InputEvent:oe,KeyboardEvent:K,MouseEvent:Y,DragEvent:se,PointerEvent:pe,TouchEvent:Xe}}s(_O,"getEventConstructors");function An(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:s(()=>n??null,"get")})}s(An,"assignProps");function dt(e){return Number(e??0)}s(dt,"sanitizeNumber");function TO(e,{clipboardData:t}){An(e,{clipboardData:t})}s(TO,"initClipboardEvent");function PO(e,{relatedTarget:t}){An(e,{relatedTarget:t})}s(PO,"initFocusEvent");function DO(e,{data:t,inputType:r,isComposing:n}){An(e,{data:t,isComposing:!!n,inputType:String(r)})}s(DO,"initInputEvent");function Ha(e,{view:t,detail:r}){An(e,{view:t,detail:dt(r??0)})}s(Ha,"initUIEvent");function el(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:p,modifierSymbol:d,modifierSymbolLock:h}){An(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:p,Shift:a,Symbol:d,SymbolLock:h}[f]}})}s(el,"initUIEventModifiers");function OO(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){An(e,{key:String(t),code:String(r),location:dt(n),repeat:!!a,isComposing:!!o,charCode:i})}s(OO,"initKeyboardEvent");function vf(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:l,buttons:u,relatedTarget:c,offsetX:p,offsetY:d,pageX:h,pageY:f}){An(e,{screenX:dt(n),screenY:dt(a),clientX:dt(o),x:dt(o),clientY:dt(i),y:dt(i),button:dt(l),buttons:dt(u),relatedTarget:c,offsetX:dt(p),offsetY:dt(d),pageX:dt(h),pageY:dt(f)})}s(vf,"initMouseEvent");function RO(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:p}){An(e,{pointerId:dt(t),width:dt(r??1),height:dt(n??1),pressure:dt(a),tangentialPressure:dt(o),tiltX:dt(i),tiltY:dt(l),twist:dt(u),pointerType:String(c),isPrimary:!!p})}s(RO,"initPointerEvent");function FO(e,t,r,n=!1){(xO(t)||SO(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Vg(t,e,r);return Hg.call(this,e,a,n)}s(FO,"dispatchUIEvent");function Hg(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=zn[a])===null||n===void 0?void 0:n.call(zn,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:s(()=>i,"get")}),Object.defineProperty(t,"preventDefault",{value:s(()=>{i=t.cancelable},"value")}),Sa(()=>e.dispatchEvent(t)),i||o(),!i}return Sa(()=>e.dispatchEvent(t))}s(Hg,"dispatchEvent");function In(e,t,r){let n=Vg(t,e,r);Sa(()=>e.dispatchEvent(n))}s(In,"dispatchDOMEvent");var o0=Symbol("patched focus/blur methods");function Jg(e){if(e.prototype[o0])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:s(()=>a,"get")},blur:{configurable:!0,get:s(()=>o,"get")},[o0]:{configurable:!0,get:s(()=>({focus:t,blur:r}),"get")}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);let l=Ef(this.ownerDocument);if(l===this)return;let u=Symbol("focus call");n=u,l&&(r.call(l),In(l,"blur",{relatedTarget:this}),In(l,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),In(this,"focus",{relatedTarget:l})),n===u&&In(this,"focusin",{relatedTarget:l})}s(a,"patchedFocus");function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let i=Ef(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),In(i,"blur",{relatedTarget:null}),In(i,"focusout",{relatedTarget:null}))}s(o,"patchedBlur")}s(Jg,"patchFocus");function Ef(e){let t=Uo(e);return t?.tagName==="BODY"?null:t}s(Ef,"getActiveTarget");var mp=Symbol("Interceptor for programmatical calls");function ua(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][mp])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:p}=r.call(this,...l),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),p?.()}s(i,"intercept"),i[mp]=mp,Object.defineProperty(e,t,{...a??n,[o]:i})}s(ua,"prepareInterceptor");function IO(e){ua(e,"value",s(function(t){let r=YD(t);return r&&cO(this),{applyNative:!!r,realArgs:NO(this,t),then:r?void 0:()=>pO(this,String(t))}},"interceptorImpl"))}s(IO,"prepareValueInterceptor");function NO(e,t){return Ne(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}s(NO,"sanitizeValue");function kO(e){ua(e,"setSelectionRange",s(function(t,...r){let n=XD(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:s(()=>n?void 0:Ei(e),"then")}},"interceptorImpl")),ua(e,"selectionStart",s(function(t){return{realArgs:t,then:s(()=>Ei(e),"then")}},"interceptorImpl")),ua(e,"selectionEnd",s(function(t){return{realArgs:t,then:s(()=>Ei(e),"then")}},"interceptorImpl")),ua(e,"select",s(function(){return{realArgs:[],then:s(()=>eO(e,{anchorOffset:0,focusOffset:Rr(e).length}),"then")}},"interceptorImpl"))}s(kO,"prepareSelectionInterceptor");function BO(e){ua(e,"setRangeText",s(function(...t){return{realArgs:t,then:s(()=>{Pc(e),Ei(e)},"then")}},"interceptorImpl"))}s(BO,"prepareRangeTextInterceptor");var io=Symbol("Node prepared with document state workarounds");function zg(e){e[io]||(e.addEventListener("focus",t=>{let r=t.target;Cf(r)},{capture:!0,passive:!0}),e.activeElement&&Cf(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=ZD(r);n!==void 0&&(r.value!==n&&In(r,"change"),Bg(r))},{capture:!0,passive:!0}),e[io]=io)}s(zg,"prepareDocument");function Cf(e){e[io]||(Ne(e,["input","textarea"])&&(IO(e),kO(e),BO(e)),e[io]=io)}s(Cf,"prepareElement");function jO(e){return qO(e)?e:e.ownerDocument}s(jO,"getDocumentFromNode");function qO(e){return e.nodeType===9}s(qO,"isDocument");var ir=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Za(e,t){e.levelRefs[t]={}}s(Za,"setLevelRef");function si(e,t){return e.levelRefs[t]}s(si,"getLevelRef");function Ta(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}s(Ta,"wait");var tl=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(On,"_define_property");var Br=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),XU=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function wf(e){return XU.includes(e)}s(wf,"isModifierKey");var QU=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Af(e){return QU.includes(e)}s(Af,"isModifierLock");var MO=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),a=String(r.code),o=Zs(t.config.document);this.setKeydownTarget(o),this.pressed.add(a,r),wf(n)&&(this.modifiers[n]=!0);let i=t.dispatchUIEvent(o,"keydown",{key:n,code:a});Af(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(a),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Zs(t.config.document),"keypress",{key:n,code:a,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),a=String(r.code),o=this.pressed.isUnprevented(a);this.pressed.delete(a),wf(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Zs(t.config.document),"keyup",{key:n,code:a},!o),Af(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){On(this,"system",void 0),On(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),On(this,"pressed",new class{add(r,n){var a,o,i;(i=(a=this.registry)[o=r])!==null&&i!==void 0||(a[o]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){On(this,"registry",{})}}),On(this,"carryChar",""),On(this,"lastKeydownTarget",void 0),On(this,"modifierLockStart",{}),this.system=t}};s(MO,"KeyboardHost");var ZU=MO,e7=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Br.LEFT},{code:"AltRight",key:"Alt",location:Br.RIGHT},{code:"ShiftLeft",key:"Shift",location:Br.LEFT},{code:"ShiftRight",key:"Shift",location:Br.RIGHT},{code:"ControlLeft",key:"Control",location:Br.LEFT},{code:"ControlRight",key:"Control",location:Br.RIGHT},{code:"MetaLeft",key:"Meta",location:Br.LEFT},{code:"MetaRight",key:"Meta",location:Br.RIGHT},{code:"OSLeft",key:"OS",location:Br.LEFT},{code:"OSRight",key:"OS",location:Br.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],t7=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function LO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(LO,"_define_property");var $O=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Wl(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Wl(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){LO(this,"pressed",{})}};s($O,"Buttons");var UO=$O,i0={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Wl(e=0){return e in i0?i0[e]:Number(e)}s(Wl,"getMouseButtonId");var s0={1:2,2:1};function Kl(e){return e=Wl(e),e in s0?s0[e]:e}s(Kl,"getMouseEventButton");function VO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(VO,"_define_property");var HO=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){VO(this,"pressedKeys",new Set)}};s(HO,"Device");var r7=HO;function so(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}s(so,"getTreeDiff");function Yl({target:e,node:t,offset:r}){return Or(e)?{node:e,offset:r??Rr(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Gg(e,r)}s(Yl,"resolveCaretPosition");function Gg(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return Gg(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}s(Gg,"findNodeAtTextOffset");function JO({document:e,target:t,clickCount:r,node:n,offset:a}){if(GD(t))return;let o=Or(t),i=String(o?Rr(t):t.textContent),[l,u]=n?[a,a]:zO(i,a,r);if(o)return Ba(t,{anchorOffset:l??i.length,focusOffset:u??i.length}),{node:t,start:l??0,end:u??i.length};{let{node:c,offset:p}=Yl({target:t,node:n,offset:l}),{node:d,offset:h}=Yl({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,p),f.setEnd(d,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m?.removeAllRanges(),m?.addRange(f.cloneRange()),f}}s(JO,"setSelectionPerMouseDown");function zO(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}s(zO,"getTextRange");function GO(e,{document:t,target:r,node:n,offset:a}){let o=Yl({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){let i=o.offset<e.start?e.end:e.start,l=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ba(e.node,{anchorOffset:i,focusOffset:l})}}else{let i=e.cloneRange(),l=i.comparePoint(o.node,o.offset);l<0?i.setStart(o.node,o.offset):l>0&&i.setEnd(o.node,o.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange())}}s(GO,"modifySelectionPerMouseMove");function Wg(e,t){var r,n,a,o,i,l,u,c,p,d,h,f,m,y,b,g,v,D,S,_,A,E,C,T;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((b=e.coords)===null||b===void 0?void 0:b.pageY)!==((g=t.coords)===null||g===void 0?void 0:g.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((D=t.coords)===null||D===void 0?void 0:D.screenX)||((S=e.coords)===null||S===void 0?void 0:S.screenY)!==((_=t.coords)===null||_===void 0?void 0:_.screenY)||((A=e.caret)===null||A===void 0?void 0:A.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((T=t.caret)===null||T===void 0?void 0:T.offset)}s(Wg,"isDifferentPointerPosition");function Rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Rn,"_define_property");var WO=class{move(t,r,n){let a=this.position,o=this.getTarget(t);if(this.position=r,!Wg(a,r))return;let i=this.getTarget(t),l=this.getEventInit("mousemove"),[u,c]=so(o,i);return{leave:s(()=>{o!==i&&(t.dispatchUIEvent(o,"mouseout",l),u.forEach(p=>t.dispatchUIEvent(p,"mouseleave",l)))},"leave"),enter:s(()=>{o!==i&&(t.dispatchUIEvent(i,"mouseover",l),c.forEach(p=>t.dispatchUIEvent(p,"mouseenter",l)))},"enter"),move:s(()=>{n||(t.dispatchUIEvent(i,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let a=this.buttons.down(r);if(a===void 0)return;let o=this.getTarget(t);this.buttonDownTarget[a]=o;let i=this.getEventInit("mousedown",r.button),l=Yr(o);!n&&(l||t.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(t,i.detail),vn(o)),!l&&Kl(r.button)===2&&t.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let a=this.buttons.up(r);if(a===void 0)return;let o=this.getTarget(t);if(!Yr(o)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(o,"mouseup",l),this.endSelecting()}let i=so(this.buttonDownTarget[a],o)[2][0];if(i){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(i,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Kl(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,a;this.selecting=JO({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(a=this.position.caret)===null||a===void 0?void 0:a.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&GO(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){Rn(this,"position",{}),Rn(this,"buttons",new UO),Rn(this,"selecting",void 0),Rn(this,"buttonDownTarget",{}),Rn(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){Rn(this,"down",{}),Rn(this,"count",{})}})}};s(WO,"Mouse");var n7=WO;function zi(e,t){var r;return((r=Kg(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}s(zi,"hasPointerEvents");function KO(e){let t=cr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}s(KO,"closestPointerEventsDeclaration");var l0=Symbol("Last check for pointer-events");function Kg(e,t){let r=t[l0];if(!(e.config.pointerEventsCheck!==tl.Never&&(!r||xf(e.config.pointerEventsCheck,tl.EachApiCall)&&r[ir.Call]!==si(e,ir.Call)||xf(e.config.pointerEventsCheck,tl.EachTrigger)&&r[ir.Trigger]!==si(e,ir.Trigger))))return r?.result;let n=KO(t);return t[l0]={[ir.Call]:si(e,ir.Call),[ir.Trigger]:si(e,ir.Trigger),result:n},n}s(Kg,"checkPointerEvents");function eo(e,t){let r=Kg(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",YO(r.tree)].join(`
|
|
352
|
+
`))}s(eo,"assertPointerEvents");function YO(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,XO(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
|
|
353
|
+
`)}s(YO,"printTree");function XO(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(Ne(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return(l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Ne(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}s(XO,"getLabelDescr");function xf(e,t){return(e&t)>0}s(xf,"hasBitFlag");function Ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Ur,"_define_property");var QO=class{init(t){let r=this.getTarget(t),[,n]=so(null,r),a=this.getEventInit();return eo(t,r),t.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerenter",a)),this}move(t,r){let n=this.position,a=this.getTarget(t);if(this.position=r,!Wg(n,r))return;let o=this.getTarget(t),i=this.getEventInit(-1),[l,u]=so(a,o);return{leave:s(()=>{zi(t,a)&&a!==o&&(t.dispatchUIEvent(a,"pointerout",i),l.forEach(c=>t.dispatchUIEvent(c,"pointerleave",i)))},"leave"),enter:s(()=>{eo(t,o),a!==o&&(t.dispatchUIEvent(o,"pointerover",i),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",i)))},"enter"),move:s(()=>{t.dispatchUIEvent(o,"pointermove",i)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);eo(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);eo(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=so(r,null),a=this.getEventInit();zi(t,r)&&(t.dispatchUIEvent(r,"pointerout",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerleave",a))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Kl(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},a){Ur(this,"pointerId",void 0),Ur(this,"pointerType",void 0),Ur(this,"isPrimary",void 0),Ur(this,"buttons",void 0),Ur(this,"isMultitouch",!1),Ur(this,"isCancelled",!1),Ur(this,"isDown",!1),Ur(this,"isPrevented",!1),Ur(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=a}};s(QO,"Pointer");var a7=QO;function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(ln,"_define_property");var ZO=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let a=this.getPointerName(r),o=r.pointerType==="touch"?this.pointers.new(a,r.pointerType,this.buttons):this.pointers.get(a);o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),o.pointerType==="touch"&&o.init(t),o.down(t,r.button),o.pointerType!=="touch"&&this.mouse.down(t,r,o.isPrevented)}async move(t,r,n){let a=this.pointers.get(r),o=a.move(t,n),i=a.pointerType==="touch"?void 0:this.mouse.move(t,n,a.isPrevented);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(t,r,n){let a=this.devices.get(r.pointerType);a.removePressed(r),this.buttons.up(r);let o=this.pointers.get(this.getPointerName(r)),i=o.isPrevented;if(o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),a.countPressed===0&&o.up(t,r.button),o.pointerType==="touch"&&o.release(t),o.pointerType==="touch"&&!o.isMultitouch){let l=this.mouse.move(t,n,i);l?.leave(),l?.enter(),l?.move(),this.mouse.down(t,r,i)}if(!o.isMultitouch){let l=this.mouse.move(t,n,i);l?.leave(),l?.enter(),l?.move(),this.mouse.up(t,r,i)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){ln(this,"system",void 0),ln(this,"mouse",void 0),ln(this,"buttons",void 0),ln(this,"devices",new class{get(r){var n,a,o;return(o=(n=this.registry)[a=r])!==null&&o!==void 0?o:n[a]=new r7}constructor(){ln(this,"registry",{})}}),ln(this,"pointers",new class{new(r,n,a){let o=n!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===n&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[r]=new a7({pointerId:this.nextId++,pointerType:n,isPrimary:o},a),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){ln(this,"registry",{}),ln(this,"nextId",1)}}),this.system=t,this.buttons=new UO,this.mouse=new n7,this.pointers.new("mouse","mouse",this.buttons)}};s(ZO,"PointerHost");var o7=ZO;function Sf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Sf,"_define_property");var eR=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Sf(this,"keyboard",new ZU(this)),Sf(this,"pointer",new o7(this))}};s(eR,"System");var tR=eR;async function rR(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}s(rR,"click");async function nR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}s(nR,"dblClick");async function aR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}s(aR,"tripleClick");async function oR(e){return this.pointer({target:e})}s(oR,"hover");async function iR(e){return eo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}s(iR,"unhover");async function sR({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}s(sR,"tab");var Yg=(function(e){return e["{"]="}",e["["]="]",e})(Yg||{});function Xg(e,t){let r=0,n=e[r]in Yg?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?lR(e,r,t):uR(e,r,a,t)}}s(Xg,"readNextDescriptor");function lR(e,t,r){let n=e[t];return Qg(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}s(lR,"readPrintableChar");function uR(e,t,r,n){var a,o;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Qg(u,e,t,n),t+=u.length;var c;let p=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=p.length;let d=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=d.length;let h=Yg[r],f=e[t]===h?h:"";if(!f)throw new Error(Zg([!p&&"repeat modifier",!d&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:cR(d,p)}}s(uR,"readTag");function Qg(e,t,r,n){if(!e)throw new Error(Zg("key descriptor",t[r],t,n))}s(Qg,"assertDescriptor");function cR(e,t){if(e)return e==="/";if(t)return!1}s(cR,"hasReleaseSelf");function Zg(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
354
|
+
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
355
|
+
for more information about how userEvent parses your input.`}s(Zg,"getErrorMessage");function pR(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=Xg(t,"keyboard");var n;let p=(n=e.find(d=>{if(a==="["){var h;return((h=d.code)===null||h===void 0?void 0:h.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:p,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i)}while(t);return r}s(pR,"parseKeyDef");async function dR(e){let t=pR(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ta(this.config),await fR(this,t[r])}s(dR,"keyboard");async function fR(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await Ta(e.config);n&&await o.keyboard.keyup(e,t)}}s(fR,"keyboardAction");async function hR(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}s(hR,"releaseAllKeys");function eb(e){let t=Or(e)?{"text/plain":mR(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Sc(cr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}s(eb,"copySelection");function mR(e){let t=_o(e);return Rr(e).substring(t.startOffset,t.endOffset)}s(mR,"readSelectedValueFromInput");async function yR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=eb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Fg(e,n),n}s(yR,"copy");async function gR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=eb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Fg(r.ownerDocument,n),n}s(gR,"cut");async function bR(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;let o=(a=typeof e=="string"?vR(t,e):e)!==null&&a!==void 0?a:await LD(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}s(bR,"paste");function vR(e,t){let r=Sc(cr(e));return r.setData("text",t),r}s(vR,"getClipboardDataFromString");function _f(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=Xg(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}s(_f,"parseKeyDef");async function ER(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(..._f(t,n)):"keys"in n?r.push(..._f(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await Ta(this.config),await CR(this,r[n]);this.system.pointer.resetClickCount()}s(ER,"pointer");async function CR(e,t){var r,n;let a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,l,u,c;let p={target:(i=t.target)!==null&&i!==void 0?i:wR(e,o),coords:(l=t.coords)!==null&&l!==void 0?l:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Tf(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Tf(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Za(e,ir.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(Za(e,ir.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(Za(e,ir.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(Za(e,ir.Trigger),await e.system.pointer.move(e,a,p))}s(CR,"pointerAction");function Tf(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}s(Tf,"hasCaretPosition");function wR(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}s(wR,"getPrevTarget");async function AR(e){if(!xa(e)||Yr(e))throw new Error("clear()` is only supported on editable elements.");if(vn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if($g(e),!wO(e))throw new Error("The element content to be cleared could not be selected.");_a(this,e,"","deleteContentBackward")}s(AR,"clear");async function xR(e,t){return tb.call(this,!0,e,t)}s(xR,"selectOptions");async function SR(e,t){return tb.call(this,!1,e,t)}s(SR,"deselectOptions");async function tb(e,t,r){if(!e&&!t.multiple)throw Le().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(l=>{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Le().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!Yr(l));if(Yr(t)||!o.length)return;let i=s(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(Ne(t,"select"))if(t.multiple)for(let l of o){let u=this.config.pointerEventsCheck===0?!0:zi(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),vn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await Ta(this.config)}else if(o.length===1){let l=this.config.pointerEventsCheck===0?!0:zi(this,t);l?await this.click(t):vn(t),i(o[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ta(this.config)}else throw Le().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of o)await this.click(l),await this.unhover(l);else throw Le().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}s(tb,"selectOptionsBase");async function _R(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&Qa(e,a,o??a),await this.keyboard(t),n||await hR(this))}s(_R,"type");var u0=Symbol("files and value properties are mocked");function rl(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}s(rl,"restoreProperty");function TR(e,t){var r;(r=e[u0])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){rl(e,"type",n),rl(e,"value",a),rl(e,"files",o)}s(i,"restore"),e[u0]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:s(()=>t,"get")},value:{configurable:!0,get:s(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")i();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:s(()=>"file","get"),set(l){l!=="file"&&(i(),e.type=l)}}})}s(TR,"setFiles");async function PR(e,t){let r=Ne(e,"label")?e.control:e;if(!r||!Ne(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Yr(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||DR(o,r.accept)).slice(0,r.multiple?void 0:1),a=s(()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(TR(r,xc(cr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}s(PR,"upload");function li(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}s(li,"normalize");function DR(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return li(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?li(e.name).endsWith(n):r.includes(n)?li(e.type).startsWith(n.replace("*","")):li(e.type)===n)}s(DR,"isAcceptableFile");var c0={click:rR,dblClick:nR,tripleClick:aR,hover:oR,unhover:iR,tab:sR,keyboard:dR,copy:yR,cut:gR,paste:bR,pointer:ER,clear:AR,deselectOptions:SR,selectOptions:xR,type:_R,upload:PR};function OR(e){return Le().asyncWrapper(e)}s(OR,"wrapAsync");var RR={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:e7,pointerMap:t7,pointerEventsCheck:tl.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:s(()=>Promise.resolve(),"advanceTimers")},i7={...RR,writeToClipboard:!0};function rb(e={},t=i7,r){let n=kR(e,r,t);return{...t,...e,document:n}}s(rb,"createConfig");function FR(e={}){let t=rb(e);zg(t.document),Jg(cr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return jD(n),Oc(t).api}s(FR,"setupMain");function It({keyboardState:e,pointerState:t,...r}={},n){let a=rb(r,RR,n);zg(a.document),Jg(cr(a.document).HTMLElement);var o;let i=(o=t??e)!==null&&o!==void 0?o:new tR;return{api:Oc(a,i).api,system:i}}s(It,"setupDirect");function IR(e){return Oc({...this.config,...e},this.system).api}s(IR,"setupSub");function NR(e,t){function r(...n){return Za(e,ir.Call),OR(()=>t.apply(e,n).then(async a=>(await Ta(e.config),a)))}return s(r,"method"),Object.defineProperty(r,"name",{get:s(()=>t.name,"get")}),r}s(NR,"wrapAndBindImpl");function Oc(e,t=new tR){let r={};return Object.assign(r,{config:e,dispatchEvent:Hg.bind(r),dispatchUIEvent:FO.bind(r),system:t,levelRefs:{},...c0}),{instance:r,api:{...Object.fromEntries(Object.entries(c0).map(([n,a])=>[n,NR(r,a)])),setup:IR.bind(r)}}}s(Oc,"createInstance");function kR(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&jO(t))!==null&&a!==void 0?a:r.document}s(kR,"getDocument");var BR={};Jt(BR,{clear:()=>jR,click:()=>qR,copy:()=>MR,cut:()=>LR,dblClick:()=>$R,deselectOptions:()=>UR,hover:()=>VR,keyboard:()=>HR,paste:()=>zR,pointer:()=>JR,selectOptions:()=>GR,tab:()=>QR,tripleClick:()=>WR,type:()=>KR,unhover:()=>YR,upload:()=>XR});function jR(e){return It().api.clear(e)}s(jR,"clear");function qR(e,t={}){return It(t,e).api.click(e)}s(qR,"click");function MR(e={}){return It(e).api.copy()}s(MR,"copy");function LR(e={}){return It(e).api.cut()}s(LR,"cut");function $R(e,t={}){return It(t).api.dblClick(e)}s($R,"dblClick");function UR(e,t,r={}){return It(r).api.deselectOptions(e,t)}s(UR,"deselectOptions");function VR(e,t={}){return It(t).api.hover(e)}s(VR,"hover");async function HR(e,t={}){let{api:r,system:n}=It(t);return r.keyboard(e).then(()=>n)}s(HR,"keyboard");async function JR(e,t={}){let{api:r,system:n}=It(t);return r.pointer(e).then(()=>n)}s(JR,"pointer");function zR(e,t){return It(t).api.paste(e)}s(zR,"paste");function GR(e,t,r={}){return It(r).api.selectOptions(e,t)}s(GR,"selectOptions");function WR(e,t={}){return It(t).api.tripleClick(e)}s(WR,"tripleClick");function KR(e,t,r={}){return It(r,e).api.type(e,t,r)}s(KR,"type");function YR(e,t={}){let{api:r,system:n}=It(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}s(YR,"unhover");function XR(e,t,r={}){return It(r).api.upload(e,t)}s(XR,"upload");function QR(e={}){return It().api.tab(e)}s(QR,"tab");var ZR={...BR,setup:FR},Pf=Io({...cT},{getKeys:s(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:s((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});Pf.screen=new Proxy(Pf.screen,{get(e,t,r){return vt.warn(_5`
|
|
356
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
357
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error
|
|
358
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:s7,configure:l7,createEvent:u7,fireEvent:c7,findAllByAltText:p7,findAllByDisplayValue:d7,findAllByLabelText:f7,findAllByPlaceholderText:h7,findAllByRole:m7,findAllByTestId:y7,findAllByText:g7,findAllByTitle:b7,findByAltText:v7,findByDisplayValue:E7,findByLabelText:C7,findByPlaceholderText:w7,findByRole:A7,findByTestId:x7,findByText:S7,findByTitle:_7,getAllByAltText:T7,getAllByDisplayValue:P7,getAllByLabelText:D7,getAllByPlaceholderText:O7,getAllByRole:R7,getAllByTestId:F7,getAllByText:I7,getAllByTitle:N7,getByAltText:k7,getByDisplayValue:B7,getByLabelText:j7,getByPlaceholderText:q7,getByRole:M7,getByTestId:L7,getByText:$7,getByTitle:U7,getConfig:V7,getDefaultNormalizer:H7,getElementError:J7,getNodeText:z7,getQueriesForElement:G7,getRoles:W7,getSuggestedQuery:K7,isInaccessible:Y7,logDOM:X7,logRoles:Q7,prettyDOM:Z7,queries:eV,queryAllByAltText:tV,queryAllByAttribute:rV,queryAllByDisplayValue:nV,queryAllByLabelText:aV,queryAllByPlaceholderText:oV,queryAllByRole:iV,queryAllByTestId:sV,queryAllByText:lV,queryAllByTitle:uV,queryByAltText:cV,queryByAttribute:pV,queryByDisplayValue:dV,queryByLabelText:fV,queryByPlaceholderText:hV,queryByRole:mV,queryByTestId:yV,queryByText:gV,queryByTitle:bV,queryHelpers:vV,screen:EV,waitFor:CV,waitForElementToBeRemoved:wV,within:eF,prettyFormat:AV}=Pf,tF=ZR,{userEvent:xV}=Io({userEvent:ZR},{intercept:!0,getKeys:s(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys")}),{expect:SV}=Io({expect:sT},{getKeys:s((e,t)=>{if("constructor"in e&&e.constructor===J){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:s(e=>e!=="expect","intercept")}),_V={mock:s(()=>{},"mock")},p0=!1,TV=s(e=>{let{parameters:t}=e;t?.actions?.disable||p0||(Zy((r,n)=>{let a=r.getMockName();a!=="spy"&&(!/^next\/.*::/.test(a)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(o=>a.startsWith(o)))&&Vo(a)(n)}),p0=!0)},"logActionsWhenMockCalled"),PV=[TV],d0=s(()=>({...qw,...Lw}),"default"),Xl="backgrounds",DV={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Tr}=globalThis,OV=s(()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,"isReduceMotionEnabled"),f0=s(e=>{(Array.isArray(e)?e:[e]).forEach(RV)},"clearStyles"),RV=s(e=>{if(!Tr)return;let t=Tr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),FV=s((e,t)=>{if(!Tr)return;let r=Tr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Tr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Tr.head.appendChild(n)}},"addGridStyle"),IV=s((e,t,r)=>{if(!Tr)return;let n=Tr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=Tr.createElement("style");a.setAttribute("id",e),a.innerHTML=t;let o=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,i=Tr.getElementById(o);i?i.parentElement?.insertBefore(a,i):Tr.head.appendChild(a)}},"addBackgroundStyle"),NV={cellSize:100,cellAmount:10,opacity:.8},h0="addon-backgrounds",m0="addon-backgrounds-grid",kV=OV()?"":"transition: background-color 0.3s;",BV=s((e,t)=>{let{globals:r={},parameters:n={},viewMode:a,id:o}=t,{options:i=DV,disable:l,grid:u=NV}=n[Xl]||{},c=r[Xl]||{},p=typeof c=="string"?c:c?.value,d=p?i[p]:void 0,h=typeof d=="string"?d:d?.value||"transparent",f=typeof c=="string"?!1:c.grid||!1,m=!!d&&!l,y=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",b=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",g=n.layout===void 0||n.layout==="padded",v=a==="docs"?20:g?16:0,{cellAmount:D,cellSize:S,opacity:_,offsetX:A=v,offsetY:E=v}=u,C=a==="docs"?`${h0}-docs-${o}`:`${h0}-color`,T=a==="docs"?o:null;Vn(()=>{let B=`
|
|
359
|
+
${y} {
|
|
360
|
+
background: ${h} !important;
|
|
361
|
+
${kV}
|
|
362
|
+
}`;if(!m){f0(C);return}IV(C,B,T)},[y,C,T,m,h]);let k=a==="docs"?`${m0}-docs-${o}`:`${m0}`;return Vn(()=>{if(!f){f0(k);return}let B=[`${S*D}px ${S*D}px`,`${S*D}px ${S*D}px`,`${S}px ${S}px`,`${S}px ${S}px`].join(", "),W=`
|
|
363
|
+
${b} {
|
|
364
|
+
background-size: ${B} !important;
|
|
365
|
+
background-position: ${A}px ${E}px, ${A}px ${E}px, ${A}px ${E}px, ${A}px ${E}px !important;
|
|
366
|
+
background-blend-mode: difference !important;
|
|
367
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${_}) 1px, transparent 1px),
|
|
368
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${_}) 1px, transparent 1px),
|
|
369
|
+
linear-gradient(rgba(130, 130, 130, ${_/2}) 1px, transparent 1px),
|
|
370
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${_/2}) 1px, transparent 1px) !important;
|
|
371
|
+
}
|
|
372
|
+
`;FV(k,W)},[D,S,b,k,f,A,E,_]),e()},"withBackgroundAndGrid"),jV=globalThis.FEATURES?.backgrounds?[BV]:[],qV={[Xl]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},MV={[Xl]:{value:void 0,grid:!1}},y0=s(()=>({decorators:jV,parameters:qV,initialGlobals:MV}),"default"),{step:LV}=Io({step:s(async(e,t,r)=>t(r),"step")},{intercept:!0}),g0=s(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:LV}),"default"),Rc="storybook/highlight",$V=`${Rc}/add`,UV=`${Rc}/remove`,VV=`${Rc}/reset`,HV=`${Rc}/scroll-into-view`,b0=2147483647,Nn=28,v0={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},JV="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),At=s((e,t={},r)=>{let n=JV.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([a,o])=>{/[A-Z]/.test(a)?(a==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),o())})),a==="onMouseEnter"&&n.addEventListener("mouseenter",o),a==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(a,o)}),r?.forEach(a=>{if(!(a==null||a===!1))try{n.appendChild(a)}catch{n.appendChild(document.createTextNode(String(a)))}}),n},"createElement"),Os=s(e=>v0[e]&&At("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},v0[e].map(t=>At("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),zV=s(e=>{if("elements"in e){let{elements:n,color:a,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${a}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),GV=s(e=>e instanceof Function,"isFunction"),Xo=new Map,na=new Map,Rs=new Map,nn=s(e=>{let t=Symbol();return na.set(t,[]),Xo.set(t,e),{get:s(()=>Xo.get(t),"get"),set:s(r=>{let n=Xo.get(t),a=GV(r)?r(n):r;a!==n&&(Xo.set(t,a),na.get(t)?.forEach(o=>{Rs.get(o)?.(),Rs.set(o,o(a))}))},"set"),subscribe:s(r=>(na.get(t)?.push(r),()=>{let n=na.get(t);n&&na.set(t,n.filter(a=>a!==r))}),"subscribe"),teardown:s(()=>{na.get(t)?.forEach(r=>{Rs.get(r)?.(),Rs.delete(r)}),na.delete(t),Xo.delete(t)},"teardown")}},"useStore"),E0=s(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:a=0}=n;for(let o of n.selectors){let i=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(o)||[]];for(let l of i){let u=r.get(l);(!u||u.priority<=a)&&r.set(l,{...n,priority:a,selectors:Array.from(new Set((u?.selectors||[]).concat(o)))})}}}return r},"mapElements"),WV=s(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i}])=>{let{top:l,left:u,width:c,height:p}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i,top:d==="fixed"?l:l+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:c,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),C0=s((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:a}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&a>=r.top&&a<=r.top+r.height},"isOverMenu"),w0=s((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:a,width:o,height:i}=e;i<Nn&&(a=a-Math.round((Nn-i)/2),i=Nn),o<Nn&&(n=n-Math.round((Nn-o)/2),o=Nn),t.style.position==="fixed"&&(n+=window.scrollX,a+=window.scrollY);let{x:l,y:u}=r;return l>=n&&l<=n+o&&u>=a&&u<=a+i},"isTargeted"),KV=s((e,t,r={})=>{let{x:n,y:a}=t,{margin:o=5,topOffset:i=0,centered:l=!1}=r,{scrollX:u,scrollY:c,innerHeight:p,innerWidth:d}=window,h=Math.min(e.style.position==="fixed"?a-c:a,p-e.clientHeight-o-i+c),f=l?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-u,d-f-o),f+o):Math.max(Math.min(n,d-f-o+u),f+o+u);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==a&&{top:`${h}px`}})},"keepInViewport"),A0=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),YV=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),XV=s(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),rt="storybook-highlights-menu",x0="storybook-highlights-root",QV="storybook-root",ZV=s(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=nn([]),n=nn(new Map),a=nn([]),o=nn(),i=nn(),l=nn([]),u=nn([]),c=nn(),p=nn(),d=t.getElementById(x0);r.subscribe(()=>{d||(d=At("div",{id:x0}),t.body.appendChild(d))}),r.subscribe(E=>{let C=t.getElementById(QV);if(!C)return;n.set(E0(E));let T=new MutationObserver(()=>n.set(E0(E)));return T.observe(C,{subtree:!0,childList:!0}),()=>{T.disconnect()}}),n.subscribe(E=>{let C=s(()=>requestAnimationFrame(()=>a.set(WV(E))),"updateBoxes"),T=new ResizeObserver(C);T.observe(t.body),Array.from(E.keys()).forEach(B=>T.observe(B));let k=Array.from(t.body.querySelectorAll("*")).filter(B=>{let{overflow:W,overflowX:z,overflowY:R}=window.getComputedStyle(B);return["auto","scroll"].some(L=>[W,z,R].includes(L))});return k.forEach(B=>B.addEventListener("scroll",C)),()=>{T.disconnect(),k.forEach(B=>B.removeEventListener("scroll",C))}}),n.subscribe(E=>{let C=Array.from(E.keys()).filter(({style:k})=>k.position==="sticky"),T=s(()=>requestAnimationFrame(()=>{a.set(k=>k.map(B=>{if(C.includes(B.element)){let{top:W,left:z}=B.element.getBoundingClientRect();return{...B,top:W+window.scrollY,left:z+window.scrollX}}return B}))}),"updateBoxes");return t.addEventListener("scroll",T),()=>t.removeEventListener("scroll",T)}),n.subscribe(E=>{l.set(C=>C.filter(({element:T})=>E.has(T)))}),l.subscribe(E=>{E.length?(p.set(C=>E.some(T=>T.element===C?.element)?C:void 0),c.set(C=>E.some(T=>T.element===C?.element)?C:void 0)):(p.set(void 0),c.set(void 0),o.set(void 0))});let h=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:C})=>{if(C){let T=h.get(C);T||(T=t.createElement("style"),T.setAttribute("data-highlight","keyframes"),h.set(C,T),t.head.appendChild(T)),T.innerHTML=C}}),h.forEach((C,T)=>{E.some(k=>k.keyframes===T)||(C.remove(),h.delete(T))})});let f=new Map(new Map);a.subscribe(E=>{E.forEach(C=>{let T=f.get(C.element);if(d&&!T){let k={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};T=d.appendChild(At("div",k,[At("div")])),f.set(C.element,T)}}),f.forEach((C,T)=>{E.some(({element:k})=>k===T)||(C.remove(),f.delete(T))})}),a.subscribe(E=>{let C=E.filter(k=>k.menu);if(!C.length)return;let T=s(k=>{requestAnimationFrame(()=>{let B=t.getElementById(rt),W={x:k.pageX,y:k.pageY};if(B&&!C0(B,W)){let z=C.filter(R=>{let L=f.get(R.element);return w0(R,L,W)});o.set(z.length?W:void 0),l.set(z)}})},"onClick");return t.addEventListener("click",T),()=>t.removeEventListener("click",T)});let m=s(()=>{let E=t.getElementById(rt),C=i.get();!C||E&&C0(E,C)||u.set(T=>{let k=a.get().filter(R=>{let L=f.get(R.element);return w0(R,L,C)}),B=T.filter(R=>k.includes(R)),W=k.filter(R=>!T.includes(R)),z=T.length-B.length;return W.length||z?[...B,...W]:T})},"updateHovered");i.subscribe(m),a.subscribe(m);let y=s(()=>{let E=p.get(),C=E?[E]:l.get(),T=C.length===1?C[0]:c.get(),k=o.get()!==void 0;a.get().forEach(B=>{let W=f.get(B.element);if(W){let z=T===B,R=k?T?z:C.includes(B):u.get()?.includes(B);Object.assign(W.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...B.styles,...R?B.hoverStyles:{},...z?B.focusStyles:{},position:getComputedStyle(B.element).position==="fixed"?"fixed":"absolute",zIndex:b0-10,top:`${B.top}px`,left:`${B.left}px`,width:`${B.width}px`,height:`${B.height}px`,margin:0,padding:0,cursor:B.menu&&R?"pointer":"default",pointerEvents:B.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(W.children[0].style,{width:"100%",height:"100%",minHeight:`${Nn}px`,minWidth:`${Nn}px`,boxSizing:"content-box",padding:W.style.outlineWidth||"0px"}),A0(W)}})},"updateBoxStyles");a.subscribe(y),l.subscribe(y),u.subscribe(y),c.subscribe(y),p.subscribe(y);let b=s(()=>{if(!d)return;let E=t.getElementById(rt);if(E)E.innerHTML="";else{let B={id:rt,popover:"manual"};E=d.appendChild(At("div",B)),d.appendChild(At("style",{},[`
|
|
373
|
+
#${rt} {
|
|
374
|
+
position: absolute;
|
|
375
|
+
z-index: ${b0};
|
|
376
|
+
width: 300px;
|
|
377
|
+
padding: 0px;
|
|
378
|
+
margin: 15px 0 0 0;
|
|
379
|
+
transform: translateX(-50%);
|
|
380
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
381
|
+
font-size: 12px;
|
|
382
|
+
background: white;
|
|
383
|
+
border: none;
|
|
384
|
+
border-radius: 6px;
|
|
385
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
386
|
+
color: #2E3438;
|
|
387
|
+
}
|
|
388
|
+
#${rt} ul {
|
|
389
|
+
list-style: none;
|
|
390
|
+
margin: 0;
|
|
391
|
+
padding: 0;
|
|
392
|
+
}
|
|
393
|
+
#${rt} > ul {
|
|
394
|
+
max-height: 300px;
|
|
395
|
+
overflow-y: auto;
|
|
396
|
+
padding: 4px 0;
|
|
397
|
+
}
|
|
398
|
+
#${rt} li {
|
|
399
|
+
padding: 0 4px;
|
|
400
|
+
margin: 0;
|
|
401
|
+
}
|
|
402
|
+
#${rt} li > :not(ul) {
|
|
403
|
+
display: flex;
|
|
404
|
+
padding: 8px;
|
|
405
|
+
margin: 0;
|
|
406
|
+
align-items: center;
|
|
407
|
+
gap: 8px;
|
|
408
|
+
border-radius: 4px;
|
|
409
|
+
}
|
|
410
|
+
#${rt} button {
|
|
411
|
+
width: 100%;
|
|
412
|
+
border: 0;
|
|
413
|
+
background: transparent;
|
|
414
|
+
color: inherit;
|
|
415
|
+
text-align: left;
|
|
416
|
+
font-family: inherit;
|
|
417
|
+
font-size: inherit;
|
|
418
|
+
}
|
|
419
|
+
#${rt} button:focus-visible {
|
|
420
|
+
outline-color: #029CFD;
|
|
421
|
+
}
|
|
422
|
+
#${rt} button:hover {
|
|
423
|
+
background: rgba(2, 156, 253, 0.07);
|
|
424
|
+
color: #029CFD;
|
|
425
|
+
cursor: pointer;
|
|
426
|
+
}
|
|
427
|
+
#${rt} li code {
|
|
428
|
+
white-space: nowrap;
|
|
429
|
+
overflow: hidden;
|
|
430
|
+
text-overflow: ellipsis;
|
|
431
|
+
line-height: 16px;
|
|
432
|
+
font-size: 11px;
|
|
433
|
+
}
|
|
434
|
+
#${rt} li svg {
|
|
435
|
+
flex-shrink: 0;
|
|
436
|
+
margin: 1px;
|
|
437
|
+
color: #73828C;
|
|
438
|
+
}
|
|
439
|
+
#${rt} li > button:hover svg, #${rt} li > button:focus-visible svg {
|
|
440
|
+
color: #029CFD;
|
|
441
|
+
}
|
|
442
|
+
#${rt} .element-list li svg {
|
|
443
|
+
display: none;
|
|
444
|
+
}
|
|
445
|
+
#${rt} li.selectable svg, #${rt} li.selected svg {
|
|
446
|
+
display: block;
|
|
447
|
+
}
|
|
448
|
+
#${rt} .menu-list {
|
|
449
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
450
|
+
}
|
|
451
|
+
#${rt} .menu-list > li:not(:last-child) {
|
|
452
|
+
padding-bottom: 4px;
|
|
453
|
+
margin-bottom: 4px;
|
|
454
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
455
|
+
}
|
|
456
|
+
#${rt} .menu-items, #${rt} .menu-items li {
|
|
457
|
+
padding: 0;
|
|
458
|
+
}
|
|
459
|
+
#${rt} .menu-item {
|
|
460
|
+
display: flex;
|
|
461
|
+
}
|
|
462
|
+
#${rt} .menu-item-content {
|
|
463
|
+
display: flex;
|
|
464
|
+
flex-direction: column;
|
|
465
|
+
flex-grow: 1;
|
|
466
|
+
}
|
|
467
|
+
`]))}let C=p.get(),T=C?[C]:l.get();if(T.length&&(E.style.position=getComputedStyle(T[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(At("ul",{class:"element-list"},T.map(B=>{let W=T.length>1&&!!B.menu?.some(L=>L.some(j=>!j.selectors||j.selectors.some(X=>B.selectors.includes(X)))),z=W?{class:"selectable",onClick:s(()=>p.set(B),"onClick"),onMouseEnter:s(()=>c.set(B),"onMouseEnter"),onMouseLeave:s(()=>c.set(void 0),"onMouseLeave")}:C?{class:"selected",onClick:s(()=>p.set(void 0),"onClick")}:{},R=W||C;return At("li",z,[At(R?"button":"div",R?{type:"button"}:{},[C?Os("chevronLeft"):null,At("code",{},[B.element.outerHTML]),W?Os("chevronRight"):null])])})))),p.get()||l.get().length===1){let B=p.get()||l.get()[0],W=B.menu?.filter(z=>z.some(R=>!R.selectors||R.selectors.some(L=>B.selectors.includes(L))));W?.length&&E.appendChild(At("ul",{class:"menu-list"},W.map(z=>At("li",{},[At("ul",{class:"menu-items"},z.map(({id:R,title:L,description:j,iconLeft:X,iconRight:Q,clickEvent:oe})=>{let $=oe&&(()=>e.emit(oe,R,XV(B)));return At("li",{},[At($?"button":"div",$?{class:"menu-item",type:"button",onClick:$}:{class:"menu-item"},[X?Os(X):null,At("div",{class:"menu-item-content"},[At(j?"strong":"span",{},[L]),j&&At("span",{},[j])]),Q?Os(Q):null])])}))]))))}let k=o.get();k?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?k.x-window.scrollX:k.x}px`,top:`${E.style.position==="fixed"?k.y-window.scrollY:k.y}px`}),A0(E),requestAnimationFrame(()=>KV(E,k,{topOffset:15,centered:!0}))):(YV(E),Object.assign(E.style,{display:"none"}))},"renderMenu");l.subscribe(b),p.subscribe(b);let g=s(E=>{let C=zV(E);r.set(T=>{let k=C.id?T.filter(B=>B.id!==C.id):T;return C.selectors?.length?[...k,C]:k})},"addHighlight"),v=s(E=>{E&&r.set(C=>C.filter(T=>T.id!==E))},"removeHighlight"),D=s(()=>{r.set([]),n.set(new Map),a.set([]),o.set(void 0),i.set(void 0),l.set([]),u.set([]),c.set(void 0),p.set(void 0)},"resetState"),S,_=s((E,C)=>{let T="scrollIntoView-highlight";clearTimeout(S),v(T);let k=t.querySelector(E);if(!k){console.warn(`Cannot scroll into view: ${E} not found`);return}k.scrollIntoView({behavior:"smooth",block:"center",...C});let B=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(W=>[...W,{id:T,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${B} 3s linear forwards`},keyframes:`@keyframes ${B} {
|
|
468
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
469
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
470
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
471
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
472
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
473
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
474
|
+
}`}]),S=setTimeout(()=>v(T),3500)},"scrollIntoView"),A=s(E=>{requestAnimationFrame(()=>i.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",A),e.on($V,g),e.on(UV,v),e.on(VV,D),e.on(HV,_),e.on(va,({newPhase:E})=>{E==="loading"&&D()})},"useHighlights");globalThis?.FEATURES?.highlight&&Er?.ready&&Er.ready().then(ZV);var S0=s(()=>({}),"default"),eH="measureEnabled";function nb(){let e=he.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}s(nb,"getDocumentWidthAndHeight");function rF(){let e=he.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Wr(t!=null);let{width:r,height:n}=nb();return Ql(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",he.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}s(rF,"createCanvas");function Ql(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let a=he.window.devicePixelRatio;e.width=Math.floor(r*a),e.height=Math.floor(n*a),t.scale(a,a)}s(Ql,"setCanvasWidthAndHeight");var xt={};function nF(){xt.canvas||(xt=rF())}s(nF,"init");function ab(){xt.context&&xt.context.clearRect(0,0,xt.width??0,xt.height??0)}s(ab,"clear");function aF(e){ab(),e(xt.context)}s(aF,"draw");function oF(){Wr(xt.canvas),Wr(xt.context),Ql(xt.canvas,xt.context,{width:0,height:0});let{width:e,height:t}=nb();Ql(xt.canvas,xt.context,{width:e,height:t}),xt.width=e,xt.height=t}s(oF,"rescale");function iF(){xt.canvas&&(ab(),xt.canvas.parentNode?.removeChild(xt.canvas),xt={})}s(iF,"destroy");var La={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},mn=6;function Df(e,{x:t,y:r,w:n,h:a,r:o}){t=t-n/2,r=r-a/2,n<2*o&&(o=n/2),a<2*o&&(o=a/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+a,o),e.arcTo(t+n,r+a,t,r+a,o),e.arcTo(t,r+a,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}s(Df,"roundedRect");function sF(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom,c=i+r.left+t.left,p=o+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,p+=u/2):e==="bottom"?(c+=l/2,p+=u):e==="left"?p+=u/2:e==="center"&&(c+=l/2,p+=u/2),{x:c,y:p}}s(sF,"positionCoordinate");function lF(e,t,{margin:r,border:n,padding:a},o,i){let l=s(h=>0,"shift"),u=0,c=0,p=i?1:.5,d=i?o*2:0;return e==="padding"?l=s(h=>a[h]*p+d,"shift"):e==="border"?l=s(h=>a[h]+n[h]*p+d,"shift"):e==="margin"&&(l=s(h=>a[h]+n[h]+r[h]*p+d,"shift")),t==="top"?c=-l("top"):t==="right"?u=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(u=-l("left")),{offsetX:u,offsetY:c}}s(lF,"offset");function uF(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}s(uF,"collide");function cF(e,t,r){return e==="top"?t.y=r.y-r.h-mn:e==="right"?t.x=r.x+r.w/2+mn+t.w/2:e==="bottom"?t.y=r.y+r.h+mn:e==="left"&&(t.x=r.x-r.w/2-mn-t.w/2),{x:t.x,y:t.y}}s(cF,"overlapAdjustment");function ob(e,t,{x:r,y:n,w:a,h:o},i){return Df(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${La[t]}dd`,e.fill(),e.strokeStyle=La[t],e.stroke(),e.fillStyle=La.text,e.fillText(i,r,n),Df(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${La[t]}dd`,e.fill(),e.strokeStyle=La[t],e.stroke(),e.fillStyle=La.text,e.fillText(i,r,n),{x:r,y:n,w:a,h:o}}s(ob,"textWithRect");function ib(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=r.width+mn*2,o=n+mn*2;return{w:a,h:o}}s(ib,"configureText");function pF(e,t,{type:r,position:n="center",text:a},o,i=!1){let{x:l,y:u}=sF(n,t),{offsetX:c,offsetY:p}=lF(r,n,t,mn+1,i);l+=c,u+=p;let{w:d,h}=ib(e,a);if(o&&uF({x:l,y:u,w:d,h},o)){let f=cF(n,{x:l,y:u,w:d},o);l=f.x,u=f.y}return ob(e,r,{x:l,y:u,w:d,h},a)}s(pF,"drawLabel");function dF(e,{w:t,h:r}){let n=t*.5+mn,a=r*.5+mn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*a}}s(dF,"floatingOffset");function fF(e,t,{type:r,text:n}){let{floatingAlignment:a,extremities:o}=t,i=o[a.x],l=o[a.y],{w:u,h:c}=ib(e,n),{offsetX:p,offsetY:d}=dF(a,{w:u,h:c});return i+=p,l+=d,ob(e,r,{x:i,y:l,w:u,h:c},n)}s(fF,"drawFloatingLabel");function Ja(e,t,r,n){let a=[];r.forEach((o,i)=>{let l=n&&o.position==="center"?fF(e,t,o):pF(e,t,o,a[i-1],n);a[i]=l})}s(Ja,"drawStack");function hF(e,t,r,n){let a=r.reduce((o,i)=>(Object.prototype.hasOwnProperty.call(o,i.position)||(o[i.position]=[]),o[i.position]?.push(i),o),{});a.top&&Ja(e,t,a.top,n),a.right&&Ja(e,t,a.right,n),a.bottom&&Ja(e,t,a.bottom,n),a.left&&Ja(e,t,a.left,n),a.center&&Ja(e,t,a.center,n)}s(hF,"labelStacks");var Fc={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},_0=30;function rr(e){return parseInt(e.replace("px",""),10)}s(rr,"pxToNumber");function ca(e){return Number.isInteger(e)?e:e.toFixed(2)}s(ca,"round");function Ic(e){return e.filter(t=>t.text!==0&&t.text!=="0")}s(Ic,"filterZeroValues");function mF(e){let t={top:he.window.scrollY,bottom:he.window.scrollY+he.window.innerHeight,left:he.window.scrollX,right:he.window.scrollX+he.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}s(mF,"floatingAlignment");function yF(e){let t=he.getComputedStyle(e),{top:r,left:n,right:a,bottom:o,width:i,height:l}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:p,marginRight:d,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:y,borderBottomWidth:b,borderTopWidth:g,borderLeftWidth:v,borderRightWidth:D}=t;r=r+he.window.scrollY,n=n+he.window.scrollX,o=o+he.window.scrollY,a=a+he.window.scrollX;let S={top:rr(u),bottom:rr(c),left:rr(p),right:rr(d)},_={top:rr(h),bottom:rr(f),left:rr(m),right:rr(y)},A={top:rr(g),bottom:rr(b),left:rr(v),right:rr(D)},E={top:r-S.top,bottom:o+S.bottom,left:n-S.left,right:a+S.right};return{margin:S,padding:_,border:A,top:r,left:n,bottom:o,right:a,width:i,height:l,extremities:E,floatingAlignment:mF(E)}}s(yF,"measureElement");function gF(e,{margin:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n+t.bottom+t.top;e.fillStyle=Fc.margin,e.fillRect(o,a-t.top,r,t.top),e.fillRect(l,a-t.top,t.right,u),e.fillRect(o,i,r,t.bottom),e.fillRect(o-t.left,a-t.top,t.left,u);let c=[{type:"margin",text:ca(t.top),position:"top"},{type:"margin",text:ca(t.right),position:"right"},{type:"margin",text:ca(t.bottom),position:"bottom"},{type:"margin",text:ca(t.left),position:"left"}];return Ic(c)}s(gF,"drawMargin");function bF(e,{padding:t,border:r,width:n,height:a,top:o,left:i,bottom:l,right:u}){let c=n-r.left-r.right,p=a-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Fc.padding,e.fillRect(i+r.left,o+r.top,c,t.top),e.fillRect(u-t.right-r.right,o+t.top+r.top,t.right,p),e.fillRect(i+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(i+r.left,o+t.top+r.top,t.left,p);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Ic(d)}s(bF,"drawPadding");function vF(e,{border:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n-t.top-t.bottom;e.fillStyle=Fc.border,e.fillRect(o,a,r,t.top),e.fillRect(o,i-t.bottom,r,t.bottom),e.fillRect(o,a+t.top,t.left,u),e.fillRect(l-t.right,a+t.top,t.right,u);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Ic(c)}s(vF,"drawBorder");function EF(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Fc.content,e.fillRect(i+r.left+t.left,o+r.top+t.top,l,u),[{type:"content",position:"center",text:`${ca(l)} x ${ca(u)}`}]}s(EF,"drawContent");function CF(e){return t=>{if(e&&t){let r=yF(e),n=gF(t,r),a=bF(t,r),o=vF(t,r),i=EF(t,r),l=r.width<=_0*3||r.height<=_0;hF(t,r,[...i,...a,...o,...n],l)}}}s(CF,"drawBoxModel");function wF(e){aF(CF(e))}s(wF,"drawSelectedElement");var tH=s((e,t)=>{let r=he.document.elementFromPoint(e,t),n=s(a=>{if(a&&a.shadowRoot){let o=a.shadowRoot.elementFromPoint(e,t);return a.isEqualNode(o)?a:o.shadowRoot?n(o):o}return a},"crawlShadows");return n(r)||r},"deepElementFromPoint"),T0,Fs={x:0,y:0};function Of(e,t){T0=tH(e,t),wF(T0)}s(Of,"findAndDrawElement");var rH=s((e,t)=>{let{measureEnabled:r}=t.globals||{};return Vn(()=>{if(typeof globalThis.document>"u")return;let n=s(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),Fs.x=a.clientX,Fs.y=a.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Vn(()=>{let n=s(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),Of(o.clientX,o.clientY)})},"onPointerOver"),a=s(()=>{window.requestAnimationFrame(()=>{oF()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),nF(),globalThis.window.addEventListener("resize",a),Of(Fs.x,Fs.y)),()=>{globalThis.window.removeEventListener("resize",a),iF()}},[r,t.viewMode]),e()},"withMeasure"),nH=globalThis.FEATURES?.measure?[rH]:[],aH={[eH]:!1},P0=s(()=>({decorators:nH,initialGlobals:aH}),"default"),AF="outline",D0=s(e=>{(Array.isArray(e)?e:[e]).forEach(oH)},"clearStyles"),oH=s(e=>{let t=typeof e=="string"?e:e.join(""),r=he.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),iH=s((e,t)=>{let r=he.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=he.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,he.document.head.appendChild(n)}},"addOutlineStyles");function xF(e){return qe`
|
|
475
|
+
${e} body {
|
|
476
|
+
outline: 1px solid #2980b9 !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
${e} article {
|
|
480
|
+
outline: 1px solid #3498db !important;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
${e} nav {
|
|
484
|
+
outline: 1px solid #0088c3 !important;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
${e} aside {
|
|
488
|
+
outline: 1px solid #33a0ce !important;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
${e} section {
|
|
492
|
+
outline: 1px solid #66b8da !important;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
${e} header {
|
|
496
|
+
outline: 1px solid #99cfe7 !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
${e} footer {
|
|
500
|
+
outline: 1px solid #cce7f3 !important;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
${e} h1 {
|
|
504
|
+
outline: 1px solid #162544 !important;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
${e} h2 {
|
|
508
|
+
outline: 1px solid #314e6e !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
${e} h3 {
|
|
512
|
+
outline: 1px solid #3e5e85 !important;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
${e} h4 {
|
|
516
|
+
outline: 1px solid #449baf !important;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
${e} h5 {
|
|
520
|
+
outline: 1px solid #c7d1cb !important;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
${e} h6 {
|
|
524
|
+
outline: 1px solid #4371d0 !important;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
${e} main {
|
|
528
|
+
outline: 1px solid #2f4f90 !important;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
${e} address {
|
|
532
|
+
outline: 1px solid #1a2c51 !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
${e} div {
|
|
536
|
+
outline: 1px solid #036cdb !important;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
${e} p {
|
|
540
|
+
outline: 1px solid #ac050b !important;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
${e} hr {
|
|
544
|
+
outline: 1px solid #ff063f !important;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
${e} pre {
|
|
548
|
+
outline: 1px solid #850440 !important;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
${e} blockquote {
|
|
552
|
+
outline: 1px solid #f1b8e7 !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
${e} ol {
|
|
556
|
+
outline: 1px solid #ff050c !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
${e} ul {
|
|
560
|
+
outline: 1px solid #d90416 !important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
${e} li {
|
|
564
|
+
outline: 1px solid #d90416 !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
${e} dl {
|
|
568
|
+
outline: 1px solid #fd3427 !important;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
${e} dt {
|
|
572
|
+
outline: 1px solid #ff0043 !important;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
${e} dd {
|
|
576
|
+
outline: 1px solid #e80174 !important;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
${e} figure {
|
|
580
|
+
outline: 1px solid #ff00bb !important;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
${e} figcaption {
|
|
584
|
+
outline: 1px solid #bf0032 !important;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
${e} table {
|
|
588
|
+
outline: 1px solid #00cc99 !important;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
${e} caption {
|
|
592
|
+
outline: 1px solid #37ffc4 !important;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
${e} thead {
|
|
596
|
+
outline: 1px solid #98daca !important;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
${e} tbody {
|
|
600
|
+
outline: 1px solid #64a7a0 !important;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
${e} tfoot {
|
|
604
|
+
outline: 1px solid #22746b !important;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
${e} tr {
|
|
608
|
+
outline: 1px solid #86c0b2 !important;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
${e} th {
|
|
612
|
+
outline: 1px solid #a1e7d6 !important;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
${e} td {
|
|
616
|
+
outline: 1px solid #3f5a54 !important;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
${e} col {
|
|
620
|
+
outline: 1px solid #6c9a8f !important;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
${e} colgroup {
|
|
624
|
+
outline: 1px solid #6c9a9d !important;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
${e} button {
|
|
628
|
+
outline: 1px solid #da8301 !important;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
${e} datalist {
|
|
632
|
+
outline: 1px solid #c06000 !important;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
${e} fieldset {
|
|
636
|
+
outline: 1px solid #d95100 !important;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
${e} form {
|
|
640
|
+
outline: 1px solid #d23600 !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
${e} input {
|
|
644
|
+
outline: 1px solid #fca600 !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
${e} keygen {
|
|
648
|
+
outline: 1px solid #b31e00 !important;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
${e} label {
|
|
652
|
+
outline: 1px solid #ee8900 !important;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
${e} legend {
|
|
656
|
+
outline: 1px solid #de6d00 !important;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
${e} meter {
|
|
660
|
+
outline: 1px solid #e8630c !important;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
${e} optgroup {
|
|
664
|
+
outline: 1px solid #b33600 !important;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
${e} option {
|
|
668
|
+
outline: 1px solid #ff8a00 !important;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
${e} output {
|
|
672
|
+
outline: 1px solid #ff9619 !important;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
${e} progress {
|
|
676
|
+
outline: 1px solid #e57c00 !important;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
${e} select {
|
|
680
|
+
outline: 1px solid #e26e0f !important;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
${e} textarea {
|
|
684
|
+
outline: 1px solid #cc5400 !important;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
${e} details {
|
|
688
|
+
outline: 1px solid #33848f !important;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
${e} summary {
|
|
692
|
+
outline: 1px solid #60a1a6 !important;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
${e} command {
|
|
696
|
+
outline: 1px solid #438da1 !important;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
${e} menu {
|
|
700
|
+
outline: 1px solid #449da6 !important;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
${e} del {
|
|
704
|
+
outline: 1px solid #bf0000 !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
${e} ins {
|
|
708
|
+
outline: 1px solid #400000 !important;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
${e} img {
|
|
712
|
+
outline: 1px solid #22746b !important;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
${e} iframe {
|
|
716
|
+
outline: 1px solid #64a7a0 !important;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
${e} embed {
|
|
720
|
+
outline: 1px solid #98daca !important;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
${e} object {
|
|
724
|
+
outline: 1px solid #00cc99 !important;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
${e} param {
|
|
728
|
+
outline: 1px solid #37ffc4 !important;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
${e} video {
|
|
732
|
+
outline: 1px solid #6ee866 !important;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
${e} audio {
|
|
736
|
+
outline: 1px solid #027353 !important;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
${e} source {
|
|
740
|
+
outline: 1px solid #012426 !important;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
${e} canvas {
|
|
744
|
+
outline: 1px solid #a2f570 !important;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
${e} track {
|
|
748
|
+
outline: 1px solid #59a600 !important;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
${e} map {
|
|
752
|
+
outline: 1px solid #7be500 !important;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
${e} area {
|
|
756
|
+
outline: 1px solid #305900 !important;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
${e} a {
|
|
760
|
+
outline: 1px solid #ff62ab !important;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
${e} em {
|
|
764
|
+
outline: 1px solid #800b41 !important;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
${e} strong {
|
|
768
|
+
outline: 1px solid #ff1583 !important;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
${e} i {
|
|
772
|
+
outline: 1px solid #803156 !important;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
${e} b {
|
|
776
|
+
outline: 1px solid #cc1169 !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
${e} u {
|
|
780
|
+
outline: 1px solid #ff0430 !important;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
${e} s {
|
|
784
|
+
outline: 1px solid #f805e3 !important;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
${e} small {
|
|
788
|
+
outline: 1px solid #d107b2 !important;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
${e} abbr {
|
|
792
|
+
outline: 1px solid #4a0263 !important;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
${e} q {
|
|
796
|
+
outline: 1px solid #240018 !important;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
${e} cite {
|
|
800
|
+
outline: 1px solid #64003c !important;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
${e} dfn {
|
|
804
|
+
outline: 1px solid #b4005a !important;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
${e} sub {
|
|
808
|
+
outline: 1px solid #dba0c8 !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
${e} sup {
|
|
812
|
+
outline: 1px solid #cc0256 !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
${e} time {
|
|
816
|
+
outline: 1px solid #d6606d !important;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
${e} code {
|
|
820
|
+
outline: 1px solid #e04251 !important;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
${e} kbd {
|
|
824
|
+
outline: 1px solid #5e001f !important;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
${e} samp {
|
|
828
|
+
outline: 1px solid #9c0033 !important;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
${e} var {
|
|
832
|
+
outline: 1px solid #d90047 !important;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
${e} mark {
|
|
836
|
+
outline: 1px solid #ff0053 !important;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
${e} bdi {
|
|
840
|
+
outline: 1px solid #bf3668 !important;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
${e} bdo {
|
|
844
|
+
outline: 1px solid #6f1400 !important;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
${e} ruby {
|
|
848
|
+
outline: 1px solid #ff7b93 !important;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
${e} rt {
|
|
852
|
+
outline: 1px solid #ff2f54 !important;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
${e} rp {
|
|
856
|
+
outline: 1px solid #803e49 !important;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
${e} span {
|
|
860
|
+
outline: 1px solid #cc2643 !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
${e} br {
|
|
864
|
+
outline: 1px solid #db687d !important;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
${e} wbr {
|
|
868
|
+
outline: 1px solid #db175b !important;
|
|
869
|
+
}`}s(xF,"outlineCSS");var sH=s((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[AF]),a=t.viewMode==="docs",o=Hh(()=>xF(a?'[data-story-block="true"]':".sb-show-main"),[t]);return Vn(()=>{let i=a?`addon-outline-docs-${t.id}`:"addon-outline";return n?iH(i,o):D0(i),()=>{D0(i)}},[n,o,t]),e()},"withOutline"),lH=globalThis.FEATURES?.outline?[sH]:[],uH={[AF]:!1},O0=s(()=>({decorators:lH,initialGlobals:uH}),"default"),cH=s(({parameters:e})=>{e?.test?.mockReset===!0?ng():e?.test?.clearMocks===!0?rg():e?.test?.restoreMocks!==!1&&ag()},"resetAllMocksLoader"),Rf=s((e,t=0,r)=>{if(t>5||e==null)return e;if(ma(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=eg(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Rf(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,a]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Rf(a,t,n));return e}return e},"traverseArgs"),pH=s(({initialArgs:e})=>{Rf(e)},"nameSpiesAndWrapActionsInSpies"),R0=!1,dH=s(async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=eF(e.canvasElement));let t=globalThis.window?.navigator?.clipboard;if(t){e.userEvent=Io({userEvent:tF.setup()},{intercept:!0,getKeys:s(n=>Object.keys(n).filter(a=>a!=="eventWrapper"),"getKeys")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:s(()=>t,"get"),configurable:!0});let r=HTMLElement.prototype.focus;R0||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:s(n=>{r=n,R0=!0},"set"),get:s(()=>r,"get")}})}},"enhanceContext"),F0=s(()=>({loaders:[cH,pH,dH]}),"default"),fH="viewport",hH={[fH]:{value:void 0,isRotated:!1}},I0=s(()=>({initialGlobals:hH}),"default");function sb(){return[(P0.default??P0)(),(y0.default??y0)(),(S0.default??S0)(),(O0.default??O0)(),(I0.default??I0)(),(d0.default??d0)(),(g0.default??g0)(),(F0.default??F0)()]}s(sb,"getCoreAnnotations");function Nc(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}s(Nc,"isStory");var SF=s(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),N0=s((e,t)=>{let r=SF(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),mH=s((e,t)=>`${N0(e,"kind")}${t?`--${N0(t,"name")}`:""}`,"toId"),yH=s(e=>Bw(e),"storyNameFromExport");function Ff(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}s(Ff,"matches");function Zl(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ff(e,t))&&(!r||!Ff(e,r))}s(Zl,"isExportStory");var gH=s((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");function _F(){}s(_F,"noop");function If(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}s(If,"getSymbols");function Nf(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}s(Nf,"getTag");var bH="[object RegExp]",vH="[object String]",EH="[object Number]",CH="[object Boolean]",k0="[object Arguments]",wH="[object Symbol]",AH="[object Date]",xH="[object Map]",SH="[object Set]",_H="[object Array]",TH="[object Function]",PH="[object ArrayBuffer]",yp="[object Object]",DH="[object Error]",OH="[object DataView]",RH="[object Uint8Array]",FH="[object Uint8ClampedArray]",IH="[object Uint16Array]",NH="[object Uint32Array]",kH="[object BigUint64Array]",BH="[object Int8Array]",jH="[object Int16Array]",qH="[object Int32Array]",MH="[object BigInt64Array]",LH="[object Float32Array]",$H="[object Float64Array]";function Dr(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}s(Dr,"isPlainObject");function To(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}s(To,"mapValues");function TF(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];t(i,o)&&(r[o]=i)}return r}s(TF,"pickBy");function PF(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}s(PF,"eq");function DF(e,t,r){return to(e,t,void 0,void 0,void 0,void 0,r)}s(DF,"isEqualWith");function to(e,t,r,n,a,o,i){let l=i(e,t,r,n,a,o);if(l!==void 0)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return lo(e,t,o,i)}return lo(e,t,o,i)}s(to,"isEqualWithImpl");function lo(e,t,r,n){if(Object.is(e,t))return!0;let a=Nf(e),o=Nf(t);if(a===k0&&(a=yp),o===k0&&(o=yp),a!==o)return!1;switch(a){case vH:return e.toString()===t.toString();case EH:{let u=e.valueOf(),c=t.valueOf();return PF(u,c)}case CH:case AH:case wH:return Object.is(e.valueOf(),t.valueOf());case bH:return e.source===t.source&&e.flags===t.flags;case TH:return e===t}r=r??new Map;let i=r.get(e),l=r.get(t);if(i!=null&&l!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(a){case xH:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!to(c,t.get(u),u,e,t,r,n))return!1;return!0}case SH:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let p=0;p<u.length;p++){let d=u[p],h=c.findIndex(f=>to(d,f,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case _H:case RH:case FH:case IH:case NH:case kH:case BH:case jH:case qH:case MH:case LH:case $H:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!to(e[u],t[u],u,e,t,r,n))return!1;return!0}case PH:return e.byteLength!==t.byteLength?!1:lo(new Uint8Array(e),new Uint8Array(t),r,n);case OH:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:lo(new Uint8Array(e),new Uint8Array(t),r,n);case DH:return e.name===t.name&&e.message===t.message;case yp:{if(!(lo(e.constructor,t.constructor,r,n)||Dr(e)&&Dr(t)))return!1;let u=[...Object.keys(e),...If(e)],c=[...Object.keys(t),...If(t)];if(u.length!==c.length)return!1;for(let p=0;p<u.length;p++){let d=u[p],h=e[d];if(!Object.hasOwn(t,d))return!1;let f=t[d];if(!to(h,f,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}s(lo,"areObjectsEqual");function OF(e,t){return DF(e,t,_F)}s(OF,"isEqual");var gp=Et(WE(),1),za=Symbol("incompatible"),kf=s((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?za:e.reduce((n,a,o)=>{let i=kf(a,{type:r.value});return i!==za&&(n[o]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?za:Object.entries(e).reduce((n,[a,o])=>{let i=kf(o,{type:r.value[a]});return i===za?n:Object.assign(n,{[a]:i})},{});default:return za}},"map"),UH=s((e,t)=>Object.entries(e).reduce((r,[n,a])=>{if(!t[n])return r;let o=kf(a,t[n]);return o===za?r:Object.assign(r,{[n]:o})},{}),"mapArgsToTypes"),eu=s((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,a)=>(r[a]=eu(e[a],t[a]),r),[...e]).filter(r=>r!==void 0):!Dr(e)||!Dr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let a=eu(e[n],t[n]);a!==void 0&&(r[n]=a)}else r[n]=e[n];return r},{}),"combineArgs"),VH=s((e,t)=>Object.entries(t).reduce((r,[n,{options:a}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(s(o,"allowArg"),!a)return o();if(!Array.isArray(a))return vt.error(qe`
|
|
870
|
+
Invalid argType: '${n}.options' should be an array.
|
|
871
|
+
|
|
872
|
+
More info: https://storybook.js.org/docs/api/arg-types?ref=error
|
|
873
|
+
`),o();if(a.some(d=>d&&["object","function"].includes(typeof d)))return vt.error(qe`
|
|
874
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
875
|
+
|
|
876
|
+
More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
|
|
877
|
+
`),o();let i=Array.isArray(e[n]),l=i&&e[n].findIndex(d=>!a.includes(d)),u=i&&l===-1;if(e[n]===void 0||a.includes(e[n])||u)return o();let c=i?`${n}[${l}]`:n,p=a.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return vt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),wi=Symbol("Deeply equal"),tu=s((e,t)=>{if(typeof e!=typeof t)return t;if(OF(e,t))return wi;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,a,o)=>{let i=tu(e[o],a);return i!==wi&&(n[o]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Dr(e)&&Dr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let a=tu(e?.[n],t?.[n]);return a===wi?r:Object.assign(r,{[n]:a})},{}):t},"deepDiff"),RF="UNTARGETED";function FF({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,a])=>{let{target:o=RF}=t[n]||{};r[o]=r[o]||{},r[o][n]=a}),r}s(FF,"groupArgsByTarget");function IF(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}s(IF,"deleteUndefined");var NF=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=tu(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==wi&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=VH(r,t.argTypes);this.argsByStoryId[t.id]=eu(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=UH(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=IF({...this.argsByStoryId[t],...r})}};s(NF,"ArgsStore");var HH=NF,kF=s((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),BF=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&tu(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let a=kF(r);this.initialGlobals={...a,...t},this.globals=this.initialGlobals,n&&n!==wi&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,a])=>(this.allowedGlobalNames.has(n)?r[n]=a:it.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};s(BF,"GlobalsStore");var JH=BF,zH=Et(WE(),1),GH=(0,zH.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),jF=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(o=>o.id.startsWith(t));let{name:n,title:a}=t;return r.find(o=>o.name===n&&o.title===a)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new U1({storyId:t});return r}importPathToEntry(t){return GH(this.entries)[t]}};s(jF,"StoryIndexStore");var WH=jF,KH=s(e=>typeof e=="string"?{name:e}:e,"normalizeType"),YH=s(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),XH=s((e,t)=>{let{type:r,control:n,...a}=e,o={name:t,...a};return r&&(o.type=KH(r)),n?o.control=YH(n):n===!1&&(o.control={disable:!0}),o},"normalizeInputType"),ru=s(e=>To(e,XH),"normalizeInputTypes"),et=s(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),QH=qe`
|
|
878
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
879
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
880
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
881
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
882
|
+
`;function Gi(e,t,r){let n=t,a=typeof t=="function"?t:null,{story:o}=n;o&&(it.debug("deprecated story",o),_h(QH));let i=yH(e),l=typeof n!="function"&&n.name||n.storyName||o?.name||i,u=[...et(n.decorators),...et(o?.decorators)],c={...o?.parameters,...n.parameters},p={...o?.args,...n.args},d={...o?.argTypes,...n.argTypes},h=[...et(n.loaders),...et(o?.loaders)],f=[...et(n.beforeEach),...et(o?.beforeEach)],m=[...et(n.afterEach),...et(o?.afterEach)],{render:y,play:b,tags:g=[],globals:v={}}=n,D=c.__id||mH(r.id,i);return{moduleExport:t,id:D,name:l,tags:g,decorators:u,parameters:c,args:p,argTypes:ru(d),loaders:h,beforeEach:f,afterEach:m,globals:v,...y&&{render:y},...a&&{userStoryFn:a},...b&&{play:b}}}s(Gi,"normalizeStory");function nu(e,t=e.title,r){let{id:n,argTypes:a}=e;return{id:SF(n||t),...e,title:t,...a&&{argTypes:ru(a)},parameters:{fileName:r,...e.parameters}}}s(nu,"normalizeComponentAnnotations");var ZH=s(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&it.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),eJ=s(e=>{let{options:t}=e;t?.storySort&&it.error("The storySort option parameter can only be set globally")},"checkStorySort"),Is=s(e=>{e&&(ZH(e),eJ(e))},"checkDisallowedParameters");function qF(e,t,r){let{default:n,__namedExportsOrder:a,...o}=e,i=Object.values(o)[0];if(Nc(i)){let c=nu(i.meta.input,r,t);Is(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(o).forEach(d=>{if(Zl(d,c)){let h=Gi(d,o[d].input,c);Is(h.parameters),p.stories[h.id]=h}}),p.projectAnnotations=i.meta.preview.composed,p}let l=nu(n,r,t);Is(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(o).forEach(c=>{if(Zl(c,l)){let p=Gi(c,o[c],l);Is(p.parameters),u.stories[p.id]=p}}),u}s(qF,"processCSFFile");function MF(e){return e!=null&&LF(e).includes("mount")}s(MF,"mountDestructured");function LF(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Bf(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Bf(n.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}s(LF,"getUsedProps");function Bf(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let i=e.substring(n,o).trim();i&&t.push(i),n=o+1}let a=e.substring(n).trim();return a&&t.push(a),t}s(Bf,"splitByComma");function lb(e,t,r){let n=r(e);return a=>t(n,a)}s(lb,"decorateStory");function ub({componentId:e,title:t,kind:r,id:n,name:a,story:o,parameters:i,initialArgs:l,argTypes:u,...c}={}){return c}s(ub,"sanitizeStoryContextUpdate");function cb(e,t){let r={},n=s(o=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...ub(i)},o(r.value)},"bindWithContext"),a=t.reduce((o,i)=>lb(o,i,n),e);return o=>(r.value=o,a(o))}s(cb,"defaultDecorateStory");var Pa=s((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:Dr(l)&&Dr(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>Dr(i))?n[a]=Pa(...o):n[a]=o[o.length-1]}),n},"combineParameters");function kc(e,t,r){let{moduleExport:n,id:a,name:o}=e||{},i=db(e,t,r),l=s(async A=>{let E={};for(let C of[et(r.loaders),et(t.loaders),et(e.loaders)]){if(A.abortSignal.aborted)return E;let T=await Promise.all(C.map(k=>k(A)));Object.assign(E,...T)}return E},"applyLoaders"),u=s(async A=>{let E=new Array;for(let C of[...et(r.beforeEach),...et(t.beforeEach),...et(e.beforeEach)]){if(A.abortSignal.aborted)return E;let T=await C(A);T&&E.push(T)}return E},"applyBeforeEach"),c=s(async A=>{let E=[...et(r.afterEach),...et(t.afterEach),...et(e.afterEach)].reverse();for(let C of E){if(A.abortSignal.aborted)return;await C(A)}},"applyAfterEach"),p=s(A=>A.originalStoryFn(A.args,A),"undecoratedStoryFn"),{applyDecorators:d=cb,runStep:h}=r,f=[...et(e?.decorators),...et(t?.decorators),...et(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,y=_w(d)(p,f),b=s(A=>y(A),"unboundStoryFn"),g=e?.play??t?.play,v=MF(g);if(!m&&!v)throw new cw({id:a});let D=s(A=>async()=>(await A.renderToCanvas(),A.canvas),"defaultMount"),S=e.mount??t.mount??r.mount??D,_=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:a,name:o,story:o,originalStoryFn:m,undecoratedStoryFn:p,unboundStoryFn:b,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:g,runStep:h,mount:S,testingLibraryRender:_,renderToCanvas:r.renderToCanvas,usesMount:v}}s(kc,"prepareStory");function pb(e,t,r){return{...db(void 0,e,t),moduleExport:r}}s(pb,"prepareMeta");function db(e,t,r){let n=["dev","test"],a=he.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],o=gH(...n,...a,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Pa(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Pa(r.argTypes,t.argTypes,e?.argTypes);if(e){let g=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=g&&g.length>0}let p={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:o,parameters:i,initialArgs:p,argTypes:c,storyGlobals:d};h.argTypes=l.reduce((g,v)=>v({...h,argTypes:g}),h.argTypes);let f={...p};h.initialArgs=[...u].reduce((g,v)=>({...g,...v({...h,initialArgs:g})}),f);let{name:m,story:y,...b}=h;return b}s(db,"preparePartialAnnotations");function fb(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(he.FEATURES?.argTypeTargetsV7){let o=FF(e);r={...e,allArgs:e.args,argsByTarget:o,args:o[RF]||{}}}let n=Object.entries(r.args).reduce((o,[i,l])=>{if(!r.argTypes[i]?.mapping)return o[i]=l,o;let u=s(c=>{let p=r.argTypes[i].mapping;return p&&c in p?p[c]:c},"mappingFn");return o[i]=Array.isArray(l)?l.map(u):u(l),o},{}),a=Object.entries(n).reduce((o,[i,l])=>{let u=r.argTypes[i]||{};return f8(u,n,r.globals)&&(o[i]=l),o},{});return{...r,unmappedArgs:t,args:a}}s(fb,"prepareContext");var jf=s((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(it.warn(qe`
|
|
883
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
884
|
+
|
|
885
|
+
Consider using the mapping feature or fully custom args:
|
|
886
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
887
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
888
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?jf(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:To(e,a=>jf(a,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),$F=s(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=To(n,(i,l)=>({name:l,type:jf(i,`${t}.${l}`,new Set)})),o=To(r,(i,l)=>({name:l}));return Pa(a,o,r)},"inferArgTypes");$F.secondPass=!0;var B0=s((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),UF=s((e,t,r)=>!t&&!r?e:e&&TF(e,(n,a)=>{let o=n.name||a.toString();return!!(!t||B0(o,t))&&(!r||!B0(o,r))}),"filterArgTypes"),tJ=s((e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&it.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),hb=s(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=UF(t,n,a),l=To(i,(u,c)=>u?.type&&tJ(u,c.toString(),o));return Pa(l,i)},"inferControls");hb.secondPass=!0;function Wi({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:a,beforeEach:o,afterEach:i,initialGlobals:l,...u}){return{...e&&{argTypes:ru(e)},...t&&{globalTypes:ru(t)},decorators:et(n),loaders:et(a),beforeEach:et(o),afterEach:et(i),argTypesEnhancers:[...r||[],$F,hb],initialGlobals:l,...u}}s(Wi,"normalizeProjectAnnotations");var rJ=s(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function mb(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}s(mb,"composeStepRunners");function Po(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}s(Po,"getField");function un(e,t,r={}){return Po(e,t).reduce((n,a)=>{let o=et(a);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}s(un,"getArrayField");function ui(e,t){return Object.assign({},...Po(e,t))}s(ui,"getObjectField");function Ga(e,t){return Po(e,t).pop()}s(Ga,"getSingletonField");function Da(e){let t=un(e,"argTypesEnhancers"),r=Po(e,"runStep"),n=un(e,"beforeAll");return{parameters:Pa(...Po(e,"parameters")),decorators:un(e,"decorators",{reverseFileOrder:!(he.FEATURES?.legacyDecoratorFileOrder??!1)}),args:ui(e,"args"),argsEnhancers:un(e,"argsEnhancers"),argTypes:ui(e,"argTypes"),argTypesEnhancers:[...t.filter(a=>!a.secondPass),...t.filter(a=>a.secondPass)],initialGlobals:ui(e,"initialGlobals"),globalTypes:ui(e,"globalTypes"),loaders:un(e,"loaders"),beforeAll:rJ(n),beforeEach:un(e,"beforeEach"),afterEach:un(e,"afterEach"),render:Ga(e,"render"),renderToCanvas:Ga(e,"renderToCanvas"),applyDecorators:Ga(e,"applyDecorators"),runStep:mb(r),tags:un(e,"tags"),mount:Ga(e,"mount"),testingLibraryRender:Ga(e,"testingLibraryRender")}}s(Da,"composeConfigs");function yb(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}s(yb,"isTestEnvironment");function Bc(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
889
|
+
animation: none !important;
|
|
890
|
+
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
891
|
+
animation-delay: 0s !important;
|
|
892
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
893
|
+
animation-play-state: paused !important;
|
|
894
|
+
transition: none !important;
|
|
895
|
+
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}s(Bc,"pauseAnimations");async function jc(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...gb(globalThis.document)],a=s(async()=>{if(t||e?.aborted)return;let o=n.flatMap(i=>i?.getAnimations?.()||[]).filter(i=>i.playState==="running"&&!VF(i));o.length>0&&(await Promise.all(o.map(i=>i.finished)),await a())},"checkAnimationsFinished");a().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}s(jc,"waitForAnimations");function gb(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...gb(r.shadowRoot)),t),[])}s(gb,"getShadowRoots");function VF(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),r=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[r]==="infinite"}return!1}s(VF,"isInfiniteAnimation");var HF=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};s(HF,"ReporterAPI");var bb=HF;function vb(e,t,r){return Nc(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}s(vb,"getCsfFactoryAnnotations");function JF(e){globalThis.defaultProjectAnnotations=e}s(JF,"setDefaultProjectAnnotations");var nJ="ComposedStory",aJ="Unnamed Story";function zF(e){return e?Da([e]):{}}s(zF,"extractAnnotation");function GF(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Da([...sb(),globalThis.defaultProjectAnnotations??{},Da(t.map(zF))]),globalThis.globalProjectAnnotations??{}}s(GF,"setProjectAnnotations");var kn=[];function Eb(e,t,r,n,a){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??nJ;let o=nu(t),i=a||e.storyName||e.story?.name||e.name||aJ,l=Gi(i,e,o),u=Wi(Da([n??globalThis.globalProjectAnnotations??{},r??{}])),c=kc(l,o,u),p={...kF(u.globalTypes),...u.initialGlobals,...c.storyGlobals},d=new bb,h=s(()=>{let g=fb({hooks:new $h,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:s((v,D)=>c.runStep(v,D,g),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return g.parameters.__isPortableStory=!0,g.context=g,c.renderToCanvas&&(g.renderToCanvas=async()=>{let v=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:s(()=>{},"showMain"),showError:s(D=>{throw new Error(`${D.title}
|
|
896
|
+
${D.description}`)},"showError"),showException:s(D=>{throw D},"showException"),forceRemount:!0,storyContext:g,storyFn:s(()=>c.unboundStoryFn(g),"storyFn"),unboundStoryFn:c.unboundStoryFn},g.canvasElement);v&&kn.push(v)}),g.mount=c.mount(g),g},"initializeContext"),f,m=s(async g=>{let v=h();return v.canvasElement??=globalThis?.document?.body,f&&(v.loaded=f.loaded),Object.assign(v,g),c.playFunction(v)},"play"),y=s(g=>{let v=h();return Object.assign(v,g),YF(c,v)},"run"),b=c.playFunction?m:void 0;return Object.assign(s(function(g){let v=h();return f&&(v.loaded=f.loaded),v.args={...v.initialArgs,...g},c.unboundStoryFn(v)},"storyFn"),{id:c.id,storyName:i,load:s(async()=>{for(let v of[...kn].reverse())await v();kn.length=0;let g=h();g.loaded=await c.applyLoaders(g),kn.push(...(await c.applyBeforeEach(g)).filter(Boolean)),f=g},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:b,run:y,reporting:d,tags:c.tags})}s(Eb,"composeStory");var oJ=s((e,t,r,n)=>Eb(e,t,r,{},n),"defaultComposeStory");function WF(e,t,r=oJ){let{default:n,__esModule:a,__namedExportsOrder:o,...i}=e,l=n;return Object.entries(i).reduce((u,[c,p])=>{let{story:d,meta:h}=vb(p);return!l&&h&&(l=h),Zl(c,l)?Object.assign(u,{[c]:r(d,l,t,c)}):u},{})}s(WF,"composeStories");function KF(e){return e.extend({mount:s(async({mount:t,page:r},n)=>{await n(async(a,...o)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(qe`
|
|
897
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
898
|
+
Please use JSX format for your components such as:
|
|
899
|
+
|
|
900
|
+
instead of:
|
|
901
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
902
|
+
|
|
903
|
+
do:
|
|
904
|
+
await mount(<MyComponent foo="bar"/>)
|
|
905
|
+
|
|
906
|
+
More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
|
|
907
|
+
`);let{props:i,...l}=a;await r.evaluate(async c=>{let p=await globalThis.__pwUnwrapObject?.(c);return("__pw_type"in p?p.type:p)?.load?.()},l);let u=await t(a,...o);return await r.evaluate(async c=>{let p=await globalThis.__pwUnwrapObject?.(c),d="__pw_type"in p?p.type:p,h=document.querySelector("#root");return d?.play?.({canvasElement:h})},l),u})},"mount")})}s(KF,"createPlaywrightTest");async function YF(e,t){for(let o of[...kn].reverse())await o();if(kn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,kn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;kn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Mh({playFunction:r.toString()})}),await r(t));let a;yb()?a=Bc():await jc(t.abortSignal),await e.applyAfterEach(t),await a?.()}s(YF,"runStory");var j0=1e3,iJ=1e4,XF=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new WH(t),this.projectAnnotations=Wi(Da([...sb(),n]));let{initialGlobals:a,globalTypes:o}=this.projectAnnotations;this.args=new HH,this.userGlobals=new JH({globals:a,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,gp.default)(j0)(qF),this.prepareMetaWithCache=(0,gp.default)(j0)(pb),this.prepareStoryWithCache=(0,gp.default)(iJ)(kc)}setProjectAnnotations(t){this.projectAnnotations=Wi(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),a=await this.importFn(r);return this.processCSFFileWithCache(a,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:a})=>(r[n]=a,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new ow({storyId:t});let a=r.meta,o=this.prepareStoryWithCache(n,a,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new $h,o}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[a,...o]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let l=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:a,csfFiles:o}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,o=new bb;return fb({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:o,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new z1;return Object.entries(this.storyIndex.entries).reduce((n,[a,{type:o,importPath:i}])=>{if(o==="docs")return n;let l=r[i],u=this.storyFromCSFFile({storyId:a,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[a]=Object.entries(u).reduce((c,[p,d])=>p==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[p]:d.slice().sort()}):Object.assign(c,{[p]:d}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};s(XF,"StoryStore");var QF=XF;function ZF(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(ZF,"slash");var sJ=s(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function qf(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}s(qf,"pathJoin");var eI=s((e,t,r)=>{let{directory:n,importPathMatcher:a,titlePrefix:o=""}=t||{};typeof e=="number"&&vt.warn(qe`
|
|
908
|
+
CSF Auto-title received a numeric fileName. This typically happens when
|
|
909
|
+
webpack is mis-configured in production mode. To force webpack to produce
|
|
910
|
+
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
911
|
+
`);let i=ZF(String(e));if(a.exec(i)){if(!r){let l=i.replace(n,""),u=qf([o,l]).split("/");return u=sJ(u),u.join("/")}return o?qf([o,r]):r}},"userOrAutoTitleFromSpecifier"),lJ=s((e,t,r)=>{for(let n=0;n<t.length;n+=1){let a=eI(e,t[n],r);if(a)return a}return r||void 0},"userOrAutoTitle"),q0=/\s*\/\s*/,uJ=s((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",a=e.order||[],o=t.title.trim().split(q0),i=r.title.trim().split(q0);e.includeNames&&(o.push(t.name),i.push(r.name));let l=0;for(;o[l]||i[l];){if(!o[l])return-1;if(!i[l])return 1;let u=o[l],c=i[l];if(u!==c){let d=a.indexOf(u),h=a.indexOf(c),f=a.indexOf("*");return d!==-1||h!==-1?(d===-1&&(f!==-1?d=f:d=a.length),h===-1&&(f!==-1?h=f:h=a.length),d-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=a.indexOf(u);p===-1&&(p=a.indexOf("*")),a=p!==-1&&Array.isArray(a[p+1])?a[p+1]:[],l+=1}return 0},"storySort"),cJ=s((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=uJ(t),e.sort(n)}else e.sort((n,a)=>r.indexOf(n.importPath)-r.indexOf(a.importPath));return e},"sortStoriesCommon"),pJ=s((e,t,r)=>{try{return cJ(e,t,r)}catch(n){throw new Error(qe`
|
|
912
|
+
Error sorting stories with sort parameter ${t}:
|
|
913
|
+
|
|
914
|
+
> ${n.message}
|
|
915
|
+
|
|
916
|
+
Are you using a V6-style sort function in V7 mode?
|
|
917
|
+
|
|
918
|
+
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
919
|
+
`)}},"sortStoriesV7"),qc=new Error("prepareAborted"),{AbortController:M0}=globalThis;function Mf(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}s(Mf,"serializeError");var tI=class{constructor(t,r,n,a,o,i,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=a,this.id=o,this.viewMode=i,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=s(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new M0,this.renderId=Date.now(),u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(va,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(va,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),qc}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:i,title:l,name:u,tags:c,applyLoaders:p,applyBeforeEach:d,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:y}=a;r&&!t&&(this.cancelRender(),this.abortController=new M0);let b=this.abortController.signal,g=!1,v=a.usesMount;try{let D={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:s((z,R)=>y(z,R,D),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:s(async()=>{let z=await this.renderToScreen(S,n);this.teardownRender=z||(()=>{}),g=!0},"renderToCanvas"),mount:s(async(...z)=>{this.callbacks.showStoryDuringRender?.();let R=null;return await this.runPhase(b,"rendering",async()=>{R=await a.mount(D)(...z)}),v&&await this.runPhase(b,"playing"),R},"mount")};D.context=D;let S={componentId:i,title:l,kind:l,id:o,name:u,story:u,tags:c,...this.callbacks,showError:s(z=>(this.phase="errored",this.callbacks.showError(z)),"showError"),showException:s(z=>(this.phase="errored",this.callbacks.showException(z)),"showException"),forceRemount:r||this.notYetRendered,storyContext:D,storyFn:s(()=>f(D),"storyFn"),unboundStoryFn:f};if(await this.runPhase(b,"loading",async()=>{D.loaded=await p(D)}),b.aborted)return;let _=await d(D);if(this.store.addCleanupCallbacks(a,..._),this.checkIfAborted(b)||(!g&&!v&&await D.mount(),this.notYetRendered=!1,b.aborted))return;let A=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,C=s(z=>{z.error&&E.add(z.error)},"onError"),T=s(z=>{z.reason&&E.add(z.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window?.addEventListener?.("error",C),window?.addEventListener?.("unhandledrejection",T),this.disableKeyListeners=!0;try{if(v?await m(D):(D.mount=async()=>{throw new Mh({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(D))),!g)throw new dw;this.checkIfAborted(b),!A&&E.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(z){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(b,"errored",async()=>{this.channel.emit(rC,Mf(z))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw z;console.error(z)}if(!A&&E.size>0&&this.channel.emit(nC,Array.from(E).map(Mf)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",T),window?.removeEventListener?.("error",C),b.aborted)return}await this.runPhase(b,"completing",async()=>{yb()?this.store.addCleanupCallbacks(a,Bc()):await jc(b)}),await this.runPhase(b,"completed",async()=>{this.channel.emit(dl,o)}),this.phase!=="errored"&&await this.runPhase(b,"afterEach",async()=>{await h(D)});let k=!A&&E.size>0,B=D.reporting.reports.some(z=>z.status==="failed"),W=k||B;await this.runPhase(b,"finished",async()=>this.channel.emit(Kp,{storyId:o,status:W?"error":"success",reporters:D.reporting.reports}))}catch(D){this.phase="errored",this.callbacks.showException(D),await this.runPhase(b,"finished",async()=>this.channel.emit(Kp,{storyId:o,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window?.location?.reload?.(),await new Promise(()=>{})}};s(tI,"StoryRender");var Lf=tI,{fetch:dJ}=he,fJ="./index.json",rI=class{constructor(t,r,n=Er.getChannel(),a=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,i)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=i}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:s((t,r)=>{if(this.storyStoreValue)return _h("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new sw},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(cC,this.onStoryIndexChanged.bind(this)),this.channel.on(xh,this.onUpdateGlobals.bind(this)),this.channel.on(Sh,this.onUpdateArgs.bind(this)),this.channel.on(bC,this.onRequestArgTypesInfo.bind(this)),this.channel.on(wh,this.onResetArgs.bind(this)),this.channel.on(Ch,this.onForceReRender.bind(this)),this.channel.on(pl,this.onForceRemount.bind(this)),this.channel.on(mC,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new W1;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await dJ(fJ);if(t.status===200)return t.json();throw new X1({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new QF(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new or({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(iC,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new or({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new or({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:a,userGlobals:o,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Ti,{initialGlobals:n,userGlobals:o,storyGlobals:a,globals:i})}else{let{initialGlobals:n,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(Ti,{initialGlobals:n,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new or({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(sC,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Yp,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Yp,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new or({methodName:"onResetArgs"});let n=this.storyRenders.find(o=>o.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),a=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((o,i)=>(o[i]=n.initialArgs[i],o),{});await this.onUpdateArgs({storyId:t,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(t=>t.cancelPlayFunction()))}renderStoryToElement(t,r,n,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new or({methodName:"renderStoryToElement"});let o=new Lf(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",a,t);return o.renderToElement(r),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new or({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new or({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new or({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,it.error(t),it.error(r),this.channel.emit(eC,r)}};s(rI,"Preview");var nI=rI,aI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=s(o=>{let i=this.nameToStoryId.get(o);if(i)return i;throw new Error(`No story found with that name: ${o}`)},"storyIdByName"),this.componentStories=s(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=s(o=>this.store.componentStoriesFromCSFFile({csfFile:o}),"componentStoriesFromCSFFile"),this.storyById=s(o=>{if(!o){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(o);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:i})},"storyById"),this.getStoryContext=s(o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=s(o=>this.store.loadStory({storyId:o}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((o,i)=>{this.referenceCSFFile(o)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Nc(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let a=t;n=this.resolveAttachedModuleExportType(a)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let a=n.type==="component"?"component or unknown":n.type;throw new Error(qe`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${r.join(", ")}.
|
|
920
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
921
|
+
- ... or vice versa?
|
|
922
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};s(aI,"DocsContext");var Cb=aI,oI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw qc;let{importPath:n,title:a}=this.entry,o=this.store.processCSFFileWithCache(t,n,a),i=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:o}),this.csfFiles=[o,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Cb(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await a.renderer(),{render:i}=o,l=s(async()=>{try{await i(n,a,t),this.channel.emit(Eh,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||o.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};s(oI,"CsfDocsRender");var L0=oI,iI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw qc;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Cb(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.store.projectAnnotations.parameters??{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...a,page:this.exports.default},i=await a.renderer(),{render:l}=i,u=s(async()=>{try{await l(n,o,t),this.channel.emit(Eh,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};s(iI,"MdxDocsRender");var $0=iI,hJ=globalThis;function sI(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}s(sI,"focusInInput");var lI="attached-mdx",mJ="unattached-mdx";function uI({tags:e}){return e?.includes(mJ)||e?.includes(lI)}s(uI,"isMdxEntry");function nl(e){return e.type==="story"}s(nl,"isStoryRender");function cI(e){return e.type==="docs"}s(cI,"isDocsRender");function pI(e){return cI(e)&&e.subtype==="csf"}s(pI,"isCsfDocsRender");var dI=class extends nI{constructor(t,r,n,a){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),hJ.onkeydown=this.onKeydown.bind(this),this.channel.on(Ah,this.onSetCurrentStory.bind(this)),this.channel.on(yC,this.onUpdateQueryParams.bind(this)),this.channel.on(aC,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new or({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new or({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new tw):this.renderStoryLoadingException(t,new nw({storySpecifier:t.toString()}));return}let{id:a,type:o}=n;this.selectionStore.setSelection({storyId:a,viewMode:o}),this.channel.emit(dC,this.selectionStore.selection),this.channel.emit(Gp,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!sI(t)){let{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}=t;this.channel.emit(oC,{event:{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Gp,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Lf&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof $0||this.currentRender instanceof L0)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new or({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=n,o;try{o=await this.storyStoreValue.storyIdToEntry(a)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,h);return}let i=this.currentSelection?.storyId!==a,l=this.currentRender?.type!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;o.type==="story"?u=new Lf(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):uI(o)?u=new $0(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a)):u=new L0(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){p&&await this.teardownRender(p),h!==qc&&this.renderStoryLoadingException(a,h);return}let d=!i&&p&&!u.isEqual(p);if(t&&nl(u)&&(Wr(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),p&&!p.torndown&&!i&&!d&&!l){this.currentRender=p,this.channel.emit(hC,a),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:l}),c&&(i||l)&&this.channel.emit(lC,a),nl(u)){Wr(!!u.story);let{parameters:h,initialArgs:f,argTypes:m,unmappedArgs:y,initialGlobals:b,userGlobals:g,storyGlobals:v,globals:D}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(pC,{id:a,parameters:h,initialArgs:f,argTypes:m,args:y}),this.channel.emit(Ti,{userGlobals:g,storyGlobals:v,globals:D,initialGlobals:b})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(Ti,{globals:m,initialGlobals:f,storyGlobals:{},userGlobals:m}),pI(u)||u.entry.tags?.includes(lI)){if(!u.csfFiles)throw new Z1({storyId:a});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(tC,{id:a,parameters:h})}nl(u)?(Wr(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:s(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:s(()=>this.view.showMain(),"showMain"),showError:s(r=>this.renderError(t,r),"showError"),showException:s(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Wp)}renderStoryLoadingException(t,r){it.error(r),this.view.showErrorDisplay(r),this.channel.emit(Wp,t)}renderException(t,r){let{name:n="Error",message:a=String(r),stack:o}=r,i=this.currentRender?.renderId;this.channel.emit(fC,{name:n,message:a,stack:o}),this.channel.emit(va,{newPhase:"errored",renderId:i,storyId:t}),this.view.showErrorDisplay(r),it.error(`Error rendering story '${t}':`),it.error(r)}renderError(t,{title:r,description:n}){let a=this.currentRender?.renderId;this.channel.emit(uC,{title:r,description:n}),this.channel.emit(va,{newPhase:"errored",renderId:a,storyId:t}),this.view.showErrorDisplay({message:r,stack:n}),it.error(`Error rendering story ${r}: ${n}`)}};s(dI,"PreviewWithSelection");var fI=dI,$f=Et(gh(),1),yJ=Et(gh(),1),U0=/^[a-zA-Z0-9 _-]*$/,hI=/^-?[0-9]+(\.[0-9]+)?$/,gJ=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,mI=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Uf=s((e="",t)=>e===null||e===""||!U0.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?U0.test(t)||hI.test(t)||gJ.test(t)||mI.test(t):Array.isArray(t)?t.every(r=>Uf(e,r)):Dr(t)?Object.entries(t).every(([r,n])=>Uf(r,n)):!1,"validateArgs"),bJ={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(mI);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return hI.test(e)?Number(e):e}},V0=s(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,yJ.parse)(t.join(";"),bJ)).reduce((r,[n,a])=>Uf(n,a)?Object.assign(r,{[n]:a}):(vt.warn(qe`
|
|
923
|
+
Omitted potentially unsafe URL args.
|
|
924
|
+
|
|
925
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url?ref=error
|
|
926
|
+
`),r),{})},"parseArgsParam"),{history:yI,document:Ln}=he;function gI(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}s(gI,"pathToId");var bI=s(({selection:e,extraParams:t})=>{let r=Ln?.location.search.slice(1),{path:n,selectedKind:a,selectedStory:o,...i}=(0,$f.parse)(r);return`?${(0,$f.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),vJ=s(e=>{if(!e)return;let t=bI({selection:e}),{hash:r=""}=Ln.location;Ln.title=e.storyId,yI.replaceState({},"",`${Ln.location.pathname}${t}${r}`)},"setPath"),EJ=s(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Ai=s(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Ai(e[0]);if(EJ(e))return Ai(Object.values(e).filter(Boolean))}},"getFirstString"),CJ=s(()=>{if(typeof Ln<"u"){let e=Ln.location.search.slice(1),t=(0,$f.parse)(e),r=typeof t.args=="string"?V0(t.args):void 0,n=typeof t.globals=="string"?V0(t.globals):void 0,a=Ai(t.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let o=Ai(t.path),i=o?gI(o):Ai(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:a}}return null},"getSelectionSpecifierFromPath"),vI=class{constructor(){this.selectionSpecifier=CJ()}setSelection(t){this.selection=t,vJ(this.selection)}setQueryParams(t){let r=bI({extraParams:t}),{hash:n=""}=Ln.location;yI.replaceState({},"",`${Ln.location.pathname}${r}${n}`)}};s(vI,"UrlStore");var EI=vI,wJ=Et(Z3(),1),AJ=Et(gh(),1),{document:qt}=he,H0=100,CI=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(CI||{}),bp={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},vp={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},J0=new wJ.default({escapeXML:!0}),wI=class{constructor(){if(this.testing=!1,typeof qt<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,AJ.parse)(qt.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),qt.documentElement.scrollTop=0,qt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return qt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),qt.documentElement.scrollTop=0,qt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return qt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){qt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=vp[t];qt.body.classList.remove(this.currentLayoutClass),qt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){vp[t]||it.warn(qe`
|
|
927
|
+
The desired layout: ${t} is not a valid option.
|
|
928
|
+
The possible options are: ${Object.keys(vp).join(", ")}, none.
|
|
929
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(CI).forEach(r=>{r===t?qt.body.classList.add(bp[r]):qt.body.classList.remove(bp[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,a=r,o=t.split(`
|
|
930
|
+
`);o.length>1&&([n]=o,a=o.slice(1).join(`
|
|
931
|
+
`).replace(/^\n/,"")),qt.getElementById("error-message").innerHTML=J0.toHtml(n),qt.getElementById("error-stack").innerHTML=J0.toHtml(a),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),H0)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),H0)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){qt.body.classList.add(bp.MAIN)}};s(wI,"WebView");var AI=wI,xI=class extends fI{constructor(t,r){super(t,r,new EI,new AI),this.importFn=t,this.getProjectAnnotations=r,he.__STORYBOOK_PREVIEW__=this}};s(xI,"PreviewWeb");var xJ=xI,{document:ga}=he,SJ=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],_J="script",z0="scripts-root";function au(){let e=ga.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),ga.dispatchEvent(e)}s(au,"simulateDOMContentLoaded");function SI(e,t,r){let n=ga.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):ga.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}s(SI,"insertScript");function wb(e,t,r=0){e[r](()=>{r++,r===e.length?t():wb(e,t,r)})}s(wb,"insertScriptsSequentially");function _I(e){let t=ga.getElementById(z0);t?t.innerHTML="":(t=ga.createElement("div"),t.id=z0,ga.body.appendChild(t));let r=Array.from(e.querySelectorAll(_J));if(r.length){let n=[];r.forEach(a=>{let o=a.getAttribute("type");(!o||SJ.includes(o))&&n.push(i=>SI(a,i,t))}),n.length&&wb(n,au,void 0)}else au()}s(_I,"simulatePageLoad");var TJ="storybook/docs",PJ=`${TJ}/snippet-rendered`;async function TI(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:a}=t,o=r&&e?r?.(e,t):e,i=o?await o:void 0;Er.getChannel().emit(PJ,{id:n,source:i,args:a})}s(TI,"emitTransformCode");var Ki={depth:10,clearOnStoryChange:!0,limit:50},DJ=s((e={})=>{Object.assign(Ki,e)},"configureActions"),PI=s((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:PI(r,t)},"findProto"),OJ=s(e=>!!(typeof e=="object"&&e&&PI(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),RJ=s(e=>{if(OJ(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Vo(e,t={}){let r={...Ki,...t},n=s(function(...a){if(t.implicit){let d=("__STORYBOOK_PREVIEW__"in he?he.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(h=>h.phase==="playing"||h.phase==="rendering");if(d){let h=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,f=new H1({phase:d.phase,name:e,deprecated:h});if(h)console.warn(f);else throw f}}let o=Er.getChannel(),i=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,u=a.map(RJ),c=a.length>1?u:u[0],p={id:i,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};o.emit(ww,p)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}s(Vo,"action");var FJ=s((...e)=>{let t=Ki,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...Ki,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let a={};return Object.keys(n).forEach(o=>{a[o]=Vo(n[o],t)}),a},"actions"),IJ={"@storybook/global":vC,"storybook/test":$w,"storybook/actions":Cw,"storybook/preview-api":ed,"storybook/internal/channels":CC,"storybook/internal/client-logger":AC,"storybook/internal/core-events":bh,"storybook/internal/types":vw,"storybook/internal/preview-errors":j1,"storybook/internal/preview-api":ed};async function DI(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}NJ(t,r)}s(DI,"maybeSetupPreviewNavigator");var NJ=s(async(e,t)=>{let r={entries:{}};for(let l of Object.values(e.entries)){let u=l.title.split("/"),c=r;for(let p of u)c.entries||(c.entries={}),c.entries[p]?t===l.id&&(c.entries[p].isActive=!0):c.entries[p]={title:p,isActive:t===l.id,entries:{}},c=c.entries[p];c.entries||(c.entries={}),c.entries[l.name]={id:l.id,name:l.name,href:`?id=${l.id}&viewMode=${l.type}&navigator=true`,isActive:t===l.id}}let n=s(l=>{if("entries"in l&&"title"in l){let c=l;return`
|
|
932
|
+
<li class="sb-navigator-branch">
|
|
933
|
+
<details${c.isActive?" open":""}>
|
|
934
|
+
<summary class="sb-navigator-title">
|
|
935
|
+
${c.title}
|
|
936
|
+
</summary>
|
|
937
|
+
<ul class="sb-navigator-entries" aria-label="${c.title}">
|
|
938
|
+
${Object.values(c.entries).map(n).join("")}
|
|
939
|
+
</ul>
|
|
940
|
+
</details>
|
|
941
|
+
</li>
|
|
942
|
+
`}let u=l;return`
|
|
943
|
+
<li class="sb-navigator-story-item">
|
|
944
|
+
<a href="${u.href}"
|
|
945
|
+
class="sb-navigator-story-link${u.isActive?" active":""}"
|
|
946
|
+
aria-current="${u.isActive?"location":"false"}">${u.name}</a>
|
|
947
|
+
</li>
|
|
948
|
+
`},"createHtmlForNode"),a=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
|
|
949
|
+
<ul class="sb-navigator-list">${a}</ul>
|
|
950
|
+
`,document.body.insertBefore(o,document.body.firstChild);let i=document.createElement("style");i.id="sb-navigator-style",i.textContent=`
|
|
951
|
+
body {
|
|
952
|
+
display: grid !important;
|
|
953
|
+
grid-template-columns: 300px 1fr;
|
|
954
|
+
font-family: 'Nunito', sans-serif;
|
|
955
|
+
height: 100vh;
|
|
956
|
+
margin: 0;
|
|
957
|
+
|
|
958
|
+
--text-color: rgb(46, 52, 56);
|
|
959
|
+
--bg-color: rgb(246, 249, 252);
|
|
960
|
+
|
|
961
|
+
@media (prefers-color-scheme: dark) {
|
|
962
|
+
--text-color: rgb(201, 205, 207);
|
|
963
|
+
--bg-color: rgb(34, 36, 37);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
#storybook-root, #storybook-docs {
|
|
967
|
+
overflow-y: auto;
|
|
968
|
+
max-height: 100vh;
|
|
969
|
+
max-width: 100%;
|
|
970
|
+
}
|
|
971
|
+
#sb-navigator-container, #sb-navigator-container * {
|
|
972
|
+
box-sizing: border-box;
|
|
973
|
+
}
|
|
974
|
+
#sb-navigator-container {
|
|
975
|
+
height: 100vh;
|
|
976
|
+
overflow-y: auto;
|
|
977
|
+
border-right: 1px solid #eee;
|
|
978
|
+
padding: 1rem;
|
|
979
|
+
font-size: 14px;
|
|
980
|
+
color: var(--text-color);
|
|
981
|
+
background-color: var(--bg-color);
|
|
982
|
+
align-self: start;
|
|
983
|
+
z-index: 1000;
|
|
984
|
+
}
|
|
985
|
+
.sb-main-padded #sb-navigator-container {
|
|
986
|
+
margin: -1rem 1rem -1rem -1rem;
|
|
987
|
+
}
|
|
988
|
+
.sb-navigator-list {
|
|
989
|
+
list-style-type: none;
|
|
990
|
+
padding: 0;
|
|
991
|
+
margin: 0;
|
|
992
|
+
}
|
|
993
|
+
.sb-navigator-branch {
|
|
994
|
+
list-style-type: none;
|
|
995
|
+
}
|
|
996
|
+
.sb-navigator-item {
|
|
997
|
+
margin-bottom: 15px;
|
|
998
|
+
}
|
|
999
|
+
.sb-navigator-title {
|
|
1000
|
+
color: var(--text-color);
|
|
1001
|
+
text-decoration: none;
|
|
1002
|
+
padding-block: 5px;
|
|
1003
|
+
cursor: pointer;
|
|
1004
|
+
}
|
|
1005
|
+
.sb-navigator-entries {
|
|
1006
|
+
padding-left: 15px;
|
|
1007
|
+
}
|
|
1008
|
+
.sb-navigator-story-item {
|
|
1009
|
+
margin-bottom: 8px;
|
|
1010
|
+
margin-left: 8px;
|
|
1011
|
+
}
|
|
1012
|
+
.sb-navigator-story-link {
|
|
1013
|
+
color: var(--text-color);
|
|
1014
|
+
}
|
|
1015
|
+
.sb-navigator-story-link.active {
|
|
1016
|
+
font-weight: bold;
|
|
1017
|
+
color: rgb(2, 156, 253);
|
|
1018
|
+
}
|
|
1019
|
+
`,document.head.appendChild(i),o.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},"setupPreviewNavigator"),kJ=Et(e5(),1),Ep;function OI(){return Ep||(Ep=new kJ.default(he.navigator?.userAgent).getBrowserInfo()),Ep}s(OI,"getBrowserInfo");function RI(e){return e.browserInfo=OI(),e}s(RI,"prepareForTelemetry");function FI(e){let t=e.error||e;t.fromStorybook&&he.sendTelemetryError(t)}s(FI,"errorListener");function II({reason:e}){e.fromStorybook&&he.sendTelemetryError(e)}s(II,"unhandledRejectionListener");function Ab(){S5.forEach(e=>{he[EC[e]]=IJ[e]}),he.sendTelemetryError=e=>{he.__STORYBOOK_ADDONS_CHANNEL__.emit(gC,RI(e))},he.addEventListener("error",FI),he.addEventListener("unhandledrejection",II),DI()}s(Ab,"setup");Ab();const{createBrowserChannel:BJ}=__STORYBOOK_MODULE_CHANNELS__,{addons:jJ}=__STORYBOOK_MODULE_PREVIEW_API__,xb=BJ({page:"preview"});jJ.setChannel(xb);window.__STORYBOOK_ADDONS_CHANNEL__=xb;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=xb);const qJ={"./src/components/ActionMenu/ActionMenu.stories.tsx":()=>Ve(()=>import("./ActionMenu.stories-DqSqRGix.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]),import.meta.url),"./src/components/AppBar/AppBar.stories.tsx":()=>Ve(()=>import("./AppBar.stories-DcX3M5th.js"),__vite__mapDeps([48,1,49,4,5,50,51,52,53,11,12,25,30,54,40,27,7,8,9,10,13,14,15,16,17,18,19,20,21,22,23,24,26,28,55,29,31,32,33,34,35,41,37,36,38,39,44,47]),import.meta.url),"./src/components/Autocomplete/Autocomplete.stories.tsx":()=>Ve(()=>import("./Autocomplete.stories-CXJm8FOT.js"),__vite__mapDeps([56,1,57,53,58,5,4,46,25,9,10,26,13,27,23,55,54,12,28,40,11,59,29,8,30,21,31,32,19,16,17,18,33,34,22,35,14,15,60,61,20,24,62,63,64,65,44,47]),import.meta.url),"./src/components/Avatar/Avatar.stories.tsx":()=>Ve(()=>import("./Avatar.stories-CwOYCzqU.js"),__vite__mapDeps([66,1,67,4,5,54,12,40,27,25,55,9,10,7,8,11,13,14,15,16,17,18,19,20,21,22,23,47]),import.meta.url),"./src/components/Button/Button.stories.tsx":()=>Ve(()=>import("./Button.stories-F20dmnjq.js"),__vite__mapDeps([68,1,69,44,5,25,15,26,13,27,10,23,28,49,4,47]),import.meta.url),"./src/components/Card/Card.stories.tsx":()=>Ve(()=>import("./Card.stories-B3NpAhO0.js"),__vite__mapDeps([70,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,50,53,54,64,65,46,44,47]),import.meta.url),"./src/components/Chip/Chip.stories.tsx":()=>Ve(()=>import("./Chip.stories-sxcfHVo9.js"),__vite__mapDeps([71,1,43,4,5,72,46,25,9,10,26,13,27,23,55,54,12,40,47]),import.meta.url),"./src/components/DatePicker/DatePicker.stories.tsx":()=>Ve(()=>import("./DatePicker.stories-EaUCMkh3.js"),__vite__mapDeps([73,1,74,57,75,5,13,8,9,10,76,65,12,40,27,25,35,11,16,17,18,19,34,31,21,22,30,20,77,14,15,44,26,23,28,78,79,29,32,33,63,46,4,62,59,80,24,53,81,54,47]),import.meta.url),"./src/components/DateRangePicker/DateRangePicker.stories.tsx":()=>Ve(()=>import("./DateRangePicker.stories-BMlkj-8K.js"),__vite__mapDeps([82,1,75,5,13,8,9,10,76,65,12,40,27,25,35,11,16,17,18,19,34,31,21,22,30,20,77,14,15,44,26,23,28,78,79,29,32,33,63,46,4,62,59,80,24,83,54,47]),import.meta.url),"./src/components/DateTimePicker/DateTimePicker.stories.tsx":()=>Ve(()=>import("./DateTimePicker.stories-B6gdzKq5.js"),__vite__mapDeps([84,1,75,5,13,8,9,10,76,65,12,40,27,25,35,11,16,17,18,19,34,31,21,22,30,20,77,14,15,44,26,23,28,78,79,29,32,33,63,46,4,62,59,80,24,57,53,85,83,81,41,37,36,54,47]),import.meta.url),"./src/components/Drawer/Drawer.stories.tsx":()=>Ve(()=>import("./Drawer.stories-C5AZkJBk.js"),__vite__mapDeps([86,1,87,4,5,50,51,52,49,53,11,12,88,8,9,10,33,16,13,17,18,32,31,21,34,22,35,30,54,24,25,15,26,27,23,28,7,14,19,20,40,55,47]),import.meta.url),"./src/components/Flyout/Flyout.stories.tsx":()=>Ve(()=>import("./Flyout.stories-Cf7z6MNw.js"),__vite__mapDeps([89,1,90,4,5,88,8,9,10,11,12,33,16,13,17,18,32,31,21,34,22,35,30,54,40,27,25,24,15,26,23,28,41,37,91,57,53,62,59,29,19,14,63,44,79,39,47]),import.meta.url),"./src/components/Gallery/Gallery.stories.tsx":()=>Ve(()=>import("./Gallery.stories-DdpWVTF6.js"),__vite__mapDeps([92,1,93,4,5,94,54,12,24,25,15,26,13,27,10,23,28,90,69,44,78,11,9,30,35,16,17,18,34,31,21,22,64,65,40,77,47]),import.meta.url),"./src/components/Icon/Icon.stories.tsx":()=>Ve(()=>import("./Icon.stories-D0mUiW_t.js"),__vite__mapDeps([95,1,5,61,25,9,10,49,4,51,47]),import.meta.url),"./src/components/Input/Input.stories.tsx":()=>Ve(()=>import("./Input.stories-BRxekliy.js"),__vite__mapDeps([96,1,91,57,53,11,5,12,62,9,10,15,59,29,8,30,21,31,32,19,16,13,17,18,33,34,22,35,14,4,25,40,27,63,54,47]),import.meta.url),"./src/components/InputGroup/InputGroup.stories.tsx":()=>Ve(()=>import("./InputGroup.stories-DH6gUfmn.js"),__vite__mapDeps([97,1,75,5,13,8,9,10,76,65,12,40,27,25,35,11,16,17,18,19,34,31,21,22,30,20,77,14,15,44,26,23,28,78,79,29,32,33,63,46,4,62,59,80,24,54,91,57,53,98,58,55,36,37,38,69,74,81,47]),import.meta.url),"./src/components/MenuButton/MenuButton.stories.tsx":()=>Ve(()=>import("./MenuButton.stories-B-W_QVDt.js"),__vite__mapDeps([99,1,44,5,25,15,26,13,27,10,23,28,29,8,9,30,11,12,21,31,32,19,16,17,18,33,34,22,35,36,37,38,40,67,4,51,52,6,50,49,2,47]),import.meta.url),"./src/components/Modal/Modal.stories.tsx":()=>Ve(()=>import("./Modal.stories-DIWzm4qR.js"),__vite__mapDeps([100,1,57,2,4,5,101,72,54,12,64,65,44,25,15,26,13,27,10,23,28,40,11,77,34,31,21,9,22,17,18,16,35,30,91,53,62,59,29,8,32,19,33,14,63,102,103,104,60,24,47]),import.meta.url),"./src/components/PageLoader/PageLoader.stories.tsx":()=>Ve(()=>import("./PageLoader.stories-DmtO1mlm.js"),__vite__mapDeps([105,1,35,11,5,12,16,13,17,18,10,54,28,25,27,40,30,44,15,26,23,47]),import.meta.url),"./src/components/ScrollTopButton/ScrollTopButton.stories.tsx":()=>Ve(()=>import("./ScrollTopButton.stories-BflQCwNP.js"),__vite__mapDeps([106,1,4,5,93,53,11,12,16,13,17,18,10,25,26,27,23,54,40,64,65,44,15,28,47]),import.meta.url),"./src/components/Select/Select.stories.tsx":()=>Ve(()=>import("./Select.stories-DU1Gb3I2.js"),__vite__mapDeps([107,1,98,57,53,58,5,4,62,9,10,15,59,29,8,30,11,12,21,31,32,19,16,13,17,18,33,34,22,35,14,25,40,27,63,54,46,26,23,55,36,37,38,28,47]),import.meta.url),"./src/components/Stat/Stat.stories.tsx":()=>Ve(()=>import("./Stat.stories-Bn9-iuPT.js"),__vite__mapDeps([108,1,54,5,12,40,27,25,64,65,46,4,9,10,26,13,23,47]),import.meta.url),"./src/components/StatusMessage/StatusMessage.stories.tsx":()=>Ve(()=>import("./StatusMessage.stories-hnfX8FeU.js"),__vite__mapDeps([109,1,78,5,11,12,9,10,30,35,16,13,17,18,15,34,31,21,22,54,40,27,25,44,26,23,28,104,4,60,24,101,72,47]),import.meta.url),"./src/components/Stepper/Stepper.stories.tsx":()=>Ve(()=>import("./Stepper.stories-CTEZbgPc.js"),__vite__mapDeps([110,1,111,54,5,12,9,10,4,69,44,25,15,26,13,27,23,28,47]),import.meta.url),"./src/components/Table/Table.stories.tsx":()=>Ve(()=>import("./Table.stories-CTn2Ktmn.js"),__vite__mapDeps([112,1,4,5,94,113,45,59,29,8,9,10,30,11,12,21,31,32,19,16,13,17,18,33,34,22,35,14,15,25,40,27,26,23,54,36,37,24,28,44,103,104,60,55,46,80,47]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":()=>Ve(()=>import("./Tabs.stories-BFVuFy_5.js"),__vite__mapDeps([114,1,54,5,12,85,26,13,27,10,23,8,9,11,32,31,21,4,87,51,47]),import.meta.url),"./src/components/Timeline/Timeline.stories.tsx":()=>Ve(()=>import("./Timeline.stories-DJU_U2Hv.js"),__vite__mapDeps([115,1,5,76,65,12,63,40,27,25,54,47]),import.meta.url),"./src/components/Tooltip/Tooltip.stories.tsx":()=>Ve(()=>import("./Tooltip.stories-B7tA3dnV.js"),__vite__mapDeps([116,1,7,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,54,40,27,25,91,57,53,62,59,29,30,31,32,33,34,35,4,63,44,26,28,64,65,47]),import.meta.url),"./src/hooks/ClipBoard/ClipBoard.stories.tsx":()=>Ve(()=>import("./ClipBoard.stories-BGUo47r6.js"),__vite__mapDeps([117,1,42,4,5,102,103,13,9,10,11,12,16,17,18,21,30,19,104,25,60,24,15,26,27,23,28,64,65,40,54,113,45,44,47]),import.meta.url),"./src/hooks/Wizard/Wizard.stories.tsx":()=>Ve(()=>import("./Wizard.stories-CVrJLK_D.js"),__vite__mapDeps([118,1,111,54,5,12,9,10,4,30,11,104,25,60,24,15,26,13,27,23,28,40,64,65,44,47]),import.meta.url)};async function MJ(e){return await qJ[e]()}function LJ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cp={exports:{}},Fe={};/**
|
|
1020
|
+
* @license React
|
|
1021
|
+
* react.production.js
|
|
1022
|
+
*
|
|
1023
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1024
|
+
*
|
|
1025
|
+
* This source code is licensed under the MIT license found in the
|
|
1026
|
+
* LICENSE file in the root directory of this source tree.
|
|
1027
|
+
*/var G0;function $J(){if(G0)return Fe;G0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;function h($){return $===null||typeof $!="object"?null:($=d&&$[d]||$["@@iterator"],typeof $=="function"?$:null)}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function b($,K,U){this.props=$,this.context=K,this.refs=y,this.updater=U||f}b.prototype.isReactComponent={},b.prototype.setState=function($,K){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,K,"setState")},b.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function g(){}g.prototype=b.prototype;function v($,K,U){this.props=$,this.context=K,this.refs=y,this.updater=U||f}var D=v.prototype=new g;D.constructor=v,m(D,b.prototype),D.isPureReactComponent=!0;var S=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},A=Object.prototype.hasOwnProperty;function E($,K,U,Y,ee,se){return U=se.ref,{$$typeof:e,type:$,key:K,ref:U!==void 0?U:null,props:se}}function C($,K){return E($.type,K,void 0,void 0,void 0,$.props)}function T($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function k($){var K={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(U){return K[U]})}var B=/\/+/g;function W($,K){return typeof $=="object"&&$!==null&&$.key!=null?k(""+$.key):K.toString(36)}function z(){}function R($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(z,z):($.status="pending",$.then(function(K){$.status==="pending"&&($.status="fulfilled",$.value=K)},function(K){$.status==="pending"&&($.status="rejected",$.reason=K)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function L($,K,U,Y,ee){var se=typeof $;(se==="undefined"||se==="boolean")&&($=null);var te=!1;if($===null)te=!0;else switch(se){case"bigint":case"string":case"number":te=!0;break;case"object":switch($.$$typeof){case e:case t:te=!0;break;case p:return te=$._init,L(te($._payload),K,U,Y,ee)}}if(te)return ee=ee($),te=Y===""?"."+W($,0):Y,S(ee)?(U="",te!=null&&(U=te.replace(B,"$&/")+"/"),L(ee,K,U,"",function(Xe){return Xe})):ee!=null&&(T(ee)&&(ee=C(ee,U+(ee.key==null||$&&$.key===ee.key?"":(""+ee.key).replace(B,"$&/")+"/")+te)),K.push(ee)),1;te=0;var pe=Y===""?".":Y+":";if(S($))for(var me=0;me<$.length;me++)Y=$[me],se=pe+W(Y,me),te+=L(Y,K,U,se,ee);else if(me=h($),typeof me=="function")for($=me.call($),me=0;!(Y=$.next()).done;)Y=Y.value,se=pe+W(Y,me++),te+=L(Y,K,U,se,ee);else if(se==="object"){if(typeof $.then=="function")return L(R($),K,U,Y,ee);throw K=String($),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return te}function j($,K,U){if($==null)return $;var Y=[],ee=0;return L($,Y,"","",function(se){return K.call(U,se,ee++)}),Y}function X($){if($._status===-1){var K=$._result;K=K(),K.then(function(U){($._status===0||$._status===-1)&&($._status=1,$._result=U)},function(U){($._status===0||$._status===-1)&&($._status=2,$._result=U)}),$._status===-1&&($._status=0,$._result=K)}if($._status===1)return $._result.default;throw $._result}var Q=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)};function oe(){}return Fe.Children={map:j,forEach:function($,K,U){j($,function(){K.apply(this,arguments)},U)},count:function($){var K=0;return j($,function(){K++}),K},toArray:function($){return j($,function(K){return K})||[]},only:function($){if(!T($))throw Error("React.Children.only expected to receive a single React element child.");return $}},Fe.Component=b,Fe.Fragment=r,Fe.Profiler=a,Fe.PureComponent=v,Fe.StrictMode=n,Fe.Suspense=u,Fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,Fe.__COMPILER_RUNTIME={__proto__:null,c:function($){return _.H.useMemoCache($)}},Fe.cache=function($){return function(){return $.apply(null,arguments)}},Fe.cloneElement=function($,K,U){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var Y=m({},$.props),ee=$.key,se=void 0;if(K!=null)for(te in K.ref!==void 0&&(se=void 0),K.key!==void 0&&(ee=""+K.key),K)!A.call(K,te)||te==="key"||te==="__self"||te==="__source"||te==="ref"&&K.ref===void 0||(Y[te]=K[te]);var te=arguments.length-2;if(te===1)Y.children=U;else if(1<te){for(var pe=Array(te),me=0;me<te;me++)pe[me]=arguments[me+2];Y.children=pe}return E($.type,ee,void 0,void 0,se,Y)},Fe.createContext=function($){return $={$$typeof:i,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:o,_context:$},$},Fe.createElement=function($,K,U){var Y,ee={},se=null;if(K!=null)for(Y in K.key!==void 0&&(se=""+K.key),K)A.call(K,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(ee[Y]=K[Y]);var te=arguments.length-2;if(te===1)ee.children=U;else if(1<te){for(var pe=Array(te),me=0;me<te;me++)pe[me]=arguments[me+2];ee.children=pe}if($&&$.defaultProps)for(Y in te=$.defaultProps,te)ee[Y]===void 0&&(ee[Y]=te[Y]);return E($,se,void 0,void 0,null,ee)},Fe.createRef=function(){return{current:null}},Fe.forwardRef=function($){return{$$typeof:l,render:$}},Fe.isValidElement=T,Fe.lazy=function($){return{$$typeof:p,_payload:{_status:-1,_result:$},_init:X}},Fe.memo=function($,K){return{$$typeof:c,type:$,compare:K===void 0?null:K}},Fe.startTransition=function($){var K=_.T,U={};_.T=U;try{var Y=$(),ee=_.S;ee!==null&&ee(U,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(oe,Q)}catch(se){Q(se)}finally{_.T=K}},Fe.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},Fe.use=function($){return _.H.use($)},Fe.useActionState=function($,K,U){return _.H.useActionState($,K,U)},Fe.useCallback=function($,K){return _.H.useCallback($,K)},Fe.useContext=function($){return _.H.useContext($)},Fe.useDebugValue=function(){},Fe.useDeferredValue=function($,K){return _.H.useDeferredValue($,K)},Fe.useEffect=function($,K,U){var Y=_.H;if(typeof U=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Y.useEffect($,K)},Fe.useId=function(){return _.H.useId()},Fe.useImperativeHandle=function($,K,U){return _.H.useImperativeHandle($,K,U)},Fe.useInsertionEffect=function($,K){return _.H.useInsertionEffect($,K)},Fe.useLayoutEffect=function($,K){return _.H.useLayoutEffect($,K)},Fe.useMemo=function($,K){return _.H.useMemo($,K)},Fe.useOptimistic=function($,K){return _.H.useOptimistic($,K)},Fe.useReducer=function($,K,U){return _.H.useReducer($,K,U)},Fe.useRef=function($){return _.H.useRef($)},Fe.useState=function($){return _.H.useState($)},Fe.useSyncExternalStore=function($,K,U){return _.H.useSyncExternalStore($,K,U)},Fe.useTransition=function(){return _.H.useTransition()},Fe.version="19.1.1",Fe}var W0;function UJ(){return W0||(W0=1,Cp.exports=$J()),Cp.exports}var Lt=UJ();const br=LJ(Lt),EX=DN({__proto__:null,default:br},[Lt]),{defaultDecorateStory:VJ}=__STORYBOOK_MODULE_PREVIEW_API__;var Sb=(e,t)=>VJ(r=>br.createElement(e,r),t),HJ=Object.create,Mc=Object.defineProperty,JJ=Object.getOwnPropertyDescriptor,_b=Object.getOwnPropertyNames,zJ=Object.getPrototypeOf,GJ=Object.prototype.hasOwnProperty,WJ=(e,t)=>function(){return e&&(t=(0,e[_b(e)[0]])(e=0)),t},ve=(e,t)=>function(){return t||(0,e[_b(e)[0]])((t={exports:{}}).exports,t),t.exports},Lc=(e,t)=>{for(var r in t)Mc(e,r,{get:t[r],enumerable:!0})},NI=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of _b(t))!GJ.call(e,a)&&a!==r&&Mc(e,a,{get:()=>t[a],enumerable:!(n=JJ(t,a))||n.enumerable});return e},Ho=(e,t,r)=>(r=e!=null?HJ(zJ(e)):{},NI(!e||!e.__esModule?Mc(r,"default",{value:e,enumerable:!0}):r,e)),K0=e=>NI(Mc({},"__esModule",{value:!0}),e),wp={};const{global:KJ}=__STORYBOOK_MODULE_GLOBAL__;var $c=ve({"../../node_modules/semver/internal/constants.js"(e,t){var r="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,o=250,i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),Uc=ve({"../../node_modules/semver/internal/debug.js"(e,t){var r=typeof process=="object"&&wp&&wp.NODE_DEBUG&&/\bsemver\b/i.test(wp.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};t.exports=r}}),Cs=ve({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:a}=$c(),o=Uc();e=t.exports={};var i=e.re=[],l=e.safeRe=[],u=e.src=[],c=e.safeSrc=[],p=e.t={},d=0,h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",a],[h,n]],m=b=>{for(let[g,v]of f)b=b.split(`${g}*`).join(`${g}{0,${v}}`).split(`${g}+`).join(`${g}{1,${v}}`);return b},y=(b,g,v)=>{let D=m(g),S=d++;o(b,S,g),p[b]=S,u[S]=g,c[S]=D,i[S]=new RegExp(g,v?"g":void 0),l[S]=new RegExp(D,v?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),y("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${h}+`),y("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),y("FULL",`^${u[p.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),y("LOOSE",`^${u[p.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),y("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?(?:${u[p.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",u[p.COERCE],!0),y("COERCERTLFULL",u[p.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Tb=ve({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),a=o=>o?typeof o!="object"?r:o:n;t.exports=a}}),kI=ve({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(o,i)=>{let l=r.test(o),u=r.test(i);return l&&u&&(o=+o,i=+i),o===i?0:l&&!u?-1:u&&!l?1:o<i?-1:1},a=(o,i)=>n(i,o);t.exports={compareIdentifiers:n,rcompareIdentifiers:a}}}),zt=ve({"../../node_modules/semver/classes/semver.js"(e,t){var r=Uc(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:a}=$c(),{safeRe:o,t:i}=Cs(),l=Tb(),{compareIdentifiers:u}=kI(),c=class Vr{constructor(d,h){if(h=l(h),d instanceof Vr){if(d.loose===!!h.loose&&d.includePrerelease===!!h.includePrerelease)return d;d=d.version}else if(typeof d!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof d}".`);if(d.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",d,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;let f=d.trim().match(h.loose?o[i.LOOSE]:o[i.FULL]);if(!f)throw new TypeError(`Invalid Version: ${d}`);if(this.raw=d,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(m=>{if(/^[0-9]+$/.test(m)){let y=+m;if(y>=0&&y<a)return y}return m}):this.prerelease=[],this.build=f[5]?f[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(d){if(r("SemVer.compare",this.version,this.options,d),!(d instanceof Vr)){if(typeof d=="string"&&d===this.version)return 0;d=new Vr(d,this.options)}return d.version===this.version?0:this.compareMain(d)||this.comparePre(d)}compareMain(d){return d instanceof Vr||(d=new Vr(d,this.options)),u(this.major,d.major)||u(this.minor,d.minor)||u(this.patch,d.patch)}comparePre(d){if(d instanceof Vr||(d=new Vr(d,this.options)),this.prerelease.length&&!d.prerelease.length)return-1;if(!this.prerelease.length&&d.prerelease.length)return 1;if(!this.prerelease.length&&!d.prerelease.length)return 0;let h=0;do{let f=this.prerelease[h],m=d.prerelease[h];if(r("prerelease compare",h,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f!==m)return u(f,m)}while(++h)}compareBuild(d){d instanceof Vr||(d=new Vr(d,this.options));let h=0;do{let f=this.build[h],m=d.build[h];if(r("build compare",h,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f!==m)return u(f,m)}while(++h)}inc(d,h,f){if(d.startsWith("pre")){if(!h&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(h){let m=`-${h}`.match(this.options.loose?o[i.PRERELEASELOOSE]:o[i.PRERELEASE]);if(!m||m[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(d){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,f),this.inc("pre",h,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,f),this.inc("pre",h,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let m=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[m];else{let y=this.prerelease.length;for(;--y>=0;)typeof this.prerelease[y]=="number"&&(this.prerelease[y]++,y=-2);if(y===-1){if(h===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(m)}}if(h){let y=[h,m];f===!1&&(y=[h]),u(this.prerelease[0],h)===0?isNaN(this.prerelease[1])&&(this.prerelease=y):this.prerelease=y}break}default:throw new Error(`invalid increment argument: ${d}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=c}}),Jo=ve({"../../node_modules/semver/functions/parse.js"(e,t){var r=zt(),n=(a,o,i=!1)=>{if(a instanceof r)return a;try{return new r(a,o)}catch(l){if(!i)return null;throw l}};t.exports=n}}),YJ=ve({"../../node_modules/semver/functions/valid.js"(e,t){var r=Jo(),n=(a,o)=>{let i=r(a,o);return i?i.version:null};t.exports=n}}),XJ=ve({"../../node_modules/semver/functions/clean.js"(e,t){var r=Jo(),n=(a,o)=>{let i=r(a.trim().replace(/^[=v]+/,""),o);return i?i.version:null};t.exports=n}}),QJ=ve({"../../node_modules/semver/functions/inc.js"(e,t){var r=zt(),n=(a,o,i,l,u)=>{typeof i=="string"&&(u=l,l=i,i=void 0);try{return new r(a instanceof r?a.version:a,i).inc(o,l,u).version}catch{return null}};t.exports=n}}),ZJ=ve({"../../node_modules/semver/functions/diff.js"(e,t){var r=Jo(),n=(a,o)=>{let i=r(a,null,!0),l=r(o,null,!0),u=i.compare(l);if(u===0)return null;let c=u>0,p=c?i:l,d=c?l:i,h=!!p.prerelease.length;if(d.prerelease.length&&!h){if(!d.patch&&!d.minor)return"major";if(d.compareMain(p)===0)return d.minor&&!d.patch?"minor":"patch"}let f=h?"pre":"";return i.major!==l.major?f+"major":i.minor!==l.minor?f+"minor":i.patch!==l.patch?f+"patch":"prerelease"};t.exports=n}}),ez=ve({"../../node_modules/semver/functions/major.js"(e,t){var r=zt(),n=(a,o)=>new r(a,o).major;t.exports=n}}),tz=ve({"../../node_modules/semver/functions/minor.js"(e,t){var r=zt(),n=(a,o)=>new r(a,o).minor;t.exports=n}}),rz=ve({"../../node_modules/semver/functions/patch.js"(e,t){var r=zt(),n=(a,o)=>new r(a,o).patch;t.exports=n}}),nz=ve({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Jo(),n=(a,o)=>{let i=r(a,o);return i&&i.prerelease.length?i.prerelease:null};t.exports=n}}),Fr=ve({"../../node_modules/semver/functions/compare.js"(e,t){var r=zt(),n=(a,o,i)=>new r(a,i).compare(new r(o,i));t.exports=n}}),az=ve({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=Fr(),n=(a,o,i)=>r(o,a,i);t.exports=n}}),oz=ve({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=Fr(),n=(a,o)=>r(a,o,!0);t.exports=n}}),Pb=ve({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=zt(),n=(a,o,i)=>{let l=new r(a,i),u=new r(o,i);return l.compare(u)||l.compareBuild(u)};t.exports=n}}),iz=ve({"../../node_modules/semver/functions/sort.js"(e,t){var r=Pb(),n=(a,o)=>a.sort((i,l)=>r(i,l,o));t.exports=n}}),sz=ve({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Pb(),n=(a,o)=>a.sort((i,l)=>r(l,i,o));t.exports=n}}),Vc=ve({"../../node_modules/semver/functions/gt.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)>0;t.exports=n}}),Db=ve({"../../node_modules/semver/functions/lt.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)<0;t.exports=n}}),BI=ve({"../../node_modules/semver/functions/eq.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)===0;t.exports=n}}),jI=ve({"../../node_modules/semver/functions/neq.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)!==0;t.exports=n}}),Ob=ve({"../../node_modules/semver/functions/gte.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)>=0;t.exports=n}}),Rb=ve({"../../node_modules/semver/functions/lte.js"(e,t){var r=Fr(),n=(a,o,i)=>r(a,o,i)<=0;t.exports=n}}),qI=ve({"../../node_modules/semver/functions/cmp.js"(e,t){var r=BI(),n=jI(),a=Vc(),o=Ob(),i=Db(),l=Rb(),u=(c,p,d,h)=>{switch(p){case"===":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c===d;case"!==":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c!==d;case"":case"=":case"==":return r(c,d,h);case"!=":return n(c,d,h);case">":return a(c,d,h);case">=":return o(c,d,h);case"<":return i(c,d,h);case"<=":return l(c,d,h);default:throw new TypeError(`Invalid operator: ${p}`)}};t.exports=u}}),lz=ve({"../../node_modules/semver/functions/coerce.js"(e,t){var r=zt(),n=Jo(),{safeRe:a,t:o}=Cs(),i=(l,u)=>{if(l instanceof r)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;u=u||{};let c=null;if(!u.rtl)c=l.match(u.includePrerelease?a[o.COERCEFULL]:a[o.COERCE]);else{let y=u.includePrerelease?a[o.COERCERTLFULL]:a[o.COERCERTL],b;for(;(b=y.exec(l))&&(!c||c.index+c[0].length!==l.length);)(!c||b.index+b[0].length!==c.index+c[0].length)&&(c=b),y.lastIndex=b.index+b[1].length+b[2].length;y.lastIndex=-1}if(c===null)return null;let p=c[2],d=c[3]||"0",h=c[4]||"0",f=u.includePrerelease&&c[5]?`-${c[5]}`:"",m=u.includePrerelease&&c[6]?`+${c[6]}`:"";return n(`${p}.${d}.${h}${f}${m}`,u)};t.exports=i}}),uz=ve({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let a=this.map.get(n);if(a!==void 0)return this.map.delete(n),this.map.set(n,a),a}delete(n){return this.map.delete(n)}set(n,a){if(!this.delete(n)&&a!==void 0){if(this.map.size>=this.max){let o=this.map.keys().next().value;this.delete(o)}this.map.set(n,a)}return this}};t.exports=r}}),Ir=ve({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class al{constructor(X,Q){if(Q=i(Q),X instanceof al)return X.loose===!!Q.loose&&X.includePrerelease===!!Q.includePrerelease?X:new al(X.raw,Q);if(X instanceof l)return this.raw=X.value,this.set=[[X]],this.formatted=void 0,this;if(this.options=Q,this.loose=!!Q.loose,this.includePrerelease=!!Q.includePrerelease,this.raw=X.trim().replace(r," "),this.set=this.raw.split("||").map(oe=>this.parseRange(oe.trim())).filter(oe=>oe.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let oe=this.set[0];if(this.set=this.set.filter($=>!g($[0])),this.set.length===0)this.set=[oe];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&v($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let X=0;X<this.set.length;X++){X>0&&(this.formatted+="||");let Q=this.set[X];for(let oe=0;oe<Q.length;oe++)oe>0&&(this.formatted+=" "),this.formatted+=Q[oe].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(X){let Q=((this.options.includePrerelease&&y)|(this.options.loose&&b))+":"+X,oe=o.get(Q);if(oe)return oe;let $=this.options.loose,K=$?p[d.HYPHENRANGELOOSE]:p[d.HYPHENRANGE];X=X.replace(K,R(this.options.includePrerelease)),u("hyphen replace",X),X=X.replace(p[d.COMPARATORTRIM],h),u("comparator trim",X),X=X.replace(p[d.TILDETRIM],f),u("tilde trim",X),X=X.replace(p[d.CARETTRIM],m),u("caret trim",X);let U=X.split(" ").map(te=>S(te,this.options)).join(" ").split(/\s+/).map(te=>z(te,this.options));$&&(U=U.filter(te=>(u("loose invalid filter",te,this.options),!!te.match(p[d.COMPARATORLOOSE])))),u("range list",U);let Y=new Map,ee=U.map(te=>new l(te,this.options));for(let te of ee){if(g(te))return[te];Y.set(te.value,te)}Y.size>1&&Y.has("")&&Y.delete("");let se=[...Y.values()];return o.set(Q,se),se}intersects(X,Q){if(!(X instanceof al))throw new TypeError("a Range is required");return this.set.some(oe=>D(oe,Q)&&X.set.some($=>D($,Q)&&oe.every(K=>$.every(U=>K.intersects(U,Q)))))}test(X){if(!X)return!1;if(typeof X=="string")try{X=new c(X,this.options)}catch{return!1}for(let Q=0;Q<this.set.length;Q++)if(L(this.set[Q],X,this.options))return!0;return!1}};t.exports=n;var a=uz(),o=new a,i=Tb(),l=Hc(),u=Uc(),c=zt(),{safeRe:p,t:d,comparatorTrimReplace:h,tildeTrimReplace:f,caretTrimReplace:m}=Cs(),{FLAG_INCLUDE_PRERELEASE:y,FLAG_LOOSE:b}=$c(),g=j=>j.value==="<0.0.0-0",v=j=>j.value==="",D=(j,X)=>{let Q=!0,oe=j.slice(),$=oe.pop();for(;Q&&oe.length;)Q=oe.every(K=>$.intersects(K,X)),$=oe.pop();return Q},S=(j,X)=>(u("comp",j,X),j=C(j,X),u("caret",j),j=A(j,X),u("tildes",j),j=k(j,X),u("xrange",j),j=W(j,X),u("stars",j),j),_=j=>!j||j.toLowerCase()==="x"||j==="*",A=(j,X)=>j.trim().split(/\s+/).map(Q=>E(Q,X)).join(" "),E=(j,X)=>{let Q=X.loose?p[d.TILDELOOSE]:p[d.TILDE];return j.replace(Q,(oe,$,K,U,Y)=>{u("tilde",j,oe,$,K,U,Y);let ee;return _($)?ee="":_(K)?ee=`>=${$}.0.0 <${+$+1}.0.0-0`:_(U)?ee=`>=${$}.${K}.0 <${$}.${+K+1}.0-0`:Y?(u("replaceTilde pr",Y),ee=`>=${$}.${K}.${U}-${Y} <${$}.${+K+1}.0-0`):ee=`>=${$}.${K}.${U} <${$}.${+K+1}.0-0`,u("tilde return",ee),ee})},C=(j,X)=>j.trim().split(/\s+/).map(Q=>T(Q,X)).join(" "),T=(j,X)=>{u("caret",j,X);let Q=X.loose?p[d.CARETLOOSE]:p[d.CARET],oe=X.includePrerelease?"-0":"";return j.replace(Q,($,K,U,Y,ee)=>{u("caret",j,$,K,U,Y,ee);let se;return _(K)?se="":_(U)?se=`>=${K}.0.0${oe} <${+K+1}.0.0-0`:_(Y)?K==="0"?se=`>=${K}.${U}.0${oe} <${K}.${+U+1}.0-0`:se=`>=${K}.${U}.0${oe} <${+K+1}.0.0-0`:ee?(u("replaceCaret pr",ee),K==="0"?U==="0"?se=`>=${K}.${U}.${Y}-${ee} <${K}.${U}.${+Y+1}-0`:se=`>=${K}.${U}.${Y}-${ee} <${K}.${+U+1}.0-0`:se=`>=${K}.${U}.${Y}-${ee} <${+K+1}.0.0-0`):(u("no pr"),K==="0"?U==="0"?se=`>=${K}.${U}.${Y}${oe} <${K}.${U}.${+Y+1}-0`:se=`>=${K}.${U}.${Y}${oe} <${K}.${+U+1}.0-0`:se=`>=${K}.${U}.${Y} <${+K+1}.0.0-0`),u("caret return",se),se})},k=(j,X)=>(u("replaceXRanges",j,X),j.split(/\s+/).map(Q=>B(Q,X)).join(" ")),B=(j,X)=>{j=j.trim();let Q=X.loose?p[d.XRANGELOOSE]:p[d.XRANGE];return j.replace(Q,(oe,$,K,U,Y,ee)=>{u("xRange",j,oe,$,K,U,Y,ee);let se=_(K),te=se||_(U),pe=te||_(Y),me=pe;return $==="="&&me&&($=""),ee=X.includePrerelease?"-0":"",se?$===">"||$==="<"?oe="<0.0.0-0":oe="*":$&&me?(te&&(U=0),Y=0,$===">"?($=">=",te?(K=+K+1,U=0,Y=0):(U=+U+1,Y=0)):$==="<="&&($="<",te?K=+K+1:U=+U+1),$==="<"&&(ee="-0"),oe=`${$+K}.${U}.${Y}${ee}`):te?oe=`>=${K}.0.0${ee} <${+K+1}.0.0-0`:pe&&(oe=`>=${K}.${U}.0${ee} <${K}.${+U+1}.0-0`),u("xRange return",oe),oe})},W=(j,X)=>(u("replaceStars",j,X),j.trim().replace(p[d.STAR],"")),z=(j,X)=>(u("replaceGTE0",j,X),j.trim().replace(p[X.includePrerelease?d.GTE0PRE:d.GTE0],"")),R=j=>(X,Q,oe,$,K,U,Y,ee,se,te,pe,me)=>(_(oe)?Q="":_($)?Q=`>=${oe}.0.0${j?"-0":""}`:_(K)?Q=`>=${oe}.${$}.0${j?"-0":""}`:U?Q=`>=${Q}`:Q=`>=${Q}${j?"-0":""}`,_(se)?ee="":_(te)?ee=`<${+se+1}.0.0-0`:_(pe)?ee=`<${se}.${+te+1}.0-0`:me?ee=`<=${se}.${te}.${pe}-${me}`:j?ee=`<${se}.${te}.${+pe+1}-0`:ee=`<=${ee}`,`${Q} ${ee}`.trim()),L=(j,X,Q)=>{for(let oe=0;oe<j.length;oe++)if(!j[oe].test(X))return!1;if(X.prerelease.length&&!Q.includePrerelease){for(let oe=0;oe<j.length;oe++)if(u(j[oe].semver),j[oe].semver!==l.ANY&&j[oe].semver.prerelease.length>0){let $=j[oe].semver;if($.major===X.major&&$.minor===X.minor&&$.patch===X.patch)return!0}return!1}return!0}}}),Hc=ve({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Vf{static get ANY(){return r}constructor(h,f){if(f=a(f),h instanceof Vf){if(h.loose===!!f.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),u("comparator",h,f),this.options=f,this.loose=!!f.loose,this.parse(h),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(h){let f=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],m=h.match(f);if(!m)throw new TypeError(`Invalid comparator: ${h}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new c(m[2],this.options.loose):this.semver=r}toString(){return this.value}test(h){if(u("Comparator.test",h,this.options.loose),this.semver===r||h===r)return!0;if(typeof h=="string")try{h=new c(h,this.options)}catch{return!1}return l(h,this.operator,this.semver,this.options)}intersects(h,f){if(!(h instanceof Vf))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new p(h.value,f).test(this.value):h.operator===""?h.value===""?!0:new p(this.value,f).test(h.semver):(f=a(f),f.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||l(this.semver,"<",h.semver,f)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||l(this.semver,">",h.semver,f)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}};t.exports=n;var a=Tb(),{safeRe:o,t:i}=Cs(),l=qI(),u=Uc(),c=zt(),p=Ir()}}),Jc=ve({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=Ir(),n=(a,o,i)=>{try{o=new r(o,i)}catch{return!1}return o.test(a)};t.exports=n}}),cz=ve({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=Ir(),n=(a,o)=>new r(a,o).set.map(i=>i.map(l=>l.value).join(" ").trim().split(" "));t.exports=n}}),pz=ve({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=zt(),n=Ir(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===-1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),dz=ve({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=zt(),n=Ir(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),fz=ve({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=zt(),n=Ir(),a=Vc(),o=(i,l)=>{i=new n(i,l);let u=new r("0.0.0");if(i.test(u)||(u=new r("0.0.0-0"),i.test(u)))return u;u=null;for(let c=0;c<i.set.length;++c){let p=i.set[c],d=null;p.forEach(h=>{let f=new r(h.semver.version);switch(h.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!d||a(f,d))&&(d=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${h.operator}`)}}),d&&(!u||a(u,d))&&(u=d)}return u&&i.test(u)?u:null};t.exports=o}}),hz=ve({"../../node_modules/semver/ranges/valid.js"(e,t){var r=Ir(),n=(a,o)=>{try{return new r(a,o).range||"*"}catch{return null}};t.exports=n}}),Fb=ve({"../../node_modules/semver/ranges/outside.js"(e,t){var r=zt(),n=Hc(),{ANY:a}=n,o=Ir(),i=Jc(),l=Vc(),u=Db(),c=Rb(),p=Ob(),d=(h,f,m,y)=>{h=new r(h,y),f=new o(f,y);let b,g,v,D,S;switch(m){case">":b=l,g=c,v=u,D=">",S=">=";break;case"<":b=u,g=p,v=l,D="<",S="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(h,f,y))return!1;for(let _=0;_<f.set.length;++_){let A=f.set[_],E=null,C=null;if(A.forEach(T=>{T.semver===a&&(T=new n(">=0.0.0")),E=E||T,C=C||T,b(T.semver,E.semver,y)?E=T:v(T.semver,C.semver,y)&&(C=T)}),E.operator===D||E.operator===S||(!C.operator||C.operator===D)&&g(h,C.semver)||C.operator===S&&v(h,C.semver))return!1}return!0};t.exports=d}}),mz=ve({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=Fb(),n=(a,o,i)=>r(a,o,">",i);t.exports=n}}),yz=ve({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=Fb(),n=(a,o,i)=>r(a,o,"<",i);t.exports=n}}),gz=ve({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=Ir(),n=(a,o,i)=>(a=new r(a,i),o=new r(o,i),a.intersects(o,i));t.exports=n}}),bz=ve({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=Jc(),n=Fr();t.exports=(a,o,i)=>{let l=[],u=null,c=null,p=a.sort((m,y)=>n(m,y,i));for(let m of p)r(m,o,i)?(c=m,u||(u=m)):(c&&l.push([u,c]),c=null,u=null);u&&l.push([u,null]);let d=[];for(let[m,y]of l)m===y?d.push(m):!y&&m===p[0]?d.push("*"):y?m===p[0]?d.push(`<=${y}`):d.push(`${m} - ${y}`):d.push(`>=${m}`);let h=d.join(" || "),f=typeof o.raw=="string"?o.raw:String(o);return h.length<f.length?h:o}}}),vz=ve({"../../node_modules/semver/ranges/subset.js"(e,t){var r=Ir(),n=Hc(),{ANY:a}=n,o=Jc(),i=Fr(),l=(f,m,y={})=>{if(f===m)return!0;f=new r(f,y),m=new r(m,y);let b=!1;e:for(let g of f.set){for(let v of m.set){let D=p(g,v,y);if(b=b||D!==null,D)continue e}if(b)return!1}return!0},u=[new n(">=0.0.0-0")],c=[new n(">=0.0.0")],p=(f,m,y)=>{if(f===m)return!0;if(f.length===1&&f[0].semver===a){if(m.length===1&&m[0].semver===a)return!0;y.includePrerelease?f=u:f=c}if(m.length===1&&m[0].semver===a){if(y.includePrerelease)return!0;m=c}let b=new Set,g,v;for(let k of f)k.operator===">"||k.operator===">="?g=d(g,k,y):k.operator==="<"||k.operator==="<="?v=h(v,k,y):b.add(k.semver);if(b.size>1)return null;let D;if(g&&v&&(D=i(g.semver,v.semver,y),D>0||D===0&&(g.operator!==">="||v.operator!=="<=")))return null;for(let k of b){if(g&&!o(k,String(g),y)||v&&!o(k,String(v),y))return null;for(let B of m)if(!o(k,String(B),y))return!1;return!0}let S,_,A,E,C=v&&!y.includePrerelease&&v.semver.prerelease.length?v.semver:!1,T=g&&!y.includePrerelease&&g.semver.prerelease.length?g.semver:!1;C&&C.prerelease.length===1&&v.operator==="<"&&C.prerelease[0]===0&&(C=!1);for(let k of m){if(E=E||k.operator===">"||k.operator===">=",A=A||k.operator==="<"||k.operator==="<=",g){if(T&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===T.major&&k.semver.minor===T.minor&&k.semver.patch===T.patch&&(T=!1),k.operator===">"||k.operator===">="){if(S=d(g,k,y),S===k&&S!==g)return!1}else if(g.operator===">="&&!o(g.semver,String(k),y))return!1}if(v){if(C&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===C.major&&k.semver.minor===C.minor&&k.semver.patch===C.patch&&(C=!1),k.operator==="<"||k.operator==="<="){if(_=h(v,k,y),_===k&&_!==v)return!1}else if(v.operator==="<="&&!o(v.semver,String(k),y))return!1}if(!k.operator&&(v||g)&&D!==0)return!1}return!(g&&A&&!v&&D!==0||v&&E&&!g&&D!==0||T||C)},d=(f,m,y)=>{if(!f)return m;let b=i(f.semver,m.semver,y);return b>0?f:b<0||m.operator===">"&&f.operator===">="?m:f},h=(f,m,y)=>{if(!f)return m;let b=i(f.semver,m.semver,y);return b<0?f:b>0||m.operator==="<"&&f.operator==="<="?m:f};t.exports=l}}),Ez=ve({"../../node_modules/semver/index.js"(e,t){var r=Cs(),n=$c(),a=zt(),o=kI(),i=Jo(),l=YJ(),u=XJ(),c=QJ(),p=ZJ(),d=ez(),h=tz(),f=rz(),m=nz(),y=Fr(),b=az(),g=oz(),v=Pb(),D=iz(),S=sz(),_=Vc(),A=Db(),E=BI(),C=jI(),T=Ob(),k=Rb(),B=qI(),W=lz(),z=Hc(),R=Ir(),L=Jc(),j=cz(),X=pz(),Q=dz(),oe=fz(),$=hz(),K=Fb(),U=mz(),Y=yz(),ee=gz(),se=bz(),te=vz();t.exports={parse:i,valid:l,clean:u,inc:c,diff:p,major:d,minor:h,patch:f,prerelease:m,compare:y,rcompare:b,compareLoose:g,compareBuild:v,sort:D,rsort:S,gt:_,lt:A,eq:E,neq:C,gte:T,lte:k,cmp:B,coerce:W,Comparator:z,Range:R,satisfies:L,toComparators:j,maxSatisfying:X,minSatisfying:Q,minVersion:oe,validRange:$,outside:K,gtr:U,ltr:Y,intersects:ee,simplifyRange:se,subset:te,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}}}),Cz={};Lc(Cz,{applyDecorators:()=>Sb,beforeAll:()=>zI,decorators:()=>HI,mount:()=>VI,parameters:()=>JI,render:()=>LI,renderToCanvas:()=>UI});var Y0=Ho(Ez());function X0(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function wz(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var MI=async({disableAct:e=!1}={})=>t=>t(),LI=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return br.createElement(n,{...e})},{FRAMEWORK_OPTIONS:Az}=KJ,xz=class extends Lt.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Q0=Az?.strictMode?Lt.StrictMode:Lt.Fragment,Hf=[],Ap=!1,$I=async()=>{if(Ap||Hf.length===0)return;Ap=!0;let e=Hf.shift();e&&await e(),Ap=!1,$I()};async function UI({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:a},o){let{renderElement:i,unmountElement:l}=await Ve(async()=>{const{renderElement:h,unmountElement:f}=await import("./react-18-BUJ64QCV.js");return{renderElement:h,unmountElement:f}},__vite__mapDeps([119,18,47]),import.meta.url),u=t,c=e.parameters.__isPortableStory?br.createElement(u,{...e}):br.createElement(xz,{key:e.id,showMain:r,showException:n},br.createElement(u,{...e})),p=Q0?br.createElement(Q0,null,c):c;a&&l(o);let d=await MI({disableAct:e.viewMode==="docs"});return await new Promise(async(h,f)=>{Hf.push(async()=>{try{await d(async()=>{await i(p,o,e?.parameters?.react?.rootOptions)}),h()}catch(m){f(m)}}),$I()}),async()=>{await d(()=>{l(o)})}}var VI=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),HI=[(e,t)=>{if(!t.parameters?.react?.rsc)return e();let r=Y0.default.major(Lt.version),n=Y0.default.minor(Lt.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Lt.createElement(Lt.Suspense,null,e())}],JI={renderer:"react"},zI=async()=>{try{let{configure:e}=await import(__STORYBOOK_MODULE_TEST__),t=await MI();e({unstable_advanceTimersWrapper:r=>t(r),asyncWrapper:async r=>{let n=wz();X0(!1);try{let a=await r();return await new Promise(o=>{setTimeout(()=>{o()},0),Sz()&&jest.advanceTimersByTime(0)}),a}finally{X0(n)}},eventWrapper:r=>{let n;return t(()=>(n=r(),n)),n}})}catch{}};function Sz(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}const _z=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:Sb,beforeAll:zI,decorators:HI,mount:VI,parameters:JI,render:LI,renderToCanvas:UI},Symbol.toStringTag,{value:"Module"}));var Tz=ve({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(u){for(var c,p=1,d=arguments.length;p<d;p++){c=arguments[p];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(u[h]=c[h])}return u},t.apply(this,arguments)},r=e&&e.__spreadArrays||function(){for(var u=0,c=0,p=arguments.length;c<p;c++)u+=arguments[c].length;for(var d=Array(u),h=0,c=0;c<p;c++)for(var f=arguments[c],m=0,y=f.length;m<y;m++,h++)d[h]=f[m];return d};Object.defineProperty(e,"__esModule",{value:!0});var n=[];function a(u){var c=typeof u;return u!==null&&(c==="object"||c==="function")}function o(u){return Object.prototype.toString.call(u)==="[object RegExp]"}function i(u){return Object.getOwnPropertySymbols(u).filter(function(c){return Object.prototype.propertyIsEnumerable.call(u,c)})}function l(u,c,p){p===void 0&&(p="");var d={indent:" ",singleQuotes:!0},h=t(t({},d),c),f;h.inlineCharacterLimit===void 0?f={newLine:`
|
|
1028
|
+
`,newLineOrSpace:`
|
|
1029
|
+
`,pad:p,indent:p+h.indent}:f={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var m=function(g){if(h.inlineCharacterLimit===void 0)return g;var v=g.replace(new RegExp(f.newLine,"g"),"").replace(new RegExp(f.newLineOrSpace,"g")," ").replace(new RegExp(f.pad+"|"+f.indent,"g"),"");return v.length<=h.inlineCharacterLimit?v:g.replace(new RegExp(f.newLine+"|"+f.newLineOrSpace,"g"),`
|
|
1030
|
+
`).replace(new RegExp(f.pad,"g"),p).replace(new RegExp(f.indent,"g"),p+h.indent)};if(n.indexOf(u)!==-1)return'"[Circular]"';if(u==null||typeof u=="number"||typeof u=="boolean"||typeof u=="function"||typeof u=="symbol"||o(u))return String(u);if(u instanceof Date)return"new Date('"+u.toISOString()+"')";if(Array.isArray(u)){if(u.length===0)return"[]";n.push(u);var y="["+f.newLine+u.map(function(g,v){var D=u.length-1===v?f.newLine:","+f.newLineOrSpace,S=l(g,h,p+h.indent);return h.transform&&(S=h.transform(u,v,S)),f.indent+S+D}).join("")+f.pad+"]";return n.pop(),m(y)}if(a(u)){var b=r(Object.keys(u),i(u));if(h.filter&&(b=b.filter(function(v){return h.filter&&h.filter(u,v)})),b.length===0)return"{}";n.push(u);var y="{"+f.newLine+b.map(function(v,D){var S=b.length-1===D?f.newLine:","+f.newLineOrSpace,_=typeof v=="symbol",A=!_&&/^[a-z$_][a-z$_0-9]*$/i.test(v.toString()),E=_||A?v:l(v,h),C=l(u[v],h,p+h.indent);return h.transform&&(C=h.transform(u,v,C)),f.indent+String(E)+": "+C+S}).join("")+f.pad+"}";return n.pop(),m(y)}return u=String(u).replace(/[\r\n]/g,function(g){return g===`
|
|
1031
|
+
`?"\\n":"\\r"}),h.singleQuotes?(u=u.replace(/\\?'/g,"\\'"),"'"+u+"'"):(u=u.replace(/"/g,'\\"'),'"'+u+'"')}e.prettyPrint=l}}),Pz=ve({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function b(g){if(typeof g=="object"&&g!==null){var v=g.$$typeof;switch(v){case t:switch(g=g.type,g){case n:case o:case a:case p:case d:return g;default:switch(g=g&&g.$$typeof,g){case u:case l:case c:case f:case h:case i:return g;default:return v}}case r:return v}}}e.ContextConsumer=l,e.ContextProvider=i,e.Element=t,e.ForwardRef=c,e.Fragment=n,e.Lazy=f,e.Memo=h,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=p,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(g){return b(g)===l},e.isContextProvider=function(g){return b(g)===i},e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},e.isForwardRef=function(g){return b(g)===c},e.isFragment=function(g){return b(g)===n},e.isLazy=function(g){return b(g)===f},e.isMemo=function(g){return b(g)===h},e.isPortal=function(g){return b(g)===r},e.isProfiler=function(g){return b(g)===o},e.isStrictMode=function(g){return b(g)===a},e.isSuspense=function(g){return b(g)===p},e.isSuspenseList=function(g){return b(g)===d},e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===o||g===a||g===p||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===h||g.$$typeof===i||g.$$typeof===l||g.$$typeof===c||g.$$typeof===y||g.getModuleId!==void 0)},e.typeOf=b}}),Dz=ve({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=Pz()}}),GI=e=>e.$$typeof===Symbol.for("react.memo"),Oz=e=>e.$$typeof===Symbol.for("react.forward_ref");function Z0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rz(e){var t,r;return Z0(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Z0(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Fz=Ho(Tz()),Hr=Ho(Dz()),yn=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Iz(e){if(Array.isArray(e))return Jf(e)}function Nz(e,t,r){return(t=Lz(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1032
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function jz(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eE(Object(r),!0).forEach(function(n){Nz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qz(e){return Iz(e)||kz(e)||$z(e)||Bz()}function Mz(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Lz(e){var t=Mz(e,"string");return typeof t=="symbol"?t:t+""}function Yi(e){"@babel/helpers - typeof";return Yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yi(e)}function $z(e,t){if(e){if(typeof e=="string")return Jf(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jf(e,t):void 0}}function zf(e,t){if(e===null||Yi(e)!=="object"||e instanceof Date||e instanceof RegExp)return e;if(Lt.isValidElement(e)){var r=jz({},e);return delete r._owner,r}return t.add(e),Array.isArray(e)?e.map(function(n){return zf(n,t)}):Object.keys(e).sort().reduce(function(n,a){return a==="current"||t.has(e[a])?n[a]="[Circular]":n[a]=zf(e[a],t),n},{})}function Uz(e){return zf(e,new WeakSet)}var WI=function(e){return{type:"string",value:e}},Vz=function(e){return{type:"number",value:e}},Hz=function(e,t,r,n){return{type:"ReactElement",displayName:e,props:t,defaultProps:r,childrens:n}},Jz=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},zz=!!Lt.Fragment,KI=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},Gf=function(e){switch(!0){case!!e.displayName:return e.displayName;case e.$$typeof===Hr.Memo:return Gf(e.type);case e.$$typeof===Hr.ForwardRef:return Gf(e.render);default:return KI(e)}},Gz=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:KI(e.type);case(0,Hr.isForwardRef)(e):case(0,Hr.isMemo)(e):return Gf(e.type);case(0,Hr.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,Hr.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,Hr.isLazy)(e):return"Lazy";case(0,Hr.isProfiler)(e):return"Profiler";case(0,Hr.isStrictMode)(e):return"StrictMode";case(0,Hr.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},tE=function(e,t){return t!=="children"},Wz=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},rE=function(e,t){var r={};return Object.keys(e).filter(function(n){return t(e[n],n)}).forEach(function(n){return r[n]=e[n]}),r},zc=function(e,t){var r=t.displayName,n=r===void 0?Gz:r;if(typeof e=="string")return WI(e);if(typeof e=="number")return Vz(e);if(!br.isValidElement(e))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(Yi(e),"`"));var a=n(e),o=rE(e.props,tE);e.ref!==null&&(o.ref=e.ref);var i=e.key;typeof i=="string"&&i.search(/^\./)&&(o.key=i);var l=rE(e.type.defaultProps||{},tE),u=br.Children.toArray(e.props.children).filter(Wz).map(function(c){return zc(c,t)});return zz&&e.type===Lt.Fragment?Jz(i,u):Hz(a,o,l,u)};function Kz(){}var Yz=function(e){return e.toString().split(`
|
|
1033
|
+
`).map(function(t){return t.trim()}).join("")},nE=Yz,YI=function(e,t){var r=t.functionValue,n=r===void 0?nE:r,a=t.showFunctions;return n(!a&&n===nE?Kz:e)},Xz=function(e,t,r,n){var a=Uz(e),o=(0,Fz.prettyPrint)(a,{transform:function(i,l,u){var c=i[l];return c&&Lt.isValidElement(c)?Gc(zc(c,n),!0,r,n):typeof c=="function"?YI(c,n):u}});return t?o.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):o.replace(/\t/g,yn(1,n.tabStop)).replace(/\n([^$])/g,`
|
|
1034
|
+
`.concat(yn(r+1,n.tabStop),"$1"))},Qz=function(e){return e.replace(/"/g,""")},Zz=function(e,t,r,n){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(Qz(e),'"');if(Yi(e)==="symbol"){var a=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return a?"{Symbol('".concat(a,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(YI(e,n),"}"):Lt.isValidElement(e)?"{".concat(Gc(zc(e,n),!0,r,n),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):Rz(e)||Array.isArray(e)?"{".concat(Xz(e,t,r,n),"}"):"{".concat(String(e),"}")},eG=function(e,t,r,n,a,o,i,l){if(!t&&!n)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var u=t?r:a,c=l.useBooleanShorthandSyntax,p=l.tabStop,d=Zz(u,o,i,l),h=" ",f=`
|
|
1035
|
+
`.concat(yn(i+1,p)),m=d.includes(`
|
|
1036
|
+
`);return c&&d==="{false}"&&!n?(h="",f=""):c&&d==="{true}"?(h+="".concat(e),f+="".concat(e)):(h+="".concat(e,"=").concat(d),f+="".concat(e,"=").concat(d)),{attributeFormattedInline:h,attributeFormattedMultiline:f,isMultilineAttribute:m}},tG=function(e,t){var r=e.slice(0,e.length>0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(WI(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},rG=function(e){return["key","ref"].includes(e)},nG=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),a=t.filter(function(i){return!rG(i)}),o=qz(e?a.sort():a);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function aG(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var oG=function(e,t,r,n,a){var o=a.tabStop;return e.type==="string"?t.split(`
|
|
1037
|
+
`).map(function(i,l){return l===0?i:"".concat(yn(n,o)).concat(i)}).join(`
|
|
1038
|
+
`):t},iG=function(e,t,r){return function(n){return oG(n,Gc(n,e,t,r),e,t,r)}},sG=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},XI=function(e,t,r,n,a){return a?yn(r,n).length+t.length>a:e.length>1},lG=function(e,t,r,n,a,o,i){return(XI(e,t,a,o,i)||r)&&!n},QI=function(e,t,r,n){var a=e.type,o=e.displayName,i=o===void 0?"":o,l=e.childrens,u=e.props,c=u===void 0?{}:u,p=e.defaultProps,d=p===void 0?{}:p;if(a!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(a));var h=n.filterProps,f=n.maxInlineAttributesLineLength,m=n.showDefaultProps,y=n.sortProps,b=n.tabStop,g="<".concat(i),v=g,D=g,S=!1,_=[],A=aG(c,h);Object.keys(c).filter(A).filter(sG(d,c)).forEach(function(T){return _.push(T)}),Object.keys(d).filter(A).filter(function(){return m}).filter(function(T){return!_.includes(T)}).forEach(function(T){return _.push(T)});var E=nG(y)(_);if(E.forEach(function(T){var k=eG(T,Object.keys(c).includes(T),c[T],Object.keys(d).includes(T),d[T],t,r,n),B=k.attributeFormattedInline,W=k.attributeFormattedMultiline,z=k.isMultilineAttribute;z&&(S=!0),v+=B,D+=W}),D+=`
|
|
1039
|
+
`.concat(yn(r,b)),lG(E,v,S,t,r,b,f)?g=D:g=v,l&&l.length>0){var C=r+1;g+=">",t||(g+=`
|
|
1040
|
+
`,g+=yn(C,b)),g+=l.reduce(tG,[]).map(iG(t,C,n)).join(t?"":`
|
|
1041
|
+
`.concat(yn(C,b))),t||(g+=`
|
|
1042
|
+
`,g+=yn(C-1,b)),g+="</".concat(i,">")}else XI(E,v,r,b,f)||(g+=" "),g+="/>";return g},uG="",aE="React.Fragment",cG=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},pG=function(e){var t=e.key;return!!t},dG=function(e){var t=e.childrens;return t.length===0},fG=function(e,t,r,n){var a=e.type,o=e.key,i=e.childrens;if(a!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(a));var l=n.useFragmentShortSyntax,u;return l?dG(e)||pG(e)?u=aE:u=uG:u=aE,QI(cG(u,o,i),t,r,n)},hG=["<",">","{","}"],mG=function(e){return hG.some(function(t){return e.includes(t)})},yG=function(e){return mG(e)?"{`".concat(e,"`}"):e},gG=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Gc=function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gG(yG(String(e.value)))):"";if(e.type==="ReactElement")return QI(e,t,r,n);if(e.type==="ReactFragment")return fG(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},bG=function(e,t){return Gc(e,!1,0,t)},ZI=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,a=t.showDefaultProps,o=a===void 0?!0:a,i=t.showFunctions,l=i===void 0?!1:i,u=t.functionValue,c=t.tabStop,p=c===void 0?2:c,d=t.useBooleanShorthandSyntax,h=d===void 0?!0:d,f=t.useFragmentShortSyntax,m=f===void 0?!0:f,y=t.sortProps,b=y===void 0?!0:y,g=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var D={filterProps:n,showDefaultProps:o,showFunctions:l,functionValue:u,tabStop:p,useBooleanShorthandSyntax:h,useFragmentShortSyntax:m,sortProps:b,maxInlineAttributesLineLength:g,displayName:v};return bG(zc(e,D),D)},vG=Object.create,Ib=Object.defineProperty,EG=Object.getOwnPropertyDescriptor,CG=Object.getOwnPropertyNames,wG=Object.getPrototypeOf,AG=Object.prototype.hasOwnProperty,q=(e,t)=>Ib(e,"name",{value:t,configurable:!0}),xG=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),SG=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of CG(t))!AG.call(e,a)&&a!==r&&Ib(e,a,{get:()=>t[a],enumerable:!(n=EG(t,a))||n.enumerable});return e},_G=(e,t,r)=>(r=e!=null?vG(wG(e)):{},SG(Ib(r,"default",{value:e,enumerable:!0}),e)),TG=xG((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(w){return w.text!==void 0&&w.text!==""?`'${w.type}' with value '${w.text}'`:`'${w.type}'`}q(n,"tokenToString");let a=class e2 extends Error{constructor(I){super(`No parslet found for token: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,e2.prototype)}getToken(){return this.token}};q(a,"NoParsletFoundError");let o=a,i=class t2 extends Error{constructor(I){super(`The parsing ended early. The next token was: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,t2.prototype)}getToken(){return this.token}};q(i,"EarlyEndOfParseError");let l=i,u=class r2 extends Error{constructor(I,G){let ae=`Unexpected type: '${I.type}'.`;G!==void 0&&(ae+=` Message: ${G}`),super(ae),Object.setPrototypeOf(this,r2.prototype)}};q(u,"UnexpectedTypeError");let c=u;function p(w){return I=>I.startsWith(w)?{type:w,text:w}:null}q(p,"makePunctuationRule");function d(w){let I=0,G,ae=w[0],de=!1;if(ae!=="'"&&ae!=='"')return null;for(;I<w.length;){if(I++,G=w[I],!de&&G===ae){I++;break}de=!de&&G==="\\"}if(G!==ae)throw new Error("Unterminated String");return w.slice(0,I)}q(d,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function m(w){let I=w[0];if(!h.test(I))return null;let G=1;do{if(I=w[G],!f.test(I))break;G++}while(G<w.length);return w.slice(0,G)}q(m,"getIdentifier");let y=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function b(w){var I,G;return(G=(I=y.exec(w))===null||I===void 0?void 0:I[0])!==null&&G!==void 0?G:null}q(b,"getNumber");let g=q(w=>{let I=m(w);return I==null?null:{type:"Identifier",text:I}},"identifierRule");function v(w){return I=>{if(!I.startsWith(w))return null;let G=I[w.length];return G!==void 0&&f.test(G)?null:{type:w,text:w}}}q(v,"makeKeyWordRule");let D=q(w=>{let I=d(w);return I==null?null:{type:"StringValue",text:I}},"stringValueRule"),S=q(w=>w.length>0?null:{type:"EOF",text:""},"eofRule"),_=q(w=>{let I=b(w);return I===null?null:{type:"Number",text:I}},"numberRule"),A=[S,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),_,g,D],E=/^\s*\n\s*/,C=class ol{static create(I){let G=this.read(I);I=G.text;let ae=this.read(I);return I=ae.text,new ol(I,void 0,G.token,ae.token)}constructor(I,G,ae,de){this.text="",this.text=I,this.previous=G,this.current=ae,this.next=de}static read(I,G=!1){G=G||E.test(I),I=I.trim();for(let ae of A){let de=ae(I);if(de!==null){let Ce=Object.assign(Object.assign({},de),{startOfLine:G});return I=I.slice(Ce.text.length),{text:I,token:Ce}}}throw new Error("Unexpected Token "+I)}advance(){let I=ol.read(this.text);return new ol(I.text,this.current,this.next,I.token)}};q(C,"Lexer");let T=C;function k(w){if(w===void 0)throw new Error("Unexpected undefined");if(w.type==="JsdocTypeKeyValue"||w.type==="JsdocTypeParameterList"||w.type==="JsdocTypeProperty"||w.type==="JsdocTypeReadonlyProperty"||w.type==="JsdocTypeObjectField"||w.type==="JsdocTypeJsdocObjectField"||w.type==="JsdocTypeIndexSignature"||w.type==="JsdocTypeMappedType")throw new c(w);return w}q(k,"assertRootResult");function B(w){return w.type==="JsdocTypeKeyValue"?z(w):k(w)}q(B,"assertPlainKeyValueOrRootResult");function W(w){return w.type==="JsdocTypeName"?w:z(w)}q(W,"assertPlainKeyValueOrNameResult");function z(w){if(w.type!=="JsdocTypeKeyValue")throw new c(w);return w}q(z,"assertPlainKeyValueResult");function R(w){var I;if(w.type==="JsdocTypeVariadic"){if(((I=w.element)===null||I===void 0?void 0:I.type)==="JsdocTypeName")return w;throw new c(w)}if(w.type!=="JsdocTypeNumber"&&w.type!=="JsdocTypeName")throw new c(w);return w}q(R,"assertNumberOrVariadicNameResult");function L(w){return w.type==="JsdocTypeIndexSignature"||w.type==="JsdocTypeMappedType"}q(L,"isSquaredProperty");var j;(function(w){w[w.ALL=0]="ALL",w[w.PARAMETER_LIST=1]="PARAMETER_LIST",w[w.OBJECT=2]="OBJECT",w[w.KEY_VALUE=3]="KEY_VALUE",w[w.INDEX_BRACKETS=4]="INDEX_BRACKETS",w[w.UNION=5]="UNION",w[w.INTERSECTION=6]="INTERSECTION",w[w.PREFIX=7]="PREFIX",w[w.INFIX=8]="INFIX",w[w.TUPLE=9]="TUPLE",w[w.SYMBOL=10]="SYMBOL",w[w.OPTIONAL=11]="OPTIONAL",w[w.NULLABLE=12]="NULLABLE",w[w.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",w[w.FUNCTION=14]="FUNCTION",w[w.ARROW=15]="ARROW",w[w.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",w[w.GENERIC=17]="GENERIC",w[w.NAME_PATH=18]="NAME_PATH",w[w.PARENTHESIS=19]="PARENTHESIS",w[w.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(j||(j={}));let X=class{constructor(I,G,ae){this.grammar=I,typeof G=="string"?this._lexer=T.create(G):this._lexer=G,this.baseParser=ae}get lexer(){return this._lexer}parse(){let I=this.parseType(j.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return I}parseType(I){return k(this.parseIntermediateType(I))}parseIntermediateType(I){let G=this.tryParslets(null,I);if(G===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(G,I)}parseInfixIntermediateType(I,G){let ae=this.tryParslets(I,G);for(;ae!==null;)I=ae,ae=this.tryParslets(I,G);return I}tryParslets(I,G){for(let ae of this.grammar){let de=ae(this,G,I);if(de!==null)return de}return null}consume(I){return Array.isArray(I)||(I=[I]),I.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(I){this._lexer=I.lexer}};q(X,"Parser");let Q=X;function oe(w){return w==="EOF"||w==="|"||w===","||w===")"||w===">"}q(oe,"isQuestionMarkUnknownType");let $=q((w,I,G)=>{let ae=w.lexer.current.type,de=w.lexer.next.type;return G==null&&ae==="?"&&!oe(de)||G!=null&&ae==="?"?(w.consume("?"),G==null?{type:"JsdocTypeNullable",element:w.parseType(j.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(G),meta:{position:"suffix"}}):null},"nullableParslet");function K(w){let I=q((G,ae,de)=>{let Ce=G.lexer.current.type,Re=G.lexer.next.type;if(de===null){if("parsePrefix"in w&&w.accept(Ce,Re))return w.parsePrefix(G)}else if("parseInfix"in w&&w.precedence>ae&&w.accept(Ce,Re))return w.parseInfix(G,de);return null},"parslet");return Object.defineProperty(I,"name",{value:w.name}),I}q(K,"composeParslet");let U=K({name:"optionalParslet",accept:q(w=>w==="=","accept"),precedence:j.OPTIONAL,parsePrefix:q(w=>(w.consume("="),{type:"JsdocTypeOptional",element:w.parseType(j.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((w,I)=>(w.consume("="),{type:"JsdocTypeOptional",element:k(I),meta:{position:"suffix"}}),"parseInfix")}),Y=K({name:"numberParslet",accept:q(w=>w==="Number","accept"),parsePrefix:q(w=>{let I=parseFloat(w.lexer.current.text);return w.consume("Number"),{type:"JsdocTypeNumber",value:I}},"parsePrefix")}),ee=K({name:"parenthesisParslet",accept:q(w=>w==="(","accept"),parsePrefix:q(w=>{if(w.consume("("),w.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let I=w.parseIntermediateType(j.ALL);if(!w.consume(")"))throw new Error("Unterminated parenthesis");return I.type==="JsdocTypeParameterList"?I:I.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[I]}:{type:"JsdocTypeParenthesis",element:k(I)}},"parsePrefix")}),se=K({name:"specialTypesParslet",accept:q((w,I)=>w==="?"&&oe(I)||w==="null"||w==="undefined"||w==="*","accept"),parsePrefix:q(w=>{if(w.consume("null"))return{type:"JsdocTypeNull"};if(w.consume("undefined"))return{type:"JsdocTypeUndefined"};if(w.consume("*"))return{type:"JsdocTypeAny"};if(w.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+w.lexer.current.text)},"parsePrefix")}),te=K({name:"notNullableParslet",accept:q(w=>w==="!","accept"),precedence:j.NULLABLE,parsePrefix:q(w=>(w.consume("!"),{type:"JsdocTypeNotNullable",element:w.parseType(j.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((w,I)=>(w.consume("!"),{type:"JsdocTypeNotNullable",element:k(I),meta:{position:"suffix"}}),"parseInfix")});function pe({allowTrailingComma:w}){return K({name:"parameterListParslet",accept:q(I=>I===",","accept"),precedence:j.PARAMETER_LIST,parseInfix:q((I,G)=>{let ae=[B(G)];I.consume(",");do try{let de=I.parseIntermediateType(j.PARAMETER_LIST);ae.push(B(de))}catch(de){if(w&&de instanceof o)break;throw de}while(I.consume(","));if(ae.length>0&&ae.slice(0,-1).some(de=>de.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:ae}},"parseInfix")})}q(pe,"createParameterListParslet");let me=K({name:"genericParslet",accept:q((w,I)=>w==="<"||w==="."&&I==="<","accept"),precedence:j.GENERIC,parseInfix:q((w,I)=>{let G=w.consume(".");w.consume("<");let ae=[];do ae.push(w.parseType(j.PARAMETER_LIST));while(w.consume(","));if(!w.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:k(I),elements:ae,meta:{brackets:"angle",dot:G}}},"parseInfix")}),Xe=K({name:"unionParslet",accept:q(w=>w==="|","accept"),precedence:j.UNION,parseInfix:q((w,I)=>{w.consume("|");let G=[];do G.push(w.parseType(j.UNION));while(w.consume("|"));return{type:"JsdocTypeUnion",elements:[k(I),...G]}},"parseInfix")}),ht=[$,U,Y,ee,se,te,pe({allowTrailingComma:!0}),me,Xe,U];function Z({allowSquareBracketsOnAnyType:w,allowJsdocNamePaths:I,pathGrammar:G}){return q(function(ae,de,Ce){if(Ce==null||de>=j.NAME_PATH)return null;let Re=ae.lexer.current.type,ct=ae.lexer.next.type;if(!(Re==="."&&ct!=="<"||Re==="["&&(w||Ce.type==="JsdocTypeName")||I&&(Re==="~"||Re==="#")))return null;let yt,jt=!1;ae.consume(".")?yt="property":ae.consume("[")?(yt="property-brackets",jt=!0):ae.consume("~")?yt="inner":(ae.consume("#"),yt="instance");let tn=G!==null?new Q(G,ae.lexer,ae):ae,xr=tn.parseIntermediateType(j.NAME_PATH);ae.acceptLexerState(tn);let Go;switch(xr.type){case"JsdocTypeName":Go={type:"JsdocTypeProperty",value:xr.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Go={type:"JsdocTypeProperty",value:xr.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Go={type:"JsdocTypeProperty",value:xr.value,meta:{quote:xr.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(xr.specialType==="event")Go=xr;else throw new c(xr,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(xr,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(jt&&!ae.consume("]")){let Zb=ae.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Zb.type}' with text '${Zb.text}'`)}return{type:"JsdocTypeNamePath",left:k(Ce),right:Go,pathType:yt}},"namePathParslet")}q(Z,"createNamePathParslet");function ce({allowedAdditionalTokens:w}){return K({name:"nameParslet",accept:q(I=>I==="Identifier"||I==="this"||I==="new"||w.includes(I),"accept"),parsePrefix:q(I=>{let{type:G,text:ae}=I.lexer.current;return I.consume(G),{type:"JsdocTypeName",value:ae}},"parsePrefix")})}q(ce,"createNameParslet");let ge=K({name:"stringValueParslet",accept:q(w=>w==="StringValue","accept"),parsePrefix:q(w=>{let I=w.lexer.current.text;return w.consume("StringValue"),{type:"JsdocTypeStringValue",value:I.slice(1,-1),meta:{quote:I[0]==="'"?"single":"double"}}},"parsePrefix")});function be({pathGrammar:w,allowedTypes:I}){return K({name:"specialNamePathParslet",accept:q(G=>I.includes(G),"accept"),parsePrefix:q(G=>{let ae=G.lexer.current.type;if(G.consume(ae),!G.consume(":"))return{type:"JsdocTypeName",value:ae};let de,Ce=G.lexer.current;if(G.consume("StringValue"))de={type:"JsdocTypeSpecialNamePath",value:Ce.text.slice(1,-1),specialType:ae,meta:{quote:Ce.text[0]==="'"?"single":"double"}};else{let yt="",jt=["Identifier","@","/"];for(;jt.some(tn=>G.consume(tn));)yt+=Ce.text,Ce=G.lexer.current;de={type:"JsdocTypeSpecialNamePath",value:yt,specialType:ae,meta:{quote:void 0}}}let Re=new Q(w,G.lexer,G),ct=Re.parseInfixIntermediateType(de,j.ALL);return G.acceptLexerState(Re),k(ct)},"parsePrefix")})}q(be,"createSpecialNamePathParslet");let Ee=[ce({allowedAdditionalTokens:["external","module"]}),ge,Y,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],xe=[...Ee,be({allowedTypes:["event"],pathGrammar:Ee})];function Se(w){let I;if(w.type==="JsdocTypeParameterList")I=w.elements;else if(w.type==="JsdocTypeParenthesis")I=[w.element];else throw new c(w);return I.map(G=>B(G))}q(Se,"getParameters");function ze(w){let I=Se(w);if(I.some(G=>G.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return I}q(ze,"getUnnamedParameters");function st({allowNamedParameters:w,allowNoReturnType:I,allowWithoutParenthesis:G,allowNewAsFunctionKeyword:ae}){return K({name:"functionParslet",accept:q((de,Ce)=>de==="function"||ae&&de==="new"&&Ce==="(","accept"),parsePrefix:q(de=>{let Ce=de.consume("new");de.consume("function");let Re=de.lexer.current.type==="(";if(!Re){if(!G)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ct={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ce,parenthesis:Re},yt=de.parseIntermediateType(j.FUNCTION);if(w===void 0)ct.parameters=ze(yt);else{if(Ce&&yt.type==="JsdocTypeFunction"&&yt.arrow)return ct=yt,ct.constructor=!0,ct;ct.parameters=Se(yt);for(let jt of ct.parameters)if(jt.type==="JsdocTypeKeyValue"&&!w.includes(jt.key))throw new Error(`only allowed named parameters are ${w.join(", ")} but got ${jt.type}`)}if(de.consume(":"))ct.returnType=de.parseType(j.PREFIX);else if(!I)throw new Error("function is missing return type");return ct},"parsePrefix")})}q(st,"createFunctionParslet");function Dt({allowPostfix:w,allowEnclosingBrackets:I}){return K({name:"variadicParslet",accept:q(G=>G==="...","accept"),precedence:j.PREFIX,parsePrefix:q(G=>{G.consume("...");let ae=I&&G.consume("[");try{let de=G.parseType(j.PREFIX);if(ae&&!G.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(de),meta:{position:"prefix",squareBrackets:ae}}}catch(de){if(de instanceof o){if(ae)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw de}},"parsePrefix"),parseInfix:w?(G,ae)=>(G.consume("..."),{type:"JsdocTypeVariadic",element:k(ae),meta:{position:"suffix",squareBrackets:!1}}):void 0})}q(Dt,"createVariadicParslet");let Gt=K({name:"symbolParslet",accept:q(w=>w==="(","accept"),precedence:j.SYMBOL,parseInfix:q((w,I)=>{if(I.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");w.consume("(");let G={type:"JsdocTypeSymbol",value:I.value};if(!w.consume(")")){let ae=w.parseIntermediateType(j.SYMBOL);if(G.element=R(ae),!w.consume(")"))throw new Error("Symbol does not end after value")}return G},"parseInfix")}),_t=K({name:"arrayBracketsParslet",precedence:j.ARRAY_BRACKETS,accept:q((w,I)=>w==="["&&I==="]","accept"),parseInfix:q((w,I)=>(w.consume("["),w.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(I)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function Vt({objectFieldGrammar:w,allowKeyTypes:I}){return K({name:"objectParslet",accept:q(G=>G==="{","accept"),parsePrefix:q(G=>{G.consume("{");let ae={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!G.consume("}")){let de,Ce=new Q(w,G.lexer,G);for(;;){Ce.acceptLexerState(G);let Re=Ce.parseIntermediateType(j.OBJECT);G.acceptLexerState(Ce),Re===void 0&&I&&(Re=G.parseIntermediateType(j.OBJECT));let ct=!1;if(Re.type==="JsdocTypeNullable"&&(ct=!0,Re=Re.element),Re.type==="JsdocTypeNumber"||Re.type==="JsdocTypeName"||Re.type==="JsdocTypeStringValue"){let yt;Re.type==="JsdocTypeStringValue"&&(yt=Re.meta.quote),ae.elements.push({type:"JsdocTypeObjectField",key:Re.value.toString(),right:void 0,optional:ct,readonly:!1,meta:{quote:yt}})}else if(Re.type==="JsdocTypeObjectField"||Re.type==="JsdocTypeJsdocObjectField")ae.elements.push(Re);else throw new c(Re);if(G.lexer.current.startOfLine)de="linebreak";else if(G.consume(","))de="comma";else if(G.consume(";"))de="semicolon";else break;if(G.lexer.current.type==="}")break}if(ae.meta.separator=de??"comma",!G.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return ae},"parsePrefix")})}q(Vt,"createObjectParslet");function Nt({allowSquaredProperties:w,allowKeyTypes:I,allowReadonly:G,allowOptional:ae}){return K({name:"objectFieldParslet",precedence:j.KEY_VALUE,accept:q(de=>de===":","accept"),parseInfix:q((de,Ce)=>{var Re;let ct=!1,yt=!1;ae&&Ce.type==="JsdocTypeNullable"&&(ct=!0,Ce=Ce.element),G&&Ce.type==="JsdocTypeReadonlyProperty"&&(yt=!0,Ce=Ce.element);let jt=(Re=de.baseParser)!==null&&Re!==void 0?Re:de;if(jt.acceptLexerState(de),Ce.type==="JsdocTypeNumber"||Ce.type==="JsdocTypeName"||Ce.type==="JsdocTypeStringValue"||L(Ce)){if(L(Ce)&&!w)throw new c(Ce);jt.consume(":");let tn;Ce.type==="JsdocTypeStringValue"&&(tn=Ce.meta.quote);let xr=jt.parseType(j.KEY_VALUE);return de.acceptLexerState(jt),{type:"JsdocTypeObjectField",key:L(Ce)?Ce:Ce.value.toString(),right:xr,optional:ct,readonly:yt,meta:{quote:tn}}}else{if(!I)throw new c(Ce);jt.consume(":");let tn=jt.parseType(j.KEY_VALUE);return de.acceptLexerState(jt),{type:"JsdocTypeJsdocObjectField",left:k(Ce),right:tn}}},"parseInfix")})}q(Nt,"createObjectFieldParslet");function Te({allowOptional:w,allowVariadic:I}){return K({name:"keyValueParslet",precedence:j.KEY_VALUE,accept:q(G=>G===":","accept"),parseInfix:q((G,ae)=>{let de=!1,Ce=!1;if(w&&ae.type==="JsdocTypeNullable"&&(de=!0,ae=ae.element),I&&ae.type==="JsdocTypeVariadic"&&ae.element!==void 0&&(Ce=!0,ae=ae.element),ae.type!=="JsdocTypeName")throw new c(ae);G.consume(":");let Re=G.parseType(j.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:ae.value,right:Re,optional:de,variadic:Ce}},"parseInfix")})}q(Te,"createKeyValueParslet");let lt=[...ht,st({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ge,be({allowedTypes:["module","external","event"],pathGrammar:xe}),Dt({allowEnclosingBrackets:!0,allowPostfix:!0}),ce({allowedAdditionalTokens:["keyof"]}),Gt,_t,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe})],Ae=[...lt,Vt({objectFieldGrammar:[ce({allowedAdditionalTokens:["module","in"]}),Nt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...lt],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],ut=K({name:"typeOfParslet",accept:q(w=>w==="typeof","accept"),parsePrefix:q(w=>(w.consume("typeof"),{type:"JsdocTypeTypeof",element:k(w.parseType(j.KEY_OF_TYPE_OF))}),"parsePrefix")}),Qe=[ce({allowedAdditionalTokens:["module","keyof","event","external","in"]}),$,U,ge,Y,Nt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Zn=[...ht,Vt({allowKeyTypes:!1,objectFieldGrammar:Qe}),ce({allowedAdditionalTokens:["event","external","in"]}),ut,st({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Dt({allowEnclosingBrackets:!1,allowPostfix:!1}),ce({allowedAdditionalTokens:["keyof"]}),be({allowedTypes:["module"],pathGrammar:xe}),Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe}),Te({allowOptional:!1,allowVariadic:!1}),Gt],ea=K({name:"assertsParslet",accept:q(w=>w==="asserts","accept"),parsePrefix:q(w=>{w.consume("asserts");let I=w.parseIntermediateType(j.SYMBOL);if(I.type!=="JsdocTypeName")throw new c(I,"A typescript asserts always has to have a name on the left side.");return w.consume("is"),{type:"JsdocTypeAsserts",left:I,right:k(w.parseIntermediateType(j.INFIX))}},"parsePrefix")});function kt({allowQuestionMark:w}){return K({name:"tupleParslet",accept:q(I=>I==="[","accept"),parsePrefix:q(I=>{I.consume("[");let G={type:"JsdocTypeTuple",elements:[]};if(I.consume("]"))return G;let ae=I.parseIntermediateType(j.ALL);if(ae.type==="JsdocTypeParameterList"?ae.elements[0].type==="JsdocTypeKeyValue"?G.elements=ae.elements.map(z):G.elements=ae.elements.map(k):ae.type==="JsdocTypeKeyValue"?G.elements=[z(ae)]:G.elements=[k(ae)],!I.consume("]"))throw new Error("Unterminated '['");if(!w&&G.elements.some(de=>de.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return G},"parsePrefix")})}q(kt,"createTupleParslet");let xn=K({name:"keyOfParslet",accept:q(w=>w==="keyof","accept"),parsePrefix:q(w=>(w.consume("keyof"),{type:"JsdocTypeKeyof",element:k(w.parseType(j.KEY_OF_TYPE_OF))}),"parsePrefix")}),pr=K({name:"importParslet",accept:q(w=>w==="import","accept"),parsePrefix:q(w=>{if(w.consume("import"),!w.consume("("))throw new Error("Missing parenthesis after import keyword");let I=w.parseType(j.PREFIX);if(I.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!w.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:I}},"parsePrefix")}),tt=K({name:"readonlyPropertyParslet",accept:q(w=>w==="readonly","accept"),parsePrefix:q(w=>(w.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:w.parseType(j.KEY_VALUE)}),"parsePrefix")}),Sn=K({name:"arrowFunctionParslet",precedence:j.ARROW,accept:q(w=>w==="=>","accept"),parseInfix:q((w,I)=>(w.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(I).map(W),arrow:!0,constructor:!1,parenthesis:!0,returnType:w.parseType(j.OBJECT)}),"parseInfix")}),ta=K({name:"intersectionParslet",accept:q(w=>w==="&","accept"),precedence:j.INTERSECTION,parseInfix:q((w,I)=>{w.consume("&");let G=[];do G.push(w.parseType(j.INTERSECTION));while(w.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(I),...G]}},"parseInfix")}),Ze=K({name:"predicateParslet",precedence:j.INFIX,accept:q(w=>w==="is","accept"),parseInfix:q((w,I)=>{if(I.type!=="JsdocTypeName")throw new c(I,"A typescript predicate always has to have a name on the left side.");return w.consume("is"),{type:"JsdocTypePredicate",left:I,right:k(w.parseIntermediateType(j.INFIX))}},"parseInfix")}),wt=K({name:"objectSquareBracketPropertyParslet",accept:q(w=>w==="[","accept"),parsePrefix:q(w=>{if(w.baseParser===void 0)throw new Error("Only allowed inside object grammar");w.consume("[");let I=w.lexer.current.text;w.consume("Identifier");let G;if(w.consume(":")){let ae=w.baseParser;ae.acceptLexerState(w),G={type:"JsdocTypeIndexSignature",key:I,right:ae.parseType(j.INDEX_BRACKETS)},w.acceptLexerState(ae)}else if(w.consume("in")){let ae=w.baseParser;ae.acceptLexerState(w),G={type:"JsdocTypeMappedType",key:I,right:ae.parseType(j.ARRAY_BRACKETS)},w.acceptLexerState(ae)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!w.consume("]"))throw new Error("Unterminated square brackets");return G},"parsePrefix")}),Ar=[tt,ce({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),$,U,ge,Y,Nt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),wt],Nr=[...ht,Vt({allowKeyTypes:!1,objectFieldGrammar:Ar}),ut,xn,pr,ge,st({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),kt({allowQuestionMark:!1}),Dt({allowEnclosingBrackets:!1,allowPostfix:!1}),ea,ce({allowedAdditionalTokens:["event","external","in"]}),be({allowedTypes:["module"],pathGrammar:xe}),_t,Sn,Z({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:xe}),ta,Ze,Te({allowVariadic:!0,allowOptional:!0})];function kr(w,I){switch(I){case"closure":return new Q(Zn,w).parse();case"jsdoc":return new Q(Ae,w).parse();case"typescript":return new Q(Nr,w).parse()}}q(kr,"parse");function _n(w,I=["typescript","closure","jsdoc"]){let G;for(let ae of I)try{return kr(w,ae)}catch(de){G=de}throw G}q(_n,"tryParse");function dr(w,I){let G=w[I.type];if(G===void 0)throw new Error(`In this set of transform rules exists no rule for type ${I.type}.`);return G(I,ae=>dr(w,ae))}q(dr,"transform");function x(w){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}q(x,"notAvailableTransform");function N(w){let I={params:[]};for(let G of w.parameters)G.type==="JsdocTypeKeyValue"?G.key==="this"?I.this=G.right:G.key==="new"?I.new=G.right:I.params.push(G):I.params.push(G);return I}q(N,"extractSpecialParams");function F(w,I,G){return w==="prefix"?G+I:I+G}q(F,"applyPosition");function P(w,I){switch(I){case"double":return`"${w}"`;case"single":return`'${w}'`;case void 0:return w}}q(P,"quote");function V(){return{JsdocTypeParenthesis:q((w,I)=>`(${w.element!==void 0?I(w.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:q((w,I)=>`keyof ${I(w.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:q((w,I)=>{if(w.arrow){if(w.returnType===void 0)throw new Error("Arrow function needs a return type.");let G=`(${w.parameters.map(I).join(", ")}) => ${I(w.returnType)}`;return w.constructor&&(G="new "+G),G}else{let G=w.constructor?"new":"function";return w.parenthesis&&(G+=`(${w.parameters.map(I).join(", ")})`,w.returnType!==void 0&&(G+=`: ${I(w.returnType)}`)),G}},"JsdocTypeFunction"),JsdocTypeName:q(w=>w.value,"JsdocTypeName"),JsdocTypeTuple:q((w,I)=>`[${w.elements.map(I).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:q((w,I)=>w.meta.position===void 0?"...":F(w.meta.position,I(w.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:q((w,I)=>{let G=I(w.left),ae=I(w.right);switch(w.pathType){case"inner":return`${G}~${ae}`;case"instance":return`${G}#${ae}`;case"property":return`${G}.${ae}`;case"property-brackets":return`${G}[${ae}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:q(w=>P(w.value,w.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:q(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:q((w,I)=>{if(w.meta.brackets==="square"){let G=w.elements[0],ae=I(G);return G.type==="JsdocTypeUnion"||G.type==="JsdocTypeIntersection"?`(${ae})[]`:`${ae}[]`}else return`${I(w.left)}${w.meta.dot?".":""}<${w.elements.map(I).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:q((w,I)=>`import(${I(w.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:q((w,I)=>{let G="";return w.readonly&&(G+="readonly "),typeof w.key=="string"?G+=P(w.key,w.meta.quote):G+=I(w.key),w.optional&&(G+="?"),w.right===void 0?G:G+`: ${I(w.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((w,I)=>`${I(w.left)}: ${I(w.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((w,I)=>{let G=w.key;return w.optional&&(G+="?"),w.variadic&&(G="..."+G),w.right===void 0?G:G+`: ${I(w.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:q(w=>`${w.specialType}:${P(w.value,w.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:q((w,I)=>F(w.meta.position,I(w.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:q(()=>"null","JsdocTypeNull"),JsdocTypeNullable:q((w,I)=>F(w.meta.position,I(w.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:q(w=>w.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:q((w,I)=>`{${w.elements.map(I).join((w.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:q((w,I)=>F(w.meta.position,I(w.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:q((w,I)=>`${w.value}(${w.element!==void 0?I(w.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:q((w,I)=>`typeof ${I(w.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:q(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:q((w,I)=>w.elements.map(I).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:q(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:q((w,I)=>w.elements.map(I).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:q(w=>P(w.value,w.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:q((w,I)=>`${I(w.left)} is ${I(w.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:q((w,I)=>`[${w.key}: ${I(w.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((w,I)=>`[${w.key} in ${I(w.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:q((w,I)=>`asserts ${I(w.left)} is ${I(w.right)}`,"JsdocTypeAsserts")}}q(V,"stringifyRules");let ie=V();function le(w){return dr(ie,w)}q(le,"stringify");let ue=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function ye(w){let I={type:"NameExpression",name:w};return ue.includes(w)&&(I.reservedWord=!0),I}q(ye,"makeName");let Be={JsdocTypeOptional:q((w,I)=>{let G=I(w.element);return G.optional=!0,G},"JsdocTypeOptional"),JsdocTypeNullable:q((w,I)=>{let G=I(w.element);return G.nullable=!0,G},"JsdocTypeNullable"),JsdocTypeNotNullable:q((w,I)=>{let G=I(w.element);return G.nullable=!1,G},"JsdocTypeNotNullable"),JsdocTypeVariadic:q((w,I)=>{if(w.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let G=I(w.element);return G.repeatable=!0,G},"JsdocTypeVariadic"),JsdocTypeAny:q(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:q(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:q(w=>ye(P(w.value,w.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:q(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:q(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:q((w,I)=>{let G=N(w),ae={type:"FunctionType",params:G.params.map(I)};return G.this!==void 0&&(ae.this=I(G.this)),G.new!==void 0&&(ae.new=I(G.new)),w.returnType!==void 0&&(ae.result=I(w.returnType)),ae},"JsdocTypeFunction"),JsdocTypeGeneric:q((w,I)=>({type:"TypeApplication",applications:w.elements.map(G=>I(G)),expression:I(w.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:q(w=>ye(w.specialType+":"+P(w.value,w.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:q(w=>w.value!=="function"?ye(w.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:q(w=>ye(w.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:q((w,I)=>{let G={type:"RecordType",fields:[]};for(let ae of w.elements)ae.type!=="JsdocTypeObjectField"&&ae.type!=="JsdocTypeJsdocObjectField"?G.fields.push({type:"FieldType",key:I(ae),value:void 0}):G.fields.push(I(ae));return G},"JsdocTypeObject"),JsdocTypeObjectField:q((w,I)=>{if(typeof w.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ye(P(w.key,w.meta.quote)),value:w.right===void 0?void 0:I(w.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((w,I)=>({type:"FieldType",key:I(w.left),value:I(w.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:q((w,I)=>({type:"TypeUnion",elements:w.elements.map(G=>I(G))}),"JsdocTypeUnion"),JsdocTypeKeyValue:q((w,I)=>({type:"FieldType",key:ye(w.key),value:w.right===void 0?void 0:I(w.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:q((w,I)=>{let G=I(w.left),ae;w.right.type==="JsdocTypeSpecialNamePath"?ae=I(w.right).name:ae=P(w.right.value,w.right.meta.quote);let de=w.pathType==="inner"?"~":w.pathType==="instance"?"#":".";return ye(`${G.name}${de}${ae}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:q(w=>{let I="",G=w.element,ae=!1;return G?.type==="JsdocTypeVariadic"&&(G.meta.position==="prefix"?I="...":ae=!0,G=G.element),G?.type==="JsdocTypeName"?I+=G.value:G?.type==="JsdocTypeNumber"&&(I+=G.value.toString()),ae&&(I+="..."),ye(`${w.value}(${I})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:q((w,I)=>I(k(w.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeImport:x,JsdocTypeKeyof:x,JsdocTypeTuple:x,JsdocTypeTypeof:x,JsdocTypeIntersection:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeAsserts:x};function mt(w){return dr(Be,w)}q(mt,"catharsisTransform");function Bt(w){switch(w){case void 0:return"none";case"single":return"single";case"double":return"double"}}q(Bt,"getQuoteStyle");function en(w){switch(w){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}q(en,"getMemberType");function ra(w,I){return I.length===2?{type:w,left:I[0],right:I[1]}:{type:w,left:I[0],right:ra(w,I.slice(1))}}q(ra,"nestResults");let _s={JsdocTypeOptional:q((w,I)=>({type:"OPTIONAL",value:I(w.element),meta:{syntax:w.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:q((w,I)=>({type:"NULLABLE",value:I(w.element),meta:{syntax:w.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:q((w,I)=>({type:"NOT_NULLABLE",value:I(w.element),meta:{syntax:w.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:q((w,I)=>{let G={type:"VARIADIC",meta:{syntax:w.meta.position==="prefix"?"PREFIX_DOTS":w.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return w.element!==void 0&&(G.value=I(w.element)),G},"JsdocTypeVariadic"),JsdocTypeName:q(w=>({type:"NAME",name:w.value}),"JsdocTypeName"),JsdocTypeTypeof:q((w,I)=>({type:"TYPE_QUERY",name:I(w.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:q((w,I)=>({type:"TUPLE",entries:w.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeKeyof:q((w,I)=>({type:"KEY_QUERY",value:I(w.element)}),"JsdocTypeKeyof"),JsdocTypeImport:q(w=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Bt(w.element.meta.quote),string:w.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:q(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:q(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:q((w,I)=>{let G=N(w),ae={type:w.arrow?"ARROW":"FUNCTION",params:G.params.map(de=>{if(de.type==="JsdocTypeKeyValue"){if(de.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:de.key,typeName:I(de.right)}}else return I(de)}),new:null,returns:null};return G.this!==void 0?ae.this=I(G.this):w.arrow||(ae.this=null),G.new!==void 0&&(ae.new=I(G.new)),w.returnType!==void 0&&(ae.returns=I(w.returnType)),ae},"JsdocTypeFunction"),JsdocTypeGeneric:q((w,I)=>{let G={type:"GENERIC",subject:I(w.left),objects:w.elements.map(I),meta:{syntax:w.meta.brackets==="square"?"SQUARE_BRACKET":w.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return w.meta.brackets==="square"&&w.elements[0].type==="JsdocTypeFunction"&&!w.elements[0].parenthesis&&(G.objects[0]={type:"NAME",name:"function"}),G},"JsdocTypeGeneric"),JsdocTypeObjectField:q((w,I)=>{if(typeof w.key!="string")throw new Error("Index signatures and mapped types are not supported");if(w.right===void 0)return{type:"RECORD_ENTRY",key:w.key,quoteStyle:Bt(w.meta.quote),value:null,readonly:!1};let G=I(w.right);return w.optional&&(G={type:"OPTIONAL",value:G,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:w.key.toString(),quoteStyle:Bt(w.meta.quote),value:G,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((w,I)=>{if(w.right===void 0)return{type:"RECORD_ENTRY",key:w.key,quoteStyle:"none",value:null,readonly:!1};let G=I(w.right);return w.optional&&(G={type:"OPTIONAL",value:G,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:w.key,quoteStyle:"none",value:G,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:q((w,I)=>{let G=[];for(let ae of w.elements)(ae.type==="JsdocTypeObjectField"||ae.type==="JsdocTypeJsdocObjectField")&&G.push(I(ae));return{type:"RECORD",entries:G}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:q(w=>{if(w.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${w.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Bt(w.meta.quote),path:w.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:q((w,I)=>{let G=!1,ae,de;w.right.type==="JsdocTypeSpecialNamePath"&&w.right.specialType==="event"?(G=!0,ae=w.right.value,de=Bt(w.right.meta.quote)):(ae=w.right.value,de=Bt(w.right.meta.quote));let Ce={type:en(w.pathType),owner:I(w.left),name:ae,quoteStyle:de,hasEventPrefix:G};if(Ce.owner.type==="MODULE"){let Re=Ce.owner;return Ce.owner=Ce.owner.value,Re.value=Ce,Re}else return Ce},"JsdocTypeNamePath"),JsdocTypeUnion:q((w,I)=>ra("UNION",w.elements.map(I)),"JsdocTypeUnion"),JsdocTypeParenthesis:q((w,I)=>({type:"PARENTHESIS",value:I(k(w.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:q(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:q(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:q(w=>({type:"STRING_VALUE",quoteStyle:Bt(w.meta.quote),string:w.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:q((w,I)=>ra("INTERSECTION",w.elements.map(I)),"JsdocTypeIntersection"),JsdocTypeNumber:q(w=>({type:"NUMBER_VALUE",number:w.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeAsserts:x};function Qt(w){return dr(_s,w)}q(Qt,"jtpTransform");function Yb(){return{JsdocTypeIntersection:q((w,I)=>({type:"JsdocTypeIntersection",elements:w.elements.map(I)}),"JsdocTypeIntersection"),JsdocTypeGeneric:q((w,I)=>({type:"JsdocTypeGeneric",left:I(w.left),elements:w.elements.map(I),meta:{dot:w.meta.dot,brackets:w.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:q(w=>w,"JsdocTypeNullable"),JsdocTypeUnion:q((w,I)=>({type:"JsdocTypeUnion",elements:w.elements.map(I)}),"JsdocTypeUnion"),JsdocTypeUnknown:q(w=>w,"JsdocTypeUnknown"),JsdocTypeUndefined:q(w=>w,"JsdocTypeUndefined"),JsdocTypeTypeof:q((w,I)=>({type:"JsdocTypeTypeof",element:I(w.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:q((w,I)=>{let G={type:"JsdocTypeSymbol",value:w.value};return w.element!==void 0&&(G.element=I(w.element)),G},"JsdocTypeSymbol"),JsdocTypeOptional:q((w,I)=>({type:"JsdocTypeOptional",element:I(w.element),meta:{position:w.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:q((w,I)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:w.elements.map(I)}),"JsdocTypeObject"),JsdocTypeNumber:q(w=>w,"JsdocTypeNumber"),JsdocTypeNull:q(w=>w,"JsdocTypeNull"),JsdocTypeNotNullable:q((w,I)=>({type:"JsdocTypeNotNullable",element:I(w.element),meta:{position:w.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:q(w=>w,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:q((w,I)=>({type:"JsdocTypeObjectField",key:w.key,right:w.right===void 0?void 0:I(w.right),optional:w.optional,readonly:w.readonly,meta:w.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((w,I)=>({type:"JsdocTypeJsdocObjectField",left:I(w.left),right:I(w.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((w,I)=>({type:"JsdocTypeKeyValue",key:w.key,right:w.right===void 0?void 0:I(w.right),optional:w.optional,variadic:w.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:q((w,I)=>({type:"JsdocTypeImport",element:I(w.element)}),"JsdocTypeImport"),JsdocTypeAny:q(w=>w,"JsdocTypeAny"),JsdocTypeStringValue:q(w=>w,"JsdocTypeStringValue"),JsdocTypeNamePath:q(w=>w,"JsdocTypeNamePath"),JsdocTypeVariadic:q((w,I)=>{let G={type:"JsdocTypeVariadic",meta:{position:w.meta.position,squareBrackets:w.meta.squareBrackets}};return w.element!==void 0&&(G.element=I(w.element)),G},"JsdocTypeVariadic"),JsdocTypeTuple:q((w,I)=>({type:"JsdocTypeTuple",elements:w.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeName:q(w=>w,"JsdocTypeName"),JsdocTypeFunction:q((w,I)=>{let G={type:"JsdocTypeFunction",arrow:w.arrow,parameters:w.parameters.map(I),constructor:w.constructor,parenthesis:w.parenthesis};return w.returnType!==void 0&&(G.returnType=I(w.returnType)),G},"JsdocTypeFunction"),JsdocTypeKeyof:q((w,I)=>({type:"JsdocTypeKeyof",element:I(w.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:q((w,I)=>({type:"JsdocTypeParenthesis",element:I(w.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:q(w=>w,"JsdocTypeProperty"),JsdocTypePredicate:q((w,I)=>({type:"JsdocTypePredicate",left:I(w.left),right:I(w.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:q((w,I)=>({type:"JsdocTypeIndexSignature",key:w.key,right:I(w.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((w,I)=>({type:"JsdocTypeMappedType",key:w.key,right:I(w.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:q((w,I)=>({type:"JsdocTypeAsserts",left:I(w.left),right:I(w.right)}),"JsdocTypeAsserts")}}q(Yb,"identityTransformRules");let Xb={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Ts(w,I,G,ae,de){ae?.(w,I,G);let Ce=Xb[w.type];for(let Re of Ce){let ct=w[Re];if(ct!==void 0)if(Array.isArray(ct))for(let yt of ct)Ts(yt,w,Re,ae,de);else Ts(ct,w,Re,ae,de)}de?.(w,I,G)}q(Ts,"_traverse");function Qb(w,I,G){Ts(w,void 0,void 0,I,G)}q(Qb,"traverse"),r.catharsisTransform=mt,r.identityTransformRules=Yb,r.jtpTransform=Qt,r.parse=kr,r.stringify=le,r.stringifyRules=V,r.transform=dr,r.traverse=Qb,r.tryParse=_n,r.visitorKeys=Xb})});const{UnknownArgTypesError:PG}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var DG=q(e=>e.name==="literal","isLiteral"),OG=q(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),RG=q(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=xi(r.value)}),{name:"object",value:t};default:throw new PG({type:e,language:"Flow"})}},"convertSig"),xi=q(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(xi)};case"signature":return{...n,...RG(e)};case"union":return e.elements?.every(DG)?{...n,name:"enum",value:e.elements?.map(OG)}:{...n,name:t,value:e.elements?.map(xi)};case"intersection":return{...n,name:t,value:e.elements?.map(xi)};default:return{...n,name:"other",value:t}}},"convert");function il(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}q(il,"isPlainObject");function n2(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}q(n2,"mapValues");var a2=/^['"]|['"]$/g,FG=q(e=>e.replace(a2,""),"trimQuotes"),IG=q(e=>a2.test(e),"includesQuotes"),o2=q(e=>{let t=FG(e);return IG(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),NG=/^\(.*\) => /,ci=q(e=>{let{name:t,raw:r,computed:n,value:a}=e,o={};switch(typeof r<"u"&&(o.raw=r),t){case"enum":{let l=n?a:a.map(u=>o2(u.value));return{...o,name:t,value:l}}case"string":case"number":case"symbol":return{...o,name:t};case"func":return{...o,name:"function"};case"bool":case"boolean":return{...o,name:"boolean"};case"arrayOf":case"array":return{...o,name:"array",value:a&&ci(a)};case"object":return{...o,name:t};case"objectOf":return{...o,name:t,value:ci(a)};case"shape":case"exact":let i=n2(a,l=>ci(l));return{...o,name:"object",value:i};case"union":return{...o,name:"union",value:a.map(l=>ci(l))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...o,name:"enum",value:c}}catch{}let l=a?`${t}(${a})`:t,u=NG.test(t)?"function":"other";return{...o,name:u,value:l}}}},"convert");const{UnknownArgTypesError:kG}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var BG=q(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Si(r.value)}),{name:"object",value:t};default:throw new kG({type:e,language:"Typescript"})}},"convertSig"),Si=q(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Si)};case"signature":return{...n,...BG(e)};case"union":let a;return e.elements?.every(o=>o.name==="literal")?a={...n,name:"enum",value:e.elements?.map(o=>o2(o.value))}:a={...n,name:t,value:e.elements?.map(Si)},a;case"intersection":return{...n,name:t,value:e.elements?.map(Si)};default:return{...n,name:"other",value:t}}},"convert"),Nb=q(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return ci(t);if(r!=null)return Si(r);if(n!=null)return xi(n)}catch(a){console.error(a)}return null},"convert"),Wf=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(Wf||{}),jG=["null","undefined"];function Wc(e){return jG.some(t=>t===e)}q(Wc,"isDefaultValueBlacklisted");var qG=q(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Kc(e){return!!e.__docgenInfo}q(Kc,"hasDocgen");function i2(e){return e!=null&&Object.keys(e).length>0}q(i2,"isValidDocgenSection");function ou(e,t){return Kc(e)?e.__docgenInfo[t]:null}q(ou,"getDocgenSection");function s2(e){return Kc(e)?qG(e.__docgenInfo.description):""}q(s2,"getDocgenDescription");var $n;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})($n=$n||($n={}));function l2(e){return/^\s+$/.test(e)}q(l2,"isSpace");function u2(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}q(u2,"splitCR");function ba(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}q(ba,"splitSpace");function c2(e){return e.split(/\n/)}q(c2,"splitLines");function p2(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}q(p2,"seedSpec");function d2(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}q(d2,"seedTokens");var MG=/^@\S+/;function f2({fence:e="```"}={}){let t=h2(e),r=q((n,a)=>t(n)?!a:a,"toggleFence");return q(function(n){let a=[[]],o=!1;for(let i of n)MG.test(i.tokens.description)&&!o?a.push([i]):a[a.length-1].push(i),o=r(i.tokens.description,o);return a},"parseBlock")}q(f2,"getParser");function h2(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}q(h2,"getFencer");function m2({startLine:e=0,markers:t=$n}={}){let r=null,n=e;return q(function(a){let o=a,i=d2();if([i.lineEnd,o]=u2(o),[i.start,o]=ba(o),r===null&&o.startsWith(t.start)&&!o.startsWith(t.nostart)&&(r=[],i.delimiter=o.slice(0,t.start.length),o=o.slice(t.start.length),[i.postDelimiter,o]=ba(o)),r===null)return n++,null;let l=o.trimRight().endsWith(t.end);if(i.delimiter===""&&o.startsWith(t.delim)&&!o.startsWith(t.end)&&(i.delimiter=t.delim,o=o.slice(t.delim.length),[i.postDelimiter,o]=ba(o)),l){let u=o.trimRight();i.end=o.slice(u.length-t.end.length),o=u.slice(0,-t.end.length)}if(i.description=o,r.push({number:n,source:a,tokens:i}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}q(m2,"getParser");function y2({tokenizers:e}){return q(function(t){var r;let n=p2({source:t});for(let a of e)if(n=a(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}q(y2,"getParser");function g2(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}q(g2,"tagTokenizer");function b2(e="compact"){let t=v2(e);return r=>{let n=0,a=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let p of u.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(a.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let o=[],i=a[0][0].postDelimiter.length;for(let[l,[u,c]]of a.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(i)+c,u.postDelimiter=u.postDelimiter.slice(0,i)),[u.postType,u.description]=ba(u.description.slice(c.length)),o.push(u.type);return o[0]=o[0].slice(1),o[o.length-1]=o[o.length-1].slice(0,-1),r.type=t(o),r}}q(b2,"typeTokenizer");var LG=q(e=>e.trim(),"trim");function v2(e){return e==="compact"?t=>t.map(LG).join(""):e==="preserve"?t=>t.join(`
|
|
1043
|
+
`):e}q(v2,"getJoiner");var $G=q(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function E2(){let e=q((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),a=n.split('"');if(a.length>1&&a[0]===""&&a.length%2===1)return t.name=a[1],r.name=`"${a[1]}"`,[r.postName,r.description]=ba(n.slice(r.name.length)),t;let o=0,i="",l=!1,u;for(let p of n){if(o===0&&l2(p))break;p==="["&&o++,p==="]"&&o--,i+=p}if(o!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){l=!0,i=i.slice(1,-1);let p=i.split("=");if(i=p[0].trim(),p[1]!==void 0&&(u=p.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!$G(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=i,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=ba(n.slice(r.name.length)),t}}q(E2,"nameTokenizer");function C2(e="compact",t=$n){let r=kb(e);return n=>(n.description=r(n.source,t),n)}q(C2,"descriptionTokenizer");function kb(e){return e==="compact"?w2:e==="preserve"?A2:e}q(kb,"getJoiner");function w2(e,t=$n){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}q(w2,"compactJoiner");var UG=q((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),VG=q(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function A2(e,t=$n){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(UG,0)),e.map(VG).join(`
|
|
1044
|
+
`)}q(A2,"preserveJoiner");function x2({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=$n,tokenizers:a=[g2(),b2(r),E2(),C2(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let o=m2({startLine:e,markers:n}),i=f2({fence:t}),l=y2({tokenizers:a}),u=kb(r);return function(c){let p=[];for(let d of c2(c)){let h=o(d);if(h===null)continue;let f=i(h),m=f.slice(1).map(l);p.push({description:u(f[0],n),tags:m,source:h,problems:m.reduce((y,b)=>y.concat(b.problems),[])})}return p}}q(x2,"getParser");function S2(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}q(S2,"join");function HG(){return e=>e.source.map(({tokens:t})=>S2(t)).join(`
|
|
1045
|
+
`)}q(HG,"getStringifier");function _2(e,t={}){return x2(t)(e)}q(_2,"parse");var Bb=_G(TG());function T2(e){return e!=null&&e.includes("@")}q(T2,"containsJsDoc");function P2(e){let t=`/**
|
|
1046
|
+
`+(e??"").split(`
|
|
1047
|
+
`).map(n=>` * ${n}`).join(`
|
|
1048
|
+
`)+`
|
|
1049
|
+
*/`,r=_2(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}q(P2,"parse");var JG={tags:["param","arg","argument","returns","ignore","deprecated"]},zG=q((e,t=JG)=>{if(!T2(e))return{includesJsDoc:!1,ignore:!1};let r=P2(e),n=D2(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function D2(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let a=R2(n);a!=null&&(r.params==null&&(r.params=[]),r.params.push(a));break}case"deprecated":{let a=F2(n);a!=null&&(r.deprecated=a);break}case"returns":{let a=I2(n);a!=null&&(r.returns=a);break}}return r}q(D2,"extractJsDocTags");function O2(e){return e.replace(/[\.-]$/,"")}q(O2,"normaliseParamName");function R2(e){if(!e.name||e.name==="-")return null;let t=Mb(e.type);return{name:e.name,type:t,description:qb(e.description),getPrettyName:q(()=>O2(e.name),"getPrettyName"),getTypeName:q(()=>t?Lb(t):null,"getTypeName")}}q(R2,"extractParam");function F2(e){return e.name?jb(e.name,e.description):null}q(F2,"extractDeprecated");function jb(e,t){let r=e===""?t:`${e} ${t}`;return qb(r)}q(jb,"joinNameAndDescription");function qb(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}q(qb,"normaliseDescription");function I2(e){let t=Mb(e.type);return t?{type:t,description:jb(e.name,e.description),getTypeName:q(()=>Lb(t),"getTypeName")}:null}q(I2,"extractReturns");var Qn=(0,Bb.stringifyRules)(),GG=Qn.JsdocTypeObject;Qn.JsdocTypeAny=()=>"any";Qn.JsdocTypeObject=(e,t)=>`(${GG(e,t)})`;Qn.JsdocTypeOptional=(e,t)=>t(e.element);Qn.JsdocTypeNullable=(e,t)=>t(e.element);Qn.JsdocTypeNotNullable=(e,t)=>t(e.element);Qn.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Mb(e){try{return(0,Bb.parse)(e,"typescript")}catch{return null}}q(Mb,"extractType");function Lb(e){return(0,Bb.transform)(Qn,e)}q(Lb,"extractTypeName");function Yc(e){return e.length>90}q(Yc,"isTooLongForTypeSummary");function ja(e){return e.length>50}q(ja,"isTooLongForDefaultValueSummary");function _e(e,t){return e===t?{summary:e}:{summary:e,detail:t}}q(_e,"createSummaryValue");function N2(e,t){if(e!=null){let{value:r}=e;if(!Wc(r))return ja(r)?_e(t?.name,r):_e(r)}return null}q(N2,"createDefaultValue");function $b({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map($b).join(" | "):n??e)}q($b,"generateUnionElement");function k2({name:e,raw:t,elements:r}){return r!=null?_e(r.map($b).join(" | ")):t!=null?_e(t.replace(/^\|\s*/,"")):_e(e)}q(k2,"generateUnion");function B2({type:e,raw:t}){return t!=null?_e(t):_e(e)}q(B2,"generateFuncSignature");function j2({type:e,raw:t}){return t!=null?Yc(t)?_e(e,t):_e(t):_e(e)}q(j2,"generateObjectSignature");function q2(e){let{type:t}=e;return t==="object"?j2(e):B2(e)}q(q2,"generateSignature");function M2({name:e,raw:t}){return t!=null?Yc(t)?_e(e,t):_e(t):_e(e)}q(M2,"generateDefault");function L2(e){if(e==null)return null;switch(e.name){case"union":return k2(e);case"signature":return q2(e);default:return M2(e)}}q(L2,"createType");var WG=q((e,t)=>{let{flowType:r,description:n,required:a,defaultValue:o}=t;return{name:e,type:L2(r),required:a,description:n,defaultValue:N2(o??null,r??null)}},"createFlowPropDef");function $2({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Wc(t))return _e(t)}return null}q($2,"createDefaultValue");function U2({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),_e(["Array","Record","signature"].includes(e.name)?e.raw:r)}q(U2,"createType");var KG=q((e,t)=>{let{description:r,required:n}=t;return{name:e,type:U2(t),required:n,description:r,defaultValue:$2(t)}},"createTsPropDef");function V2(e){return e!=null?_e(e.name):null}q(V2,"createType");function H2(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}q(H2,"isReactDocgenTypescript");function J2(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}q(J2,"isStringValued");function z2(e,t){if(e!=null){let{value:r}=e;if(!Wc(r))return H2(e)&&J2(t)?_e(JSON.stringify(r)):_e(r)}return null}q(z2,"createDefaultValue");function Ub(e,t,r){let{description:n,required:a,defaultValue:o}=r;return{name:e,type:V2(t),required:a,description:n,defaultValue:z2(o,t)}}q(Ub,"createBasicPropDef");function ws(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let a={...n,params:n?.params?.map(o=>({name:o.getPrettyName(),description:o.description}))};Object.values(a).filter(Boolean).length>0&&(e.jsDocTags=a)}return e}q(ws,"applyJsDocResult");var YG=q((e,t,r)=>{let n=Ub(e,t.type,t);return n.sbType=Nb(t),ws(n,r)},"javaScriptFactory"),XG=q((e,t,r)=>{let n=KG(e,t);return n.sbType=Nb(t),ws(n,r)},"tsFactory"),QG=q((e,t,r)=>{let n=WG(e,t);return n.sbType=Nb(t),ws(n,r)},"flowFactory"),ZG=q((e,t,r)=>{let n=Ub(e,{name:"unknown"},t);return ws(n,r)},"unknownFactory"),G2=q(e=>{switch(e){case"JavaScript":return YG;case"TypeScript":return XG;case"Flow":return QG;default:return ZG}},"getPropDefFactory"),W2=q(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),eW=q(e=>{let t=W2(e[0]),r=G2(t);return e.map(n=>{let a=n;return n.type?.elements&&(a={...n,type:{...n.type,value:n.type.elements}}),Vb(a.name,a,t,r)})},"extractComponentSectionArray"),tW=q(e=>{let t=Object.keys(e),r=W2(e[t[0]]),n=G2(r);return t.map(a=>{let o=e[a];return o!=null?Vb(a,o,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),rW=q((e,t)=>{let r=ou(e,t);return i2(r)?Array.isArray(r)?eW(r):tW(r):[]},"extractComponentProps");function Vb(e,t,r,n){let a=zG(t.description);return a.includesJsDoc&&a.ignore?null:{propDef:n(e,t,a),jsDocTags:a.extractedTags,docgenInfo:t,typeSystem:r}}q(Vb,"extractProp");function K2(e){return e!=null?s2(e):""}q(K2,"extractComponentDescription");var Y2=q((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:il(l)&&il(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>il(i))?n[a]=Y2(...o):n[a]=o[o.length-1]}),n},"combineParameters"),nW=q(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:a}=n;if(!a||!t)return r;let o=a(t);return o?Y2(o,r):r},"enhanceArgTypes"),aW="storybook/docs",wX=`${aW}/snippet-rendered`,Kf=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Kf||{}),oW=ve({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,a,o,i,l,u;function c(_){var A={},E,C;for(E in _)_.hasOwnProperty(E)&&(C=_[E],typeof C=="object"&&C!==null?A[E]=c(C):A[E]=C);return A}function p(_,A){var E,C,T,k;for(C=_.length,T=0;C;)E=C>>>1,k=T+E,A(_[k])?C=E:(T=k+1,C-=E+1);return T}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},i={},l={},u={},a={Break:i,Skip:l,Remove:u};function d(_,A){this.parent=_,this.key=A}d.prototype.replace=function(_){this.parent[this.key]=_},d.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(_,A,E,C){this.node=_,this.path=A,this.wrap=E,this.ref=C}function f(){}f.prototype.path=function(){var _,A,E,C,T,k;function B(W,z){if(Array.isArray(z))for(E=0,C=z.length;E<C;++E)W.push(z[E]);else W.push(z)}if(!this.__current.path)return null;for(T=[],_=2,A=this.__leavelist.length;_<A;++_)k=this.__leavelist[_],B(T,k.path);return B(T,this.__current.path),T},f.prototype.type=function(){var _=this.current();return _.type||this.__current.wrap},f.prototype.parents=function(){var _,A,E;for(E=[],_=1,A=this.__leavelist.length;_<A;++_)E.push(this.__leavelist[_].node);return E},f.prototype.current=function(){return this.__current.node},f.prototype.__execute=function(_,A){var E,C;return C=void 0,E=this.__current,this.__current=A,this.__state=null,_&&(C=_.call(this,A.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=E,C},f.prototype.notify=function(_){this.__state=_},f.prototype.skip=function(){this.notify(l)},f.prototype.break=function(){this.notify(i)},f.prototype.remove=function(){this.notify(u)},f.prototype.__initialize=function(_,A){this.visitor=A,this.root=_,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,A.fallback==="iteration"?this.__fallback=Object.keys:typeof A.fallback=="function"&&(this.__fallback=A.fallback),this.__keys=o,A.keys&&(this.__keys=Object.assign(Object.create(this.__keys),A.keys))};function m(_){return _==null?!1:typeof _=="object"&&typeof _.type=="string"}function y(_,A){return(_===n.ObjectExpression||_===n.ObjectPattern)&&A==="properties"}function b(_,A){for(var E=_.length-1;E>=0;--E)if(_[E].node===A)return!0;return!1}f.prototype.traverse=function(_,A){var E,C,T,k,B,W,z,R,L,j,X,Q;for(this.__initialize(_,A),Q={},E=this.__worklist,C=this.__leavelist,E.push(new h(_,null,null,null)),C.push(new h(null,null,null,null));E.length;){if(T=E.pop(),T===Q){if(T=C.pop(),W=this.__execute(A.leave,T),this.__state===i||W===i)return;continue}if(T.node){if(W=this.__execute(A.enter,T),this.__state===i||W===i)return;if(E.push(Q),C.push(T),this.__state===l||W===l)continue;if(k=T.node,B=k.type||T.wrap,j=this.__keys[B],!j)if(this.__fallback)j=this.__fallback(k);else throw new Error("Unknown node type "+B+".");for(R=j.length;(R-=1)>=0;)if(z=j[R],X=k[z],!!X){if(Array.isArray(X)){for(L=X.length;(L-=1)>=0;)if(X[L]&&!b(C,X[L])){if(y(B,j[R]))T=new h(X[L],[z,L],"Property",null);else if(m(X[L]))T=new h(X[L],[z,L],null,null);else continue;E.push(T)}}else if(m(X)){if(b(C,X))continue;E.push(new h(X,z,null,null))}}}}},f.prototype.replace=function(_,A){var E,C,T,k,B,W,z,R,L,j,X,Q,oe;function $(K){var U,Y,ee,se;if(K.ref.remove()){for(Y=K.ref.key,se=K.ref.parent,U=E.length;U--;)if(ee=E[U],ee.ref&&ee.ref.parent===se){if(ee.ref.key<Y)break;--ee.ref.key}}}for(this.__initialize(_,A),X={},E=this.__worklist,C=this.__leavelist,Q={root:_},W=new h(_,null,null,new d(Q,"root")),E.push(W),C.push(W);E.length;){if(W=E.pop(),W===X){if(W=C.pop(),B=this.__execute(A.leave,W),B!==void 0&&B!==i&&B!==l&&B!==u&&W.ref.replace(B),(this.__state===u||B===u)&&$(W),this.__state===i||B===i)return Q.root;continue}if(B=this.__execute(A.enter,W),B!==void 0&&B!==i&&B!==l&&B!==u&&(W.ref.replace(B),W.node=B),(this.__state===u||B===u)&&($(W),W.node=null),this.__state===i||B===i)return Q.root;if(T=W.node,!!T&&(E.push(X),C.push(W),!(this.__state===l||B===l))){if(k=T.type||W.wrap,L=this.__keys[k],!L)if(this.__fallback)L=this.__fallback(T);else throw new Error("Unknown node type "+k+".");for(z=L.length;(z-=1)>=0;)if(oe=L[z],j=T[oe],!!j)if(Array.isArray(j)){for(R=j.length;(R-=1)>=0;)if(j[R]){if(y(k,L[z]))W=new h(j[R],[oe,R],"Property",new d(j,R));else if(m(j[R]))W=new h(j[R],[oe,R],null,new d(j,R));else continue;E.push(W)}}else m(j)&&E.push(new h(j,oe,null,new d(T,oe)))}}return Q.root};function g(_,A){var E=new f;return E.traverse(_,A)}function v(_,A){var E=new f;return E.replace(_,A)}function D(_,A){var E;return E=p(A,function(C){return C.range[0]>_.range[0]}),_.extendedRange=[_.range[0],_.range[1]],E!==A.length&&(_.extendedRange[1]=A[E].range[0]),E-=1,E>=0&&(_.extendedRange[0]=A[E].range[1]),_}function S(_,A,E){var C=[],T,k,B,W;if(!_.range)throw new Error("attachComments needs range information");if(!E.length){if(A.length){for(B=0,k=A.length;B<k;B+=1)T=c(A[B]),T.extendedRange=[0,_.range[0]],C.push(T);_.leadingComments=C}return _}for(B=0,k=A.length;B<k;B+=1)C.push(D(c(A[B]),E));return W=0,g(_,{enter:function(z){for(var R;W<C.length&&(R=C[W],!(R.extendedRange[1]>z.range[0]));)R.extendedRange[1]===z.range[0]?(z.leadingComments||(z.leadingComments=[]),z.leadingComments.push(R),C.splice(W,1)):W+=1;if(W===C.length)return a.Break;if(C[W].extendedRange[0]>z.range[1])return a.Skip}}),W=0,g(_,{leave:function(z){for(var R;W<C.length&&(R=C[W],!(z.range[1]<R.extendedRange[0]));)z.range[1]===R.extendedRange[0]?(z.trailingComments||(z.trailingComments=[]),z.trailingComments.push(R),C.splice(W,1)):W+=1;if(W===C.length)return a.Break;if(C[W].extendedRange[0]>z.range[1])return a.Skip}}),_}return r.Syntax=n,r.traverse=g,r.replace=v,r.attachComments=S,r.VisitorKeys=o,r.VisitorOption=a,r.Controller=f,r.cloneEnvironment=function(){return t({})},r})(e)}}),iW=ve({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(u){if(u==null)return!1;switch(u.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(u){if(u==null)return!1;switch(u.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(u){return a(u)||u!=null&&u.type==="FunctionDeclaration"}function i(u){switch(u.type){case"IfStatement":return u.alternate!=null?u.alternate:u.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return u.body}return null}function l(u){var c;if(u.type!=="IfStatement"||u.alternate==null)return!1;c=u.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=i(c)}while(c);return!1}t.exports={isExpression:r,isStatement:a,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:i}})()}}),X2=ve({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,a,o,i,l;n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function u(v){return 48<=v&&v<=57}function c(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function p(v){return v>=48&&v<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function d(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&a.indexOf(v)>=0}function h(v){return v===10||v===13||v===8232||v===8233}function f(v){if(v<=65535)return String.fromCharCode(v);var D=String.fromCharCode(Math.floor((v-65536)/1024)+55296),S=String.fromCharCode((v-65536)%1024+56320);return D+S}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(i=new Array(128),l=0;l<128;++l)i[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(f(v))}function y(v){return v<128?i[v]:n.NonAsciiIdentifierPart.test(f(v))}function b(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(f(v))}function g(v){return v<128?i[v]:r.NonAsciiIdentifierPart.test(f(v))}t.exports={isDecimalDigit:u,isHexDigit:c,isOctalDigit:p,isWhiteSpace:d,isLineTerminator:h,isIdentifierStartES5:m,isIdentifierPartES5:y,isIdentifierStartES6:b,isIdentifierPartES6:g}})()}}),sW=ve({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=X2();function n(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(m,y){return!y&&m==="yield"?!1:o(m,y)}function o(m,y){if(y&&n(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function i(m,y){return m==="null"||m==="true"||m==="false"||a(m,y)}function l(m,y){return m==="null"||m==="true"||m==="false"||o(m,y)}function u(m){return m==="eval"||m==="arguments"}function c(m){var y,b,g;if(m.length===0||(g=m.charCodeAt(0),!r.isIdentifierStartES5(g)))return!1;for(y=1,b=m.length;y<b;++y)if(g=m.charCodeAt(y),!r.isIdentifierPartES5(g))return!1;return!0}function p(m,y){return(m-55296)*1024+(y-56320)+65536}function d(m){var y,b,g,v,D;if(m.length===0)return!1;for(D=r.isIdentifierStartES6,y=0,b=m.length;y<b;++y){if(g=m.charCodeAt(y),55296<=g&&g<=56319){if(++y,y>=b||(v=m.charCodeAt(y),!(56320<=v&&v<=57343)))return!1;g=p(g,v)}if(!D(g))return!1;D=r.isIdentifierPartES6}return!0}function h(m,y){return c(m)&&!i(m,y)}function f(m,y){return d(m)&&!l(m,y)}t.exports={isKeywordES5:a,isKeywordES6:o,isReservedWordES5:i,isReservedWordES6:l,isRestrictedWord:u,isIdentifierNameES5:c,isIdentifierNameES6:d,isIdentifierES5:h,isIdentifierES6:f}})()}}),lW=ve({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=iW(),e.code=X2(),e.keyword=sW()})()}}),uW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r<t.length)return t[r];throw new TypeError("Must be between 0 and 63: "+r)},e.decode=function(r){var n=65,a=90,o=97,i=122,l=48,u=57,c=43,p=47,d=26,h=52;return n<=r&&r<=a?r-n:o<=r&&r<=i?r-o+d:l<=r&&r<=u?r-l+h:r==c?62:r==p?63:-1}}}),Q2=ve({"../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=uW(),r=5,n=1<<r,a=n-1,o=n;function i(u){return u<0?(-u<<1)+1:(u<<1)+0}function l(u){var c=(u&1)===1,p=u>>1;return c?-p:p}e.encode=function(u){var c="",p,d=i(u);do p=d&a,d>>>=r,d>0&&(p|=o),c+=t.encode(p);while(d>0);return c},e.decode=function(u,c,p){var d=u.length,h=0,f=0,m,y;do{if(c>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(y=t.decode(u.charCodeAt(c++)),y===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(y&o),y&=a,h=h+(y<<f),f+=r}while(m);p.value=l(h),p.rest=c}}}),As=ve({"../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(S,_,A){if(_ in S)return S[_];if(arguments.length===3)return A;throw new Error('"'+_+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function a(S){var _=S.match(r);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}e.urlParse=a;function o(S){var _="";return S.scheme&&(_+=S.scheme+":"),_+="//",S.auth&&(_+=S.auth+"@"),S.host&&(_+=S.host),S.port&&(_+=":"+S.port),S.path&&(_+=S.path),_}e.urlGenerate=o;function i(S){var _=S,A=a(S);if(A){if(!A.path)return S;_=A.path}for(var E=e.isAbsolute(_),C=_.split(/\/+/),T,k=0,B=C.length-1;B>=0;B--)T=C[B],T==="."?C.splice(B,1):T===".."?k++:k>0&&(T===""?(C.splice(B+1,k),k=0):(C.splice(B,2),k--));return _=C.join("/"),_===""&&(_=E?"/":"."),A?(A.path=_,o(A)):_}e.normalize=i;function l(S,_){S===""&&(S="."),_===""&&(_=".");var A=a(_),E=a(S);if(E&&(S=E.path||"/"),A&&!A.scheme)return E&&(A.scheme=E.scheme),o(A);if(A||_.match(n))return _;if(E&&!E.host&&!E.path)return E.host=_,o(E);var C=_.charAt(0)==="/"?_:i(S.replace(/\/+$/,"")+"/"+_);return E?(E.path=C,o(E)):C}e.join=l,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function u(S,_){S===""&&(S="."),S=S.replace(/\/$/,"");for(var A=0;_.indexOf(S+"/")!==0;){var E=S.lastIndexOf("/");if(E<0||(S=S.slice(0,E),S.match(/^([^\/]+:\/)?\/*$/)))return _;++A}return Array(A+1).join("../")+_.substr(S.length+1)}e.relative=u;var c=(function(){var S=Object.create(null);return!("__proto__"in S)})();function p(S){return S}function d(S){return f(S)?"$"+S:S}e.toSetString=c?p:d;function h(S){return f(S)?S.slice(1):S}e.fromSetString=c?p:h;function f(S){if(!S)return!1;var _=S.length;if(_<9||S.charCodeAt(_-1)!==95||S.charCodeAt(_-2)!==95||S.charCodeAt(_-3)!==111||S.charCodeAt(_-4)!==116||S.charCodeAt(_-5)!==111||S.charCodeAt(_-6)!==114||S.charCodeAt(_-7)!==112||S.charCodeAt(_-8)!==95||S.charCodeAt(_-9)!==95)return!1;for(var A=_-10;A>=0;A--)if(S.charCodeAt(A)!==36)return!1;return!0}function m(S,_,A){var E=b(S.source,_.source);return E!==0||(E=S.originalLine-_.originalLine,E!==0)||(E=S.originalColumn-_.originalColumn,E!==0||A)||(E=S.generatedColumn-_.generatedColumn,E!==0)||(E=S.generatedLine-_.generatedLine,E!==0)?E:b(S.name,_.name)}e.compareByOriginalPositions=m;function y(S,_,A){var E=S.generatedLine-_.generatedLine;return E!==0||(E=S.generatedColumn-_.generatedColumn,E!==0||A)||(E=b(S.source,_.source),E!==0)||(E=S.originalLine-_.originalLine,E!==0)||(E=S.originalColumn-_.originalColumn,E!==0)?E:b(S.name,_.name)}e.compareByGeneratedPositionsDeflated=y;function b(S,_){return S===_?0:S===null?1:_===null?-1:S>_?1:-1}function g(S,_){var A=S.generatedLine-_.generatedLine;return A!==0||(A=S.generatedColumn-_.generatedColumn,A!==0)||(A=b(S.source,_.source),A!==0)||(A=S.originalLine-_.originalLine,A!==0)||(A=S.originalColumn-_.originalColumn,A!==0)?A:b(S.name,_.name)}e.compareByGeneratedPositionsInflated=g;function v(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function D(S,_,A){if(_=_||"",S&&(S[S.length-1]!=="/"&&_[0]!=="/"&&(S+="/"),_=S+_),A){var E=a(A);if(!E)throw new Error("sourceMapURL could not be parsed");if(E.path){var C=E.path.lastIndexOf("/");C>=0&&(E.path=E.path.substring(0,C+1))}_=l(o(E),_)}return i(_)}e.computeSourceURL=D}}),Z2=ve({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=As(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function a(){this._array=[],this._set=n?new Map:Object.create(null)}a.fromArray=function(o,i){for(var l=new a,u=0,c=o.length;u<c;u++)l.add(o[u],i);return l},a.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(o,i){var l=n?o:t.toSetString(o),u=n?this.has(o):r.call(this._set,l),c=this._array.length;(!u||i)&&this._array.push(o),u||(n?this._set.set(o,c):this._set[l]=c)},a.prototype.has=function(o){if(n)return this._set.has(o);var i=t.toSetString(o);return r.call(this._set,i)},a.prototype.indexOf=function(o){if(n){var i=this._set.get(o);if(i>=0)return i}else{var l=t.toSetString(o);if(r.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},a.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},a.prototype.toArray=function(){return this._array.slice()},e.ArraySet=a}}),cW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=As();function r(a,o){var i=a.generatedLine,l=o.generatedLine,u=a.generatedColumn,c=o.generatedColumn;return l>i||l==i&&c>=u||t.compareByGeneratedPositionsInflated(a,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(a,o){this._array.forEach(a,o)},n.prototype.add=function(a){r(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),eN=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=Q2(),r=As(),n=Z2().ArraySet,a=cW().MappingList;function o(i){i||(i={}),this._file=r.getArg(i,"file",null),this._sourceRoot=r.getArg(i,"sourceRoot",null),this._skipValidation=r.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new a,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(i){var l=i.sourceRoot,u=new o({file:i.file,sourceRoot:l});return i.eachMapping(function(c){var p={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(p.source=c.source,l!=null&&(p.source=r.relative(l,p.source)),p.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(p.name=c.name)),u.addMapping(p)}),i.sources.forEach(function(c){var p=c;l!==null&&(p=r.relative(l,c)),u._sources.has(p)||u._sources.add(p);var d=i.sourceContentFor(c);d!=null&&u.setSourceContent(c,d)}),u},o.prototype.addMapping=function(i){var l=r.getArg(i,"generated"),u=r.getArg(i,"original",null),c=r.getArg(i,"source",null),p=r.getArg(i,"name",null);this._skipValidation||this._validateMapping(l,u,c,p),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:c,name:p})},o.prototype.setSourceContent=function(i,l){var u=i;this._sourceRoot!=null&&(u=r.relative(this._sourceRoot,u)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(u)]=l):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(i,l,u){var c=l;if(l==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=i.file}var p=this._sourceRoot;p!=null&&(c=r.relative(p,c));var d=new n,h=new n;this._mappings.unsortedForEach(function(f){if(f.source===c&&f.originalLine!=null){var m=i.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&(f.source=m.source,u!=null&&(f.source=r.join(u,f.source)),p!=null&&(f.source=r.relative(p,f.source)),f.originalLine=m.line,f.originalColumn=m.column,m.name!=null&&(f.name=m.name))}var y=f.source;y!=null&&!d.has(y)&&d.add(y);var b=f.name;b!=null&&!h.has(b)&&h.add(b)},this),this._sources=d,this._names=h,i.sources.forEach(function(f){var m=i.sourceContentFor(f);m!=null&&(u!=null&&(f=r.join(u,f)),p!=null&&(f=r.relative(p,f)),this.setSourceContent(f,m))},this)},o.prototype._validateMapping=function(i,l,u,c){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!l&&!u&&!c)){if(i&&"line"in i&&"column"in i&&l&&"line"in l&&"column"in l&&i.line>0&&i.column>=0&&l.line>0&&l.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:u,original:l,name:c}))}},o.prototype._serializeMappings=function(){for(var i=0,l=1,u=0,c=0,p=0,d=0,h="",f,m,y,b,g=this._mappings.toArray(),v=0,D=g.length;v<D;v++){if(m=g[v],f="",m.generatedLine!==l)for(i=0;m.generatedLine!==l;)f+=";",l++;else if(v>0){if(!r.compareByGeneratedPositionsInflated(m,g[v-1]))continue;f+=","}f+=t.encode(m.generatedColumn-i),i=m.generatedColumn,m.source!=null&&(b=this._sources.indexOf(m.source),f+=t.encode(b-d),d=b,f+=t.encode(m.originalLine-1-c),c=m.originalLine-1,f+=t.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(y=this._names.indexOf(m.name),f+=t.encode(y-p),p=y)),h+=f}return h},o.prototype._generateSourcesContent=function(i,l){return i.map(function(u){if(!this._sourcesContents)return null;l!=null&&(u=r.relative(l,u));var c=r.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},o.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),pW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,i,l){var u=Math.floor((n-r)/2)+r,c=i(a,o[u],!0);return c===0?u:c>0?n-u>1?t(u,n,a,o,i,l):l==e.LEAST_UPPER_BOUND?n<o.length?n:-1:u:u-r>1?t(r,u,a,o,i,l):l==e.LEAST_UPPER_BOUND?u:r<0?-1:r}e.search=function(r,n,a,o){if(n.length===0)return-1;var i=t(-1,n.length,r,n,a,o||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&a(n[i],n[i-1],!0)===0;)--i;return i}}}),dW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(a,o,i){var l=a[o];a[o]=a[i],a[i]=l}function r(a,o){return Math.round(a+Math.random()*(o-a))}function n(a,o,i,l){if(i<l){var u=r(i,l),c=i-1;t(a,u,l);for(var p=a[l],d=i;d<l;d++)o(a[d],p)<=0&&(c+=1,t(a,c,d));t(a,c+1,d);var h=c+1;n(a,o,i,h-1),n(a,o,h+1,l)}}e.quickSort=function(a,o){n(a,o,0,a.length-1)}}}),fW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=As(),r=pW(),n=Z2().ArraySet,a=Q2(),o=dW().quickSort;function i(p,d){var h=p;return typeof p=="string"&&(h=t.parseSourceMapInput(p)),h.sections!=null?new c(h,d):new l(h,d)}i.fromSourceMap=function(p,d){return l.fromSourceMap(p,d)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(p,d){var h=p.charAt(d);return h===";"||h===","},i.prototype._parseMappings=function(p,d){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(p,d,h){var f=d||null,m=h||i.GENERATED_ORDER,y;switch(m){case i.GENERATED_ORDER:y=this._generatedMappings;break;case i.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var b=this.sourceRoot;y.map(function(g){var v=g.source===null?null:this._sources.at(g.source);return v=t.computeSourceURL(b,v,this._sourceMapURL),{source:v,generatedLine:g.generatedLine,generatedColumn:g.generatedColumn,originalLine:g.originalLine,originalColumn:g.originalColumn,name:g.name===null?null:this._names.at(g.name)}},this).forEach(p,f)},i.prototype.allGeneratedPositionsFor=function(p){var d=t.getArg(p,"line"),h={source:t.getArg(p,"source"),originalLine:d,originalColumn:t.getArg(p,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var f=[],m=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var y=this._originalMappings[m];if(p.column===void 0)for(var b=y.originalLine;y&&y.originalLine===b;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m];else for(var g=y.originalColumn;y&&y.originalLine===d&&y.originalColumn==g;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m]}return f},e.SourceMapConsumer=i;function l(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sources"),y=t.getArg(h,"names",[]),b=t.getArg(h,"sourceRoot",null),g=t.getArg(h,"sourcesContent",null),v=t.getArg(h,"mappings"),D=t.getArg(h,"file",null);if(f!=this._version)throw new Error("Unsupported version: "+f);b&&(b=t.normalize(b)),m=m.map(String).map(t.normalize).map(function(S){return b&&t.isAbsolute(b)&&t.isAbsolute(S)?t.relative(b,S):S}),this._names=n.fromArray(y.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(S){return t.computeSourceURL(b,S,d)}),this.sourceRoot=b,this.sourcesContent=g,this._mappings=v,this._sourceMapURL=d,this.file=D}l.prototype=Object.create(i.prototype),l.prototype.consumer=i,l.prototype._findSourceIndex=function(p){var d=p;if(this.sourceRoot!=null&&(d=t.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var h;for(h=0;h<this._absoluteSources.length;++h)if(this._absoluteSources[h]==p)return h;return-1},l.fromSourceMap=function(p,d){var h=Object.create(l.prototype),f=h._names=n.fromArray(p._names.toArray(),!0),m=h._sources=n.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file,h._sourceMapURL=d,h._absoluteSources=h._sources.toArray().map(function(A){return t.computeSourceURL(h.sourceRoot,A,d)});for(var y=p._mappings.toArray().slice(),b=h.__generatedMappings=[],g=h.__originalMappings=[],v=0,D=y.length;v<D;v++){var S=y[v],_=new u;_.generatedLine=S.generatedLine,_.generatedColumn=S.generatedColumn,S.source&&(_.source=m.indexOf(S.source),_.originalLine=S.originalLine,_.originalColumn=S.originalColumn,S.name&&(_.name=f.indexOf(S.name)),g.push(_)),b.push(_)}return o(h.__originalMappings,t.compareByOriginalPositions),h},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(p,d){for(var h=1,f=0,m=0,y=0,b=0,g=0,v=p.length,D=0,S={},_={},A=[],E=[],C,T,k,B,W;D<v;)if(p.charAt(D)===";")h++,D++,f=0;else if(p.charAt(D)===",")D++;else{for(C=new u,C.generatedLine=h,B=D;B<v&&!this._charIsMappingSeparator(p,B);B++);if(T=p.slice(D,B),k=S[T],k)D+=T.length;else{for(k=[];D<B;)a.decode(p,D,_),W=_.value,D=_.rest,k.push(W);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");S[T]=k}C.generatedColumn=f+k[0],f=C.generatedColumn,k.length>1&&(C.source=b+k[1],b+=k[1],C.originalLine=m+k[2],m=C.originalLine,C.originalLine+=1,C.originalColumn=y+k[3],y=C.originalColumn,k.length>4&&(C.name=g+k[4],g+=k[4])),E.push(C),typeof C.originalLine=="number"&&A.push(C)}o(E,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,o(A,t.compareByOriginalPositions),this.__originalMappings=A},l.prototype._findMapping=function(p,d,h,f,m,y){if(p[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[h]);if(p[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[f]);return r.search(p,d,m,y)},l.prototype.computeColumnSpans=function(){for(var p=0;p<this._generatedMappings.length;++p){var d=this._generatedMappings[p];if(p+1<this._generatedMappings.length){var h=this._generatedMappings[p+1];if(d.generatedLine===h.generatedLine){d.lastGeneratedColumn=h.generatedColumn-1;continue}}d.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=this._findMapping(d,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var f=this._generatedMappings[h];if(f.generatedLine===d.generatedLine){var m=t.getArg(f,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var y=t.getArg(f,"name",null);return y!==null&&(y=this._names.at(y)),{source:m,line:t.getArg(f,"originalLine",null),column:t.getArg(f,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return p==null}):!1},l.prototype.sourceContentFor=function(p,d){if(!this.sourcesContent)return null;var h=this._findSourceIndex(p);if(h>=0)return this.sourcesContent[h];var f=p;this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var y=f.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!m.path||m.path=="/")&&this._sources.has("/"+f))return this.sourcesContent[this._sources.indexOf("/"+f)]}if(d)return null;throw new Error('"'+f+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(p){var d=t.getArg(p,"source");if(d=this._findSourceIndex(d),d<0)return{line:null,column:null,lastColumn:null};var h={source:d,originalLine:t.getArg(p,"line"),originalColumn:t.getArg(p,"column")},f=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(f>=0){var m=this._originalMappings[f];if(m.source===h.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function c(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sections");if(f!=this._version)throw new Error("Unsupported version: "+f);this._sources=new n,this._names=new n;var y={line:-1,column:0};this._sections=m.map(function(b){if(b.url)throw new Error("Support for url field in sections not implemented.");var g=t.getArg(b,"offset"),v=t.getArg(g,"line"),D=t.getArg(g,"column");if(v<y.line||v===y.line&&D<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=g,{generatedOffset:{generatedLine:v+1,generatedColumn:D+1},consumer:new i(t.getArg(b,"map"),d)}})}c.prototype=Object.create(i.prototype),c.prototype.constructor=i,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var p=[],d=0;d<this._sections.length;d++)for(var h=0;h<this._sections[d].consumer.sources.length;h++)p.push(this._sections[d].consumer.sources[h]);return p}}),c.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=r.search(d,this._sections,function(m,y){var b=m.generatedLine-y.generatedOffset.generatedLine;return b||m.generatedColumn-y.generatedOffset.generatedColumn}),f=this._sections[h];return f?f.consumer.originalPositionFor({line:d.generatedLine-(f.generatedOffset.generatedLine-1),column:d.generatedColumn-(f.generatedOffset.generatedLine===d.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:p.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(p){return p.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(p,d){for(var h=0;h<this._sections.length;h++){var f=this._sections[h],m=f.consumer.sourceContentFor(p,!0);if(m)return m}if(d)return null;throw new Error('"'+p+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(p){for(var d=0;d<this._sections.length;d++){var h=this._sections[d];if(h.consumer._findSourceIndex(t.getArg(p,"source"))!==-1){var f=h.consumer.generatedPositionFor(p);if(f){var m={line:f.line+(h.generatedOffset.generatedLine-1),column:f.column+(h.generatedOffset.generatedLine===f.line?h.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},c.prototype._parseMappings=function(p,d){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var f=this._sections[h],m=f.consumer._generatedMappings,y=0;y<m.length;y++){var b=m[y],g=f.consumer._sources.at(b.source);g=t.computeSourceURL(f.consumer.sourceRoot,g,this._sourceMapURL),this._sources.add(g),g=this._sources.indexOf(g);var v=null;b.name&&(v=f.consumer._names.at(b.name),this._names.add(v),v=this._names.indexOf(v));var D={source:g,generatedLine:b.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(f.generatedOffset.generatedLine===b.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:v};this.__generatedMappings.push(D),typeof D.originalLine=="number"&&this.__originalMappings.push(D)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=c}}),hW=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=eN().SourceMapGenerator,r=As(),n=/(\r?\n)/,a=10,o="$$$isSourceNode$$$";function i(l,u,c,p,d){this.children=[],this.sourceContents={},this.line=l??null,this.column=u??null,this.source=c??null,this.name=d??null,this[o]=!0,p!=null&&this.add(p)}i.fromStringWithSourceMap=function(l,u,c){var p=new i,d=l.split(n),h=0,f=function(){var v=S(),D=S()||"";return v+D;function S(){return h<d.length?d[h++]:void 0}},m=1,y=0,b=null;return u.eachMapping(function(v){if(b!==null)if(m<v.generatedLine)g(b,f()),m++,y=0;else{var D=d[h]||"",S=D.substr(0,v.generatedColumn-y);d[h]=D.substr(v.generatedColumn-y),y=v.generatedColumn,g(b,S),b=v;return}for(;m<v.generatedLine;)p.add(f()),m++;if(y<v.generatedColumn){var D=d[h]||"";p.add(D.substr(0,v.generatedColumn)),d[h]=D.substr(v.generatedColumn),y=v.generatedColumn}b=v},this),h<d.length&&(b&&g(b,f()),p.add(d.splice(h).join(""))),u.sources.forEach(function(v){var D=u.sourceContentFor(v);D!=null&&(c!=null&&(v=r.join(c,v)),p.setSourceContent(v,D))}),p;function g(v,D){if(v===null||v.source===void 0)p.add(D);else{var S=c?r.join(c,v.source):v.source;p.add(new i(v.originalLine,v.originalColumn,S,D,v.name))}}},i.prototype.add=function(l){if(Array.isArray(l))l.forEach(function(u){this.add(u)},this);else if(l[o]||typeof l=="string")l&&this.children.push(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.prepend=function(l){if(Array.isArray(l))for(var u=l.length-1;u>=0;u--)this.prepend(l[u]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.walk=function(l){for(var u,c=0,p=this.children.length;c<p;c++)u=this.children[c],u[o]?u.walk(l):u!==""&&l(u,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(l){var u,c,p=this.children.length;if(p>0){for(u=[],c=0;c<p-1;c++)u.push(this.children[c]),u.push(l);u.push(this.children[c]),this.children=u}return this},i.prototype.replaceRight=function(l,u){var c=this.children[this.children.length-1];return c[o]?c.replaceRight(l,u):typeof c=="string"?this.children[this.children.length-1]=c.replace(l,u):this.children.push("".replace(l,u)),this},i.prototype.setSourceContent=function(l,u){this.sourceContents[r.toSetString(l)]=u},i.prototype.walkSourceContents=function(l){for(var u=0,c=this.children.length;u<c;u++)this.children[u][o]&&this.children[u].walkSourceContents(l);for(var p=Object.keys(this.sourceContents),u=0,c=p.length;u<c;u++)l(r.fromSetString(p[u]),this.sourceContents[p[u]])},i.prototype.toString=function(){var l="";return this.walk(function(u){l+=u}),l},i.prototype.toStringWithSourceMap=function(l){var u={code:"",line:1,column:0},c=new t(l),p=!1,d=null,h=null,f=null,m=null;return this.walk(function(y,b){u.code+=y,b.source!==null&&b.line!==null&&b.column!==null?((d!==b.source||h!==b.line||f!==b.column||m!==b.name)&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name}),d=b.source,h=b.line,f=b.column,m=b.name,p=!0):p&&(c.addMapping({generated:{line:u.line,column:u.column}}),d=null,p=!1);for(var g=0,v=y.length;g<v;g++)y.charCodeAt(g)===a?(u.line++,u.column=0,g+1===v?(d=null,p=!1):p&&c.addMapping({source:b.source,original:{line:b.line,column:b.column},generated:{line:u.line,column:u.column},name:b.name})):u.column++}),this.walkSourceContents(function(y,b){c.setSourceContent(y,b)}),{code:u.code,map:c}},e.SourceNode=i}}),mW=ve({"../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=eN().SourceMapGenerator,e.SourceMapConsumer=fW().SourceMapConsumer,e.SourceNode=hW().SourceNode}}),yW=ve({"../../node_modules/escodegen/package.json"(e,t){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),gW=ve({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,b,g,v,D,S,_,A,E,C,T,k;o=oW(),i=lW(),t=o.Syntax;function B(x){return Ze.Expression.hasOwnProperty(x.type)}function W(x){return Ze.Statement.hasOwnProperty(x.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var z=1,R=2,L=4,j=8,X=16,Q=32,oe=64,$=R|L,K=z|R,U=z|R|L,Y=z,ee=L,se=z|L,te=z,pe=z|Q,me=0,Xe=z|X,ht=z|j;function Z(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
|
|
1050
|
+
`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function ce(x,N){var F="";for(N|=0;N>0;N>>>=1,x+=x)N&1&&(F+=x);return F}function ge(x){return/[\r\n]/g.test(x)}function be(x){var N=x.length;return N&&i.code.isLineTerminator(x.charCodeAt(N-1))}function Ee(x,N){var F;for(F in N)N.hasOwnProperty(F)&&(x[F]=N[F]);return x}function xe(x,N){var F,P;function V(ie){return typeof ie=="object"&&ie instanceof Object&&!(ie instanceof RegExp)}for(F in N)N.hasOwnProperty(F)&&(P=N[F],V(P)?V(x[F])?xe(x[F],P):x[F]=xe({},P):x[F]=P);return x}function Se(x){var N,F,P,V,ie;if(x!==x)throw new Error("Numeric literal whose value is NaN");if(x<0||x===0&&1/x<0)throw new Error("Numeric literal whose value is negative");if(x===1/0)return c?"null":p?"1e400":"1e+400";if(N=""+x,!p||N.length<3)return N;for(F=N.indexOf("."),!c&&N.charCodeAt(0)===48&&F===1&&(F=0,N=N.slice(1)),P=N,N=N.replace("e+","e"),V=0,(ie=P.indexOf("e"))>0&&(V=+P.slice(ie+1),P=P.slice(0,ie)),F>=0&&(V-=P.length-F-1,P=+(P.slice(0,F)+P.slice(F+1))+""),ie=0;P.charCodeAt(P.length+ie-1)===48;)--ie;return ie!==0&&(V-=ie,P=P.slice(0,ie)),V!==0&&(P+="e"+V),(P.length<N.length||d&&x>1e12&&Math.floor(x)===x&&(P="0x"+x.toString(16)).length<N.length)&&+P===x&&(N=P),N}function ze(x,N){return(x&-2)===8232?(N?"u":"\\u")+(x===8232?"2028":"2029"):x===10||x===13?(N?"":"\\")+(x===10?"n":"r"):String.fromCharCode(x)}function st(x){var N,F,P,V,ie,le,ue,ye;if(F=x.toString(),x.source){if(N=F.match(/\/([^/]*)$/),!N)return F;for(P=N[1],F="",ue=!1,ye=!1,V=0,ie=x.source.length;V<ie;++V)le=x.source.charCodeAt(V),ye?(F+=ze(le,ye),ye=!1):(ue?le===93&&(ue=!1):le===47?F+="\\":le===91&&(ue=!0),F+=ze(le,ye),ye=le===92);return"/"+F+"/"+P}return F}function Dt(x,N){var F;return x===8?"\\b":x===12?"\\f":x===9?"\\t":(F=x.toString(16).toUpperCase(),c||x>255?"\\u"+"0000".slice(F.length)+F:x===0&&!i.code.isDecimalDigit(N)?"\\0":x===11?"\\x0B":"\\x"+"00".slice(F.length)+F)}function Gt(x){if(x===92)return"\\\\";if(x===10)return"\\n";if(x===13)return"\\r";if(x===8232)return"\\u2028";if(x===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function _t(x){var N,F,P,V;for(V=h==="double"?'"':"'",N=0,F=x.length;N<F;++N)if(P=x.charCodeAt(N),P===39){V='"';break}else if(P===34){V="'";break}else P===92&&++N;return V+x+V}function Vt(x){var N="",F,P,V,ie=0,le=0,ue,ye;for(F=0,P=x.length;F<P;++F){if(V=x.charCodeAt(F),V===39)++ie;else if(V===34)++le;else if(V===47&&c)N+="\\";else if(i.code.isLineTerminator(V)||V===92){N+=Gt(V);continue}else if(!i.code.isIdentifierPartES5(V)&&(c&&V<32||!c&&!f&&(V<32||V>126))){N+=Dt(V,x.charCodeAt(F+1));continue}N+=String.fromCharCode(V)}if(ue=!(h==="double"||h==="auto"&&le<ie),ye=ue?"'":'"',!(ue?ie:le))return ye+N+ye;for(x=N,N=ye,F=0,P=x.length;F<P;++F)V=x.charCodeAt(F),(V===39&&ue||V===34&&!ue)&&(N+="\\"),N+=String.fromCharCode(V);return N+ye}function Nt(x){var N,F,P,V="";for(N=0,F=x.length;N<F;++N)P=x[N],V+=Array.isArray(P)?Nt(P):P;return V}function Te(x,N){if(!A)return Array.isArray(x)?Nt(x):x;if(N==null){if(x instanceof a)return x;N={}}return N.loc==null?new a(null,null,A,x,N.name||null):new a(N.loc.start.line,N.loc.start.column,A===!0?N.loc.source||null:A,x,N.name||null)}function lt(){return y||" "}function Ae(x,N){var F,P,V,ie;return F=Te(x).toString(),F.length===0?[N]:(P=Te(N).toString(),P.length===0?[x]:(V=F.charCodeAt(F.length-1),ie=P.charCodeAt(0),(V===43||V===45)&&V===ie||i.code.isIdentifierPartES5(V)&&i.code.isIdentifierPartES5(ie)||V===47&&ie===105?[x,lt(),N]:i.code.isWhiteSpace(V)||i.code.isLineTerminator(V)||i.code.isWhiteSpace(ie)||i.code.isLineTerminator(ie)?[x,N]:[x,y,N]))}function ut(x){return[l,x]}function Qe(x){var N;N=l,l+=u,x(l),l=N}function Zn(x){var N;for(N=x.length-1;N>=0&&!i.code.isLineTerminator(x.charCodeAt(N));--N);return x.length-1-N}function ea(x,N){var F,P,V,ie,le,ue,ye,Be;for(F=x.split(/\r\n|[\r\n]/),ue=Number.MAX_VALUE,P=1,V=F.length;P<V;++P){for(ie=F[P],le=0;le<ie.length&&i.code.isWhiteSpace(ie.charCodeAt(le));)++le;ue>le&&(ue=le)}for(typeof N<"u"?(ye=l,F[1][ue]==="*"&&(N+=" "),l=N):(ue&1&&--ue,ye=l),P=1,V=F.length;P<V;++P)Be=Te(ut(F[P].slice(ue))),F[P]=A?Be.join(""):Be;return l=ye,F.join(`
|
|
1051
|
+
`)}function kt(x,N){if(x.type==="Line"){if(be(x.value))return"//"+x.value;var F="//"+x.value;return C||(F+=`
|
|
1052
|
+
`),F}return S.format.indent.adjustMultilineComment&&/[\n\r]/.test(x.value)?ea("/*"+x.value+"*/",N):"/*"+x.value+"*/"}function xn(x,N){var F,P,V,ie,le,ue,ye,Be,mt,Bt,en,ra,_s,Qt;if(x.leadingComments&&x.leadingComments.length>0){if(ie=N,C){for(V=x.leadingComments[0],N=[],Be=V.extendedRange,mt=V.range,en=E.substring(Be[0],mt[0]),Qt=(en.match(/\n/g)||[]).length,Qt>0?(N.push(ce(`
|
|
1053
|
+
`,Qt)),N.push(ut(kt(V)))):(N.push(en),N.push(kt(V))),Bt=mt,F=1,P=x.leadingComments.length;F<P;F++)V=x.leadingComments[F],mt=V.range,ra=E.substring(Bt[1],mt[0]),Qt=(ra.match(/\n/g)||[]).length,N.push(ce(`
|
|
1054
|
+
`,Qt)),N.push(ut(kt(V))),Bt=mt;_s=E.substring(mt[1],Be[1]),Qt=(_s.match(/\n/g)||[]).length,N.push(ce(`
|
|
1055
|
+
`,Qt))}else for(V=x.leadingComments[0],N=[],v&&x.type===t.Program&&x.body.length===0&&N.push(`
|
|
1056
|
+
`),N.push(kt(V)),be(Te(N).toString())||N.push(`
|
|
1057
|
+
`),F=1,P=x.leadingComments.length;F<P;++F)V=x.leadingComments[F],ye=[kt(V)],be(Te(ye).toString())||ye.push(`
|
|
1058
|
+
`),N.push(ut(ye));N.push(ut(ie))}if(x.trailingComments)if(C)V=x.trailingComments[0],Be=V.extendedRange,mt=V.range,en=E.substring(Be[0],mt[0]),Qt=(en.match(/\n/g)||[]).length,Qt>0?(N.push(ce(`
|
|
1059
|
+
`,Qt)),N.push(ut(kt(V)))):(N.push(en),N.push(kt(V)));else for(le=!be(Te(N).toString()),ue=ce(" ",Zn(Te([l,N,u]).toString())),F=0,P=x.trailingComments.length;F<P;++F)V=x.trailingComments[F],le?(F===0?N=[N,u]:N=[N,ue],N.push(kt(V,ue))):N=[N,ut(kt(V))],F!==P-1&&!be(Te(N).toString())&&(N=[N,`
|
|
1060
|
+
`]);return N}function pr(x,N,F){var P,V=0;for(P=x;P<N;P++)E[P]===`
|
|
1061
|
+
`&&V++;for(P=1;P<V;P++)F.push(m)}function tt(x,N,F){return N<F?["(",x,")"]:x}function Sn(x){var N,F,P;for(P=x.split(/\r\n|\n/),N=1,F=P.length;N<F;N++)P[N]=m+l+P[N];return P}function ta(x,N){var F,P,V;return F=x[S.verbatim],typeof F=="string"?P=tt(Sn(F),r.Sequence,N):(P=Sn(F.content),V=F.precedence!=null?F.precedence:r.Sequence,P=tt(P,V,N)),Te(P,x)}function Ze(){}Ze.prototype.maybeBlock=function(x,N){var F,P,V=this;return P=!S.comment||!x.leadingComments,x.type===t.BlockStatement&&P?[y,this.generateStatement(x,N)]:x.type===t.EmptyStatement&&P?";":(Qe(function(){F=[m,ut(V.generateStatement(x,N))]}),F)},Ze.prototype.maybeBlockSuffix=function(x,N){var F=be(Te(N).toString());return x.type===t.BlockStatement&&(!S.comment||!x.leadingComments)&&!F?[N,y]:F?[N,l]:[N,m,l]};function wt(x){return Te(x.name,x)}function Ar(x,N){return x.async?"async"+(N?lt():y):""}function Nr(x){var N=x.generator&&!S.moz.starlessGenerator;return N?"*"+y:""}function kr(x){var N=x.value,F="";return N.async&&(F+=Ar(N,!x.computed)),N.generator&&(F+=Nr(N)?"*":""),F}Ze.prototype.generatePattern=function(x,N,F){return x.type===t.Identifier?wt(x):this.generateExpression(x,N,F)},Ze.prototype.generateFunctionParams=function(x){var N,F,P,V;if(V=!1,x.type===t.ArrowFunctionExpression&&!x.rest&&(!x.defaults||x.defaults.length===0)&&x.params.length===1&&x.params[0].type===t.Identifier)P=[Ar(x,!0),wt(x.params[0])];else{for(P=x.type===t.ArrowFunctionExpression?[Ar(x,!1)]:[],P.push("("),x.defaults&&(V=!0),N=0,F=x.params.length;N<F;++N)V&&x.defaults[N]?P.push(this.generateAssignment(x.params[N],x.defaults[N],"=",r.Assignment,U)):P.push(this.generatePattern(x.params[N],r.Assignment,U)),N+1<F&&P.push(","+y);x.rest&&(x.params.length&&P.push(","+y),P.push("..."),P.push(wt(x.rest))),P.push(")")}return P},Ze.prototype.generateFunctionBody=function(x){var N,F;return N=this.generateFunctionParams(x),x.type===t.ArrowFunctionExpression&&(N.push(y),N.push("=>")),x.expression?(N.push(y),F=this.generateExpression(x.body,r.Assignment,U),F.toString().charAt(0)==="{"&&(F=["(",F,")"]),N.push(F)):N.push(this.maybeBlock(x.body,ht)),N},Ze.prototype.generateIterationForStatement=function(x,N,F){var P=["for"+(N.await?lt()+"await":"")+y+"("],V=this;return Qe(function(){N.left.type===t.VariableDeclaration?Qe(function(){P.push(N.left.kind+lt()),P.push(V.generateStatement(N.left.declarations[0],me))}):P.push(V.generateExpression(N.left,r.Call,U)),P=Ae(P,x),P=[Ae(P,V.generateExpression(N.right,r.Assignment,U)),")"]}),P.push(this.maybeBlock(N.body,F)),P},Ze.prototype.generatePropertyKey=function(x,N){var F=[];return N&&F.push("["),F.push(this.generateExpression(x,r.Assignment,U)),N&&F.push("]"),F},Ze.prototype.generateAssignment=function(x,N,F,P,V){return r.Assignment<P&&(V|=z),tt([this.generateExpression(x,r.Call,V),y+F+y,this.generateExpression(N,r.Assignment,V)],r.Assignment,P)},Ze.prototype.semicolon=function(x){return!g&&x&Q?"":";"},Ze.Statement={BlockStatement:function(x,N){var F,P,V=["{",m],ie=this;return Qe(function(){x.body.length===0&&C&&(F=x.range,F[1]-F[0]>2&&(P=E.substring(F[0]+1,F[1]-1),P[0]===`
|
|
1062
|
+
`&&(V=["{"]),V.push(P)));var le,ue,ye,Be;for(Be=te,N&j&&(Be|=X),le=0,ue=x.body.length;le<ue;++le)C&&(le===0&&(x.body[0].leadingComments&&(F=x.body[0].leadingComments[0].extendedRange,P=E.substring(F[0],F[1]),P[0]===`
|
|
1063
|
+
`&&(V=["{"])),x.body[0].leadingComments||pr(x.range[0],x.body[0].range[0],V)),le>0&&!x.body[le-1].trailingComments&&!x.body[le].leadingComments&&pr(x.body[le-1].range[1],x.body[le].range[0],V)),le===ue-1&&(Be|=Q),x.body[le].leadingComments&&C?ye=ie.generateStatement(x.body[le],Be):ye=ut(ie.generateStatement(x.body[le],Be)),V.push(ye),be(Te(ye).toString())||C&&le<ue-1&&x.body[le+1].leadingComments||V.push(m),C&&le===ue-1&&(x.body[le].trailingComments||pr(x.body[le].range[1],x.range[1],V))}),V.push(ut("}")),V},BreakStatement:function(x,N){return x.label?"break "+x.label.name+this.semicolon(N):"break"+this.semicolon(N)},ContinueStatement:function(x,N){return x.label?"continue "+x.label.name+this.semicolon(N):"continue"+this.semicolon(N)},ClassBody:function(x,N){var F=["{",m],P=this;return Qe(function(V){var ie,le;for(ie=0,le=x.body.length;ie<le;++ie)F.push(V),F.push(P.generateExpression(x.body[ie],r.Sequence,U)),ie+1<le&&F.push(m)}),be(Te(F).toString())||F.push(m),F.push(l),F.push("}"),F},ClassDeclaration:function(x,N){var F,P;return F=["class"],x.id&&(F=Ae(F,this.generateExpression(x.id,r.Sequence,U))),x.superClass&&(P=Ae("extends",this.generateExpression(x.superClass,r.Unary,U)),F=Ae(F,P)),F.push(y),F.push(this.generateStatement(x.body,pe)),F},DirectiveStatement:function(x,N){return S.raw&&x.raw?x.raw+this.semicolon(N):_t(x.directive)+this.semicolon(N)},DoWhileStatement:function(x,N){var F=Ae("do",this.maybeBlock(x.body,te));return F=this.maybeBlockSuffix(x.body,F),Ae(F,["while"+y+"(",this.generateExpression(x.test,r.Sequence,U),")"+this.semicolon(N)])},CatchClause:function(x,N){var F,P=this;return Qe(function(){var V;x.param?(F=["catch"+y+"(",P.generateExpression(x.param,r.Sequence,U),")"],x.guard&&(V=P.generateExpression(x.guard,r.Sequence,U),F.splice(2,0," if ",V))):F=["catch"]}),F.push(this.maybeBlock(x.body,te)),F},DebuggerStatement:function(x,N){return"debugger"+this.semicolon(N)},EmptyStatement:function(x,N){return";"},ExportDefaultDeclaration:function(x,N){var F=["export"],P;return P=N&Q?pe:te,F=Ae(F,"default"),W(x.declaration)?F=Ae(F,this.generateStatement(x.declaration,P)):F=Ae(F,this.generateExpression(x.declaration,r.Assignment,U)+this.semicolon(N)),F},ExportNamedDeclaration:function(x,N){var F=["export"],P,V=this;return P=N&Q?pe:te,x.declaration?Ae(F,this.generateStatement(x.declaration,P)):(x.specifiers&&(x.specifiers.length===0?F=Ae(F,"{"+y+"}"):x.specifiers[0].type===t.ExportBatchSpecifier?F=Ae(F,this.generateExpression(x.specifiers[0],r.Sequence,U)):(F=Ae(F,"{"),Qe(function(ie){var le,ue;for(F.push(m),le=0,ue=x.specifiers.length;le<ue;++le)F.push(ie),F.push(V.generateExpression(x.specifiers[le],r.Sequence,U)),le+1<ue&&F.push(","+m)}),be(Te(F).toString())||F.push(m),F.push(l+"}")),x.source?F=Ae(F,["from"+y,this.generateExpression(x.source,r.Sequence,U),this.semicolon(N)]):F.push(this.semicolon(N))),F)},ExportAllDeclaration:function(x,N){return["export"+y,"*"+y,"from"+y,this.generateExpression(x.source,r.Sequence,U),this.semicolon(N)]},ExpressionStatement:function(x,N){var F,P;function V(ue){var ye;return ue.slice(0,5)!=="class"?!1:(ye=ue.charCodeAt(5),ye===123||i.code.isWhiteSpace(ye)||i.code.isLineTerminator(ye))}function ie(ue){var ye;return ue.slice(0,8)!=="function"?!1:(ye=ue.charCodeAt(8),ye===40||i.code.isWhiteSpace(ye)||ye===42||i.code.isLineTerminator(ye))}function le(ue){var ye,Be,mt;if(ue.slice(0,5)!=="async"||!i.code.isWhiteSpace(ue.charCodeAt(5)))return!1;for(Be=6,mt=ue.length;Be<mt&&i.code.isWhiteSpace(ue.charCodeAt(Be));++Be);return Be===mt||ue.slice(Be,Be+8)!=="function"?!1:(ye=ue.charCodeAt(Be+8),ye===40||i.code.isWhiteSpace(ye)||ye===42||i.code.isLineTerminator(ye))}return F=[this.generateExpression(x.expression,r.Sequence,U)],P=Te(F).toString(),P.charCodeAt(0)===123||V(P)||ie(P)||le(P)||D&&N&X&&x.expression.type===t.Literal&&typeof x.expression.value=="string"?F=["(",F,")"+this.semicolon(N)]:F.push(this.semicolon(N)),F},ImportDeclaration:function(x,N){var F,P,V=this;return x.specifiers.length===0?["import",y,this.generateExpression(x.source,r.Sequence,U),this.semicolon(N)]:(F=["import"],P=0,x.specifiers[P].type===t.ImportDefaultSpecifier&&(F=Ae(F,[this.generateExpression(x.specifiers[P],r.Sequence,U)]),++P),x.specifiers[P]&&(P!==0&&F.push(","),x.specifiers[P].type===t.ImportNamespaceSpecifier?F=Ae(F,[y,this.generateExpression(x.specifiers[P],r.Sequence,U)]):(F.push(y+"{"),x.specifiers.length-P===1?(F.push(y),F.push(this.generateExpression(x.specifiers[P],r.Sequence,U)),F.push(y+"}"+y)):(Qe(function(ie){var le,ue;for(F.push(m),le=P,ue=x.specifiers.length;le<ue;++le)F.push(ie),F.push(V.generateExpression(x.specifiers[le],r.Sequence,U)),le+1<ue&&F.push(","+m)}),be(Te(F).toString())||F.push(m),F.push(l+"}"+y)))),F=Ae(F,["from"+y,this.generateExpression(x.source,r.Sequence,U),this.semicolon(N)]),F)},VariableDeclarator:function(x,N){var F=N&z?U:$;return x.init?[this.generateExpression(x.id,r.Assignment,F),y,"=",y,this.generateExpression(x.init,r.Assignment,F)]:this.generatePattern(x.id,r.Assignment,F)},VariableDeclaration:function(x,N){var F,P,V,ie,le,ue=this;F=[x.kind],le=N&z?te:me;function ye(){for(ie=x.declarations[0],S.comment&&ie.leadingComments?(F.push(`
|
|
1064
|
+
`),F.push(ut(ue.generateStatement(ie,le)))):(F.push(lt()),F.push(ue.generateStatement(ie,le))),P=1,V=x.declarations.length;P<V;++P)ie=x.declarations[P],S.comment&&ie.leadingComments?(F.push(","+m),F.push(ut(ue.generateStatement(ie,le)))):(F.push(","+y),F.push(ue.generateStatement(ie,le)))}return x.declarations.length>1?Qe(ye):ye(),F.push(this.semicolon(N)),F},ThrowStatement:function(x,N){return[Ae("throw",this.generateExpression(x.argument,r.Sequence,U)),this.semicolon(N)]},TryStatement:function(x,N){var F,P,V,ie;if(F=["try",this.maybeBlock(x.block,te)],F=this.maybeBlockSuffix(x.block,F),x.handlers)for(P=0,V=x.handlers.length;P<V;++P)F=Ae(F,this.generateStatement(x.handlers[P],te)),(x.finalizer||P+1!==V)&&(F=this.maybeBlockSuffix(x.handlers[P].body,F));else{for(ie=x.guardedHandlers||[],P=0,V=ie.length;P<V;++P)F=Ae(F,this.generateStatement(ie[P],te)),(x.finalizer||P+1!==V)&&(F=this.maybeBlockSuffix(ie[P].body,F));if(x.handler)if(Array.isArray(x.handler))for(P=0,V=x.handler.length;P<V;++P)F=Ae(F,this.generateStatement(x.handler[P],te)),(x.finalizer||P+1!==V)&&(F=this.maybeBlockSuffix(x.handler[P].body,F));else F=Ae(F,this.generateStatement(x.handler,te)),x.finalizer&&(F=this.maybeBlockSuffix(x.handler.body,F))}return x.finalizer&&(F=Ae(F,["finally",this.maybeBlock(x.finalizer,te)])),F},SwitchStatement:function(x,N){var F,P,V,ie,le,ue=this;if(Qe(function(){F=["switch"+y+"(",ue.generateExpression(x.discriminant,r.Sequence,U),")"+y+"{"+m]}),x.cases)for(le=te,V=0,ie=x.cases.length;V<ie;++V)V===ie-1&&(le|=Q),P=ut(this.generateStatement(x.cases[V],le)),F.push(P),be(Te(P).toString())||F.push(m);return F.push(ut("}")),F},SwitchCase:function(x,N){var F,P,V,ie,le,ue=this;return Qe(function(){for(x.test?F=[Ae("case",ue.generateExpression(x.test,r.Sequence,U)),":"]:F=["default:"],V=0,ie=x.consequent.length,ie&&x.consequent[0].type===t.BlockStatement&&(P=ue.maybeBlock(x.consequent[0],te),F.push(P),V=1),V!==ie&&!be(Te(F).toString())&&F.push(m),le=te;V<ie;++V)V===ie-1&&N&Q&&(le|=Q),P=ut(ue.generateStatement(x.consequent[V],le)),F.push(P),V+1!==ie&&!be(Te(P).toString())&&F.push(m)}),F},IfStatement:function(x,N){var F,P,V,ie=this;return Qe(function(){F=["if"+y+"(",ie.generateExpression(x.test,r.Sequence,U),")"]}),V=N&Q,P=te,V&&(P|=Q),x.alternate?(F.push(this.maybeBlock(x.consequent,te)),F=this.maybeBlockSuffix(x.consequent,F),x.alternate.type===t.IfStatement?F=Ae(F,["else ",this.generateStatement(x.alternate,P)]):F=Ae(F,Ae("else",this.maybeBlock(x.alternate,P)))):F.push(this.maybeBlock(x.consequent,P)),F},ForStatement:function(x,N){var F,P=this;return Qe(function(){F=["for"+y+"("],x.init?x.init.type===t.VariableDeclaration?F.push(P.generateStatement(x.init,me)):(F.push(P.generateExpression(x.init,r.Sequence,$)),F.push(";")):F.push(";"),x.test&&(F.push(y),F.push(P.generateExpression(x.test,r.Sequence,U))),F.push(";"),x.update&&(F.push(y),F.push(P.generateExpression(x.update,r.Sequence,U))),F.push(")")}),F.push(this.maybeBlock(x.body,N&Q?pe:te)),F},ForInStatement:function(x,N){return this.generateIterationForStatement("in",x,N&Q?pe:te)},ForOfStatement:function(x,N){return this.generateIterationForStatement("of",x,N&Q?pe:te)},LabeledStatement:function(x,N){return[x.label.name+":",this.maybeBlock(x.body,N&Q?pe:te)]},Program:function(x,N){var F,P,V,ie,le;for(ie=x.body.length,F=[v&&ie>0?`
|
|
1065
|
+
`:""],le=Xe,V=0;V<ie;++V)!v&&V===ie-1&&(le|=Q),C&&(V===0&&(x.body[0].leadingComments||pr(x.range[0],x.body[V].range[0],F)),V>0&&!x.body[V-1].trailingComments&&!x.body[V].leadingComments&&pr(x.body[V-1].range[1],x.body[V].range[0],F)),P=ut(this.generateStatement(x.body[V],le)),F.push(P),V+1<ie&&!be(Te(P).toString())&&(C&&x.body[V+1].leadingComments||F.push(m)),C&&V===ie-1&&(x.body[V].trailingComments||pr(x.body[V].range[1],x.range[1],F));return F},FunctionDeclaration:function(x,N){return[Ar(x,!0),"function",Nr(x)||lt(),x.id?wt(x.id):"",this.generateFunctionBody(x)]},ReturnStatement:function(x,N){return x.argument?[Ae("return",this.generateExpression(x.argument,r.Sequence,U)),this.semicolon(N)]:["return"+this.semicolon(N)]},WhileStatement:function(x,N){var F,P=this;return Qe(function(){F=["while"+y+"(",P.generateExpression(x.test,r.Sequence,U),")"]}),F.push(this.maybeBlock(x.body,N&Q?pe:te)),F},WithStatement:function(x,N){var F,P=this;return Qe(function(){F=["with"+y+"(",P.generateExpression(x.object,r.Sequence,U),")"]}),F.push(this.maybeBlock(x.body,N&Q?pe:te)),F}},Ee(Ze.prototype,Ze.Statement),Ze.Expression={SequenceExpression:function(x,N,F){var P,V,ie;for(r.Sequence<N&&(F|=z),P=[],V=0,ie=x.expressions.length;V<ie;++V)P.push(this.generateExpression(x.expressions[V],r.Assignment,F)),V+1<ie&&P.push(","+y);return tt(P,r.Sequence,N)},AssignmentExpression:function(x,N,F){return this.generateAssignment(x.left,x.right,x.operator,N,F)},ArrowFunctionExpression:function(x,N,F){return tt(this.generateFunctionBody(x),r.ArrowFunction,N)},ConditionalExpression:function(x,N,F){return r.Conditional<N&&(F|=z),tt([this.generateExpression(x.test,r.Coalesce,F),y+"?"+y,this.generateExpression(x.consequent,r.Assignment,F),y+":"+y,this.generateExpression(x.alternate,r.Assignment,F)],r.Conditional,N)},LogicalExpression:function(x,N,F){return x.operator==="??"&&(F|=oe),this.BinaryExpression(x,N,F)},BinaryExpression:function(x,N,F){var P,V,ie,le,ue,ye;return le=n[x.operator],V=x.operator==="**"?r.Postfix:le,ie=x.operator==="**"?le:le+1,le<N&&(F|=z),ue=this.generateExpression(x.left,V,F),ye=ue.toString(),ye.charCodeAt(ye.length-1)===47&&i.code.isIdentifierPartES5(x.operator.charCodeAt(0))?P=[ue,lt(),x.operator]:P=Ae(ue,x.operator),ue=this.generateExpression(x.right,ie,F),x.operator==="/"&&ue.toString().charAt(0)==="/"||x.operator.slice(-1)==="<"&&ue.toString().slice(0,3)==="!--"?(P.push(lt()),P.push(ue)):P=Ae(P,ue),x.operator==="in"&&!(F&z)?["(",P,")"]:(x.operator==="||"||x.operator==="&&")&&F&oe?["(",P,")"]:tt(P,le,N)},CallExpression:function(x,N,F){var P,V,ie;for(P=[this.generateExpression(x.callee,r.Call,K)],x.optional&&P.push("?."),P.push("("),V=0,ie=x.arguments.length;V<ie;++V)P.push(this.generateExpression(x.arguments[V],r.Assignment,U)),V+1<ie&&P.push(","+y);return P.push(")"),F&R?tt(P,r.Call,N):["(",P,")"]},ChainExpression:function(x,N,F){r.OptionalChaining<N&&(F|=R);var P=this.generateExpression(x.expression,r.OptionalChaining,F);return tt(P,r.OptionalChaining,N)},NewExpression:function(x,N,F){var P,V,ie,le,ue;if(V=x.arguments.length,ue=F&L&&!b&&V===0?se:Y,P=Ae("new",this.generateExpression(x.callee,r.New,ue)),!(F&L)||b||V>0){for(P.push("("),ie=0,le=V;ie<le;++ie)P.push(this.generateExpression(x.arguments[ie],r.Assignment,U)),ie+1<le&&P.push(","+y);P.push(")")}return tt(P,r.New,N)},MemberExpression:function(x,N,F){var P,V;return P=[this.generateExpression(x.object,r.Call,F&R?K:Y)],x.computed?(x.optional&&P.push("?."),P.push("["),P.push(this.generateExpression(x.property,r.Sequence,F&R?U:se)),P.push("]")):(!x.optional&&x.object.type===t.Literal&&typeof x.object.value=="number"&&(V=Te(P).toString(),V.indexOf(".")<0&&!/[eExX]/.test(V)&&i.code.isDecimalDigit(V.charCodeAt(V.length-1))&&!(V.length>=2&&V.charCodeAt(0)===48)&&P.push(" ")),P.push(x.optional?"?.":"."),P.push(wt(x.property))),tt(P,r.Member,N)},MetaProperty:function(x,N,F){var P;return P=[],P.push(typeof x.meta=="string"?x.meta:wt(x.meta)),P.push("."),P.push(typeof x.property=="string"?x.property:wt(x.property)),tt(P,r.Member,N)},UnaryExpression:function(x,N,F){var P,V,ie,le,ue;return V=this.generateExpression(x.argument,r.Unary,U),y===""?P=Ae(x.operator,V):(P=[x.operator],x.operator.length>2?P=Ae(P,V):(le=Te(P).toString(),ue=le.charCodeAt(le.length-1),ie=V.toString().charCodeAt(0),((ue===43||ue===45)&&ue===ie||i.code.isIdentifierPartES5(ue)&&i.code.isIdentifierPartES5(ie))&&P.push(lt()),P.push(V))),tt(P,r.Unary,N)},YieldExpression:function(x,N,F){var P;return x.delegate?P="yield*":P="yield",x.argument&&(P=Ae(P,this.generateExpression(x.argument,r.Yield,U))),tt(P,r.Yield,N)},AwaitExpression:function(x,N,F){var P=Ae(x.all?"await*":"await",this.generateExpression(x.argument,r.Await,U));return tt(P,r.Await,N)},UpdateExpression:function(x,N,F){return x.prefix?tt([x.operator,this.generateExpression(x.argument,r.Unary,U)],r.Unary,N):tt([this.generateExpression(x.argument,r.Postfix,U),x.operator],r.Postfix,N)},FunctionExpression:function(x,N,F){var P=[Ar(x,!0),"function"];return x.id?(P.push(Nr(x)||lt()),P.push(wt(x.id))):P.push(Nr(x)||y),P.push(this.generateFunctionBody(x)),P},ArrayPattern:function(x,N,F){return this.ArrayExpression(x,N,F,!0)},ArrayExpression:function(x,N,F,P){var V,ie,le=this;return x.elements.length?(ie=P?!1:x.elements.length>1,V=["[",ie?m:""],Qe(function(ue){var ye,Be;for(ye=0,Be=x.elements.length;ye<Be;++ye)x.elements[ye]?(V.push(ie?ue:""),V.push(le.generateExpression(x.elements[ye],r.Assignment,U))):(ie&&V.push(ue),ye+1===Be&&V.push(",")),ye+1<Be&&V.push(","+(ie?m:y))}),ie&&!be(Te(V).toString())&&V.push(m),V.push(ie?l:""),V.push("]"),V):"[]"},RestElement:function(x,N,F){return"..."+this.generatePattern(x.argument)},ClassExpression:function(x,N,F){var P,V;return P=["class"],x.id&&(P=Ae(P,this.generateExpression(x.id,r.Sequence,U))),x.superClass&&(V=Ae("extends",this.generateExpression(x.superClass,r.Unary,U)),P=Ae(P,V)),P.push(y),P.push(this.generateStatement(x.body,pe)),P},MethodDefinition:function(x,N,F){var P,V;return x.static?P=["static"+y]:P=[],x.kind==="get"||x.kind==="set"?V=[Ae(x.kind,this.generatePropertyKey(x.key,x.computed)),this.generateFunctionBody(x.value)]:V=[kr(x),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)],Ae(P,V)},Property:function(x,N,F){return x.kind==="get"||x.kind==="set"?[x.kind,lt(),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)]:x.shorthand?x.value.type==="AssignmentPattern"?this.AssignmentPattern(x.value,r.Sequence,U):this.generatePropertyKey(x.key,x.computed):x.method?[kr(x),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)]:[this.generatePropertyKey(x.key,x.computed),":"+y,this.generateExpression(x.value,r.Assignment,U)]},ObjectExpression:function(x,N,F){var P,V,ie,le=this;return x.properties.length?(P=x.properties.length>1,Qe(function(){ie=le.generateExpression(x.properties[0],r.Sequence,U)}),!P&&!ge(Te(ie).toString())?["{",y,ie,y,"}"]:(Qe(function(ue){var ye,Be;if(V=["{",m,ue,ie],P)for(V.push(","+m),ye=1,Be=x.properties.length;ye<Be;++ye)V.push(ue),V.push(le.generateExpression(x.properties[ye],r.Sequence,U)),ye+1<Be&&V.push(","+m)}),be(Te(V).toString())||V.push(m),V.push(l),V.push("}"),V)):"{}"},AssignmentPattern:function(x,N,F){return this.generateAssignment(x.left,x.right,"=",N,F)},ObjectPattern:function(x,N,F){var P,V,ie,le,ue,ye=this;if(!x.properties.length)return"{}";if(le=!1,x.properties.length===1)ue=x.properties[0],ue.type===t.Property&&ue.value.type!==t.Identifier&&(le=!0);else for(V=0,ie=x.properties.length;V<ie;++V)if(ue=x.properties[V],ue.type===t.Property&&!ue.shorthand){le=!0;break}return P=["{",le?m:""],Qe(function(Be){var mt,Bt;for(mt=0,Bt=x.properties.length;mt<Bt;++mt)P.push(le?Be:""),P.push(ye.generateExpression(x.properties[mt],r.Sequence,U)),mt+1<Bt&&P.push(","+(le?m:y))}),le&&!be(Te(P).toString())&&P.push(m),P.push(le?l:""),P.push("}"),P},ThisExpression:function(x,N,F){return"this"},Super:function(x,N,F){return"super"},Identifier:function(x,N,F){return wt(x)},ImportDefaultSpecifier:function(x,N,F){return wt(x.id||x.local)},ImportNamespaceSpecifier:function(x,N,F){var P=["*"],V=x.id||x.local;return V&&P.push(y+"as"+lt()+wt(V)),P},ImportSpecifier:function(x,N,F){var P=x.imported,V=[P.name],ie=x.local;return ie&&ie.name!==P.name&&V.push(lt()+"as"+lt()+wt(ie)),V},ExportSpecifier:function(x,N,F){var P=x.local,V=[P.name],ie=x.exported;return ie&&ie.name!==P.name&&V.push(lt()+"as"+lt()+wt(ie)),V},Literal:function(x,N,F){var P;if(x.hasOwnProperty("raw")&&_&&S.raw)try{if(P=_(x.raw).body[0].expression,P.type===t.Literal&&P.value===x.value)return x.raw}catch{}return x.regex?"/"+x.regex.pattern+"/"+x.regex.flags:typeof x.value=="bigint"?x.value.toString()+"n":x.bigint?x.bigint+"n":x.value===null?"null":typeof x.value=="string"?Vt(x.value):typeof x.value=="number"?Se(x.value):typeof x.value=="boolean"?x.value?"true":"false":st(x.value)},GeneratorExpression:function(x,N,F){return this.ComprehensionExpression(x,N,F)},ComprehensionExpression:function(x,N,F){var P,V,ie,le,ue=this;return P=x.type===t.GeneratorExpression?["("]:["["],S.moz.comprehensionExpressionStartsWithAssignment&&(le=this.generateExpression(x.body,r.Assignment,U),P.push(le)),x.blocks&&Qe(function(){for(V=0,ie=x.blocks.length;V<ie;++V)le=ue.generateExpression(x.blocks[V],r.Sequence,U),V>0||S.moz.comprehensionExpressionStartsWithAssignment?P=Ae(P,le):P.push(le)}),x.filter&&(P=Ae(P,"if"+y),le=this.generateExpression(x.filter,r.Sequence,U),P=Ae(P,["(",le,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(le=this.generateExpression(x.body,r.Assignment,U),P=Ae(P,le)),P.push(x.type===t.GeneratorExpression?")":"]"),P},ComprehensionBlock:function(x,N,F){var P;return x.left.type===t.VariableDeclaration?P=[x.left.kind,lt(),this.generateStatement(x.left.declarations[0],me)]:P=this.generateExpression(x.left,r.Call,U),P=Ae(P,x.of?"of":"in"),P=Ae(P,this.generateExpression(x.right,r.Sequence,U)),["for"+y+"(",P,")"]},SpreadElement:function(x,N,F){return["...",this.generateExpression(x.argument,r.Assignment,U)]},TaggedTemplateExpression:function(x,N,F){var P=K;F&R||(P=Y);var V=[this.generateExpression(x.tag,r.Call,P),this.generateExpression(x.quasi,r.Primary,ee)];return tt(V,r.TaggedTemplate,N)},TemplateElement:function(x,N,F){return x.value.raw},TemplateLiteral:function(x,N,F){var P,V,ie;for(P=["`"],V=0,ie=x.quasis.length;V<ie;++V)P.push(this.generateExpression(x.quasis[V],r.Primary,U)),V+1<ie&&(P.push("${"+y),P.push(this.generateExpression(x.expressions[V],r.Sequence,U)),P.push(y+"}"));return P.push("`"),P},ModuleSpecifier:function(x,N,F){return this.Literal(x,N,F)},ImportExpression:function(x,N,F){return tt(["import(",this.generateExpression(x.source,r.Assignment,U),")"],r.Call,N)}},Ee(Ze.prototype,Ze.Expression),Ze.prototype.generateExpression=function(x,N,F){var P,V;return V=x.type||t.Property,S.verbatim&&x.hasOwnProperty(S.verbatim)?ta(x,N):(P=this[V](x,N,F),S.comment&&(P=xn(x,P)),Te(P,x))},Ze.prototype.generateStatement=function(x,N){var F,P;return F=this[x.type](x,N),S.comment&&(F=xn(x,F)),P=Te(F).toString(),x.type===t.Program&&!v&&m===""&&P.charAt(P.length-1)===`
|
|
1066
|
+
`&&(F=A?Te(F).replaceRight(/\s+$/,""):P.replace(/\s+$/,"")),Te(F,x)};function _n(x){var N;if(N=new Ze,W(x))return N.generateStatement(x,te);if(B(x))return N.generateExpression(x,r.Sequence,U);throw new Error("Unknown node type: "+x.type)}function dr(x,N){var F=Z(),P,V;return N!=null?(typeof N.indent=="string"&&(F.format.indent.style=N.indent),typeof N.base=="number"&&(F.format.indent.base=N.base),N=xe(F,N),u=N.format.indent.style,typeof N.base=="string"?l=N.base:l=ce(u,N.format.indent.base)):(N=F,u=N.format.indent.style,l=ce(u,N.format.indent.base)),c=N.format.json,p=N.format.renumber,d=c?!1:N.format.hexadecimal,h=c?"double":N.format.quotes,f=N.format.escapeless,m=N.format.newline,y=N.format.space,N.format.compact&&(m=y=u=l=""),b=N.format.parentheses,g=N.format.semicolons,v=N.format.safeConcatenation,D=N.directive,_=c?null:N.parse,A=N.sourceMap,E=N.sourceCode,C=N.format.preserveBlankLines&&E!==null,S=N,A&&(e.browser?a=global.sourceMap.SourceNode:a=mW().SourceNode),P=_n(x),A?(V=P.toStringWithSourceMap({file:N.file,sourceRoot:N.sourceMapRoot}),N.sourceContent&&V.map.setSourceContent(N.sourceMap,N.sourceContent),N.sourceMapWithCode?V:V.map.toString()):(V={code:P.toString(),map:null},N.sourceMapWithCode?V:V.code)}T={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},k=Z().format,e.version=yW().version,e.generate=dr,e.attachComments=o.attachComments,e.Precedence=xe({},r),e.browser=!1,e.FORMAT_MINIFY=T,e.FORMAT_DEFAULTS=k})()}}),Yf={};Lc(Yf,{Node:()=>pi,Parser:()=>nt,Position:()=>ia,SourceLocation:()=>ro,TokContext:()=>nr,Token:()=>di,TokenType:()=>$e,defaultOptions:()=>Xi,getLineInfo:()=>Qf,isIdentifierChar:()=>oa,isIdentifierStart:()=>cn,isNewLine:()=>Wa,keywordTypes:()=>_i,lineBreak:()=>Kt,lineBreakG:()=>da,nonASCIIwhitespace:()=>ul,parse:()=>_W,parseExpressionAt:()=>TW,tokContexts:()=>pt,tokTypes:()=>M,tokenizer:()=>PW,version:()=>ah});function Xf(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}}function cn(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&nN.test(String.fromCharCode(e)):t===!1?!1:Xf(e,Hb)}function oa(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&aN.test(String.fromCharCode(e)):t===!1?!1:Xf(e,Hb)||Xf(e,oN)}function hr(e,t){return new $e(e,{beforeExpr:!0,binop:t})}function Me(e,t){return t===void 0&&(t={}),t.keyword=e,_i[e]=new $e(e,t)}function Wa(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function sl(e,t){return iN.call(e,t)}function pa(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function Qf(e,t){for(var r=1,n=0;;){da.lastIndex=n;var a=da.exec(e);if(a&&a.index<t)++r,n=a.index+a[0].length;else return new ia(r,t-n)}}function bW(e){var t={};for(var r in Xi)t[r]=e&&sl(e,r)?e[r]:Xi[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Zf(t.onToken)){var n=t.onToken;t.onToken=function(a){return n.push(a)}}return Zf(t.onComment)&&(t.onComment=vW(t,t.onComment)),t}function vW(e,t){return function(r,n,a,o,i,l){var u={type:r?"Block":"Line",value:n,start:a,end:o};e.locations&&(u.loc=new ro(this,i,l)),e.ranges&&(u.range=[a,o]),t.push(u)}}function xp(e,t){return Ka|(e?eh:0)|(t?th:0)}function Ns(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function oE(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function Sp(e){var t=nh[e]={binary:pa(sN[e]+" "+rh),nonBinary:{General_Category:pa(rh),Script:pa(lN[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function ks(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function iE(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function EW(e){return cn(e,!0)||e===36||e===95}function CW(e){return oa(e,!0)||e===36||e===95||e===8204||e===8205}function tN(e){return e>=65&&e<=90||e>=97&&e<=122}function wW(e){return e>=0&&e<=1114111}function AW(e){return e===100||e===68||e===115||e===83||e===119||e===87}function rN(e){return tN(e)||e===95}function xW(e){return rN(e)||ll(e)}function ll(e){return e>=48&&e<=57}function sE(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function lE(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function uE(e){return e>=48&&e<=55}function SW(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function cE(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function _p(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function _W(e,t){return nt.parse(e,t)}function TW(e,t,r){return nt.parseExpressionAt(e,t,r)}function PW(e,t){return nt.tokenizer(e,t)}var Bs,js,pE,dE,qs,Tp,nN,aN,Hb,oN,$e,Zt,Wt,_i,M,Kt,da,ul,er,Pp,iN,fE,Zf,ia,ro,Xi,$a,Ka,Ms,eh,th,Dp,Op,Rp,Fp,Ip,Ls,jr,Np,kp,Bp,nt,Tn,Mt,hE,Pe,$s,mE,yE,Ua,Us,jp,qr,Ie,gE,Qo,an,bE,pi,Zo,nr,pt,ei,qp,Mp,vE,sN,rh,Lp,$p,EE,lN,nh,we,Mr,di,je,Up,ah,oh=WJ({"../../node_modules/acorn/dist/acorn.mjs"(){Bs={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},js="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",pE={5:js,"5module":js+" export import",6:js+" const class extends export import super"},dE=/^in(stanceof)?$/,qs="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Tp="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nN=new RegExp("["+qs+"]"),aN=new RegExp("["+qs+Tp+"]"),qs=Tp=null,Hb=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],oN=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],$e=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Zt={beforeExpr:!0},Wt={startsExpr:!0},_i={},M={num:new $e("num",Wt),regexp:new $e("regexp",Wt),string:new $e("string",Wt),name:new $e("name",Wt),eof:new $e("eof"),bracketL:new $e("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new $e("]"),braceL:new $e("{",{beforeExpr:!0,startsExpr:!0}),braceR:new $e("}"),parenL:new $e("(",{beforeExpr:!0,startsExpr:!0}),parenR:new $e(")"),comma:new $e(",",Zt),semi:new $e(";",Zt),colon:new $e(":",Zt),dot:new $e("."),question:new $e("?",Zt),questionDot:new $e("?."),arrow:new $e("=>",Zt),template:new $e("template"),invalidTemplate:new $e("invalidTemplate"),ellipsis:new $e("...",Zt),backQuote:new $e("`",Wt),dollarBraceL:new $e("${",{beforeExpr:!0,startsExpr:!0}),eq:new $e("=",{beforeExpr:!0,isAssign:!0}),assign:new $e("_=",{beforeExpr:!0,isAssign:!0}),incDec:new $e("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new $e("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:hr("||",1),logicalAND:hr("&&",2),bitwiseOR:hr("|",3),bitwiseXOR:hr("^",4),bitwiseAND:hr("&",5),equality:hr("==/!=/===/!==",6),relational:hr("</>/<=/>=",7),bitShift:hr("<</>>/>>>",8),plusMin:new $e("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:hr("%",10),star:hr("*",10),slash:hr("/",10),starstar:new $e("**",{beforeExpr:!0}),coalesce:hr("??",1),_break:Me("break"),_case:Me("case",Zt),_catch:Me("catch"),_continue:Me("continue"),_debugger:Me("debugger"),_default:Me("default",Zt),_do:Me("do",{isLoop:!0,beforeExpr:!0}),_else:Me("else",Zt),_finally:Me("finally"),_for:Me("for",{isLoop:!0}),_function:Me("function",Wt),_if:Me("if"),_return:Me("return",Zt),_switch:Me("switch"),_throw:Me("throw",Zt),_try:Me("try"),_var:Me("var"),_const:Me("const"),_while:Me("while",{isLoop:!0}),_with:Me("with"),_new:Me("new",{beforeExpr:!0,startsExpr:!0}),_this:Me("this",Wt),_super:Me("super",Wt),_class:Me("class",Wt),_extends:Me("extends",Zt),_export:Me("export"),_import:Me("import",Wt),_null:Me("null",Wt),_true:Me("true",Wt),_false:Me("false",Wt),_in:Me("in",{beforeExpr:!0,binop:7}),_instanceof:Me("instanceof",{beforeExpr:!0,binop:7}),_typeof:Me("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Me("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Me("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Kt=/\r\n?|\n|\u2028|\u2029/,da=new RegExp(Kt.source,"g"),ul=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,er=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Pp=Object.prototype,iN=Pp.hasOwnProperty,fE=Pp.toString,Zf=Array.isArray||function(e){return fE.call(e)==="[object Array]"},ia=function(e,t){this.line=e,this.column=t},ia.prototype.offset=function(e){return new ia(this.line,this.column+e)},ro=function(e,t,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},Xi={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$a=1,Ka=2,Ms=$a|Ka,eh=4,th=8,Dp=16,Op=32,Rp=64,Fp=128,Ip=0,Ls=1,jr=2,Np=3,kp=4,Bp=5,nt=function(e,t,r){this.options=e=bW(e),this.sourceFile=e.sourceFile,this.keywords=pa(pE[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var a=e.ecmaVersion;!(n=Bs[a]);a--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=pa(n);var o=(n?n+" ":"")+Bs.strict;this.reservedWordsStrict=pa(o),this.reservedWordsStrictBind=pa(o+" "+Bs.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
|
|
1067
|
+
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Kt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=M.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope($a),this.regexpState=null},Tn={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},nt.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Tn.inFunction.get=function(){return(this.currentVarScope().flags&Ka)>0},Tn.inGenerator.get=function(){return(this.currentVarScope().flags&th)>0},Tn.inAsync.get=function(){return(this.currentVarScope().flags&eh)>0},Tn.allowSuper.get=function(){return(this.currentThisScope().flags&Rp)>0},Tn.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Fp)>0},Tn.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},nt.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ka)>0},nt.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},nt.parse=function(e,t){return new this(t,e).parse()},nt.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},nt.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(nt.prototype,Tn),Mt=nt.prototype,hE=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,Mt.strictDirective=function(e){for(;;){er.lastIndex=e,e+=er.exec(this.input)[0].length;var t=hE.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){er.lastIndex=e+t[0].length;var r=er.exec(this.input),n=r.index+r[0].length,a=this.input.charAt(n);return a===";"||a==="}"||Kt.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,er.lastIndex=e,e+=er.exec(this.input)[0].length,this.input[e]===";"&&e++}},Mt.eat=function(e){return this.type===e?(this.next(),!0):!1},Mt.isContextual=function(e){return this.type===M.name&&this.value===e&&!this.containsEsc},Mt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},Mt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Mt.canInsertSemicolon=function(){return this.type===M.eof||this.type===M.braceR||Kt.test(this.input.slice(this.lastTokEnd,this.start))},Mt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Mt.semicolon=function(){!this.eat(M.semi)&&!this.insertSemicolon()&&this.unexpected()},Mt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Mt.expect=function(e){this.eat(e)||this.unexpected()},Mt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},Mt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},Mt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},Mt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Mt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"},Pe=nt.prototype,Pe.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==M.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,a=Object.keys(this.undefinedExports);n<a.length;n+=1){var o=a[n];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")},$s={kind:"loop"},mE={kind:"switch"},Pe.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;er.lastIndex=this.pos;var t=er.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91)return!0;if(e)return!1;if(n===123)return!0;if(cn(n,!0)){for(var a=r+1;oa(this.input.charCodeAt(a),!0);)++a;var o=this.input.slice(r,a);if(!dE.test(o))return!0}return!1},Pe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;er.lastIndex=this.pos;var e=er.exec(this.input),t=this.pos+e[0].length;return!Kt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!oa(this.input.charAt(t+8)))},Pe.parseStatement=function(e,t,r){var n=this.type,a=this.startNode(),o;switch(this.isLet(e)&&(n=M._var,o="let"),n){case M._break:case M._continue:return this.parseBreakContinueStatement(a,n.keyword);case M._debugger:return this.parseDebuggerStatement(a);case M._do:return this.parseDoStatement(a);case M._for:return this.parseForStatement(a);case M._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case M._class:return e&&this.unexpected(),this.parseClass(a,!0);case M._if:return this.parseIfStatement(a);case M._return:return this.parseReturnStatement(a);case M._switch:return this.parseSwitchStatement(a);case M._throw:return this.parseThrowStatement(a);case M._try:return this.parseTryStatement(a);case M._const:case M._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(a,o);case M._while:return this.parseWhileStatement(a);case M._with:return this.parseWithStatement(a);case M.braceL:return this.parseBlock(!0,a);case M.semi:return this.parseEmptyStatement(a);case M._export:case M._import:if(this.options.ecmaVersion>10&&n===M._import){er.lastIndex=this.pos;var i=er.exec(this.input),l=this.pos+i[0].length,u=this.input.charCodeAt(l);if(u===40||u===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===M._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,p=this.parseExpression();return n===M.name&&p.type==="Identifier"&&this.eat(M.colon)?this.parseLabeledStatement(a,c,p,e):this.parseExpressionStatement(a,p)}},Pe.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(M.semi)||this.insertSemicolon()?e.label=null:this.type!==M.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var a=this.labels[n];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},Pe.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Pe.parseDoStatement=function(e){return this.next(),this.labels.push($s),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(M._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(M.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Pe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push($s),this.enterScope(0),this.expect(M.parenL),this.type===M.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===M._var||this.type===M._const||r){var n=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(n,!0,a),this.finishNode(n,"VariableDeclaration"),(this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===M._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new Ns,i=this.parseExpression(!0,o);return this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===M._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(i,!1,o),this.checkLVal(i),this.parseForIn(e,i)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,i))},Pe.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ua|(r?0:Us),!1,t)},Pe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(M._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Pe.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(M.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Pe.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(M.braceL),this.labels.push(mE),this.enterScope(0);for(var t,r=!1;this.type!==M.braceR;)if(this.type===M._case||this.type===M._default){var n=this.type===M._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(M.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Pe.parseThrowStatement=function(e){return this.next(),Kt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},yE=[],Pe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===M._catch){var t=this.startNode();if(this.next(),this.eat(M.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Op:0),this.checkLVal(t.param,r?kp:jr),this.expect(M.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(M._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Pe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Pe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push($s),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Pe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Pe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Pe.parseLabeledStatement=function(e,t,r,n){for(var a=0,o=this.labels;a<o.length;a+=1){var i=o[a];i.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===M._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},Pe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Pe.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(M.braceL),e&&this.enterScope(0);this.type!==M.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Pe.parseFor=function(e,t){return e.init=t,this.expect(M.semi),e.test=this.type===M.semi?null:this.parseExpression(),this.expect(M.semi),e.update=this.type===M.parenR?null:this.parseExpression(),this.expect(M.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Pe.parseForIn=function(e,t){var r=this.type===M._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(M.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},Pe.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(M.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===M._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(M.comma))break}return e},Pe.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Ls:jr,!1)},Ua=1,Us=2,jp=4,Pe.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===M.star&&t&Us&&this.unexpected(),e.generator=this.eat(M.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Ua&&(e.id=t&jp&&this.type!==M.name?null:this.parseIdent(),e.id&&!(t&Us)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Ls:jr:Np));var a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(xp(e.async,e.generator)),t&Ua||(e.id=this.type===M.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(e,t&Ua?"FunctionDeclaration":"FunctionExpression")},Pe.parseFunctionParams=function(e){this.expect(M.parenL),e.params=this.parseBindingList(M.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Pe.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),a=!1;for(n.body=[],this.expect(M.braceL);this.type!==M.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(a&&this.raise(o.start,"Duplicate constructor in the same class"),a=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Pe.parseClassElement=function(e){var t=this;if(this.eat(M.semi))return null;var r=this.startNode(),n=function(u,c){c===void 0&&(c=!1);var p=t.start,d=t.startLoc;return t.eatContextual(u)?t.type!==M.parenL&&(!c||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(p,d),r.key.name=u,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var a=this.eat(M.star),o=!1;a||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,a=this.options.ecmaVersion>=9&&this.eat(M.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var i=r.key,l=!1;return!r.computed&&!r.static&&(i.type==="Identifier"&&i.name==="constructor"||i.type==="Literal"&&i.value==="constructor")?(r.kind!=="method"&&this.raise(i.start,"Constructor can't have get/set modifier"),a&&this.raise(i.start,"Constructor can't be a generator"),o&&this.raise(i.start,"Constructor can't be an async method"),r.kind="constructor",l=e):r.static&&i.type==="Identifier"&&i.name==="prototype"&&this.raise(i.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,a,o,l),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},Pe.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},Pe.parseClassId=function(e,t){this.type===M.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,jr,!1)):(t===!0&&this.unexpected(),e.id=null)},Pe.parseClassSuper=function(e){e.superClass=this.eat(M._extends)?this.parseExprSubscripts():null},Pe.parseExport=function(e,t){if(this.next(),this.eat(M.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==M.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(M._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===M._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ua|jp,!1,r)}else if(this.type===M._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==M.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,i=e.specifiers;o<i.length;o+=1){var l=i[o];this.checkUnreserved(l.local),this.checkLocalExport(l.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Pe.checkExport=function(e,t,r){e&&(sl(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},Pe.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var n=0,a=t.properties;n<a.length;n+=1){var o=a[n];this.checkPatternExport(e,o)}else if(r==="ArrayPattern")for(var i=0,l=t.elements;i<l.length;i+=1){var u=l[i];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},Pe.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var a=n[r];this.checkPatternExport(e,a.id)}},Pe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Pe.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(M.braceL);!this.eat(M.braceR);){if(r)r=!1;else if(this.expect(M.comma),this.afterTrailingComma(M.braceR))break;var n=this.startNode();n.local=this.parseIdent(!0),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,this.checkExport(e,n.exported.name,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},Pe.parseImport=function(e){return this.next(),this.type===M.string?(e.specifiers=yE,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===M.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Pe.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===M.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,jr),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(M.comma))return e}if(this.type===M.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLVal(n.local,jr),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(M.braceL);!this.eat(M.braceR);){if(t)t=!1;else if(this.expect(M.comma),this.afterTrailingComma(M.braceR))break;var a=this.startNode();a.imported=this.parseIdent(!0),this.eatContextual("as")?a.local=this.parseIdent():(this.checkUnreserved(a.imported),a.local=a.imported),this.checkLVal(a.local,jr),e.push(this.finishNode(a,"ImportSpecifier"))}return e},Pe.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Pe.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")},qr=nt.prototype,qr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},qr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var a=e[n];a&&this.toAssignable(a,t)}if(r){var o=e[r-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e},qr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},qr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==M.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},qr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case M.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(M.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case M.braceL:return this.parseObj(!0)}return this.parseIdent()},qr.parseBindingList=function(e,t,r){for(var n=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(M.comma),t&&this.type===M.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===M.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),n.push(o),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var i=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(i),n.push(i)}}return n},qr.parseBindingListItem=function(e){return e},qr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(M.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},qr.checkLVal=function(e,t,r){switch(t===void 0&&(t=Ip),e.type){case"Identifier":t===jr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(sl(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Ip&&t!==Bp&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.checkLVal(o,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var i=0,l=e.elements;i<l.length;i+=1){var u=l[i];u&&this.checkLVal(u,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}},Ie=nt.prototype,Ie.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,a;switch(n.type){case"Identifier":a=n.name;break;case"Literal":a=String(n.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&o==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var i=t[a];if(i){var l;o==="init"?l=this.strict&&i.init||i.get||i.set:l=i.init||i[o],l&&this.raiseRecoverable(n.start,"Redefinition of property")}else i=t[a]={init:!1,get:!1,set:!1};i[o]=!0}},Ie.parseExpression=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===M.comma){var o=this.startNodeAt(r,n);for(o.expressions=[a];this.eat(M.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return a},Ie.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,a=-1,o=-1;t?(a=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ns,n=!0);var i=this.start,l=this.startLoc;(this.type===M.parenL||this.type===M.name)&&(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(r&&(u=r.call(this,u,i,l)),this.type.isAssign){var c=this.startNodeAt(i,l);return c.operator=this.value,c.left=this.type===M.eq?this.toAssignable(u,!1,t):u,n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.left.start&&(t.shorthandAssign=-1),this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),o>-1&&(t.trailingComma=o),u},Ie.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(M.question)){var o=this.startNodeAt(r,n);return o.test=a,o.consequent=this.parseMaybeAssign(),this.expect(M.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return a},Ie.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,n,-1,e)},Ie.parseExprOp=function(e,t,r,n,a){var o=this.type.binop;if(o!=null&&(!a||this.type!==M._in)&&o>n){var i=this.type===M.logicalOR||this.type===M.logicalAND,l=this.type===M.coalesce;l&&(o=M.logicalAND.binop);var u=this.value;this.next();var c=this.start,p=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1),c,p,o,a),h=this.buildBinary(t,r,e,d,u,i||l);return(i&&this.type===M.coalesce||l&&(this.type===M.logicalOR||this.type===M.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,n,a)}return e},Ie.buildBinary=function(e,t,r,n,a,o){var i=this.startNodeAt(e,t);return i.left=r,i.operator=a,i.right=n,this.finishNode(i,o?"LogicalExpression":"BinaryExpression")},Ie.parseMaybeUnary=function(e,t){var r=this.start,n=this.startLoc,a;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))a=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),i=this.type===M.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),i?this.checkLVal(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,a=this.finishNode(o,i?"UpdateExpression":"UnaryExpression")}else{if(a=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(r,n);l.operator=this.value,l.prefix=!1,l.argument=a,this.checkLVal(a),this.next(),a=this.finishNode(l,"UpdateExpression")}}return!t&&this.eat(M.starstar)?this.buildBinary(r,n,a,this.parseMaybeUnary(null,!1),"**",!1):a},Ie.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,n=this.parseExprAtom(e);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var a=this.parseSubscripts(n,t,r);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},Ie.parseSubscripts=function(e,t,r,n){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var i=this.parseSubscript(e,t,r,n,a,o);if(i.optional&&(o=!0),i===e||i.type==="ArrowFunctionExpression"){if(o){var l=this.startNodeAt(t,r);l.expression=i,i=this.finishNode(l,"ChainExpression")}return i}e=i}},Ie.parseSubscript=function(e,t,r,n,a,o){var i=this.options.ecmaVersion>=11,l=i&&this.eat(M.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var u=this.eat(M.bracketL);if(u||l&&this.type!==M.parenL&&this.type!==M.backQuote||this.eat(M.dot)){var c=this.startNodeAt(t,r);c.object=e,c.property=u?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),c.computed=!!u,u&&this.expect(M.bracketR),i&&(c.optional=l),e=this.finishNode(c,"MemberExpression")}else if(!n&&this.eat(M.parenL)){var p=new Ns,d=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(M.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!l&&!this.canInsertSemicolon()&&this.eat(M.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=f,this.parseArrowExpression(this.startNodeAt(t,r),m,!0);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var y=this.startNodeAt(t,r);y.callee=e,y.arguments=m,i&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===M.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var b=this.startNodeAt(t,r);b.tag=e,b.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(b,"TaggedTemplateExpression")}return e},Ie.parseExprAtom=function(e){this.type===M.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case M._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===M.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==M.dot&&this.type!==M.bracketL&&this.type!==M.parenL&&this.unexpected(),this.finishNode(t,"Super");case M._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case M.name:var n=this.start,a=this.startLoc,o=this.containsEsc,i=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&i.name==="async"&&!this.canInsertSemicolon()&&this.eat(M._function))return this.parseFunction(this.startNodeAt(n,a),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(M.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[i],!1);if(this.options.ecmaVersion>=8&&i.name==="async"&&this.type===M.name&&!o)return i=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(M.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[i],!0)}return i;case M.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case M.num:case M.string:return this.parseLiteral(this.value);case M._null:case M._true:case M._false:return t=this.startNode(),t.value=this.type===M._null?null:this.type===M._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case M.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case M.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(M.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case M.braceL:return this.parseObj(!1,e);case M._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case M._class:return this.parseClass(this.startNode(),!1);case M._new:return this.parseNew();case M.backQuote:return this.parseTemplate();case M._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Ie.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case M.parenL:return this.parseDynamicImport(e);case M.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(M.parenR)){var t=this.start;this.eat(M.comma)&&this.eat(M.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Ie.parseParenExpression=function(){this.expect(M.parenL);var e=this.parseExpression();return this.expect(M.parenR),e},Ie.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,i=this.startLoc,l=[],u=!0,c=!1,p=new Ns,d=this.yieldPos,h=this.awaitPos,f;for(this.yieldPos=0,this.awaitPos=0;this.type!==M.parenR;)if(u?u=!1:this.expect(M.comma),a&&this.afterTrailingComma(M.parenR,!0)){c=!0;break}else if(this.type===M.ellipsis){f=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var m=this.start,y=this.startLoc;if(this.expect(M.parenR),e&&!this.canInsertSemicolon()&&this.eat(M.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=h,this.parseParenArrowList(t,r,l);(!l.length||c)&&this.unexpected(this.lastTokStart),f&&this.unexpected(f),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,l.length>1?(n=this.startNodeAt(o,i),n.expressions=l,this.finishNodeAt(n,"SequenceExpression",m,y)):n=l[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(t,r);return b.expression=n,this.finishNode(b,"ParenthesizedExpression")}else return n},Ie.parseParenItem=function(e){return e},Ie.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},gE=[],Ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(M.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,a=this.startLoc,o=this.type===M._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,a,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(M.parenL)?e.arguments=this.parseExprList(M.parenR,this.options.ecmaVersion>=8,!1):e.arguments=gE,this.finishNode(e,"NewExpression")},Ie.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===M.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
1068
|
+
`),cooked:this.value},this.next(),r.tail=this.type===M.backQuote,this.finishNode(r,"TemplateElement")},Ie.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===M.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(M.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(M.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Ie.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===M.name||this.type===M.num||this.type===M.string||this.type===M.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===M.star)&&!Kt.test(this.input.slice(this.lastTokEnd,this.start))},Ie.parseObj=function(e,t){var r=this.startNode(),n=!0,a={};for(r.properties=[],this.next();!this.eat(M.braceR);){if(n)n=!1;else if(this.expect(M.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(M.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,a,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Ie.parseProperty=function(e,t){var r=this.startNode(),n,a,o,i;if(this.options.ecmaVersion>=9&&this.eat(M.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===M.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===M.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(n=this.eat(M.star)));var l=this.containsEsc;return this.parsePropertyName(r),!e&&!l&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(M.star),this.parsePropertyName(r,t)):a=!1,this.parsePropertyValue(r,e,n,a,o,i,t,l),this.finishNode(r,"Property")},Ie.parsePropertyValue=function(e,t,r,n,a,o,i,l){if((r||n)&&this.type===M.colon&&this.unexpected(),this.eat(M.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===M.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==M.comma&&this.type!==M.braceR&&this.type!==M.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;e.kind==="get"?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,o,e.key):this.type===M.eq&&i?(i.shorthandAssign<0&&(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},Ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(M.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(M.bracketR),e.key;e.computed=!1}return e.key=this.type===M.num||this.type===M.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Ie.parseMethod=function(e,t,r){var n=this.startNode(),a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(xp(t,n.generator)|Rp|(r?Fp:0)),this.expect(M.parenL),n.params=this.parseBindingList(M.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(n,"FunctionExpression")},Ie.parseArrowExpression=function(e,t,r){var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(xp(r,!1)|Dp),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Ie.parseFunctionBody=function(e,t,r){var n=t&&this.type!==M.braceL,a=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var i=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||i)&&(o=this.strictDirective(this.end),o&&i&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Bp),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},Ie.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0},Ie.checkParams=function(e,t){for(var r={},n=0,a=e.params;n<a.length;n+=1){var o=a[n];this.checkLVal(o,Ls,t?null:r)}},Ie.parseExprList=function(e,t,r,n){for(var a=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(M.comma),t&&this.afterTrailingComma(e))break;var i=void 0;r&&this.type===M.comma?i=null:this.type===M.ellipsis?(i=this.parseSpread(n),n&&this.type===M.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):i=this.parseMaybeAssign(!1,n),a.push(i)}return a},Ie.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}},Ie.parseIdent=function(e,t){var r=this.startNode();return this.type===M.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},Ie.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===M.semi||this.canInsertSemicolon()||this.type!==M.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(M.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Ie.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")},Qo=nt.prototype,Qo.raise=function(e,t){var r=Qf(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},Qo.raiseRecoverable=Qo.raise,Qo.curPosition=function(){if(this.options.locations)return new ia(this.curLine,this.pos-this.lineStart)},an=nt.prototype,bE=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]},an.enterScope=function(e){this.scopeStack.push(new bE(e))},an.exitScope=function(){this.scopeStack.pop()},an.treatFunctionsAsVarInScope=function(e){return e.flags&Ka||!this.inModule&&e.flags&$a},an.declareName=function(e,t,r){var n=!1;if(t===jr){var a=this.currentScope();n=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&$a&&delete this.undefinedExports[e]}else if(t===kp){var o=this.currentScope();o.lexical.push(e)}else if(t===Np){var i=this.currentScope();this.treatFunctionsAsVar?n=i.lexical.indexOf(e)>-1:n=i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var u=this.scopeStack[l];if(u.lexical.indexOf(e)>-1&&!(u.flags&Op&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){n=!0;break}if(u.var.push(e),this.inModule&&u.flags&$a&&delete this.undefinedExports[e],u.flags&Ms)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},an.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},an.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},an.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Ms)return t}},an.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Ms&&!(t.flags&Dp))return t}},pi=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ro(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Zo=nt.prototype,Zo.startNode=function(){return new pi(this,this.start,this.startLoc)},Zo.startNodeAt=function(e,t){return new pi(this,e,t)},Zo.finishNode=function(e,t){return oE.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Zo.finishNodeAt=function(e,t,r,n){return oE.call(this,e,t,r,n)},nr=function(e,t,r,n,a){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!a},pt={b_stat:new nr("{",!1),b_expr:new nr("{",!0),b_tmpl:new nr("${",!1),p_stat:new nr("(",!1),p_expr:new nr("(",!0),q_tmpl:new nr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new nr("function",!1),f_expr:new nr("function",!0),f_expr_gen:new nr("function",!0,!1,null,!0),f_gen:new nr("function",!1,!1,null,!0)},ei=nt.prototype,ei.initialContext=function(){return[pt.b_stat]},ei.braceIsBlock=function(e){var t=this.curContext();return t===pt.f_expr||t===pt.f_stat?!0:e===M.colon&&(t===pt.b_stat||t===pt.b_expr)?!t.isExpr:e===M._return||e===M.name&&this.exprAllowed?Kt.test(this.input.slice(this.lastTokEnd,this.start)):e===M._else||e===M.semi||e===M.eof||e===M.parenR||e===M.arrow?!0:e===M.braceL?t===pt.b_stat:e===M._var||e===M._const||e===M.name?!1:!this.exprAllowed},ei.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ei.updateContext=function(e){var t,r=this.type;r.keyword&&e===M.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},M.parenR.updateContext=M.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===pt.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},M.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?pt.b_stat:pt.b_expr),this.exprAllowed=!0},M.dollarBraceL.updateContext=function(){this.context.push(pt.b_tmpl),this.exprAllowed=!0},M.parenL.updateContext=function(e){var t=e===M._if||e===M._for||e===M._with||e===M._while;this.context.push(t?pt.p_stat:pt.p_expr),this.exprAllowed=!0},M.incDec.updateContext=function(){},M._function.updateContext=M._class.updateContext=function(e){e.beforeExpr&&e!==M.semi&&e!==M._else&&!(e===M._return&&Kt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===M.colon||e===M.braceL)&&this.curContext()===pt.b_stat)?this.context.push(pt.f_expr):this.context.push(pt.f_stat),this.exprAllowed=!1},M.backQuote.updateContext=function(){this.curContext()===pt.q_tmpl?this.context.pop():this.context.push(pt.q_tmpl),this.exprAllowed=!1},M.star.updateContext=function(e){if(e===M._function){var t=this.context.length-1;this.context[t]===pt.f_expr?this.context[t]=pt.f_expr_gen:this.context[t]=pt.f_gen}this.exprAllowed=!0},M.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==M.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},qp="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Mp=qp+" Extended_Pictographic",vE=Mp,sN={9:qp,10:Mp,11:vE},rh="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Lp="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",$p=Lp+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",EE=$p+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",lN={9:Lp,10:$p,11:EE},nh={},Sp(9),Sp(10),Sp(11),we=nt.prototype,Mr=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=nh[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},Mr.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},Mr.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Mr.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=n)return a;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a},Mr.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var a=r.charCodeAt(e),o;return!(t||this.switchU)||a<=55295||a>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},Mr.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},Mr.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Mr.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Mr.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},we.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var a=r.charAt(n);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},we.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},we.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames.indexOf(n)===-1&&e.raise("Invalid named capture referenced")}},we.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},we.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},we.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},we.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},we.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},we.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},we.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},we.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},we.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},we.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},we.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},we.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},we.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},we.regexp_eatSyntaxCharacter=function(e){var t=e.current();return iE(t)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!iE(r);)e.advance();return e.pos!==t},we.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},we.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},we.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},we.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ks(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ks(e.lastIntValue);return!0}return!1},we.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),EW(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),CW(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},we.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},we.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},we.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},we.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},we.regexp_eatZero=function(e){return e.current()===48&&!ll(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},we.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},we.regexp_eatControlLetter=function(e){var t=e.current();return tN(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(n&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=(a-55296)*1024+(i-56320)+65536,!0}e.pos=o,e.lastIntValue=a}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&wW(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},we.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},we.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(AW(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},we.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a),!0}return!1},we.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){sl(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},we.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},we.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";rN(t=e.current());)e.lastStringValue+=ks(t),e.advance();return e.lastStringValue!==""},we.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xW(t=e.current());)e.lastStringValue+=ks(t),e.advance();return e.lastStringValue!==""},we.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},we.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},we.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},we.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||uE(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1},we.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},we.regexp_eatClassControlLetter=function(e){var t=e.current();return ll(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},we.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ll(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},we.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;sE(r=e.current());)e.lastIntValue=16*e.lastIntValue+lE(r),e.advance();return e.pos!==t},we.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},we.regexp_eatOctalDigit=function(e){var t=e.current();return uE(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},we.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var a=e.current();if(!sE(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+lE(a),e.advance()}return!0},di=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new ro(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},je=nt.prototype,je.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new di(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},je.getToken=function(){return this.next(),new di(this)},typeof Symbol<"u"&&(je[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===M.eof,value:t}}}}),je.curContext=function(){return this.context[this.context.length-1]},je.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(M.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},je.readToken=function(e){return cn(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},je.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},je.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){da.lastIndex=t;for(var n;(n=da.exec(this.input))&&n.index<this.pos;)++this.curLine,this.lineStart=n.index+n[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},je.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Wa(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},je.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&ul.test(String.fromCharCode(e)))++this.pos;else break e}}},je.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},je.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(M.ellipsis)):(++this.pos,this.finishToken(M.dot))},je.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(M.assign,2):this.finishOp(M.slash,1)},je.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?M.star:M.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=M.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(M.assign,r+1):this.finishOp(n,r)},je.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(M.assign,3)}return this.finishOp(e===124?M.logicalOR:M.logicalAND,2)}return t===61?this.finishOp(M.assign,2):this.finishOp(e===124?M.bitwiseOR:M.bitwiseAND,1)},je.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(M.assign,2):this.finishOp(M.bitwiseXOR,1)},je.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Kt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(M.incDec,2):t===61?this.finishOp(M.assign,2):this.finishOp(M.plusMin,1)},je.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(M.assign,r+1):this.finishOp(M.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(M.relational,r))},je.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(M.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(M.arrow)):this.finishOp(e===61?M.eq:M.prefix,1)},je.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(M.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(M.assign,3)}return this.finishOp(M.coalesce,2)}}return this.finishOp(M.question,1)},je.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(M.parenL);case 41:return++this.pos,this.finishToken(M.parenR);case 59:return++this.pos,this.finishToken(M.semi);case 44:return++this.pos,this.finishToken(M.comma);case 91:return++this.pos,this.finishToken(M.bracketL);case 93:return++this.pos,this.finishToken(M.bracketR);case 123:return++this.pos,this.finishToken(M.braceL);case 125:return++this.pos,this.finishToken(M.braceR);case 58:return++this.pos,this.finishToken(M.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(M.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(M.prefix,1)}this.raise(this.pos,"Unexpected character '"+_p(e)+"'")},je.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},je.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(Kt.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,i=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new Mr(this));l.reset(r,a,i),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var u=null;try{u=new RegExp(a,i)}catch{}return this.finishToken(M.regexp,{pattern:a,flags:i,value:u})},je.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,i=0,l=0,u=0,c=t??1/0;u<c;++u,++this.pos){var p=this.input.charCodeAt(this.pos),d=void 0;if(n&&p===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=p;continue}if(p>=97?d=p-97+10:p>=65?d=p-65+10:p>=48&&p<=57?d=p-48:d=1/0,d>=e)break;l=p,i=i*e+d}return n&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:i},je.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=cE(this.input.slice(t,this.pos)),++this.pos):cn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(M.num,r)},je.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var a=cE(this.input.slice(t,this.pos));return++this.pos,cn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(M.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),cn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=SW(this.input.slice(t,this.pos),r);return this.finishToken(M.num,o)},je.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},je.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Wa(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(M.string,t)},Up={},je.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Up)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},je.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Up;this.raise(e,t)},je.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===M.template||this.type===M.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(M.dollarBraceL)):(++this.pos,this.finishToken(M.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(M.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Wa(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
1069
|
+
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},je.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(M.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},je.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
1070
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return _p(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(n,8);return a>255&&(n=n.slice(0,-1),a=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return Wa(t)?"":String.fromCharCode(t)}},je.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},je.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(oa(a,n))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var i=this.readCodePoint();(t?cn:oa)(i,n)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=_p(i),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},je.readWord=function(){var e=this.readWord1(),t=M.name;return this.keywords.test(e)&&(t=_i[e]),this.finishToken(t,e)},ah="7.4.1",nt.acorn={Parser:nt,version:ah,defaultOptions:Xi,Position:ia,SourceLocation:ro,getLineInfo:Qf,Node:pi,TokenType:$e,tokTypes:M,keywordTypes:_i,TokContext:nr,tokContexts:pt,isIdentifierChar:oa,isIdentifierStart:cn,Token:di,isNewLine:Wa,lineBreak:Kt,lineBreakG:da,nonASCIIwhitespace:ul}}}),DW=ve({"../../node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",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:"♦"}}}),OW=ve({"../../node_modules/acorn-jsx/index.js"(e,t){var r=DW(),n=/^[\da-fA-F]+$/,a=/^\d+$/,o=new WeakMap;function i(c){c=c.Parser.acorn||c;let p=o.get(c);if(!p){let d=c.tokTypes,h=c.TokContext,f=c.TokenType,m=new h("<tag",!1),y=new h("</tag",!1),b=new h("<tag>...</tag>",!0,!0),g={tc_oTag:m,tc_cTag:y,tc_expr:b},v={jsxName:new f("jsxName"),jsxText:new f("jsxText",{beforeExpr:!0}),jsxTagStart:new f("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new f("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(b),this.context.push(m),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(D){let S=this.context.pop();S===m&&D===d.slash||S===y?(this.context.pop(),this.exprAllowed=this.curContext()===b):this.exprAllowed=!0},p={tokContexts:g,tokTypes:v},o.set(c,p)}return p}function l(c){if(!c)return c;if(c.type==="JSXIdentifier")return c.name;if(c.type==="JSXNamespacedName")return c.namespace.name+":"+c.name.name;if(c.type==="JSXMemberExpression")return l(c.object)+"."+l(c.property)}t.exports=function(c){return c=c||{},function(p){return u({allowNamespaces:c.allowNamespaces!==!1,allowNamespacedObjects:!!c.allowNamespacedObjects},p)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return i((oh(),K0(Yf))).tokTypes},configurable:!0,enumerable:!0});function u(c,p){let d=p.acorn||(oh(),K0(Yf)),h=i(d),f=d.tokTypes,m=h.tokTypes,y=d.tokContexts,b=h.tokContexts.tc_oTag,g=h.tokContexts.tc_cTag,v=h.tokContexts.tc_expr,D=d.isNewLine,S=d.isIdentifierStart,_=d.isIdentifierChar;return class extends p{static get acornJsx(){return h}jsx_readToken(){let A="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let C=this.input.charCodeAt(this.pos);switch(C){case 60:case 123:return this.pos===this.start?C===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(C):(A+=this.input.slice(E,this.pos),this.finishToken(m.jsxText,A));case 38:A+=this.input.slice(E,this.pos),A+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(C===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:D(C)?(A+=this.input.slice(E,this.pos),A+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(A){let E=this.input.charCodeAt(this.pos),C;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,C=A?`
|
|
1071
|
+
`:`\r
|
|
1072
|
+
`):C=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),C}jsx_readString(A){let E="",C=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let T=this.input.charCodeAt(this.pos);if(T===A)break;T===38?(E+=this.input.slice(C,this.pos),E+=this.jsx_readEntity(),C=this.pos):D(T)?(E+=this.input.slice(C,this.pos),E+=this.jsx_readNewLine(!1),C=this.pos):++this.pos}return E+=this.input.slice(C,this.pos++),this.finishToken(f.string,E)}jsx_readEntity(){let A="",E=0,C,T=this.input[this.pos];T!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let k=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(T=this.input[this.pos++],T===";"){A[0]==="#"?A[1]==="x"?(A=A.substr(2),n.test(A)&&(C=String.fromCharCode(parseInt(A,16)))):(A=A.substr(1),a.test(A)&&(C=String.fromCharCode(parseInt(A,10)))):C=r[A];break}A+=T}return C||(this.pos=k,"&")}jsx_readWord(){let A,E=this.pos;do A=this.input.charCodeAt(++this.pos);while(_(A)||A===45);return this.finishToken(m.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let A=this.startNode();return this.type===m.jsxName?A.name=this.value:this.type.keyword?A.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(A,"JSXIdentifier")}jsx_parseNamespacedName(){let A=this.start,E=this.startLoc,C=this.jsx_parseIdentifier();if(!c.allowNamespaces||!this.eat(f.colon))return C;var T=this.startNodeAt(A,E);return T.namespace=C,T.name=this.jsx_parseIdentifier(),this.finishNode(T,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let A=this.start,E=this.startLoc,C=this.jsx_parseNamespacedName();for(this.type===f.dot&&C.type==="JSXNamespacedName"&&!c.allowNamespacedObjects&&this.unexpected();this.eat(f.dot);){let T=this.startNodeAt(A,E);T.object=C,T.property=this.jsx_parseIdentifier(),C=this.finishNode(T,"JSXMemberExpression")}return C}jsx_parseAttributeValue(){switch(this.type){case f.braceL:let A=this.jsx_parseExpressionContainer();return A.expression.type==="JSXEmptyExpression"&&this.raise(A.start,"JSX attributes must only be assigned a non-empty expression"),A;case m.jsxTagStart:case f.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let A=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(A,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let A=this.startNode();return this.next(),A.expression=this.type===f.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(f.braceR),this.finishNode(A,"JSXExpressionContainer")}jsx_parseAttribute(){let A=this.startNode();return this.eat(f.braceL)?(this.expect(f.ellipsis),A.argument=this.parseMaybeAssign(),this.expect(f.braceR),this.finishNode(A,"JSXSpreadAttribute")):(A.name=this.jsx_parseNamespacedName(),A.value=this.eat(f.eq)?this.jsx_parseAttributeValue():null,this.finishNode(A,"JSXAttribute"))}jsx_parseOpeningElementAt(A,E){let C=this.startNodeAt(A,E);C.attributes=[];let T=this.jsx_parseElementName();for(T&&(C.name=T);this.type!==f.slash&&this.type!==m.jsxTagEnd;)C.attributes.push(this.jsx_parseAttribute());return C.selfClosing=this.eat(f.slash),this.expect(m.jsxTagEnd),this.finishNode(C,T?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(A,E){let C=this.startNodeAt(A,E),T=this.jsx_parseElementName();return T&&(C.name=T),this.expect(m.jsxTagEnd),this.finishNode(C,T?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(A,E){let C=this.startNodeAt(A,E),T=[],k=this.jsx_parseOpeningElementAt(A,E),B=null;if(!k.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(A=this.start,E=this.startLoc,this.next(),this.eat(f.slash)){B=this.jsx_parseClosingElementAt(A,E);break e}T.push(this.jsx_parseElementAt(A,E));break;case m.jsxText:T.push(this.parseExprAtom());break;case f.braceL:T.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}l(B.name)!==l(k.name)&&this.raise(B.start,"Expected corresponding JSX closing tag for <"+l(k.name)+">")}let W=k.name?"Element":"Fragment";return C["opening"+W]=k,C["closing"+W]=B,C.children=T,this.type===f.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(C,"JSX"+W)}jsx_parseText(){let A=this.parseLiteral(this.value);return A.type="JSXText",A}jsx_parseElement(){let A=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(A,E)}parseExprAtom(A){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(A)}readToken(A){let E=this.curContext();if(E===v)return this.jsx_readToken();if(E===b||E===g){if(S(A))return this.jsx_readWord();if(A==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((A===34||A===39)&&E==b)return this.jsx_readString(A)}return A===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(A)}updateContext(A){if(this.type==f.braceL){var E=this.curContext();E==b?this.context.push(y.b_expr):E==v?this.context.push(y.b_tmpl):super.updateContext(A),this.exprAllowed=!0}else if(this.type===f.slash&&A===m.jsxTagStart)this.context.length-=2,this.context.push(g),this.exprAllowed=!1;else return super.updateContext(A)}}}}}),RW=ve({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),FW=ve({"../../node_modules/html-tags/index.js"(e,t){t.exports=RW()}}),IW={};Lc(IW,{argTypesEnhancers:()=>AN,parameters:()=>wN});var ih="custom",xs="object",Jb="array",NW="class",Do="func",zo="element",kW=Ho(gW());function BW(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
|
|
1073
|
+
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
|
|
1074
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
1075
|
+
`)&&(d=String(l).split(`
|
|
1076
|
+
`).map(function(h,f){return f===0?h:""+p+h}).join(`
|
|
1077
|
+
`)),i+=d+n[u+1]}),i}var uN={format:{indent:{style:" "},semicolons:!1}},jW={...uN,format:{newline:""}},qW={...uN};function Un(e,t=!1){return(0,kW.generate)(e,t?jW:qW)}function sh(e,t=!1){return t?MW(e):Un(e)}function MW(e){let t=Un(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function CE(e,t=!1){return t?$W(e):LW(e)}function LW(e){let t=Un(e);return t.endsWith(" }]")&&(t=BW(t)),t}function $W(e){let t=Un(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}oh();var UW=Ho(OW());function cN(e,t,r,n,a){r||(r=fe),(function o(i,l,u){var c=u||i.type,p=t[c];r[c](i,l,o),p&&p(i,l)})(e,n,a)}function VW(e,t,r,n,a){var o=[];r||(r=fe),(function i(l,u,c){var p=c||l.type,d=t[p],h=l!==o[o.length-1];h&&o.push(l),r[p](l,u,i),d&&d(l,u||o,o),h&&o.pop()})(e,n,a)}function zb(e,t,r){r(e,t)}function qa(e,t,r){}var fe={};fe.Program=fe.BlockStatement=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};fe.Statement=zb;fe.EmptyStatement=qa;fe.ExpressionStatement=fe.ParenthesizedExpression=fe.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};fe.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};fe.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};fe.BreakStatement=fe.ContinueStatement=qa;fe.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};fe.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var n=0,a=e.cases;n<a.length;n+=1){var o=a[n];o.test&&r(o.test,t,"Expression");for(var i=0,l=o.consequent;i<l.length;i+=1){var u=l[i];r(u,t,"Statement")}}};fe.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var n=0,a=e.consequent;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};fe.ReturnStatement=fe.YieldExpression=fe.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};fe.ThrowStatement=fe.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};fe.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};fe.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};fe.WhileStatement=fe.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};fe.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};fe.ForInStatement=fe.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};fe.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};fe.DebuggerStatement=qa;fe.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};fe.VariableDeclaration=function(e,t,r){for(var n=0,a=e.declarations;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};fe.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var n=0,a=e.params;n<a.length;n+=1){var o=a[n];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};fe.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};fe.VariablePattern=qa;fe.MemberPattern=zb;fe.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};fe.ArrayPattern=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Pattern")}};fe.ObjectPattern=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};fe.Expression=zb;fe.ThisExpression=fe.Super=fe.MetaProperty=qa;fe.ArrayExpression=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Expression")}};fe.ObjectExpression=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.FunctionExpression=fe.ArrowFunctionExpression=fe.FunctionDeclaration;fe.SequenceExpression=function(e,t,r){for(var n=0,a=e.expressions;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};fe.TemplateLiteral=function(e,t,r){for(var n=0,a=e.quasis;n<a.length;n+=1){var o=a[n];r(o,t)}for(var i=0,l=e.expressions;i<l.length;i+=1){var u=l[i];r(u,t,"Expression")}};fe.TemplateElement=qa;fe.UnaryExpression=fe.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};fe.BinaryExpression=fe.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};fe.AssignmentExpression=fe.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};fe.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};fe.NewExpression=fe.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var n=0,a=e.arguments;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};fe.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};fe.ExportNamedDeclaration=fe.ExportDefaultDeclaration=function(e,t,r){e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression")};fe.ExportAllDeclaration=function(e,t,r){e.exported&&r(e.exported,t),r(e.source,t,"Expression")};fe.ImportDeclaration=function(e,t,r){for(var n=0,a=e.specifiers;n<a.length;n+=1){var o=a[n];r(o,t)}r(e.source,t,"Expression")};fe.ImportExpression=function(e,t,r){r(e.source,t,"Expression")};fe.ImportSpecifier=fe.ImportDefaultSpecifier=fe.ImportNamespaceSpecifier=fe.Identifier=fe.Literal=qa;fe.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};fe.ClassDeclaration=fe.ClassExpression=function(e,t,r){return r(e,t,"Class")};fe.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};fe.ClassBody=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.MethodDefinition=fe.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),r(e.value,t,"Expression")};var Gb={...fe,JSXElement:()=>{}},HW=nt.extend((0,UW.default)());function Ss(e){return e!=null?e.name:null}function wE(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function pN(e){let t=[];return VW(e,{ObjectExpression(r,n){t.push(wE(n).length)},ArrayExpression(r,n){t.push(wE(n).length)}},Gb),Math.max(...t)}function JW(e){return{inferredType:{type:"Identifier",identifier:Ss(e)},ast:e}}function zW(e){return{inferredType:{type:"Literal"},ast:e}}function GW(e){let t;cN(e.body,{JSXElement(a){t=a}},Gb);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Ss(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function WW(e){let t;return cN(e.body,{JSXElement(r){t=r}},Gb),{inferredType:{type:t!=null?"Element":"Class",identifier:Ss(e.id)},ast:e}}function KW(e){let t={type:"Element"},r=Ss(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function YW(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Ss(t)==="shape"?dN(e.arguments[0]):null}function dN(e){return{inferredType:{type:"Object",depth:pN(e)},ast:e}}function XW(e){return{inferredType:{type:"Array",depth:pN(e)},ast:e}}function QW(e){switch(e.type){case"Identifier":return JW(e);case"Literal":return zW(e);case"FunctionExpression":case"ArrowFunctionExpression":return GW(e);case"ClassExpression":return WW(e);case"JSXElement":return KW(e);case"CallExpression":return YW(e);case"ObjectExpression":return dN(e);case"ArrayExpression":return XW(e);default:return null}}function ZW(e){let t=HW.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let a=QW(n.expression);a!=null&&(r=a);break}}}return r}function Wn(e){try{return{...ZW(e)}}catch{}return{inferredType:{type:"Unknown"}}}var eK=Ho(FW());function Wb(e){return eK.default.includes(e.toLowerCase())}function fN({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=CE(t,!0);if(!ja(n))return _e(n)}return _e(Jb,CE(t))}function hN({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=sh(t,!0);if(!ja(n))return _e(n)}return _e(xs,sh(t))}function Kb(e,t){return t?`${e}( ... )`:`${e}()`}function Xc(e){return`<${e} />`}function mN(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Kb(r,e.hasParams);case"Element":return Xc(r);default:return r}}function tK({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return _e(mN(e),Un(t));let n=Un(t,!0);return ja(n)?_e(Do,Un(t)):_e(n)}function rK(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!Wb(n)){let a=mN(r);return _e(a,e)}return ja(e)?_e(zo,e):_e(e)}function yN(e){try{let t=Wn(e);switch(t.inferredType.type){case"Object":return hN(t);case"Function":return tK(t);case"Element":return rK(e,t);case"Array":return fN(t);default:return null}}catch(t){console.error(t)}return null}function nK(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let r=e[Symbol.toStringTag];return r==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${r}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function AE(e){return typeof e=="function"}function aK(e){return typeof e=="string"||e instanceof String}var xE=ZI;function gN(e){return e.$$typeof!=null}function bN(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var oK=e=>_e(JSON.stringify(e));function iK(e){let{type:t}=e,{displayName:r}=t,n=xE(e,{});if(r!=null){let a=Xc(r);return _e(a,n)}if(aK(t)&&Wb(t)){let a=xE(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ja(a))return _e(a)}return _e(zo,n)}var sK=e=>{if(gN(e)&&e.type!=null)return iK(e);if(nK(e)){let t=Wn(JSON.stringify(e));return hN(t)}if(Array.isArray(e)){let t=Wn(JSON.stringify(e));return fN(t)}return _e(xs)},lK=(e,t)=>{let r=!1,n;if(AE(e.render))r=!0;else if(e.prototype!=null&&AE(e.prototype.render))r=!0;else{let o;try{n=Wn(e.toString());let{hasParams:i,params:l}=n.inferredType;i?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&gN(o)&&(r=!0)}catch{}}let a=bN(e,t.name);if(a!=null){if(r)return _e(Xc(a));n!=null&&(n=Wn(e.toString()));let{hasParams:o}=n.inferredType;return _e(Kb(a,o))}return _e(r?zo:Do)},uK=e=>_e(e.toString()),vN={string:oK,object:sK,function:lK,default:uK};function cK(e={}){return{...vN,...e}}function pK(e,t,r=vN){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function dK(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];if(r){let o=e.map(i=>{let l=i.getPrettyName(),u=i.getTypeName();return u!=null?`${l}: ${u}`:l});a.push(`(${o.join(", ")})`)}else a.push("()");return n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function fK(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];return r?a.push("( ... )"):a.push("()"),n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function hK(e){return e.replace(/,/g,`,\r
|
|
1078
|
+
`)}var mK=150;function Ut({name:e,short:t,compact:r,full:n,inferredType:a}){return{name:e,short:t,compact:r,full:n??t,inferredType:a}}function EN(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function SE(e){return e.split(/\r?\n/)}function iu(e,t=!1){return EN(sh(e,t))}function _E(e,t=!1){return EN(Un(e,t))}function yK(e){switch(e){case"Object":return xs;case"Array":return Jb;case"Class":return NW;case"Function":return Do;case"Element":return zo;default:return ih}}function CN(e,t){let{inferredType:r,ast:n}=Wn(e),{type:a}=r,o,i,l;switch(a){case"Identifier":case"Literal":o=e,i=e;break;case"Object":{let{depth:u}=r;o=xs,i=u===1?iu(n,!0):null,l=iu(n);break}case"Element":{let{identifier:u}=r;o=u!=null&&!Wb(u)?u:zo,i=SE(e).length===1?e:null,l=e;break}case"Array":{let{depth:u}=r;o=Jb,i=u<=2?_E(n,!0):null,l=_E(n);break}default:o=yK(a),i=SE(e).length===1?e:null,l=e;break}return Ut({name:t,short:o,compact:i,full:l,inferredType:a})}function gK({raw:e}){return e!=null?CN(e,"custom"):Ut({name:"custom",short:ih,compact:ih})}function bK(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Ut({name:"func",short:fK(t.params,t.returns),compact:null,full:dK(t.params,t.returns)}):Ut({name:"func",short:Do,compact:Do})}function vK(e,t){let r=Object.keys(e.value).map(i=>`${i}: ${Oo(e.value[i],t).full}`).join(", "),{inferredType:n,ast:a}=Wn(`{ ${r} }`),{depth:o}=n;return Ut({name:"shape",short:xs,compact:o===1&&a?iu(a,!0):null,full:a?iu(a):null})}function Vp(e){return`objectOf(${e})`}function EK(e,t){let{short:r,compact:n,full:a}=Oo(e.value,t);return Ut({name:"objectOf",short:Vp(r),compact:n!=null?Vp(n):null,full:a&&Vp(a)})}function CK(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,a)=>{let{short:o,compact:i,full:l}=Oo(a,t);return n.short.push(o),n.compact.push(i),n.full.push(l),n},{short:[],compact:[],full:[]});return Ut({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return Ut({name:"union",short:e.value,compact:null})}function wK({value:e,computed:t}){return t?CN(e,"enumvalue"):Ut({name:"enumvalue",short:e,compact:e})}function AK(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:a,compact:o,full:i}=wK(n);return r.short.push(a),r.compact.push(o),r.full.push(i),r},{short:[],compact:[],full:[]});return Ut({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Ut({name:"enum",short:e.value,compact:e.value})}function lh(e){return`${e}[]`}function TE(e){return`[${e}]`}function PE(e,t,r){return Ut({name:"arrayOf",short:lh(e),compact:t!=null?TE(t):null,full:r&&TE(r)})}function xK(e,t){let{name:r,short:n,compact:a,full:o,inferredType:i}=Oo(e.value,t);if(r==="custom"){if(i==="Object")return PE(n,a,o)}else if(r==="shape")return PE(n,a,o);return Ut({name:"arrayOf",short:lh(n),compact:lh(n)})}function Oo(e,t){try{switch(e.name){case"custom":return gK(e);case"func":return bK(t);case"shape":return vK(e,t);case"instanceOf":return Ut({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return EK(e,t);case"union":return CK(e,t);case"enum":return AK(e);case"arrayOf":return xK(e,t);default:return Ut({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return Ut({name:"unknown",short:"unknown",compact:"unknown"})}function SK(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:a}=Oo(t,e);return n!=null&&!Yc(n)?_e(n):a?_e(r,a):_e(r)}case"func":{let{short:r,full:n}=Oo(t,e),a=r,o;return n&&n.length<mK?a=n:n&&(o=hK(n)),_e(a,o)}default:return null}}catch(r){console.error(r)}return null}var _K=(e,{name:t,type:r})=>{let n=r?.summary==="element"||r?.summary==="elementType",a=bN(e,t);if(a!=null){if(n)return _e(Xc(a));let{hasParams:o}=Wn(e.toString()).inferredType;return _e(Kb(a,o))}return _e(n?zo:Do)},TK=cK({function:_K});function PK(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(a=>a.name===n)).filter(Boolean):e}function DK(e,t){let{propDef:r}=e,n=SK(e);n!=null&&(r.type=n);let{defaultValue:a}=e.docgenInfo;if(a!=null&&a.value!=null){let o=yN(a.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=pK(t,r,TK);o!=null&&(r.defaultValue=o)}return r}function OK(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(a=>DK(a,r[a.propDef.name]));return PK(n,t)}function RK(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let a=yN(n.value);a!=null&&(r.defaultValue=a)}return r}function FK(e){return e.map(t=>RK(t))}function IK(e,t){let r=e;!Kc(e)&&!e.propTypes&&GI(e)&&(r=e.type);let n=rW(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case Wf.JAVASCRIPT:return OK(n,e);case Wf.TYPESCRIPT:return FK(n);default:return n.map(a=>a.propDef)}}var NK=e=>({rows:IK(e,"props")}),kK=e=>{if(e){let{rows:t}=NK(e);if(t)return t.reduce((r,n)=>{let{name:a,description:o,type:i,sbType:l,defaultValue:u,jsDocTags:c,required:p}=n;return r[a]={name:a,description:o,type:{required:p,...l},table:{type:i??void 0,jsDocTags:c,defaultValue:u??void 0}},r},{})}return null},wN={docs:{extractArgTypes:kK,extractComponentDescription:K2}},AN=[nW];const BK=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:AN,parameters:wN},Symbol.toStringTag,{value:"Module"})),{logger:Vs}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{useRef:jK,useEffect:qK,emitTransformCode:MK}=__STORYBOOK_MODULE_PREVIEW_API__;var LK={};Lc(LK,{applyDecorators:()=>_N,decorators:()=>TN,parameters:()=>PN});var Hp=ZI,$K=e=>e.charAt(0).toUpperCase()+e.slice(1),UK=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map($K).join("")).join(".");function uh(e){if(Lt.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=uh(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(uh):e}var VK=(e,t)=>{if(typeof e>"u")return Vs.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let i=0;i<t?.skip;i+=1){if(typeof r>"u")return Vs.warn("Cannot skip undefined element"),null;if(br.Children.count(r)>1)return Vs.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(Vs.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=br.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let a;typeof t?.displayName=="string"?a={showFunctions:!0,displayName:()=>t.displayName}:a={displayName:i=>i.type.displayName?i.type.displayName:ou(i.type,"displayName")?ou(i.type,"displayName"):i.type.render?.displayName?i.type.render.displayName:typeof i.type=="symbol"||i.type.$$typeof&&typeof i.type.$$typeof=="symbol"?UK(i.type):i.type.name&&i.type.name!=="_default"?i.type.name:typeof i.type=="function"?"No Display Name":Oz(i.type)?i.type.render.name:GI(i.type)?i.type.type.name:i.type};let o={...a,filterProps:(i,l)=>i!==void 0,...t};return br.Children.map(e,i=>{let l=typeof i=="number"?i.toString():i,u=(typeof Hp=="function"?Hp:Hp.default)(uh(l),o);if(u.indexOf(""")>-1){let c=u.match(/\S+=\\"([^"]*)\\"/g);c&&c.forEach(p=>{u=u.replace(p,p.replace(/"/g,"'"))})}return u}).join(`
|
|
1079
|
+
`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},HK={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},JK=e=>{let t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===Kf.DYNAMIC?!1:!r||t?.code||t?.type===Kf.CODE},zK=e=>e.type?.displayName==="MDXCreateElement"&&!!e.props?.mdxType,xN=e=>{if(!zK(e))return e;let{mdxType:t,originalType:r,children:n,...a}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(xN)),Lt.createElement(r,a,...o)},SN=(e,t)=>{let r=jK(void 0),n=e(),a=JK(t),o={...HK,...t?.parameters.jsx||{}},i=t.originalStoryFn(t.args,t);return qK(()=>{if(a)return;let l=xN(i),u=VK(l,o);u&&r.current!==u&&(MK(u,t),r.current=u)}),n},_N=(e,t)=>{let r=t.findIndex(a=>a.originalFn===SN),n=r===-1?t:[...t.splice(r,1),...t];return Sb(e,n)},TN=[SN],PN={docs:{story:{inline:!0}}};const GK=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:_N,decorators:TN,parameters:PN},Symbol.toStringTag,{value:"Module"}));var WK=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),KK={docs:{renderer:async()=>{let{DocsRenderer:e}=await Ve(()=>import("./DocsRenderer-PQXLIZUC-BebLK5Y_.js").then(t=>t.D),__vite__mapDeps([120,47,119,18,1,17]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>WK[t]).length===0&&!e.parameters.docs?.disable}}};const YK=Object.freeze(Object.defineProperty({__proto__:null,parameters:KK},Symbol.toStringTag,{value:"Module"})),XK={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},QK=Object.freeze(Object.defineProperty({__proto__:null,default:XK},Symbol.toStringTag,{value:"Module"}));Ab();const{composeConfigs:ZK,PreviewWeb:eY}=__STORYBOOK_MODULE_PREVIEW_API__,tY=(e=[])=>{const t=[e[0]??_z,e[1]??BK,e[2]??GK,e[3]??YK,e[4]??QK];return ZK(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new eY(MJ,tY);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{br as R,Kf as T,EX as V,UJ as a,LJ as g,wX as h,Lt as r};
|